diff --git a/eng/mgmt/mgmtmetadata/databox_resource-manager.txt b/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
new file mode 100644
index 0000000000000..a58b8569bb2ae
--- /dev/null
+++ b/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
@@ -0,0 +1,14 @@
+Installing AutoRest version: latest
+AutoRest installed successfully.
+Commencing code generation
+Generating CSharp code
+Executing AutoRest command
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/databox/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2019-09 --csharp-sdks-folder=D:\god\azure_sdk_net\azure-sdk-for-net\sdk
+2019-10-17 06:34:11 UTC
+Azure-rest-api-specs repository information
+GitHub fork: Azure
+Branch: master
+Commit: 59998f796f05580bc1d43ba39f0170204113fa91
+AutoRest information
+Requested version: latest
+Bootstrapper version: autorest@2.0.4283
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/AzSdk.RP.props b/sdk/databox/Microsoft.Azure.Management.DataBox/AzSdk.RP.props
index 009051ddc9d42..0f004e4c7605b 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/AzSdk.RP.props
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/AzSdk.RP.props
@@ -1,7 +1,7 @@
- DataBox_2018-01-01;
+ DataBox_2019-09-01;
$(PackageTags);$(CommonTags);$(AzureApiTag);
\ No newline at end of file
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs
index f23f6669f933e..0da450cd75810 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/DataBoxManagementClient.cs
@@ -331,7 +331,7 @@ private void Initialize()
Jobs = new JobsOperations(this);
Service = new ServiceOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2018-01-01";
+ ApiVersion = "2019-09-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
@@ -363,10 +363,20 @@ private void Initialize()
};
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("copyLogDetailsType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("copyLogDetailsType"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("dataDestinationType"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("dataDestinationType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("jobDetailsType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("jobDetailsType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("jobSecretsType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("jobSecretsType"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("skuName"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("skuName"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("validationType"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("validationType"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("validationType"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("validationType"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("validationCategory"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("validationCategory"));
CustomInitialize();
DeserializationSettings.Converters.Add(new TransformationJsonConverter());
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IServiceOperations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IServiceOperations.cs
index 8fa91cdaa08e3..eaa5a9811a83f 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IServiceOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IServiceOperations.cs
@@ -50,18 +50,74 @@ public partial interface IServiceOperations
///
Task>> ListAvailableSkusWithHttpMessagesAsync(string location, AvailableSkuRequest availableSkuRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// This method validates the customer shipping address and provide
+ /// This method provides the list of available skus for the given
+ /// subscription, resource group and location.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Filters for showing the available skus.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListAvailableSkusByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, AvailableSkuRequest availableSkuRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// [DEPRECATED NOTICE: This operation will soon be removed] This
+ /// method validates the customer shipping address and provide
/// alternate addresses if any.
///
///
/// The location of the resource
///
- ///
+ ///
/// Shipping address of the customer.
///
- ///
- /// Device type to be used for the job. Possible values include:
- /// 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ [System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
+ Task> ValidateAddressMethodWithHttpMessagesAsync(string location, ValidateAddress validateAddress, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// This method does all necessary pre-job creation validation under
+ /// resource group.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
///
///
/// The headers that will be added to request.
@@ -78,7 +134,62 @@ public partial interface IServiceOperations
///
/// Thrown when a required parameter is null
///
- Task> ValidateAddressMethodWithHttpMessagesAsync(string location, ShippingAddress shippingAddress, SkuName deviceType, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> ValidateInputsByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, ValidationRequest validationRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// This method does all necessary pre-job creation validation under
+ /// subscription.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> ValidateInputsWithHttpMessagesAsync(string location, ValidationRequest validationRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// This API provides configuration details specific to given
+ /// region/location.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Request body to get the availability for scheduling orders.
+ ///
+ ///
+ /// Request body to get the transport availability for given sku.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> RegionConfigurationWithHttpMessagesAsync(string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// This method provides the list of available skus for the given
/// subscription and location.
@@ -102,5 +213,28 @@ public partial interface IServiceOperations
/// Thrown when a required parameter is null
///
Task>> ListAvailableSkusNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// This method provides the list of available skus for the given
+ /// subscription, resource group and location.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListAvailableSkusByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AccountCredentialDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AccountCredentialDetails.cs
index fe31670b60816..d7411ee26cc62 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AccountCredentialDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AccountCredentialDetails.cs
@@ -32,14 +32,17 @@ public AccountCredentialDetails()
/// Initializes a new instance of the AccountCredentialDetails class.
///
/// Name of the account.
+ /// Data Destination Type. Possible
+ /// values include: 'StorageAccount', 'ManagedDisk'
/// Connection string of the
/// account endpoint to use the account as a storage endpoint on the
/// device.
/// Per share level unencrypted
/// access credentials.
- public AccountCredentialDetails(string accountName = default(string), string accountConnectionString = default(string), IList shareCredentialDetails = default(IList))
+ public AccountCredentialDetails(string accountName = default(string), DataDestinationType? dataDestinationType = default(DataDestinationType?), string accountConnectionString = default(string), IList shareCredentialDetails = default(IList))
{
AccountName = accountName;
+ DataDestinationType = dataDestinationType;
AccountConnectionString = accountConnectionString;
ShareCredentialDetails = shareCredentialDetails;
CustomInit();
@@ -56,6 +59,13 @@ public AccountCredentialDetails()
[JsonProperty(PropertyName = "accountName")]
public string AccountName { get; private set; }
+ ///
+ /// Gets data Destination Type. Possible values include:
+ /// 'StorageAccount', 'ManagedDisk'
+ ///
+ [JsonProperty(PropertyName = "dataDestinationType")]
+ public DataDestinationType? DataDestinationType { get; private set; }
+
///
/// Gets connection string of the account endpoint to use the account
/// as a storage endpoint on the device.
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationOutput.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationOutput.cs
index 8b85ad385e5aa..92b7ca3ea7711 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationOutput.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationOutput.cs
@@ -34,12 +34,15 @@ public AddressValidationOutput()
///
/// Initializes a new instance of the AddressValidationOutput class.
///
+ /// Error code and message of validation
+ /// response.
/// The address validation status.
/// Possible values include: 'Valid', 'Invalid', 'Ambiguous'
/// List of alternate
/// addresses.
- public AddressValidationOutput(AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
+ public AddressValidationOutput(Error error = default(Error), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
{
+ Error = error;
ValidationStatus = validationStatus;
AlternateAddresses = alternateAddresses;
CustomInit();
@@ -50,6 +53,12 @@ public AddressValidationOutput()
///
partial void CustomInit();
+ ///
+ /// Gets error code and message of validation response.
+ ///
+ [JsonProperty(PropertyName = "properties.error")]
+ public Error Error { get; private set; }
+
///
/// Gets the address validation status. Possible values include:
/// 'Valid', 'Invalid', 'Ambiguous'
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationProperties.cs
new file mode 100644
index 0000000000000..0e95fb2ff5779
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationProperties.cs
@@ -0,0 +1,70 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// The address validation output.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateAddress")]
+ public partial class AddressValidationProperties : ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the AddressValidationProperties
+ /// class.
+ ///
+ public AddressValidationProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AddressValidationProperties
+ /// class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ /// The address validation status.
+ /// Possible values include: 'Valid', 'Invalid', 'Ambiguous'
+ /// List of alternate
+ /// addresses.
+ public AddressValidationProperties(Error error = default(Error), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
+ : base(error)
+ {
+ ValidationStatus = validationStatus;
+ AlternateAddresses = alternateAddresses;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets the address validation status. Possible values include:
+ /// 'Valid', 'Invalid', 'Ambiguous'
+ ///
+ [JsonProperty(PropertyName = "validationStatus")]
+ public AddressValidationStatus? ValidationStatus { get; private set; }
+
+ ///
+ /// Gets list of alternate addresses.
+ ///
+ [JsonProperty(PropertyName = "alternateAddresses")]
+ public IList AlternateAddresses { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs
index 6f77dc2efd87e..6dc761ebe049a 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyProgress.cs
@@ -31,18 +31,42 @@ public CopyProgress()
///
/// Name of the storage account where
/// the data needs to be uploaded.
+ /// Data Destination Type. Possible
+ /// values include: 'StorageAccount', 'ManagedDisk'
/// Id of the account where the data needs to
/// be uploaded.
/// Amount of data uploaded by the job
/// as of now.
/// Total amount of data to be
/// processed by the job.
- public CopyProgress(string storageAccountName = default(string), string accountId = default(string), long? bytesSentToCloud = default(long?), long? totalBytesToProcess = default(long?))
+ /// Number of files processed by the job
+ /// as of now.
+ /// Total number of files to be
+ /// processed by the job.
+ /// Number of files not adhering to
+ /// azure naming conventions which were processed by automatic
+ /// renaming
+ /// Total amount of data not
+ /// adhering to azure naming conventions which were processed by
+ /// automatic renaming
+ /// Number of folders not adhering
+ /// to azure naming conventions which were processed by automatic
+ /// renaming
+ /// Number of files which could not be
+ /// copied
+ public CopyProgress(string storageAccountName = default(string), DataDestinationType? dataDestinationType = default(DataDestinationType?), string accountId = default(string), long? bytesSentToCloud = default(long?), long? totalBytesToProcess = default(long?), long? filesProcessed = default(long?), long? totalFilesToProcess = default(long?), long? invalidFilesProcessed = default(long?), long? invalidFileBytesUploaded = default(long?), long? renamedContainerCount = default(long?), long? filesErroredOut = default(long?))
{
StorageAccountName = storageAccountName;
+ DataDestinationType = dataDestinationType;
AccountId = accountId;
BytesSentToCloud = bytesSentToCloud;
TotalBytesToProcess = totalBytesToProcess;
+ FilesProcessed = filesProcessed;
+ TotalFilesToProcess = totalFilesToProcess;
+ InvalidFilesProcessed = invalidFilesProcessed;
+ InvalidFileBytesUploaded = invalidFileBytesUploaded;
+ RenamedContainerCount = renamedContainerCount;
+ FilesErroredOut = filesErroredOut;
CustomInit();
}
@@ -58,6 +82,13 @@ public CopyProgress()
[JsonProperty(PropertyName = "storageAccountName")]
public string StorageAccountName { get; private set; }
+ ///
+ /// Gets data Destination Type. Possible values include:
+ /// 'StorageAccount', 'ManagedDisk'
+ ///
+ [JsonProperty(PropertyName = "dataDestinationType")]
+ public DataDestinationType? DataDestinationType { get; private set; }
+
///
/// Gets id of the account where the data needs to be uploaded.
///
@@ -76,5 +107,44 @@ public CopyProgress()
[JsonProperty(PropertyName = "totalBytesToProcess")]
public long? TotalBytesToProcess { get; private set; }
+ ///
+ /// Gets number of files processed by the job as of now.
+ ///
+ [JsonProperty(PropertyName = "filesProcessed")]
+ public long? FilesProcessed { get; private set; }
+
+ ///
+ /// Gets total number of files to be processed by the job.
+ ///
+ [JsonProperty(PropertyName = "totalFilesToProcess")]
+ public long? TotalFilesToProcess { get; private set; }
+
+ ///
+ /// Gets number of files not adhering to azure naming conventions which
+ /// were processed by automatic renaming
+ ///
+ [JsonProperty(PropertyName = "invalidFilesProcessed")]
+ public long? InvalidFilesProcessed { get; private set; }
+
+ ///
+ /// Gets total amount of data not adhering to azure naming conventions
+ /// which were processed by automatic renaming
+ ///
+ [JsonProperty(PropertyName = "invalidFileBytesUploaded")]
+ public long? InvalidFileBytesUploaded { get; private set; }
+
+ ///
+ /// Gets number of folders not adhering to azure naming conventions
+ /// which were processed by automatic renaming
+ ///
+ [JsonProperty(PropertyName = "renamedContainerCount")]
+ public long? RenamedContainerCount { get; private set; }
+
+ ///
+ /// Gets number of files which could not be copied
+ ///
+ [JsonProperty(PropertyName = "filesErroredOut")]
+ public long? FilesErroredOut { get; private set; }
+
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs
index 9cdfab41d44e9..f159af11832b1 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyStatus.cs
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
public enum CopyStatus
{
///
- /// Data copy hasnt started yet.
+ /// Data copy hasn't started yet.
///
[EnumMember(Value = "NotStarted")]
NotStarted,
@@ -50,7 +50,32 @@ public enum CopyStatus
/// No copy triggered as device was not returned.
///
[EnumMember(Value = "NotReturned")]
- NotReturned
+ NotReturned,
+ ///
+ /// The Device has hit hardware issues.
+ ///
+ [EnumMember(Value = "HardwareError")]
+ HardwareError,
+ ///
+ /// Data copy failed. The Device was formatted by user.
+ ///
+ [EnumMember(Value = "DeviceFormatted")]
+ DeviceFormatted,
+ ///
+ /// Data copy failed. Device metadata was modified by user.
+ ///
+ [EnumMember(Value = "DeviceMetadataModified")]
+ DeviceMetadataModified,
+ ///
+ /// Data copy failed. Storage Account was not accessible during copy.
+ ///
+ [EnumMember(Value = "StorageAccountNotAccessible")]
+ StorageAccountNotAccessible,
+ ///
+ /// Data copy failed. The Device data content is not supported.
+ ///
+ [EnumMember(Value = "UnsupportedData")]
+ UnsupportedData
}
internal static class CopyStatusEnumExtension
{
@@ -75,6 +100,16 @@ internal static string ToSerializedValue(this CopyStatus value)
return "Failed";
case CopyStatus.NotReturned:
return "NotReturned";
+ case CopyStatus.HardwareError:
+ return "HardwareError";
+ case CopyStatus.DeviceFormatted:
+ return "DeviceFormatted";
+ case CopyStatus.DeviceMetadataModified:
+ return "DeviceMetadataModified";
+ case CopyStatus.StorageAccountNotAccessible:
+ return "StorageAccountNotAccessible";
+ case CopyStatus.UnsupportedData:
+ return "UnsupportedData";
}
return null;
}
@@ -95,6 +130,16 @@ internal static string ToSerializedValue(this CopyStatus value)
return CopyStatus.Failed;
case "NotReturned":
return CopyStatus.NotReturned;
+ case "HardwareError":
+ return CopyStatus.HardwareError;
+ case "DeviceFormatted":
+ return CopyStatus.DeviceFormatted;
+ case "DeviceMetadataModified":
+ return CopyStatus.DeviceMetadataModified;
+ case "StorageAccountNotAccessible":
+ return CopyStatus.StorageAccountNotAccessible;
+ case "UnsupportedData":
+ return CopyStatus.UnsupportedData;
}
return null;
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateJobValidations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateJobValidations.cs
new file mode 100644
index 0000000000000..39c4029b32422
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateJobValidations.cs
@@ -0,0 +1,60 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// It does all pre-job creation validations.
+ ///
+ [Newtonsoft.Json.JsonObject("JobCreationValidation")]
+ public partial class CreateJobValidations : ValidationRequest
+ {
+ ///
+ /// Initializes a new instance of the CreateJobValidations class.
+ ///
+ public CreateJobValidations()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the CreateJobValidations class.
+ ///
+ /// List of request details
+ /// contain validationType and its request as key and value
+ /// respectively.
+ public CreateJobValidations(IList individualRequestDetails)
+ : base(individualRequestDetails)
+ {
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public override void Validate()
+ {
+ base.Validate();
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationRequest.cs
new file mode 100644
index 0000000000000..40c45e8828d52
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationRequest.cs
@@ -0,0 +1,66 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request to validate create order limit for current subscription.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateCreateOrderLimit")]
+ public partial class CreateOrderLimitForSubscriptionValidationRequest : ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the
+ /// CreateOrderLimitForSubscriptionValidationRequest class.
+ ///
+ public CreateOrderLimitForSubscriptionValidationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// CreateOrderLimitForSubscriptionValidationRequest class.
+ ///
+ /// Device type to be used for the job.
+ /// Possible values include: 'DataBox', 'DataBoxDisk',
+ /// 'DataBoxHeavy'
+ public CreateOrderLimitForSubscriptionValidationRequest(SkuName deviceType)
+ {
+ DeviceType = deviceType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets device type to be used for the job. Possible values
+ /// include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ [JsonProperty(PropertyName = "deviceType")]
+ public SkuName DeviceType { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationResponseProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationResponseProperties.cs
new file mode 100644
index 0000000000000..7e8ea02a7d757
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationResponseProperties.cs
@@ -0,0 +1,59 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Properties of create order limit for subscription validation response.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateCreateOrderLimit")]
+ public partial class CreateOrderLimitForSubscriptionValidationResponseProperties : ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the
+ /// CreateOrderLimitForSubscriptionValidationResponseProperties class.
+ ///
+ public CreateOrderLimitForSubscriptionValidationResponseProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// CreateOrderLimitForSubscriptionValidationResponseProperties class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ /// Create order limit validation status. Possible
+ /// values include: 'Valid', 'Invalid', 'Skipped'
+ public CreateOrderLimitForSubscriptionValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ : base(error)
+ {
+ Status = status;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets create order limit validation status. Possible values include:
+ /// 'Valid', 'Invalid', 'Skipped'
+ ///
+ [JsonProperty(PropertyName = "status")]
+ public ValidationStatus? Status { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskCopyProgress.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskCopyProgress.cs
index 4589f8bee8553..e137c3b7481d6 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskCopyProgress.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskCopyProgress.cs
@@ -36,7 +36,9 @@ public DataBoxDiskCopyProgress()
/// for the copy of the disk.
/// The Status of the copy. Possible values
/// include: 'NotStarted', 'InProgress', 'Completed',
- /// 'CompletedWithErrors', 'Failed', 'NotReturned'
+ /// 'CompletedWithErrors', 'Failed', 'NotReturned', 'HardwareError',
+ /// 'DeviceFormatted', 'DeviceMetadataModified',
+ /// 'StorageAccountNotAccessible', 'UnsupportedData'
public DataBoxDiskCopyProgress(string serialNumber = default(string), long? bytesCopied = default(long?), int? percentComplete = default(int?), CopyStatus? status = default(CopyStatus?))
{
SerialNumber = serialNumber;
@@ -72,7 +74,9 @@ public DataBoxDiskCopyProgress()
///
/// Gets the Status of the copy. Possible values include: 'NotStarted',
/// 'InProgress', 'Completed', 'CompletedWithErrors', 'Failed',
- /// 'NotReturned'
+ /// 'NotReturned', 'HardwareError', 'DeviceFormatted',
+ /// 'DeviceMetadataModified', 'StorageAccountNotAccessible',
+ /// 'UnsupportedData'
///
[JsonProperty(PropertyName = "status")]
public CopyStatus? Status { get; private set; }
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs
index 06b6430f72b65..ca94c148aa459 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobDetails.cs
@@ -38,9 +38,9 @@ public DataBoxDiskJobDetails()
/// customer.
/// Destination account
/// details.
- /// The expected size of the
- /// data, which needs to be transfered in this job, in tera
- /// bytes.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// List of stages that run in the job.
/// Delivery package shipping
/// details.
@@ -64,8 +64,8 @@ public DataBoxDiskJobDetails()
/// after the disks are shipped to the customer.
/// User entered passkey for DataBox Disk
/// job.
- public DataBoxDiskJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTeraBytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IDictionary preferredDisks = default(IDictionary), IList copyProgress = default(IList), IDictionary disksAndSizeDetails = default(IDictionary), string passkey = default(string))
- : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTeraBytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
+ public DataBoxDiskJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTerabytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IDictionary preferredDisks = default(IDictionary), IList copyProgress = default(IList), IDictionary disksAndSizeDetails = default(IDictionary), string passkey = default(string))
+ : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTerabytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
{
PreferredDisks = preferredDisks;
CopyProgress = copyProgress;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobSecrets.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobSecrets.cs
index ec536c9c9e7a1..9a9612da52224 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobSecrets.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxDiskJobSecrets.cs
@@ -32,12 +32,15 @@ public DataBoxDiskJobSecrets()
///
/// Initializes a new instance of the DataBoxDiskJobSecrets class.
///
+ /// Dc Access Security Code for
+ /// Customer Managed Shipping
/// Contains the list of secrets object for
/// that device.
/// PassKey for the disk Job.
/// Whether passkey was provided by
/// user.
- public DataBoxDiskJobSecrets(IList diskSecrets = default(IList), string passKey = default(string), bool? isPasskeyUserDefined = default(bool?))
+ public DataBoxDiskJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), IList diskSecrets = default(IList), string passKey = default(string), bool? isPasskeyUserDefined = default(bool?))
+ : base(dcAccessSecurityCode)
{
DiskSecrets = diskSecrets;
PassKey = passKey;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs
index 00f05177d48b5..dfbf1b3eac922 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobDetails.cs
@@ -38,9 +38,9 @@ public DataBoxHeavyJobDetails()
/// customer.
/// Destination account
/// details.
- /// The expected size of the
- /// data, which needs to be transfered in this job, in tera
- /// bytes.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// List of stages that run in the job.
/// Delivery package shipping
/// details.
@@ -55,10 +55,13 @@ public DataBoxHeavyJobDetails()
/// Shared access key to download
/// the chain of custody logs
/// Copy progress per account.
- public DataBoxHeavyJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTeraBytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IList copyProgress = default(IList))
- : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTeraBytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
+ /// Set Device password for unlocking
+ /// Databox Heavy
+ public DataBoxHeavyJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTerabytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IList copyProgress = default(IList), string devicePassword = default(string))
+ : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTerabytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
{
CopyProgress = copyProgress;
+ DevicePassword = devicePassword;
CustomInit();
}
@@ -73,6 +76,12 @@ public DataBoxHeavyJobDetails()
[JsonProperty(PropertyName = "copyProgress")]
public IList CopyProgress { get; private set; }
+ ///
+ /// Gets or sets set Device password for unlocking Databox Heavy
+ ///
+ [JsonProperty(PropertyName = "devicePassword")]
+ public string DevicePassword { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs
index 234c8bbc96ee3..bb493239b4f58 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyJobSecrets.cs
@@ -32,9 +32,12 @@ public DataBoxHeavyJobSecrets()
///
/// Initializes a new instance of the DataBoxHeavyJobSecrets class.
///
+ /// Dc Access Security Code for
+ /// Customer Managed Shipping
/// Contains the list of secret objects
/// for a databox heavy job.
- public DataBoxHeavyJobSecrets(IList cabinetPodSecrets = default(IList))
+ public DataBoxHeavyJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), IList cabinetPodSecrets = default(IList))
+ : base(dcAccessSecurityCode)
{
CabinetPodSecrets = cabinetPodSecrets;
CustomInit();
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs
index c8eae1e79577e..22b3ae5e9aee8 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxJobDetails.cs
@@ -38,9 +38,9 @@ public DataBoxJobDetails()
/// customer.
/// Destination account
/// details.
- /// The expected size of the
- /// data, which needs to be transfered in this job, in tera
- /// bytes.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// List of stages that run in the job.
/// Delivery package shipping
/// details.
@@ -56,10 +56,13 @@ public DataBoxJobDetails()
/// the chain of custody logs
/// Copy progress per storage
/// account.
- public DataBoxJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTeraBytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IList copyProgress = default(IList))
- : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTeraBytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
+ /// Set Device password for unlocking
+ /// Databox
+ public DataBoxJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTerabytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), IList copyProgress = default(IList), string devicePassword = default(string))
+ : base(contactDetails, shippingAddress, destinationAccountDetails, expectedDataSizeInTerabytes, jobStages, deliveryPackage, returnPackage, errorDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey)
{
CopyProgress = copyProgress;
+ DevicePassword = devicePassword;
CustomInit();
}
@@ -74,6 +77,12 @@ public DataBoxJobDetails()
[JsonProperty(PropertyName = "copyProgress")]
public IList CopyProgress { get; private set; }
+ ///
+ /// Gets or sets set Device password for unlocking Databox
+ ///
+ [JsonProperty(PropertyName = "devicePassword")]
+ public string DevicePassword { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxScheduleAvailabilityRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxScheduleAvailabilityRequest.cs
new file mode 100644
index 0000000000000..6ac87e14452df
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxScheduleAvailabilityRequest.cs
@@ -0,0 +1,61 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request body to get the availability for scheduling data box orders
+ /// orders.
+ ///
+ [Newtonsoft.Json.JsonObject("DataBox")]
+ public partial class DataBoxScheduleAvailabilityRequest : ScheduleAvailabilityRequest
+ {
+ ///
+ /// Initializes a new instance of the
+ /// DataBoxScheduleAvailabilityRequest class.
+ ///
+ public DataBoxScheduleAvailabilityRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// DataBoxScheduleAvailabilityRequest class.
+ ///
+ /// Location for data transfer.
+ /// For locations check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ public DataBoxScheduleAvailabilityRequest(string storageLocation)
+ : base(storageLocation)
+ {
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public override void Validate()
+ {
+ base.Validate();
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationRequest.cs
new file mode 100644
index 0000000000000..b9e1edfb176a9
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationRequest.cs
@@ -0,0 +1,83 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Request to validate data destination details.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateDataDestinationDetails")]
+ public partial class DataDestinationDetailsValidationRequest : ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the
+ /// DataDestinationDetailsValidationRequest class.
+ ///
+ public DataDestinationDetailsValidationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// DataDestinationDetailsValidationRequest class.
+ ///
+ /// Destination account details
+ /// list.
+ /// Location of stamp or geo.
+ public DataDestinationDetailsValidationRequest(IList destinationAccountDetails, string location)
+ {
+ DestinationAccountDetails = destinationAccountDetails;
+ Location = location;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets destination account details list.
+ ///
+ [JsonProperty(PropertyName = "destinationAccountDetails")]
+ public IList DestinationAccountDetails { get; set; }
+
+ ///
+ /// Gets or sets location of stamp or geo.
+ ///
+ [JsonProperty(PropertyName = "location")]
+ public string Location { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (DestinationAccountDetails == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "DestinationAccountDetails");
+ }
+ if (Location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Location");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationResponseProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationResponseProperties.cs
new file mode 100644
index 0000000000000..cf77b4b3db2f5
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationResponseProperties.cs
@@ -0,0 +1,59 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Properties of data destination details validation response.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateDataDestinationDetails")]
+ public partial class DataDestinationDetailsValidationResponseProperties : ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the
+ /// DataDestinationDetailsValidationResponseProperties class.
+ ///
+ public DataDestinationDetailsValidationResponseProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// DataDestinationDetailsValidationResponseProperties class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ /// Data destination details validation status.
+ /// Possible values include: 'Valid', 'Invalid', 'Skipped'
+ public DataDestinationDetailsValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ : base(error)
+ {
+ Status = status;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets data destination details validation status. Possible values
+ /// include: 'Valid', 'Invalid', 'Skipped'
+ ///
+ [JsonProperty(PropertyName = "status")]
+ public ValidationStatus? Status { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationType.cs
new file mode 100644
index 0000000000000..4e4cd79baad5f
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationType.cs
@@ -0,0 +1,66 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for DataDestinationType.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum DataDestinationType
+ {
+ ///
+ /// Storage Accounts .
+ ///
+ [EnumMember(Value = "StorageAccount")]
+ StorageAccount,
+ ///
+ /// Azure Managed disk storage.
+ ///
+ [EnumMember(Value = "ManagedDisk")]
+ ManagedDisk
+ }
+ internal static class DataDestinationTypeEnumExtension
+ {
+ internal static string ToSerializedValue(this DataDestinationType? value)
+ {
+ return value == null ? null : ((DataDestinationType)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this DataDestinationType value)
+ {
+ switch( value )
+ {
+ case DataDestinationType.StorageAccount:
+ return "StorageAccount";
+ case DataDestinationType.ManagedDisk:
+ return "ManagedDisk";
+ }
+ return null;
+ }
+
+ internal static DataDestinationType? ParseDataDestinationType(this string value)
+ {
+ switch( value )
+ {
+ case "StorageAccount":
+ return DataDestinationType.StorageAccount;
+ case "ManagedDisk":
+ return DataDestinationType.ManagedDisk;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs
index 67c6a315dbdba..baf1c84a336bc 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataboxJobSecrets.cs
@@ -32,9 +32,12 @@ public DataboxJobSecrets()
///
/// Initializes a new instance of the DataboxJobSecrets class.
///
+ /// Dc Access Security Code for
+ /// Customer Managed Shipping
/// Contains the list of secret objects for a
/// job.
- public DataboxJobSecrets(IList podSecrets = default(IList))
+ public DataboxJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), IList podSecrets = default(IList))
+ : base(dcAccessSecurityCode)
{
PodSecrets = podSecrets;
CustomInit();
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DcAccessSecurityCode.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DcAccessSecurityCode.cs
new file mode 100644
index 0000000000000..d1e663694f7b4
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DcAccessSecurityCode.cs
@@ -0,0 +1,61 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Dc Access Security code for device.
+ ///
+ public partial class DcAccessSecurityCode
+ {
+ ///
+ /// Initializes a new instance of the DcAccessSecurityCode class.
+ ///
+ public DcAccessSecurityCode()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DcAccessSecurityCode class.
+ ///
+ /// Dc Access Code for dispatching
+ /// from DC.
+ /// Dc Access code for dropping off
+ /// at DC.
+ public DcAccessSecurityCode(string forwardDcAccessCode = default(string), string reverseDcAccessCode = default(string))
+ {
+ ForwardDcAccessCode = forwardDcAccessCode;
+ ReverseDcAccessCode = reverseDcAccessCode;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets dc Access Code for dispatching from DC.
+ ///
+ [JsonProperty(PropertyName = "forwardDcAccessCode")]
+ public string ForwardDcAccessCode { get; set; }
+
+ ///
+ /// Gets or sets dc Access code for dropping off at DC.
+ ///
+ [JsonProperty(PropertyName = "reverseDcAccessCode")]
+ public string ReverseDcAccessCode { get; set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs
index 255fe56f4ce37..a2bebe2f6b633 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs
@@ -10,12 +10,11 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
///
- /// Details for the destination account.
+ /// Details of the destination storage accounts.
///
public partial class DestinationAccountDetails
{
@@ -30,10 +29,14 @@ public DestinationAccountDetails()
///
/// Initializes a new instance of the DestinationAccountDetails class.
///
- /// Destination storage account id.
- public DestinationAccountDetails(string accountId)
+ /// Arm Id of the destination where the data
+ /// has to be moved.
+ /// Share password to be shared by all
+ /// shares in SA.
+ public DestinationAccountDetails(string accountId = default(string), string sharePassword = default(string))
{
AccountId = accountId;
+ SharePassword = sharePassword;
CustomInit();
}
@@ -43,23 +46,17 @@ public DestinationAccountDetails(string accountId)
partial void CustomInit();
///
- /// Gets or sets destination storage account id.
+ /// Gets or sets arm Id of the destination where the data has to be
+ /// moved.
///
[JsonProperty(PropertyName = "accountId")]
public string AccountId { get; set; }
///
- /// Validate the object.
+ /// Gets or sets share password to be shared by all shares in SA.
///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (AccountId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "AccountId");
- }
- }
+ [JsonProperty(PropertyName = "sharePassword")]
+ public string SharePassword { get; set; }
+
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs
new file mode 100644
index 0000000000000..2e6d0b4e42a72
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs
@@ -0,0 +1,89 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Details for the destination compute disks.
+ ///
+ [Newtonsoft.Json.JsonObject("ManagedDisk")]
+ public partial class DestinationManagedDiskDetails : DestinationAccountDetails
+ {
+ ///
+ /// Initializes a new instance of the DestinationManagedDiskDetails
+ /// class.
+ ///
+ public DestinationManagedDiskDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DestinationManagedDiskDetails
+ /// class.
+ ///
+ /// Destination Resource Group Id where
+ /// the Compute disks should be created.
+ /// Arm Id of the storage account
+ /// that can be used to copy the vhd for staging.
+ /// Arm Id of the destination where the data
+ /// has to be moved.
+ /// Share password to be shared by all
+ /// shares in SA.
+ public DestinationManagedDiskDetails(string resourceGroupId, string stagingStorageAccountId, string accountId = default(string), string sharePassword = default(string))
+ : base(accountId, sharePassword)
+ {
+ ResourceGroupId = resourceGroupId;
+ StagingStorageAccountId = stagingStorageAccountId;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets destination Resource Group Id where the Compute disks
+ /// should be created.
+ ///
+ [JsonProperty(PropertyName = "resourceGroupId")]
+ public string ResourceGroupId { get; set; }
+
+ ///
+ /// Gets or sets arm Id of the storage account that can be used to copy
+ /// the vhd for staging.
+ ///
+ [JsonProperty(PropertyName = "stagingStorageAccountId")]
+ public string StagingStorageAccountId { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (ResourceGroupId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "ResourceGroupId");
+ }
+ if (StagingStorageAccountId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "StagingStorageAccountId");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs
new file mode 100644
index 0000000000000..5428ac4366637
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs
@@ -0,0 +1,74 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Details for the destination storage account.
+ ///
+ [Newtonsoft.Json.JsonObject("StorageAccount")]
+ public partial class DestinationStorageAccountDetails : DestinationAccountDetails
+ {
+ ///
+ /// Initializes a new instance of the DestinationStorageAccountDetails
+ /// class.
+ ///
+ public DestinationStorageAccountDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DestinationStorageAccountDetails
+ /// class.
+ ///
+ /// Destination Storage Account Arm
+ /// Id.
+ /// Arm Id of the destination where the data
+ /// has to be moved.
+ /// Share password to be shared by all
+ /// shares in SA.
+ public DestinationStorageAccountDetails(string storageAccountId, string accountId = default(string), string sharePassword = default(string))
+ : base(accountId, sharePassword)
+ {
+ StorageAccountId = storageAccountId;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets destination Storage Account Arm Id.
+ ///
+ [JsonProperty(PropertyName = "storageAccountId")]
+ public string StorageAccountId { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (StorageAccountId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "StorageAccountId");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs
index 4a866aed7bea6..953a74df90a44 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Map of destination location to service location
+ /// Map of destination location to service location.
///
public partial class DestinationToServiceLocationMap
{
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DiskScheduleAvailabilityRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DiskScheduleAvailabilityRequest.cs
new file mode 100644
index 0000000000000..c467c222cdbe6
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DiskScheduleAvailabilityRequest.cs
@@ -0,0 +1,71 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request body to get the availability for scheduling disk orders.
+ ///
+ [Newtonsoft.Json.JsonObject("DataBoxDisk")]
+ public partial class DiskScheduleAvailabilityRequest : ScheduleAvailabilityRequest
+ {
+ ///
+ /// Initializes a new instance of the DiskScheduleAvailabilityRequest
+ /// class.
+ ///
+ public DiskScheduleAvailabilityRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DiskScheduleAvailabilityRequest
+ /// class.
+ ///
+ /// Location for data transfer.
+ /// For locations check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
+ public DiskScheduleAvailabilityRequest(string storageLocation, int expectedDataSizeInTerabytes)
+ : base(storageLocation)
+ {
+ ExpectedDataSizeInTerabytes = expectedDataSizeInTerabytes;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the expected size of the data, which needs to be
+ /// transferred in this job, in terabytes.
+ ///
+ [JsonProperty(PropertyName = "expectedDataSizeInTerabytes")]
+ public int ExpectedDataSizeInTerabytes { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public override void Validate()
+ {
+ base.Validate();
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/HeavyScheduleAvailabilityRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/HeavyScheduleAvailabilityRequest.cs
new file mode 100644
index 0000000000000..d676d5babb683
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/HeavyScheduleAvailabilityRequest.cs
@@ -0,0 +1,60 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request body to get the availability for scheduling heavy orders.
+ ///
+ [Newtonsoft.Json.JsonObject("DataBoxHeavy")]
+ public partial class HeavyScheduleAvailabilityRequest : ScheduleAvailabilityRequest
+ {
+ ///
+ /// Initializes a new instance of the HeavyScheduleAvailabilityRequest
+ /// class.
+ ///
+ public HeavyScheduleAvailabilityRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the HeavyScheduleAvailabilityRequest
+ /// class.
+ ///
+ /// Location for data transfer.
+ /// For locations check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ public HeavyScheduleAvailabilityRequest(string storageLocation)
+ : base(storageLocation)
+ {
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public override void Validate()
+ {
+ base.Validate();
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDeliveryInfo.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDeliveryInfo.cs
new file mode 100644
index 0000000000000..39cad79953cdd
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDeliveryInfo.cs
@@ -0,0 +1,51 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Additional delivery info.
+ ///
+ public partial class JobDeliveryInfo
+ {
+ ///
+ /// Initializes a new instance of the JobDeliveryInfo class.
+ ///
+ public JobDeliveryInfo()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the JobDeliveryInfo class.
+ ///
+ /// Scheduled date time.
+ public JobDeliveryInfo(System.DateTime? scheduledDateTime = default(System.DateTime?))
+ {
+ ScheduledDateTime = scheduledDateTime;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets scheduled date time.
+ ///
+ [JsonProperty(PropertyName = "scheduledDateTime")]
+ public System.DateTime? ScheduledDateTime { get; set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDeliveryType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDeliveryType.cs
new file mode 100644
index 0000000000000..da6a84d748fbe
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDeliveryType.cs
@@ -0,0 +1,66 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for JobDeliveryType.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum JobDeliveryType
+ {
+ ///
+ /// Non Scheduled job.
+ ///
+ [EnumMember(Value = "NonScheduled")]
+ NonScheduled,
+ ///
+ /// Scheduled job.
+ ///
+ [EnumMember(Value = "Scheduled")]
+ Scheduled
+ }
+ internal static class JobDeliveryTypeEnumExtension
+ {
+ internal static string ToSerializedValue(this JobDeliveryType? value)
+ {
+ return value == null ? null : ((JobDeliveryType)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this JobDeliveryType value)
+ {
+ switch( value )
+ {
+ case JobDeliveryType.NonScheduled:
+ return "NonScheduled";
+ case JobDeliveryType.Scheduled:
+ return "Scheduled";
+ }
+ return null;
+ }
+
+ internal static JobDeliveryType? ParseJobDeliveryType(this string value)
+ {
+ switch( value )
+ {
+ case "NonScheduled":
+ return JobDeliveryType.NonScheduled;
+ case "Scheduled":
+ return JobDeliveryType.Scheduled;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs
index 64c809042dfc9..f2b3359d91d89 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobDetails.cs
@@ -38,9 +38,9 @@ public JobDetails()
/// customer.
/// Destination account
/// details.
- /// The expected size of the
- /// data, which needs to be transfered in this job, in tera
- /// bytes.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// List of stages that run in the job.
/// Delivery package shipping
/// details.
@@ -54,9 +54,9 @@ public JobDetails()
/// download the return shipment label
/// Shared access key to download
/// the chain of custody logs
- public JobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTeraBytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string))
+ public JobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, IList destinationAccountDetails, int? expectedDataSizeInTerabytes = default(int?), IList jobStages = default(IList), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList errorDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string))
{
- ExpectedDataSizeInTeraBytes = expectedDataSizeInTeraBytes;
+ ExpectedDataSizeInTerabytes = expectedDataSizeInTerabytes;
JobStages = jobStages;
ContactDetails = contactDetails;
ShippingAddress = shippingAddress;
@@ -78,10 +78,10 @@ public JobDetails()
///
/// Gets or sets the expected size of the data, which needs to be
- /// transfered in this job, in tera bytes.
+ /// transferred in this job, in terabytes.
///
- [JsonProperty(PropertyName = "expectedDataSizeInTeraBytes")]
- public int? ExpectedDataSizeInTeraBytes { get; set; }
+ [JsonProperty(PropertyName = "expectedDataSizeInTerabytes")]
+ public int? ExpectedDataSizeInTerabytes { get; set; }
///
/// Gets list of stages that run in the job.
@@ -177,15 +177,9 @@ public virtual void Validate()
{
ShippingAddress.Validate();
}
- if (DestinationAccountDetails != null)
+ if (Preferences != null)
{
- foreach (var element in DestinationAccountDetails)
- {
- if (element != null)
- {
- element.Validate();
- }
- }
+ Preferences.Validate();
}
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResource.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResource.cs
index 8f422f2a21c40..33b22944e4fcc 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResource.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResource.cs
@@ -54,17 +54,23 @@ public JobResource()
/// 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy',
/// 'Completed', 'CompletedWithErrors', 'Cancelled',
/// 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC',
- /// 'Aborted'
+ /// 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC',
+ /// 'ReadyToReceiveAtAzureDC'
/// Time at which the job was started in UTC
/// ISO 8601 format.
/// Top level error for the job.
/// Details of a job run. This field will only be
/// sent for expand details filter.
/// Reason for cancellation.
+ /// Delivery type of Job. Possible values
+ /// include: 'NonScheduled', 'Scheduled'
+ /// Delivery Info of Job.
+ /// Flag to indicate cancellation
+ /// of scheduled job.
/// Name of the object.
/// Id of the object.
/// Type of the object.
- public JobResource(string location, Sku sku, IDictionary tags = default(IDictionary), bool? isCancellable = default(bool?), bool? isDeletable = default(bool?), bool? isShippingAddressEditable = default(bool?), StageName? status = default(StageName?), System.DateTime? startTime = default(System.DateTime?), Error error = default(Error), JobDetails details = default(JobDetails), string cancellationReason = default(string), string name = default(string), string id = default(string), string type = default(string))
+ public JobResource(string location, Sku sku, IDictionary tags = default(IDictionary), bool? isCancellable = default(bool?), bool? isDeletable = default(bool?), bool? isShippingAddressEditable = default(bool?), StageName? status = default(StageName?), System.DateTime? startTime = default(System.DateTime?), Error error = default(Error), JobDetails details = default(JobDetails), string cancellationReason = default(string), JobDeliveryType? deliveryType = default(JobDeliveryType?), JobDeliveryInfo deliveryInfo = default(JobDeliveryInfo), bool? isCancellableWithoutFee = default(bool?), string name = default(string), string id = default(string), string type = default(string))
: base(location, sku, tags)
{
IsCancellable = isCancellable;
@@ -75,6 +81,9 @@ public JobResource()
Error = error;
Details = details;
CancellationReason = cancellationReason;
+ DeliveryType = deliveryType;
+ DeliveryInfo = deliveryInfo;
+ IsCancellableWithoutFee = isCancellableWithoutFee;
Name = name;
Id = id;
Type = type;
@@ -110,7 +119,8 @@ public JobResource()
/// 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed',
/// 'CompletedWithErrors', 'Cancelled',
/// 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC',
- /// 'Aborted'
+ /// 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC',
+ /// 'ReadyToReceiveAtAzureDC'
///
[JsonProperty(PropertyName = "properties.status")]
public StageName? Status { get; private set; }
@@ -140,6 +150,25 @@ public JobResource()
[JsonProperty(PropertyName = "properties.cancellationReason")]
public string CancellationReason { get; private set; }
+ ///
+ /// Gets or sets delivery type of Job. Possible values include:
+ /// 'NonScheduled', 'Scheduled'
+ ///
+ [JsonProperty(PropertyName = "properties.deliveryType")]
+ public JobDeliveryType? DeliveryType { get; set; }
+
+ ///
+ /// Gets or sets delivery Info of Job.
+ ///
+ [JsonProperty(PropertyName = "properties.deliveryInfo")]
+ public JobDeliveryInfo DeliveryInfo { get; set; }
+
+ ///
+ /// Gets flag to indicate cancellation of scheduled job.
+ ///
+ [JsonProperty(PropertyName = "properties.isCancellableWithoutFee")]
+ public bool? IsCancellableWithoutFee { get; private set; }
+
///
/// Gets name of the object.
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs
index 10a32327dd5b4..c71c30481f449 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobResourceUpdateParameter.cs
@@ -85,16 +85,6 @@ public virtual void Validate()
{
Details.Validate();
}
- if (DestinationAccountDetails != null)
- {
- foreach (var element in DestinationAccountDetails)
- {
- if (element != null)
- {
- element.Validate();
- }
- }
- }
}
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobSecrets.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobSecrets.cs
index 6e020016460d7..35e130fe7ecdb 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobSecrets.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobSecrets.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Newtonsoft.Json;
using System.Linq;
///
@@ -25,11 +26,27 @@ public JobSecrets()
CustomInit();
}
+ ///
+ /// Initializes a new instance of the JobSecrets class.
+ ///
+ /// Dc Access Security Code for
+ /// Customer Managed Shipping
+ public JobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode))
+ {
+ DcAccessSecurityCode = dcAccessSecurityCode;
+ CustomInit();
+ }
///
/// An initialization method that performs custom operations like setting defaults
///
partial void CustomInit();
+ ///
+ /// Gets or sets dc Access Security Code for Customer Managed Shipping
+ ///
+ [JsonProperty(PropertyName = "dcAccessSecurityCode")]
+ public DcAccessSecurityCode DcAccessSecurityCode { get; set; }
+
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobStages.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobStages.cs
index 9383486923d6c..cd7982fac9950 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobStages.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobStages.cs
@@ -36,7 +36,8 @@ public JobStages()
/// 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed',
/// 'CompletedWithErrors', 'Cancelled',
/// 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC',
- /// 'Aborted'
+ /// 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC',
+ /// 'ReadyToReceiveAtAzureDC'
/// Display name of the job stage.
/// Status of the job stage. Possible values
/// include: 'None', 'InProgress', 'Succeeded', 'Failed', 'Cancelled',
@@ -67,7 +68,8 @@ public JobStages()
/// 'PickedUp', 'AtAzureDC', 'DataCopy', 'Completed',
/// 'CompletedWithErrors', 'Cancelled',
/// 'Failed_IssueReportedAtCustomer', 'Failed_IssueDetectedAtAzureDC',
- /// 'Aborted'
+ /// 'Aborted', 'CompletedWithWarnings', 'ReadyToDispatchFromAzureDC',
+ /// 'ReadyToReceiveAtAzureDC'
///
[JsonProperty(PropertyName = "stageName")]
public StageName? StageName { get; private set; }
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/OverallValidationStatus.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/OverallValidationStatus.cs
new file mode 100644
index 0000000000000..b7628c4bba208
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/OverallValidationStatus.cs
@@ -0,0 +1,75 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for OverallValidationStatus.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum OverallValidationStatus
+ {
+ ///
+ /// Every input request is valid.
+ ///
+ [EnumMember(Value = "AllValidToProceed")]
+ AllValidToProceed,
+ ///
+ /// Some input requests are not valid.
+ ///
+ [EnumMember(Value = "InputsRevisitRequired")]
+ InputsRevisitRequired,
+ ///
+ /// Certain input validations skipped.
+ ///
+ [EnumMember(Value = "CertainInputValidationsSkipped")]
+ CertainInputValidationsSkipped
+ }
+ internal static class OverallValidationStatusEnumExtension
+ {
+ internal static string ToSerializedValue(this OverallValidationStatus? value)
+ {
+ return value == null ? null : ((OverallValidationStatus)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this OverallValidationStatus value)
+ {
+ switch( value )
+ {
+ case OverallValidationStatus.AllValidToProceed:
+ return "AllValidToProceed";
+ case OverallValidationStatus.InputsRevisitRequired:
+ return "InputsRevisitRequired";
+ case OverallValidationStatus.CertainInputValidationsSkipped:
+ return "CertainInputValidationsSkipped";
+ }
+ return null;
+ }
+
+ internal static OverallValidationStatus? ParseOverallValidationStatus(this string value)
+ {
+ switch( value )
+ {
+ case "AllValidToProceed":
+ return OverallValidationStatus.AllValidToProceed;
+ case "InputsRevisitRequired":
+ return OverallValidationStatus.InputsRevisitRequired;
+ case "CertainInputValidationsSkipped":
+ return OverallValidationStatus.CertainInputValidationsSkipped;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Preferences.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Preferences.cs
index f91d32888ebe2..58b09eb6dc6b6 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Preferences.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Preferences.cs
@@ -31,9 +31,14 @@ public Preferences()
///
/// Initializes a new instance of the Preferences class.
///
- public Preferences(IList preferredDataCenterRegion = default(IList))
+ /// Preferred Data Center
+ /// Region.
+ /// Preferences related to the
+ /// shipment logistics of the sku.
+ public Preferences(IList preferredDataCenterRegion = default(IList), TransportPreferences transportPreferences = default(TransportPreferences))
{
PreferredDataCenterRegion = preferredDataCenterRegion;
+ TransportPreferences = transportPreferences;
CustomInit();
}
@@ -43,9 +48,30 @@ public Preferences()
partial void CustomInit();
///
+ /// Gets or sets preferred Data Center Region.
///
[JsonProperty(PropertyName = "preferredDataCenterRegion")]
public IList PreferredDataCenterRegion { get; set; }
+ ///
+ /// Gets or sets preferences related to the shipment logistics of the
+ /// sku.
+ ///
+ [JsonProperty(PropertyName = "transportPreferences")]
+ public TransportPreferences TransportPreferences { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (TransportPreferences != null)
+ {
+ TransportPreferences.Validate();
+ }
+ }
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationRequest.cs
new file mode 100644
index 0000000000000..404fd13cc398b
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationRequest.cs
@@ -0,0 +1,80 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request to validate preference of transport and data center.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidatePreferences")]
+ public partial class PreferencesValidationRequest : ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the PreferencesValidationRequest
+ /// class.
+ ///
+ public PreferencesValidationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the PreferencesValidationRequest
+ /// class.
+ ///
+ /// Device type to be used for the job.
+ /// Possible values include: 'DataBox', 'DataBoxDisk',
+ /// 'DataBoxHeavy'
+ /// Preference requested with respect to
+ /// transport type and data center
+ public PreferencesValidationRequest(SkuName deviceType, Preferences preference = default(Preferences))
+ {
+ Preference = preference;
+ DeviceType = deviceType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets preference requested with respect to transport type
+ /// and data center
+ ///
+ [JsonProperty(PropertyName = "preference")]
+ public Preferences Preference { get; set; }
+
+ ///
+ /// Gets or sets device type to be used for the job. Possible values
+ /// include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ [JsonProperty(PropertyName = "deviceType")]
+ public SkuName DeviceType { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Preference != null)
+ {
+ Preference.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationResponseProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationResponseProperties.cs
new file mode 100644
index 0000000000000..f464979dc99d6
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationResponseProperties.cs
@@ -0,0 +1,60 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Properties of data center and transport preference validation response.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidatePreferences")]
+ public partial class PreferencesValidationResponseProperties : ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the
+ /// PreferencesValidationResponseProperties class.
+ ///
+ public PreferencesValidationResponseProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// PreferencesValidationResponseProperties class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ /// Validation status of requested data center and
+ /// transport. Possible values include: 'Valid', 'Invalid',
+ /// 'Skipped'
+ public PreferencesValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ : base(error)
+ {
+ Status = status;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets validation status of requested data center and transport.
+ /// Possible values include: 'Valid', 'Invalid', 'Skipped'
+ ///
+ [JsonProperty(PropertyName = "status")]
+ public ValidationStatus? Status { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/RegionConfigurationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/RegionConfigurationRequest.cs
new file mode 100644
index 0000000000000..09a05e420a6a4
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/RegionConfigurationRequest.cs
@@ -0,0 +1,76 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request body to get the configuration for the region.
+ ///
+ public partial class RegionConfigurationRequest
+ {
+ ///
+ /// Initializes a new instance of the RegionConfigurationRequest class.
+ ///
+ public RegionConfigurationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the RegionConfigurationRequest class.
+ ///
+ /// Request body to get the
+ /// availability for scheduling orders.
+ /// Request body to get the
+ /// transport availability for given sku.
+ public RegionConfigurationRequest(ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest))
+ {
+ ScheduleAvailabilityRequest = scheduleAvailabilityRequest;
+ TransportAvailabilityRequest = transportAvailabilityRequest;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets request body to get the availability for scheduling
+ /// orders.
+ ///
+ [JsonProperty(PropertyName = "scheduleAvailabilityRequest")]
+ public ScheduleAvailabilityRequest ScheduleAvailabilityRequest { get; set; }
+
+ ///
+ /// Gets or sets request body to get the transport availability for
+ /// given sku.
+ ///
+ [JsonProperty(PropertyName = "transportAvailabilityRequest")]
+ public TransportAvailabilityRequest TransportAvailabilityRequest { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (ScheduleAvailabilityRequest != null)
+ {
+ ScheduleAvailabilityRequest.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/RegionConfigurationResponse.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/RegionConfigurationResponse.cs
new file mode 100644
index 0000000000000..35b27b4081ef8
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/RegionConfigurationResponse.cs
@@ -0,0 +1,63 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Configuration response specific to a region.
+ ///
+ public partial class RegionConfigurationResponse
+ {
+ ///
+ /// Initializes a new instance of the RegionConfigurationResponse
+ /// class.
+ ///
+ public RegionConfigurationResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the RegionConfigurationResponse
+ /// class.
+ ///
+ /// Schedule availability
+ /// for given sku in a region.
+ /// Transport options
+ /// available for given sku in a region.
+ public RegionConfigurationResponse(ScheduleAvailabilityResponse scheduleAvailabilityResponse = default(ScheduleAvailabilityResponse), TransportAvailabilityResponse transportAvailabilityResponse = default(TransportAvailabilityResponse))
+ {
+ ScheduleAvailabilityResponse = scheduleAvailabilityResponse;
+ TransportAvailabilityResponse = transportAvailabilityResponse;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets schedule availability for given sku in a region.
+ ///
+ [JsonProperty(PropertyName = "scheduleAvailabilityResponse")]
+ public ScheduleAvailabilityResponse ScheduleAvailabilityResponse { get; private set; }
+
+ ///
+ /// Gets transport options available for given sku in a region.
+ ///
+ [JsonProperty(PropertyName = "transportAvailabilityResponse")]
+ public TransportAvailabilityResponse TransportAvailabilityResponse { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityRequest.cs
new file mode 100644
index 0000000000000..be0fad833fe54
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityRequest.cs
@@ -0,0 +1,71 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request body to get the availability for scheduling orders.
+ ///
+ public partial class ScheduleAvailabilityRequest
+ {
+ ///
+ /// Initializes a new instance of the ScheduleAvailabilityRequest
+ /// class.
+ ///
+ public ScheduleAvailabilityRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ScheduleAvailabilityRequest
+ /// class.
+ ///
+ /// Location for data transfer.
+ /// For locations check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ public ScheduleAvailabilityRequest(string storageLocation)
+ {
+ StorageLocation = storageLocation;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets location for data transfer.
+ /// For locations check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ ///
+ [JsonProperty(PropertyName = "storageLocation")]
+ public string StorageLocation { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (StorageLocation == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "StorageLocation");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityResponse.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityResponse.cs
new file mode 100644
index 0000000000000..3a54174fd1d3d
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityResponse.cs
@@ -0,0 +1,56 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Schedule availability response for given sku in a region.
+ ///
+ public partial class ScheduleAvailabilityResponse
+ {
+ ///
+ /// Initializes a new instance of the ScheduleAvailabilityResponse
+ /// class.
+ ///
+ public ScheduleAvailabilityResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ScheduleAvailabilityResponse
+ /// class.
+ ///
+ /// List of dates available to
+ /// schedule
+ public ScheduleAvailabilityResponse(IList availableDates = default(IList))
+ {
+ AvailableDates = availableDates;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets list of dates available to schedule
+ ///
+ [JsonProperty(PropertyName = "availableDates")]
+ public IList AvailableDates { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs
index a71165230c2be..5d971f64157e1 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareCredentialDetails.cs
@@ -33,7 +33,8 @@ public ShareCredentialDetails()
///
/// Name of the share.
/// Type of the share. Possible values include:
- /// 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile'
+ /// 'UnknownType', 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile',
+ /// 'ManagedDisk'
/// User name for the share.
/// Password for the share.
/// Access protocols supported
@@ -61,7 +62,7 @@ public ShareCredentialDetails()
///
/// Gets type of the share. Possible values include: 'UnknownType',
- /// 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile'
+ /// 'HCS', 'BlockBlob', 'PageBlob', 'AzureFile', 'ManagedDisk'
///
[JsonProperty(PropertyName = "shareType")]
public ShareDestinationFormatType? ShareType { get; private set; }
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs
index 657276ae31c21..398ff925fe92d 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ShareDestinationFormatType.cs
@@ -45,7 +45,12 @@ public enum ShareDestinationFormatType
/// Azure storage file format.
///
[EnumMember(Value = "AzureFile")]
- AzureFile
+ AzureFile,
+ ///
+ /// Azure Compute Disk.
+ ///
+ [EnumMember(Value = "ManagedDisk")]
+ ManagedDisk
}
internal static class ShareDestinationFormatTypeEnumExtension
{
@@ -68,6 +73,8 @@ internal static string ToSerializedValue(this ShareDestinationFormatType value)
return "PageBlob";
case ShareDestinationFormatType.AzureFile:
return "AzureFile";
+ case ShareDestinationFormatType.ManagedDisk:
+ return "ManagedDisk";
}
return null;
}
@@ -86,6 +93,8 @@ internal static string ToSerializedValue(this ShareDestinationFormatType value)
return ShareDestinationFormatType.PageBlob;
case "AzureFile":
return ShareDestinationFormatType.AzureFile;
+ case "ManagedDisk":
+ return ShareDestinationFormatType.ManagedDisk;
}
return null;
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationRequest.cs
new file mode 100644
index 0000000000000..80a49cecb2b24
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationRequest.cs
@@ -0,0 +1,111 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request to validate sku availability.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateSkuAvailability")]
+ public partial class SkuAvailabilityValidationRequest : ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the SkuAvailabilityValidationRequest
+ /// class.
+ ///
+ public SkuAvailabilityValidationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the SkuAvailabilityValidationRequest
+ /// class.
+ ///
+ /// Device type to be used for the job.
+ /// Possible values include: 'DataBox', 'DataBoxDisk',
+ /// 'DataBoxHeavy'
+ /// ISO country code. Country for hardware
+ /// shipment. For codes check:
+ /// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
+ /// Location for data transfer. For locations
+ /// check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ public SkuAvailabilityValidationRequest(SkuName deviceType, string country, string location)
+ {
+ DeviceType = deviceType;
+ Country = country;
+ Location = location;
+ CustomInit();
+ }
+ ///
+ /// Static constructor for SkuAvailabilityValidationRequest class.
+ ///
+ static SkuAvailabilityValidationRequest()
+ {
+ TransferType = "ImportToAzure";
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets device type to be used for the job. Possible values
+ /// include: 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ [JsonProperty(PropertyName = "deviceType")]
+ public SkuName DeviceType { get; set; }
+
+ ///
+ /// Gets or sets ISO country code. Country for hardware shipment. For
+ /// codes check:
+ /// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
+ ///
+ [JsonProperty(PropertyName = "country")]
+ public string Country { get; set; }
+
+ ///
+ /// Gets or sets location for data transfer. For locations check:
+ /// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
+ ///
+ [JsonProperty(PropertyName = "location")]
+ public string Location { get; set; }
+
+ ///
+ /// Type of the transfer.
+ ///
+ [JsonProperty(PropertyName = "transferType")]
+ public static string TransferType { get; private set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Country == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Country");
+ }
+ if (Location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Location");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationResponseProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationResponseProperties.cs
new file mode 100644
index 0000000000000..d08306a381527
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationResponseProperties.cs
@@ -0,0 +1,59 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Properties of sku availability validation response.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateSkuAvailability")]
+ public partial class SkuAvailabilityValidationResponseProperties : ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the
+ /// SkuAvailabilityValidationResponseProperties class.
+ ///
+ public SkuAvailabilityValidationResponseProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// SkuAvailabilityValidationResponseProperties class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ /// Sku availability validation status. Possible
+ /// values include: 'Valid', 'Invalid', 'Skipped'
+ public SkuAvailabilityValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ : base(error)
+ {
+ Status = status;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets sku availability validation status. Possible values include:
+ /// 'Valid', 'Invalid', 'Skipped'
+ ///
+ [JsonProperty(PropertyName = "status")]
+ public ValidationStatus? Status { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs
index eca56535d4993..1bf112dbbbdc7 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuDisabledReason.cs
@@ -32,8 +32,7 @@ public enum SkuDisabledReason
[EnumMember(Value = "Country")]
Country,
///
- /// SKU is not available to push data to the requested storage account
- /// region.
+ /// SKU is not available to push data to the requested Azure region.
///
[EnumMember(Value = "Region")]
Region,
@@ -46,7 +45,13 @@ public enum SkuDisabledReason
/// Subscription does not have required offer types for the SKU.
///
[EnumMember(Value = "OfferType")]
- OfferType
+ OfferType,
+ ///
+ /// Subscription has not registered to Microsoft.DataBox and Service
+ /// does not have the subscription notification.
+ ///
+ [EnumMember(Value = "NoSubscriptionInfo")]
+ NoSubscriptionInfo
}
internal static class SkuDisabledReasonEnumExtension
{
@@ -69,6 +74,8 @@ internal static string ToSerializedValue(this SkuDisabledReason value)
return "Feature";
case SkuDisabledReason.OfferType:
return "OfferType";
+ case SkuDisabledReason.NoSubscriptionInfo:
+ return "NoSubscriptionInfo";
}
return null;
}
@@ -87,6 +94,8 @@ internal static string ToSerializedValue(this SkuDisabledReason value)
return SkuDisabledReason.Feature;
case "OfferType":
return SkuDisabledReason.OfferType;
+ case "NoSubscriptionInfo":
+ return SkuDisabledReason.NoSubscriptionInfo;
}
return null;
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs
index a19de5471e89a..e371b1ba83315 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuInformation.cs
@@ -44,7 +44,7 @@ public SkuInformation()
/// Sku.
/// Reason why the Sku is disabled.
/// Possible values include: 'None', 'Country', 'Region', 'Feature',
- /// 'OfferType'
+ /// 'OfferType', 'NoSubscriptionInfo'
/// Message for why the Sku is
/// disabled.
/// Required feature to access the
@@ -106,7 +106,8 @@ public SkuInformation()
///
/// Gets reason why the Sku is disabled. Possible values include:
- /// 'None', 'Country', 'Region', 'Feature', 'OfferType'
+ /// 'None', 'Country', 'Region', 'Feature', 'OfferType',
+ /// 'NoSubscriptionInfo'
///
[JsonProperty(PropertyName = "properties.disabledReason")]
public SkuDisabledReason? DisabledReason { get; private set; }
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageName.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageName.cs
index 07b8228b8ff9d..41990442852ae 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageName.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageName.cs
@@ -86,7 +86,22 @@ public enum StageName
/// Order has been aborted.
///
[EnumMember(Value = "Aborted")]
- Aborted
+ Aborted,
+ ///
+ /// Order has completed with warnings.
+ ///
+ [EnumMember(Value = "CompletedWithWarnings")]
+ CompletedWithWarnings,
+ ///
+ /// Device is ready to be handed to customer from Azure DC.
+ ///
+ [EnumMember(Value = "ReadyToDispatchFromAzureDC")]
+ ReadyToDispatchFromAzureDC,
+ ///
+ /// Device can be dropped off at Azure DC.
+ ///
+ [EnumMember(Value = "ReadyToReceiveAtAzureDC")]
+ ReadyToReceiveAtAzureDC
}
internal static class StageNameEnumExtension
{
@@ -125,6 +140,12 @@ internal static string ToSerializedValue(this StageName value)
return "Failed_IssueDetectedAtAzureDC";
case StageName.Aborted:
return "Aborted";
+ case StageName.CompletedWithWarnings:
+ return "CompletedWithWarnings";
+ case StageName.ReadyToDispatchFromAzureDC:
+ return "ReadyToDispatchFromAzureDC";
+ case StageName.ReadyToReceiveAtAzureDC:
+ return "ReadyToReceiveAtAzureDC";
}
return null;
}
@@ -159,6 +180,12 @@ internal static string ToSerializedValue(this StageName value)
return StageName.FailedIssueDetectedAtAzureDC;
case "Aborted":
return StageName.Aborted;
+ case "CompletedWithWarnings":
+ return StageName.CompletedWithWarnings;
+ case "ReadyToDispatchFromAzureDC":
+ return StageName.ReadyToDispatchFromAzureDC;
+ case "ReadyToReceiveAtAzureDC":
+ return StageName.ReadyToReceiveAtAzureDC;
}
return null;
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationRequest.cs
new file mode 100644
index 0000000000000..ea2984bea8d0a
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationRequest.cs
@@ -0,0 +1,38 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request to validate subscription permission to create jobs.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateSubscriptionIsAllowedToCreateJob")]
+ public partial class SubscriptionIsAllowedToCreateJobValidationRequest : ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the
+ /// SubscriptionIsAllowedToCreateJobValidationRequest class.
+ ///
+ public SubscriptionIsAllowedToCreateJobValidationRequest()
+ {
+ CustomInit();
+ }
+
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationResponseProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationResponseProperties.cs
new file mode 100644
index 0000000000000..e9aebdb24c523
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationResponseProperties.cs
@@ -0,0 +1,61 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Properties of subscription permission to create job validation
+ /// response.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateSubscriptionIsAllowedToCreateJob")]
+ public partial class SubscriptionIsAllowedToCreateJobValidationResponseProperties : ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the
+ /// SubscriptionIsAllowedToCreateJobValidationResponseProperties class.
+ ///
+ public SubscriptionIsAllowedToCreateJobValidationResponseProperties()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// SubscriptionIsAllowedToCreateJobValidationResponseProperties class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ /// Validation status of subscription permission
+ /// to create job. Possible values include: 'Valid', 'Invalid',
+ /// 'Skipped'
+ public SubscriptionIsAllowedToCreateJobValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ : base(error)
+ {
+ Status = status;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets validation status of subscription permission to create job.
+ /// Possible values include: 'Valid', 'Invalid', 'Skipped'
+ ///
+ [JsonProperty(PropertyName = "status")]
+ public ValidationStatus? Status { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityDetails.cs
new file mode 100644
index 0000000000000..0195487f896e2
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityDetails.cs
@@ -0,0 +1,56 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Transport options availability details for given region.
+ ///
+ public partial class TransportAvailabilityDetails
+ {
+ ///
+ /// Initializes a new instance of the TransportAvailabilityDetails
+ /// class.
+ ///
+ public TransportAvailabilityDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransportAvailabilityDetails
+ /// class.
+ ///
+ /// Transport Shipment Type supported for
+ /// given region. Possible values include: 'CustomerManaged',
+ /// 'MicrosoftManaged'
+ public TransportAvailabilityDetails(TransportShipmentTypes? shipmentType = default(TransportShipmentTypes?))
+ {
+ ShipmentType = shipmentType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets transport Shipment Type supported for given region. Possible
+ /// values include: 'CustomerManaged', 'MicrosoftManaged'
+ ///
+ [JsonProperty(PropertyName = "shipmentType")]
+ public TransportShipmentTypes? ShipmentType { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityRequest.cs
new file mode 100644
index 0000000000000..d3b4c935374db
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityRequest.cs
@@ -0,0 +1,55 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Request body to get the transport availability for given sku.
+ ///
+ public partial class TransportAvailabilityRequest
+ {
+ ///
+ /// Initializes a new instance of the TransportAvailabilityRequest
+ /// class.
+ ///
+ public TransportAvailabilityRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransportAvailabilityRequest
+ /// class.
+ ///
+ /// Type of the device. Possible values include:
+ /// 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ public TransportAvailabilityRequest(SkuName? skuName = default(SkuName?))
+ {
+ SkuName = skuName;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets type of the device. Possible values include:
+ /// 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ [JsonProperty(PropertyName = "skuName")]
+ public SkuName? SkuName { get; set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityResponse.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityResponse.cs
new file mode 100644
index 0000000000000..ea6bae21d634b
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportAvailabilityResponse.cs
@@ -0,0 +1,56 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Transport options available for given sku in a region.
+ ///
+ public partial class TransportAvailabilityResponse
+ {
+ ///
+ /// Initializes a new instance of the TransportAvailabilityResponse
+ /// class.
+ ///
+ public TransportAvailabilityResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransportAvailabilityResponse
+ /// class.
+ ///
+ /// List of transport
+ /// availability details for given region
+ public TransportAvailabilityResponse(IList transportAvailabilityDetails = default(IList))
+ {
+ TransportAvailabilityDetails = transportAvailabilityDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets list of transport availability details for given region
+ ///
+ [JsonProperty(PropertyName = "transportAvailabilityDetails")]
+ public IList TransportAvailabilityDetails { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportPreferences.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportPreferences.cs
new file mode 100644
index 0000000000000..fd52d29d72e2b
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportPreferences.cs
@@ -0,0 +1,64 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Preferences related to the shipment logistics of the sku
+ ///
+ public partial class TransportPreferences
+ {
+ ///
+ /// Initializes a new instance of the TransportPreferences class.
+ ///
+ public TransportPreferences()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransportPreferences class.
+ ///
+ /// Indicates Shipment Logistics
+ /// type that the customer preferred. Possible values include:
+ /// 'CustomerManaged', 'MicrosoftManaged'
+ public TransportPreferences(TransportShipmentTypes preferredShipmentType)
+ {
+ PreferredShipmentType = preferredShipmentType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets indicates Shipment Logistics type that the customer
+ /// preferred. Possible values include: 'CustomerManaged',
+ /// 'MicrosoftManaged'
+ ///
+ [JsonProperty(PropertyName = "preferredShipmentType")]
+ public TransportShipmentTypes PreferredShipmentType { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportShipmentTypes.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportShipmentTypes.cs
new file mode 100644
index 0000000000000..86c12741d14b7
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransportShipmentTypes.cs
@@ -0,0 +1,66 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for TransportShipmentTypes.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TransportShipmentTypes
+ {
+ ///
+ /// Shipment Logistics is handled by the customer.
+ ///
+ [EnumMember(Value = "CustomerManaged")]
+ CustomerManaged,
+ ///
+ /// Shipment Logistics is handled by Microsoft.
+ ///
+ [EnumMember(Value = "MicrosoftManaged")]
+ MicrosoftManaged
+ }
+ internal static class TransportShipmentTypesEnumExtension
+ {
+ internal static string ToSerializedValue(this TransportShipmentTypes? value)
+ {
+ return value == null ? null : ((TransportShipmentTypes)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this TransportShipmentTypes value)
+ {
+ switch( value )
+ {
+ case TransportShipmentTypes.CustomerManaged:
+ return "CustomerManaged";
+ case TransportShipmentTypes.MicrosoftManaged:
+ return "MicrosoftManaged";
+ }
+ return null;
+ }
+
+ internal static TransportShipmentTypes? ParseTransportShipmentTypes(this string value)
+ {
+ switch( value )
+ {
+ case "CustomerManaged":
+ return TransportShipmentTypes.CustomerManaged;
+ case "MicrosoftManaged":
+ return TransportShipmentTypes.MicrosoftManaged;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidateAddress.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidateAddress.cs
index 260f9e70b5cce..6af4394416d01 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidateAddress.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidateAddress.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
/// The requirements to validate customer address where the device needs to
/// be shipped.
///
- public partial class ValidateAddress
+ public partial class ValidateAddress : ValidationInputRequest
{
///
/// Initializes a new instance of the ValidateAddress class.
@@ -36,10 +36,13 @@ public ValidateAddress()
/// Device type to be used for the job.
/// Possible values include: 'DataBox', 'DataBoxDisk',
/// 'DataBoxHeavy'
- public ValidateAddress(ShippingAddress shippingAddress, SkuName deviceType)
+ /// Preferences related to the
+ /// shipment logistics of the sku.
+ public ValidateAddress(ShippingAddress shippingAddress, SkuName deviceType, TransportPreferences transportPreferences = default(TransportPreferences))
{
ShippingAddress = shippingAddress;
DeviceType = deviceType;
+ TransportPreferences = transportPreferences;
CustomInit();
}
@@ -61,6 +64,13 @@ public ValidateAddress(ShippingAddress shippingAddress, SkuName deviceType)
[JsonProperty(PropertyName = "deviceType")]
public SkuName DeviceType { get; set; }
+ ///
+ /// Gets or sets preferences related to the shipment logistics of the
+ /// sku.
+ ///
+ [JsonProperty(PropertyName = "transportPreferences")]
+ public TransportPreferences TransportPreferences { get; set; }
+
///
/// Validate the object.
///
@@ -77,6 +87,10 @@ public virtual void Validate()
{
ShippingAddress.Validate();
}
+ if (TransportPreferences != null)
+ {
+ TransportPreferences.Validate();
+ }
}
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputRequest.cs
new file mode 100644
index 0000000000000..096380231268d
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputRequest.cs
@@ -0,0 +1,35 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using System.Linq;
+
+ ///
+ /// Minimum fields that must be present in any type of validation request.
+ ///
+ public partial class ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the ValidationInputRequest class.
+ ///
+ public ValidationInputRequest()
+ {
+ CustomInit();
+ }
+
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputResponse.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputResponse.cs
new file mode 100644
index 0000000000000..810a34e2dc991
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputResponse.cs
@@ -0,0 +1,53 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Minimum properties that should be present in each individual validation
+ /// response.
+ ///
+ public partial class ValidationInputResponse
+ {
+ ///
+ /// Initializes a new instance of the ValidationInputResponse class.
+ ///
+ public ValidationInputResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ValidationInputResponse class.
+ ///
+ /// Error code and message of validation
+ /// response.
+ public ValidationInputResponse(Error error = default(Error))
+ {
+ Error = error;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets error code and message of validation response.
+ ///
+ [JsonProperty(PropertyName = "error")]
+ public Error Error { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationRequest.cs
new file mode 100644
index 0000000000000..db49123fc6083
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationRequest.cs
@@ -0,0 +1,70 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Input request for all pre job creation validation.
+ ///
+ public partial class ValidationRequest
+ {
+ ///
+ /// Initializes a new instance of the ValidationRequest class.
+ ///
+ public ValidationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ValidationRequest class.
+ ///
+ /// List of request details
+ /// contain validationType and its request as key and value
+ /// respectively.
+ public ValidationRequest(IList individualRequestDetails)
+ {
+ IndividualRequestDetails = individualRequestDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets list of request details contain validationType and its
+ /// request as key and value respectively.
+ ///
+ [JsonProperty(PropertyName = "individualRequestDetails")]
+ public IList IndividualRequestDetails { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (IndividualRequestDetails == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "IndividualRequestDetails");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationResponse.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationResponse.cs
new file mode 100644
index 0000000000000..d1cd19287dbd1
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationResponse.cs
@@ -0,0 +1,71 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Response of pre job creation validations.
+ ///
+ [Rest.Serialization.JsonTransformation]
+ public partial class ValidationResponse
+ {
+ ///
+ /// Initializes a new instance of the ValidationResponse class.
+ ///
+ public ValidationResponse()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ValidationResponse class.
+ ///
+ /// Overall validation status. Possible values
+ /// include: 'AllValidToProceed', 'InputsRevisitRequired',
+ /// 'CertainInputValidationsSkipped'
+ /// List of response details
+ /// contain validationType and its response as key and value
+ /// respectively.
+ public ValidationResponse(OverallValidationStatus? status = default(OverallValidationStatus?), IList individualResponseDetails = default(IList))
+ {
+ Status = status;
+ IndividualResponseDetails = individualResponseDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets overall validation status. Possible values include:
+ /// 'AllValidToProceed', 'InputsRevisitRequired',
+ /// 'CertainInputValidationsSkipped'
+ ///
+ [JsonProperty(PropertyName = "properties.status")]
+ public OverallValidationStatus? Status { get; private set; }
+
+ ///
+ /// Gets list of response details contain validationType and its
+ /// response as key and value respectively.
+ ///
+ [JsonProperty(PropertyName = "properties.individualResponseDetails")]
+ public IList IndividualResponseDetails { get; private set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationStatus.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationStatus.cs
new file mode 100644
index 0000000000000..96f44c3a80928
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationStatus.cs
@@ -0,0 +1,75 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.DataBox.Models
+{
+ using Newtonsoft.Json;
+ using Newtonsoft.Json.Converters;
+ using System.Runtime;
+ using System.Runtime.Serialization;
+
+ ///
+ /// Defines values for ValidationStatus.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum ValidationStatus
+ {
+ ///
+ /// Validation is successful
+ ///
+ [EnumMember(Value = "Valid")]
+ Valid,
+ ///
+ /// Validation is not successful
+ ///
+ [EnumMember(Value = "Invalid")]
+ Invalid,
+ ///
+ /// Validation is skipped
+ ///
+ [EnumMember(Value = "Skipped")]
+ Skipped
+ }
+ internal static class ValidationStatusEnumExtension
+ {
+ internal static string ToSerializedValue(this ValidationStatus? value)
+ {
+ return value == null ? null : ((ValidationStatus)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this ValidationStatus value)
+ {
+ switch( value )
+ {
+ case ValidationStatus.Valid:
+ return "Valid";
+ case ValidationStatus.Invalid:
+ return "Invalid";
+ case ValidationStatus.Skipped:
+ return "Skipped";
+ }
+ return null;
+ }
+
+ internal static ValidationStatus? ParseValidationStatus(this string value)
+ {
+ switch( value )
+ {
+ case "Valid":
+ return ValidationStatus.Valid;
+ case "Invalid":
+ return ValidationStatus.Invalid;
+ case "Skipped":
+ return ValidationStatus.Skipped;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs
index 2e02594a361d6..23a0777f6355b 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/SdkInfo_DataBoxManagementClient.cs
@@ -19,19 +19,19 @@ public static IEnumerable> ApiInfo_DataBoxManageme
{
return new Tuple[]
{
- new Tuple("DataBox", "Jobs", "2018-01-01"),
- new Tuple("DataBox", "Operations", "2018-01-01"),
- new Tuple("DataBox", "Service", "2018-01-01"),
+ new Tuple("DataBox", "Jobs", "2019-09-01"),
+ new Tuple("DataBox", "Operations", "2019-09-01"),
+ new Tuple("DataBox", "Service", "2019-09-01"),
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/databox/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=E:\\work\\git\\azure-sdk-for-net\\src\\SDKs";
+ public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/databox/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2019-09 --csharp-sdks-folder=D:\\god\\azure_sdk_net\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "be799c37e1df63769895f0ae6fc51d65c69aba27";
+ public static readonly String GithubCommidId = "59998f796f05580bc1d43ba39f0170204113fa91";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperations.cs
index db4d7cef50bab..987205bf522c2 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperations.cs
@@ -257,18 +257,860 @@ internal ServiceOperations(DataBoxManagementClient client)
}
///
- /// This method validates the customer shipping address and provide alternate
- /// addresses if any.
+ /// This method provides the list of available skus for the given subscription,
+ /// resource group and location.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Filters for showing the available skus.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListAvailableSkusByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, AvailableSkuRequest availableSkuRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ if (availableSkuRequest == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "availableSkuRequest");
+ }
+ if (availableSkuRequest != null)
+ {
+ availableSkuRequest.Validate();
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("availableSkuRequest", availableSkuRequest);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListAvailableSkusByResourceGroup", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ if(availableSkuRequest != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(availableSkuRequest, Client.SerializationSettings);
+ _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// [DEPRECATED NOTICE: This operation will soon be removed] This method
+ /// validates the customer shipping address and provide alternate addresses if
+ /// any.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Shipping address of the customer.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ [System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
+ public async Task> ValidateAddressMethodWithHttpMessagesAsync(string location, ValidateAddress validateAddress, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ if (validateAddress == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "validateAddress");
+ }
+ if (validateAddress != null)
+ {
+ validateAddress.Validate();
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("validateAddress", validateAddress);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ValidateAddressMethod", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ if(validateAddress != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validateAddress, Client.SerializationSettings);
+ _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// This method does all necessary pre-job creation validation under resource
+ /// group.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> ValidateInputsByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, ValidationRequest validationRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ if (validationRequest == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "validationRequest");
+ }
+ if (validationRequest != null)
+ {
+ validationRequest.Validate();
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("validationRequest", validationRequest);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ValidateInputsByResourceGroup", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/validateInputs").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ if(validationRequest != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validationRequest, Client.SerializationSettings);
+ _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// This method does all necessary pre-job creation validation under
+ /// subscription.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> ValidateInputsWithHttpMessagesAsync(string location, ValidationRequest validationRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ if (validationRequest == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "validationRequest");
+ }
+ if (validationRequest != null)
+ {
+ validationRequest.Validate();
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("validationRequest", validationRequest);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ValidateInputs", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ if(validationRequest != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validationRequest, Client.SerializationSettings);
+ _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// This API provides configuration details specific to given region/location.
///
///
/// The location of the resource
///
- ///
- /// Shipping address of the customer.
+ ///
+ /// Request body to get the availability for scheduling orders.
///
- ///
- /// Device type to be used for the job. Possible values include: 'DataBox',
- /// 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ /// Request body to get the transport availability for given sku.
///
///
/// Headers that will be added to request.
@@ -291,7 +1133,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> ValidateAddressMethodWithHttpMessagesAsync(string location, ShippingAddress shippingAddress, SkuName deviceType, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> RegionConfigurationWithHttpMessagesAsync(string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -305,19 +1147,15 @@ internal ServiceOperations(DataBoxManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
- if (shippingAddress == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "shippingAddress");
- }
- if (shippingAddress != null)
+ if (scheduleAvailabilityRequest != null)
{
- shippingAddress.Validate();
+ scheduleAvailabilityRequest.Validate();
}
- ValidateAddress validateAddress = new ValidateAddress();
- if (shippingAddress != null)
+ RegionConfigurationRequest regionConfigurationRequest = new RegionConfigurationRequest();
+ if (scheduleAvailabilityRequest != null || transportAvailabilityRequest != null)
{
- validateAddress.ShippingAddress = shippingAddress;
- validateAddress.DeviceType = deviceType;
+ regionConfigurationRequest.ScheduleAvailabilityRequest = scheduleAvailabilityRequest;
+ regionConfigurationRequest.TransportAvailabilityRequest = transportAvailabilityRequest;
}
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -327,13 +1165,13 @@ internal ServiceOperations(DataBoxManagementClient client)
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("location", location);
- tracingParameters.Add("validateAddress", validateAddress);
+ tracingParameters.Add("regionConfigurationRequest", regionConfigurationRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "ValidateAddressMethod", tracingParameters);
+ ServiceClientTracing.Enter(_invocationId, this, "RegionConfiguration", tracingParameters);
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
- var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress").ToString();
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/regionConfiguration").ToString();
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
_url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
List _queryParameters = new List();
@@ -379,9 +1217,9 @@ internal ServiceOperations(DataBoxManagementClient client)
// Serialize Request
string _requestContent = null;
- if(validateAddress != null)
+ if(regionConfigurationRequest != null)
{
- _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(validateAddress, Client.SerializationSettings);
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(regionConfigurationRequest, Client.SerializationSettings);
_httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
@@ -440,7 +1278,7 @@ internal ServiceOperations(DataBoxManagementClient client)
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse();
+ var _result = new AzureOperationResponse();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -453,7 +1291,7 @@ internal ServiceOperations(DataBoxManagementClient client)
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
catch (JsonException ex)
{
@@ -646,5 +1484,179 @@ internal ServiceOperations(DataBoxManagementClient client)
return _result;
}
+ ///
+ /// This method provides the list of available skus for the given subscription,
+ /// resource group and location.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListAvailableSkusByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListAvailableSkusByResourceGroupNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperationsExtensions.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperationsExtensions.cs
index 5ede4b7215b4f..bb2b513fe1f6f 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperationsExtensions.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperationsExtensions.cs
@@ -64,30 +64,77 @@ public static IPage ListAvailableSkus(this IServiceOperations op
}
///
- /// This method validates the customer shipping address and provide alternate
- /// addresses if any.
+ /// This method provides the list of available skus for the given subscription,
+ /// resource group and location.
///
///
/// The operations group for this extension method.
///
+ ///
+ /// The Resource Group Name
+ ///
///
/// The location of the resource
///
- ///
- /// Shipping address of the customer.
+ ///
+ /// Filters for showing the available skus.
+ ///
+ public static IPage ListAvailableSkusByResourceGroup(this IServiceOperations operations, string resourceGroupName, string location, AvailableSkuRequest availableSkuRequest)
+ {
+ return operations.ListAvailableSkusByResourceGroupAsync(resourceGroupName, location, availableSkuRequest).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// This method provides the list of available skus for the given subscription,
+ /// resource group and location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Filters for showing the available skus.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAvailableSkusByResourceGroupAsync(this IServiceOperations operations, string resourceGroupName, string location, AvailableSkuRequest availableSkuRequest, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListAvailableSkusByResourceGroupWithHttpMessagesAsync(resourceGroupName, location, availableSkuRequest, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// [DEPRECATED NOTICE: This operation will soon be removed] This method
+ /// validates the customer shipping address and provide alternate addresses if
+ /// any.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The location of the resource
///
- ///
- /// Device type to be used for the job. Possible values include: 'DataBox',
- /// 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ /// Shipping address of the customer.
///
- public static AddressValidationOutput ValidateAddressMethod(this IServiceOperations operations, string location, ShippingAddress shippingAddress, SkuName deviceType)
+ [System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
+ public static AddressValidationOutput ValidateAddressMethod(this IServiceOperations operations, string location, ValidateAddress validateAddress)
{
- return operations.ValidateAddressMethodAsync(location, shippingAddress, deviceType).GetAwaiter().GetResult();
+ return operations.ValidateAddressMethodAsync(location, validateAddress).GetAwaiter().GetResult();
}
///
- /// This method validates the customer shipping address and provide alternate
- /// addresses if any.
+ /// [DEPRECATED NOTICE: This operation will soon be removed] This method
+ /// validates the customer shipping address and provide alternate addresses if
+ /// any.
///
///
/// The operations group for this extension method.
@@ -95,19 +142,152 @@ public static AddressValidationOutput ValidateAddressMethod(this IServiceOperati
///
/// The location of the resource
///
- ///
+ ///
/// Shipping address of the customer.
///
- ///
- /// Device type to be used for the job. Possible values include: 'DataBox',
- /// 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ /// The cancellation token.
+ ///
+ [System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
+ public static async Task ValidateAddressMethodAsync(this IServiceOperations operations, string location, ValidateAddress validateAddress, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ValidateAddressMethodWithHttpMessagesAsync(location, validateAddress, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// This method does all necessary pre-job creation validation under resource
+ /// group.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
+ ///
+ public static ValidationResponse ValidateInputsByResourceGroup(this IServiceOperations operations, string resourceGroupName, string location, ValidationRequest validationRequest)
+ {
+ return operations.ValidateInputsByResourceGroupAsync(resourceGroupName, location, validationRequest).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// This method does all necessary pre-job creation validation under resource
+ /// group.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task ValidateInputsByResourceGroupAsync(this IServiceOperations operations, string resourceGroupName, string location, ValidationRequest validationRequest, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ValidateInputsByResourceGroupWithHttpMessagesAsync(resourceGroupName, location, validationRequest, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// This method does all necessary pre-job creation validation under
+ /// subscription.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
+ ///
+ public static ValidationResponse ValidateInputs(this IServiceOperations operations, string location, ValidationRequest validationRequest)
+ {
+ return operations.ValidateInputsAsync(location, validationRequest).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// This method does all necessary pre-job creation validation under
+ /// subscription.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Inputs of the customer.
///
///
/// The cancellation token.
///
- public static async Task ValidateAddressMethodAsync(this IServiceOperations operations, string location, ShippingAddress shippingAddress, SkuName deviceType, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task ValidateInputsAsync(this IServiceOperations operations, string location, ValidationRequest validationRequest, CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.ValidateAddressMethodWithHttpMessagesAsync(location, shippingAddress, deviceType, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.ValidateInputsWithHttpMessagesAsync(location, validationRequest, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// This API provides configuration details specific to given region/location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Request body to get the availability for scheduling orders.
+ ///
+ ///
+ /// Request body to get the transport availability for given sku.
+ ///
+ public static RegionConfigurationResponse RegionConfiguration(this IServiceOperations operations, string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest))
+ {
+ return operations.RegionConfigurationAsync(location, scheduleAvailabilityRequest, transportAvailabilityRequest).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// This API provides configuration details specific to given region/location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Request body to get the availability for scheduling orders.
+ ///
+ ///
+ /// Request body to get the transport availability for given sku.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task RegionConfigurationAsync(this IServiceOperations operations, string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest), CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.RegionConfigurationWithHttpMessagesAsync(location, scheduleAvailabilityRequest, transportAvailabilityRequest, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -149,5 +329,41 @@ public static IPage ListAvailableSkusNext(this IServiceOperation
}
}
+ ///
+ /// This method provides the list of available skus for the given subscription,
+ /// resource group and location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListAvailableSkusByResourceGroupNext(this IServiceOperations operations, string nextPageLink)
+ {
+ return operations.ListAvailableSkusByResourceGroupNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// This method provides the list of available skus for the given subscription,
+ /// resource group and location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAvailableSkusByResourceGroupNextAsync(this IServiceOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListAvailableSkusByResourceGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Microsoft.Azure.Management.DataBox.csproj b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Microsoft.Azure.Management.DataBox.csproj
index de47cf9f0925a..289e57bca7fee 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Microsoft.Azure.Management.DataBox.csproj
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Microsoft.Azure.Management.DataBox.csproj
@@ -7,23 +7,20 @@
Microsoft.Azure.Management.DataBox
Microsoft Azure Management DataBox library
Microsoft.Azure.Management.DataBox
- 1.0.1
+ 1.1.0
AzureDataBox;DataBox;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Properties/AssemblyInfo.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Properties/AssemblyInfo.cs
index 35be1d5f19fea..06164619bfcb5 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Properties/AssemblyInfo.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Properties/AssemblyInfo.cs
@@ -8,7 +8,7 @@
[assembly: AssemblyDescription("Provides Microsoft Azure DataBox management functions for managing the Microsoft Azure DataBox service.")]
[assembly: AssemblyVersion("1.0.0")]
-[assembly: AssemblyFileVersion("1.0.1")]
+[assembly: AssemblyFileVersion("1.1.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Microsoft.Azure.Management.DataBox.Tests.csproj b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Microsoft.Azure.Management.DataBox.Tests.csproj
index f98f5858b5f60..74f23498b9ad5 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Microsoft.Azure.Management.DataBox.Tests.csproj
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Microsoft.Azure.Management.DataBox.Tests.csproj
@@ -7,6 +7,9 @@
1.0.0
true
+
+ netcoreapp2.0
+
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestJobCRUDOperations.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestJobCRUDOperations.json
index b0922663c1c22..003e7f3028523 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestJobCRUDOperations.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestJobCRUDOperations.json
@@ -1,19 +1,21 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg8120?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnODEyMD9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg4216?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnNDIxNj9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8baa77ab-f99e-47da-98f3-f6d173240770"
+ "8aacdcc6-fddb-443c-9180-d4fc68e3430a"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
"Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
],
"Content-Type": [
@@ -27,23 +29,20 @@
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:33 GMT"
- ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1198"
],
"x-ms-request-id": [
- "820e97b9-4a87-4d20-a3b9-416eae72bd97"
+ "e948e48b-3878-4309-833c-9beb7e7d4851"
],
"x-ms-correlation-request-id": [
- "820e97b9-4a87-4d20-a3b9-416eae72bd97"
+ "e948e48b-3878-4309-833c-9beb7e7d4851"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122833Z:820e97b9-4a87-4d20-a3b9-416eae72bd97"
+ "SOUTHINDIA:20191017T101817Z:e948e48b-3878-4309-833c-9beb7e7d4851"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,6 +50,9 @@
"X-Content-Type-Options": [
"nosniff"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:17 GMT"
+ ],
"Content-Length": [
"171"
],
@@ -61,44 +63,43 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120\",\r\n \"name\": \"SdkRg8120\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216\",\r\n \"name\": \"SdkRg4216\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"details\": {\r\n \"jobDetailsType\": \"DataBox\",\r\n \"contactDetails\": {\r\n \"contactName\": \"Public SDK Test\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ]\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"details\": {\r\n \"jobDetailsType\": \"DataBox\",\r\n \"contactDetails\": {\r\n \"contactName\": \"Public SDK Test\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ]\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "ee686d79-42c2-4b01-9afe-5e99f4cabfee"
+ "842e5d2c-910a-4692-bd2e-da0f23e05ef1"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "931"
+ "983"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:37 GMT"
- ],
"Pragma": [
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/dbb287f3-ded6-42ee-b673-0c49d46394dc?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/03515491-a18b-4ba9-95bb-b78db9477f7d?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -107,59 +108,61 @@
"nosniff"
],
"x-ms-request-id": [
- "bf7174d5-aa62-4036-aef8-eaf6e5e60644"
+ "659a63fa-6c7f-48c9-aa98-ed6f2fea9054"
],
"x-ms-client-request-id": [
- "ee686d79-42c2-4b01-9afe-5e99f4cabfee"
+ "842e5d2c-910a-4692-bd2e-da0f23e05ef1"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1199"
],
"x-ms-correlation-request-id": [
- "f0a3ccc3-6f14-4d01-ae5f-a50ed0c9c826"
+ "e752402a-ce0c-4429-9a8e-3a2ea52f7ca5"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122837Z:f0a3ccc3-6f14-4d01-ae5f-a50ed0c9c826"
+ "SOUTHINDIA:20191017T101822Z:e752402a-ce0c-4429-9a8e-3a2ea52f7ca5"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
- "Content-Length": [
- "0"
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:22 GMT"
],
"Expires": [
"-1"
+ ],
+ "Content-Length": [
+ "0"
]
},
"ResponseBody": "",
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/dbb287f3-ded6-42ee-b673-0c49d46394dc?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZGJiMjg3ZjMtZGVkNi00MmVlLWI2NzMtMGM0OWQ0NjM5NGRjP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/03515491-a18b-4ba9-95bb-b78db9477f7d?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMDM1MTU0OTEtYTE4Yi00YmE5LTk1YmItYjc4ZGI5NDc3ZjdkP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:47 GMT"
- ],
"Pragma": [
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -168,10 +171,10 @@
"nosniff"
],
"x-ms-request-id": [
- "b481ff7e-89e2-4a4d-9197-f2b9383d1a43"
+ "ab77a3f6-adf4-4725-b05a-7d53c4ea47d7"
],
"x-ms-client-request-id": [
- "c0e259d6-41d6-4a22-86aa-6dc1d79769a1"
+ "0ea1663e-a6ca-4069-a067-196cbfe9d638"
],
"X-Powered-By": [
"ASP.NET"
@@ -180,42 +183,44 @@
"11999"
],
"x-ms-correlation-request-id": [
- "88e8a9ea-b625-420e-bb19-71812fcbbdf2"
+ "400303c9-14e4-4d99-9698-293d7a1ce57b"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122848Z:88e8a9ea-b625-420e-bb19-71812fcbbdf2"
+ "SOUTHINDIA:20191017T101833Z:400303c9-14e4-4d99-9698-293d7a1ce57b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
- "Content-Length": [
- "0"
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:32 GMT"
],
"Expires": [
"-1"
+ ],
+ "Content-Length": [
+ "0"
]
},
"ResponseBody": "",
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:57 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -223,10 +228,10 @@
"nosniff"
],
"x-ms-request-id": [
- "025afc0c-5cbf-47aa-86ef-43284ca4a421"
+ "3da08cde-517b-4dd5-93db-c5e2809cb55c"
],
"x-ms-client-request-id": [
- "a80d5110-8783-49f8-a1ce-3d8c27bad508"
+ "5e541fc1-cc66-49d2-9544-c25db371f0d7"
],
"X-Powered-By": [
"ASP.NET"
@@ -235,16 +240,19 @@
"11998"
],
"x-ms-correlation-request-id": [
- "cd2fbfe8-d073-41f4-b604-91273f9c40ac"
+ "b4252a15-fe08-4484-b66f-e490a035e3a3"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122858Z:cd2fbfe8-d073-41f4-b604-91273f9c40ac"
+ "SOUTHINDIA:20191017T101843Z:b4252a15-fe08-4484-b66f-e490a035e3a3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:42 GMT"
+ ],
"Content-Length": [
- "485"
+ "647"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -253,27 +261,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:21 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -281,10 +288,10 @@
"nosniff"
],
"x-ms-request-id": [
- "03761c19-f606-4c22-b126-a2b01023d272"
+ "6f019696-baa5-42fc-946f-a3bd69477960"
],
"x-ms-client-request-id": [
- "1550bb7d-9bbd-431e-9b3a-213bff62f4c9"
+ "f7c9bd17-6f09-4e44-9d2f-d657553e4cd9"
],
"X-Powered-By": [
"ASP.NET"
@@ -293,16 +300,19 @@
"11995"
],
"x-ms-correlation-request-id": [
- "de41c192-4e20-49a5-b5c1-811babc5ee32"
+ "341ace9c-878c-490c-9960-1ecdbece0412"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122921Z:de41c192-4e20-49a5-b5c1-811babc5ee32"
+ "SOUTHINDIA:20191017T101905Z:341ace9c-878c-490c-9960-1ecdbece0412"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:19:05 GMT"
+ ],
"Content-Length": [
- "485"
+ "647"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -311,33 +321,32 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b7369c18-a695-4b58-9839-ede7358e10c2"
+ "bda9eefb-a289-43db-b97c-10c294a8496d"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:58 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -345,10 +354,10 @@
"nosniff"
],
"x-ms-request-id": [
- "fac5dd61-cde7-4cd7-af1e-923f1fc18294"
+ "1abdb282-3d3a-45de-b8d0-d7f8ed17bf77"
],
"x-ms-client-request-id": [
- "b7369c18-a695-4b58-9839-ede7358e10c2"
+ "bda9eefb-a289-43db-b97c-10c294a8496d"
],
"X-Powered-By": [
"ASP.NET"
@@ -357,16 +366,19 @@
"11997"
],
"x-ms-correlation-request-id": [
- "22f86887-5703-4da0-8ff6-939e4c57d27d"
+ "edc7a203-72ed-4aaa-bc1d-cf1163c63536"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122858Z:22f86887-5703-4da0-8ff6-939e4c57d27d"
+ "SOUTHINDIA:20191017T101843Z:edc7a203-72ed-4aaa-bc1d-cf1163c63536"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:42 GMT"
+ ],
"Content-Length": [
- "3963"
+ "3883"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -375,33 +387,32 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2018-09-11T17:58:41.7934219+05:30\"\r\n },\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"displayName\": \"Processed\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"displayName\": \"Dispatched\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"displayName\": \"Delivered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"displayName\": \"Picked up\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"displayName\": \"Received\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Completed\",\r\n \"displayName\": \"Completed\",\r\n \"stageStatus\": \"None\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Public SDK Test\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Invalid\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-17T15:48:25.0029075+05:30\"\r\n },\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"displayName\": \"Processed\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"displayName\": \"Dispatched\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"displayName\": \"Delivered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"displayName\": \"Picked up\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"displayName\": \"Received\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Completed\",\r\n \"displayName\": \"Completed\",\r\n \"stageStatus\": \"None\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Public SDK Test\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "dd519084-efed-4bce-962e-529921f4ab2a"
+ "4feef5c5-7cce-4027-9351-329312be5907"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:21 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -409,10 +420,10 @@
"nosniff"
],
"x-ms-request-id": [
- "3067e300-27fa-4758-b263-c604245c05e7"
+ "5feb67f8-5ba7-45ec-a364-044114d3838f"
],
"x-ms-client-request-id": [
- "dd519084-efed-4bce-962e-529921f4ab2a"
+ "4feef5c5-7cce-4027-9351-329312be5907"
],
"X-Powered-By": [
"ASP.NET"
@@ -421,16 +432,19 @@
"11994"
],
"x-ms-correlation-request-id": [
- "a68ed762-94d6-4f1c-a721-b5722a2c7a19"
+ "a339e9c0-7c23-4966-b950-9e2cb5229ceb"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122922Z:a68ed762-94d6-4f1c-a721-b5722a2c7a19"
+ "SOUTHINDIA:20191017T101905Z:a339e9c0-7c23-4966-b950-9e2cb5229ceb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:19:05 GMT"
+ ],
"Content-Length": [
- "3958"
+ "3878"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -439,33 +453,32 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2018-09-11T17:58:41.7934219+05:30\"\r\n },\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"displayName\": \"Processed\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"displayName\": \"Dispatched\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"displayName\": \"Delivered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"displayName\": \"Picked up\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"displayName\": \"Received\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Completed\",\r\n \"displayName\": \"Completed\",\r\n \"stageStatus\": \"None\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Invalid\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-17T15:48:25.0029075+05:30\"\r\n },\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"displayName\": \"Processed\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"displayName\": \"Dispatched\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"displayName\": \"Delivered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"displayName\": \"Picked up\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"displayName\": \"Received\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Completed\",\r\n \"displayName\": \"Completed\",\r\n \"stageStatus\": \"None\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "2d0ac131-80ad-419a-9126-722678b09c94"
+ "a09a7108-8a5b-429e-a008-7e4631dd4a40"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:29 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -473,10 +486,10 @@
"nosniff"
],
"x-ms-request-id": [
- "5ea1bb9a-700a-4576-b690-af26a106d459"
+ "3d6ed399-6f5f-428d-9b1b-68fe83661b21"
],
"x-ms-client-request-id": [
- "2d0ac131-80ad-419a-9126-722678b09c94"
+ "a09a7108-8a5b-429e-a008-7e4631dd4a40"
],
"X-Powered-By": [
"ASP.NET"
@@ -485,16 +498,19 @@
"11991"
],
"x-ms-correlation-request-id": [
- "53d6af8b-4b68-4125-98ed-7781d00580af"
+ "22722464-aab0-4270-8e5e-0dc55acc89f9"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122929Z:53d6af8b-4b68-4125-98ed-7781d00580af"
+ "SOUTHINDIA:20191017T101921Z:22722464-aab0-4270-8e5e-0dc55acc89f9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:19:21 GMT"
+ ],
"Content-Length": [
- "3253"
+ "3555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -503,33 +519,32 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2018-09-11T17:58:41.7934219+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2018-09-11T17:59:27.3708564+05:30\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Invalid\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"cancellationReason\": \"CancelTest\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-17T15:48:25.0029075+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-17T15:49:20.9890464+05:30\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"cancellationReason\": \"CancelTest\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "bdcc8e76-b662-42a4-93fd-5554809712d7"
+ "67b0007f-4d0c-44f3-b903-195c162a3ee4"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:34:30 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -537,10 +552,10 @@
"nosniff"
],
"x-ms-request-id": [
- "ce40cd12-5e12-4bd2-a114-e64286d21f85"
+ "58fafb9a-7d90-4cc2-b703-d2ec0469d847"
],
"x-ms-client-request-id": [
- "bdcc8e76-b662-42a4-93fd-5554809712d7"
+ "67b0007f-4d0c-44f3-b903-195c162a3ee4"
],
"X-Powered-By": [
"ASP.NET"
@@ -549,16 +564,19 @@
"11999"
],
"x-ms-correlation-request-id": [
- "e3a5c8fa-5f64-4b91-8ccf-0822feee37d6"
+ "8d3f9ab9-fbed-4d9b-8c13-29bb0cae2ff2"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T123431Z:e3a5c8fa-5f64-4b91-8ccf-0822feee37d6"
+ "SOUTHINDIA:20191017T102423Z:8d3f9ab9-fbed-4d9b-8c13-29bb0cae2ff2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:24:23 GMT"
+ ],
"Content-Length": [
- "2756"
+ "3060"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -567,24 +585,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2018-09-11T17:58:41.7934219+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2018-09-11T17:59:27.3708564+05:30\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \" \",\r\n \"emailList\": [],\r\n \"notificationPreference\": []\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Invalid\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"chainOfCustodySasKey\": \"https://wusbeta.blob.core.windows.net/chainofcustody/dbb287f3-ded6-42ee-b673-0c49d46394dc.txt?sv=2016-05-31&sr=b&sig=ljyW4jh7VAuQg%2Bm9JPKznnKEh7kyekn4zhkZ4vIH5LY%3D&st=2018-09-11T12%3A24%3A31Z&se=2018-09-11T12%3A54%3A31Z&sp=r\"\r\n },\r\n \"cancellationReason\": \"CancelTest\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-17T15:48:25.0029075+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-17T15:49:20.9890464+05:30\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \" \",\r\n \"emailList\": [],\r\n \"notificationPreference\": []\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"chainOfCustodySasKey\": \"https://wusbeta.blob.core.windows.net/chainofcustody/03515491-a18b-4ba9-95bb-b78db9477f7d.txt?sv=2017-04-17&sr=b&sig=Orx2dMV%2F4Rg2KknybuSJgeBAnyKPiGr%2FHhkSpEuNd2A%3D&st=2019-10-17T10%3A14%3A23Z&se=2019-10-17T10%3A44%3A23Z&sp=r\"\r\n },\r\n \"cancellationReason\": \"CancelTest\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"properties\": {\r\n \"details\": {\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n }\r\n }\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "26b53b91-d67c-4e6a-b8d6-0d01db7b6e90"
+ "efd496d5-16a8-4208-ac8a-b67f202a9409"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -597,14 +617,11 @@
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:59 GMT"
- ],
"Pragma": [
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f85eb1f2-37d7-4b96-ad56-0214936c4e29?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/a6eba83a-0d07-4052-972b-59a68e3674ae?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -613,59 +630,61 @@
"nosniff"
],
"x-ms-request-id": [
- "276e7d82-eb29-4ed7-9207-260b3fc4870e"
+ "80472603-7b0c-4cc3-ba49-451d0ce74305"
],
"x-ms-client-request-id": [
- "26b53b91-d67c-4e6a-b8d6-0d01db7b6e90"
+ "efd496d5-16a8-4208-ac8a-b67f202a9409"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1198"
],
"x-ms-correlation-request-id": [
- "9b5d2dea-bd16-4ea8-ba65-0abd726b8821"
+ "3d7ebfe6-3fd0-42e4-9c4b-4d12ef0852cb"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122900Z:9b5d2dea-bd16-4ea8-ba65-0abd726b8821"
+ "SOUTHINDIA:20191017T101844Z:3d7ebfe6-3fd0-42e4-9c4b-4d12ef0852cb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
- "Content-Length": [
- "0"
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:43 GMT"
],
"Expires": [
"-1"
+ ],
+ "Content-Length": [
+ "0"
]
},
"ResponseBody": "",
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f85eb1f2-37d7-4b96-ad56-0214936c4e29?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjg1ZWIxZjItMzdkNy00Yjk2LWFkNTYtMDIxNDkzNmM0ZTI5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/a6eba83a-0d07-4052-972b-59a68e3674ae?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYTZlYmE4M2EtMGQwNy00MDUyLTk3MmItNTlhNjhlMzY3NGFlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:10 GMT"
- ],
"Pragma": [
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -674,10 +693,10 @@
"nosniff"
],
"x-ms-request-id": [
- "34fdc9da-1787-4862-bb11-5488c13e831c"
+ "46d134d2-835f-4196-a0b7-442bdfff0000"
],
"x-ms-client-request-id": [
- "46cc996d-0151-43d5-ab26-2fb43b342e1e"
+ "467589e9-71c0-483a-8513-b3710b895ccc"
],
"X-Powered-By": [
"ASP.NET"
@@ -686,68 +705,76 @@
"11996"
],
"x-ms-correlation-request-id": [
- "5018e5c5-8613-4c1a-afb0-6ce42dd0a6ea"
+ "4b2ba28a-63c3-4bd5-9401-b3a77b073e47"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122910Z:5018e5c5-8613-4c1a-afb0-6ce42dd0a6ea"
+ "SOUTHINDIA:20191017T101855Z:4b2ba28a-63c3-4bd5-9401-b3a77b073e47"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
- "Content-Length": [
- "0"
+ "Date": [
+ "Thu, 17 Oct 2019 10:18:54 GMT"
],
"Expires": [
"-1"
+ ],
+ "Content-Length": [
+ "0"
]
},
"ResponseBody": "",
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "03e7ecda-9d8a-4883-ad1e-26ce670891ee"
+ "b701e494-eb3e-4c92-8854-80f0301c1375"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:26 GMT"
- ],
"Pragma": [
"no-cache"
],
"x-ms-original-request-ids": [
- "571190c6-e4e1-4465-bc2d-4e9d4d6e0335",
- "7bdc0cad-4f9a-4f2e-83f9-fa0ddc72371b",
- "1ea06a58-347d-412c-8ec2-3b252d83f411",
- "26c4a716-27f5-47d5-8d57-46e1a94cde77"
+ "5ea9b8f6-944d-4c39-8655-46c5c6b78f2d",
+ "fe0da41a-b736-4018-826f-b89324d3b764",
+ "b824f0b9-bd7f-4e44-9816-66bbb21b51b8",
+ "9788849f-e8e1-4247-8f6f-c662ea578dce",
+ "d74847bc-4756-4ad5-8920-9c6fc7c42ef6",
+ "5dabea69-6d94-4f2c-b2c8-3524eba9c30b",
+ "f48e4705-47ca-488d-9d3c-6f803acf5554",
+ "d44dae7f-305d-4034-b7a5-685cdd82790d",
+ "de56b387-f6a9-40cf-ba7b-ee1c1208cbc9",
+ "b389eafa-40cf-47df-b56e-717ae316a01a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"11993"
],
"x-ms-request-id": [
- "4ee7f6bc-32a6-4707-a677-975ba8c1539b"
+ "b12baeae-9e18-4d9c-b699-f0931914267d"
],
"x-ms-correlation-request-id": [
- "4ee7f6bc-32a6-4707-a677-975ba8c1539b"
+ "b12baeae-9e18-4d9c-b699-f0931914267d"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122926Z:4ee7f6bc-32a6-4707-a677-975ba8c1539b"
+ "SOUTHINDIA:20191017T101920Z:b12baeae-9e18-4d9c-b699-f0931914267d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -755,43 +782,45 @@
"X-Content-Type-Options": [
"nosniff"
],
- "Content-Length": [
- "13952"
+ "Date": [
+ "Thu, 17 Oct 2019 10:19:19 GMT"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
+ ],
+ "Content-Length": [
+ "18307"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"deviceType\": \"Disk\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-08-30T14:44:39.77401+05:30\",\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/ausresgrpm/providers/Microsoft.Storage/storageAccounts/ausamn\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Hot\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ]\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"mnaustest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/ausresgrpmn/providers/Microsoft.DataBox/jobs/mnaustest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"deviceType\": \"Disk\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-10T18:03:22.2578238+05:30\",\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/ausresgrpm/providers/Microsoft.Storage/storageAccounts/ausamn\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Hot\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ]\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"portalcontractAUS\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/ausresgrpmn/providers/Microsoft.DataBox/jobs/portalcontractAUS\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"deviceType\": \"Disk\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-08-30T15:17:17.3753642+05:30\",\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/ausresgrpm/providers/Microsoft.Storage/storageAccounts/ausamn\",\r\n \"accountType\": \"GeneralPurposeStorage\",\r\n \"storageAccessTier\": \"Hot\",\r\n \"storagePerformanceTier\": \"Standard\"\r\n }\r\n ]\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testBB-diskAU\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/testBB/providers/Microsoft.DataBox/jobs/testBB-diskAU\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-08T22:46:11.5143859+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TestPortalContract\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/TestPortalContract\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-08-21T15:19:38.5967539+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testheavy1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/autoallocation/providers/Microsoft.DataBox/jobs/testheavy1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-28T14:07:33.0497881+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636657717727899366\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/autoallocation/providers/Microsoft.DataBox/jobs/TJ-636657717727899366\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"PickedUp\",\r\n \"startTime\": \"2018-09-06T16:23:58.7665181+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"abvetestups\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/abvetestups\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-08-21T14:08:42.9538214+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"disksmoketest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/disksmoketest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-08-08T07:52:22.8655902+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"heavyjob1029039\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/heavyjob1029039\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-08-30T14:26:12.0791245+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"heavyjob1029039-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/heavyjob1029039-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-07-06T05:48:00.4841388+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"sojaintest1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/sojaintest1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-04T12:05:35.7885962+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testacispasskey\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/testacispasskey\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-04T12:19:50.1313891+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testacispasskey1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/testacispasskey1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-04T12:27:03.679307+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testacispasskey2\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/testacispasskey2\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-04T02:24:49.5106952+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testingpasskey\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/testingpasskey\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-04T03:37:18.5000801+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testingpasskey1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/testingpasskey1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-13T14:01:22.0918861+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636644753834613064\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636644753834613064\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"PickedUp\",\r\n \"startTime\": \"2018-06-15T00:01:51.7887418+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636645978308049673\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636645978308049673\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-15T00:00:55.8926702+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636645978327256231\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636645978327256231\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-15T00:00:49.1912624+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636645978337105060\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636645978337105060\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Delivered\",\r\n \"startTime\": \"2018-06-15T09:34:08.5731715+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636646322037905056\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-15T09:33:44.4557174+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636646322198505202\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322198505202\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-16T00:00:42.7564714+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636646842116642570\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646842116642570\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"DevicePrepared\",\r\n \"startTime\": \"2018-06-16T00:00:37.1560297+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"TJ-636646842129749628\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646842129749628\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-16T00:00:55.5759323+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636646842130208643\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646842130208643\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"PickedUp\",\r\n \"startTime\": \"2018-06-16T00:01:43.7487451+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636646842175867545\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646842175867545\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-16T00:00:40.1336605+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"TJ-636646842185996513\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646842185996513\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-06-17T00:00:22.60807+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TJ-636647706054109071\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636647706054109071\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2018-01-01&%24skiptoken=dVJrb5swFP0v0bZvKcaBFipVUx5A0wVCDOb1zQZCDBhYIM%2bq%2f33uonXStEr%2bYN1z7zlH99zXUZOfhxVrqn70%2bDoKDc%2fH3uhxtBuGrn%2bUJE4aUuQ8b4Y7cj3s87u05VJ%2foH26Z93A2qaXtuReAxrcjrXt9mGsEKiOdTV9GKe5nhFVkaECt1K3b48sy%2fe9ZLN03%2fbtdrhbkIHM2rNUtrT%2fTjo2PgpcUD5BIGtjIIv37Utfsc5vq7x5che6QsNTkfHgksL6SEvAbE85Ldmsptw5JlZ9SK6AZRHiK9%2bAy1L7Culi02obqB8ygWahCUioHwJL3yehckOL5eK8oFAViCrHEerEH1M41LRUnDmbFsv5VAs%2bNJXLqpxqKzmp08YRvR8s82nhmkhNLSx4A8tk1MKi709F%2bHhnKlxDrfNntImjF0BuaqskqsSM7RlC0CQU44sP0Mwx5CGMkIvkbvCb6mSbNfZ80w6s%2fhxGXZmZ1SXwA4IAPvsVMnOsGh6X47x64XGd9YQ7wzrqmF23J9%2bSPWKhZ8RrZsMd93GspuHy4jWttgKfOfrHs0cn2V%2bvE4eZJQ2S%2b7h0wjwQXhqUhMbLJA5Smda7%2bw1PShqi31okRAdczphd1tcYyqV9wysEdeDzzrEr9Sf2nXVeGRcfo8AGKk6ujhtYqezO9XUS7QDm%2bsSDgeoW4Mf7JkVuWGyxSSJkU%2bjsRMLiJtRNyutB1FUx9x%2f8lqnAPs%2b8PB0%2fv5jR29sv\"\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-08-30T14:44:39.77401+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"mnaustest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/ausresgrpmn/providers/Microsoft.DataBox/jobs/mnaustest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-09-10T18:03:22.2578238+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"portalcontractAUS\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/ausresgrpmn/providers/Microsoft.DataBox/jobs/portalcontractAUS\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-08-30T15:17:17.3753642+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testBB-diskAU\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/testBB/providers/Microsoft.DataBox/jobs/testBB-diskAU\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-11-27T15:17:49.0760408+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testbadresourcegroup\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat3198inh0-9)inh(il(h)_fyoin)(upf(yLASD0-FJ(hal-DSNWP0JDS0P3-0SJ93/providers/Microsoft.DataBox/jobs/testbadresourcegroup\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-04T09:08:49.9928621+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"andipodtest4jan\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/andipodtest4jan\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-07-04T14:01:50.9232807+05:30\",\r\n \"cancellationReason\": \"IncorrectOrder null\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdeepak04-07\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdeepak04-07\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-11T12:33:16.6231232+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testdurga-heavy\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurga-heavy\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-11T12:38:49.0620094+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testdurga-heavy1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurga-heavy1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T16:12:43.2931373+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testdurga2\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurga2\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T15:59:47.4375821+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgad\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgad\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T19:04:31.4461343+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testdurgadisk\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgadisk\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T19:10:08.2854968+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testdurgadisk-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgadisk-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-12-19T14:23:06.8155601+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgam\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgam\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-12-19T16:46:12.824436+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgam-1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgam-1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-03-04T12:00:17.7643558+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgam-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgam-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-12-19T18:24:23.0774328+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-03-04T11:58:13.4876698+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1-1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1-1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-11T14:28:55.4375406+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T12:51:12.2717434+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-11\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-11\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T12:54:58.9886188+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-12\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-12\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T13:33:29.8417562+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1dssd\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1dssd\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T15:35:39.937519+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-ccxcx\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-ccxcx\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T15:56:58.4277564+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-10T14:46:10.401621+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-Clone-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-Clone-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-10T14:52:37.2363289+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-compute\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-compute\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"ReadyToDispatchFromAzureDC\",\r\n \"startTime\": \"2019-02-10T14:57:32.3159255+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-compute1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-compute1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-09-08T22:46:11.5143859+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TestPortalContract\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/TestPortalContract\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-07-30T10:47:22.083517+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testschedule01\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testschedule01\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2019-09-01&%24skiptoken=dZJdb5swFIb%2fS7TuLg04kEKkasoH0GRAE%2fNh4M4GQgwYUCCEpOp%2fn7uq3bSpki8sv8fv%2b%2bic8zKq0qEzaVW0o%2fnLCGmO6zmj%2bejYdU07n0wYrnCWsrTq7vHtfErv45pN2jNp4xNtOlpX7eSAZ4qggMNYORwexhIG8liV44dxnKoJliURSOAwaU51T5P01E4sGp%2fqtj5092vc4WU9TPKatD9wQ8c917nlIxBEdSzwI37%2f1ha0cesirR53a1Ui6JIlzL%2fGoOxJLlDLkS4buiwJs%2fvIKM%2fRTaBJAJnpamCTK3eArPe1sgfqOeFqgnQBI%2fXsG%2bopQtK7mm3Ww5oAmSuyGAaw4XePgK4kuWSv6CLbrBaK%2f5kpXc18oZhiVMaVzWs%2fXVaLbKdDOTY87usbOiWGx%2bs%2bXjjHm1O20%2bQyfYL7MNgK%2bD3NjIKC%2f7EcjQfqmHje1RXg0tbEDgVwB8Wmc6viYuml57i65RvtgIImT%2fTi6rs%2bhoI3uAXUU0%2fWHCaGabFlYZm0mNndc9BQq6wvriE62IBPkJXUAkfmeqEco83VqWrFFL4i%2bofZIdPkD%2bvUonpO%2fGgW5jZKfc5SwQhp22noxyIpj7M9i3KC4O8sbGg3xAZKAlhHWiglYnbz2JBb4naG3G1N9GbjVzb2NV1y9eQ5BpurjS4fbH8lfzLp8BizpEy0oQ%2fB%2b1x35fKKkXiMq%2bKt8%2f%2frmfDzbZqmYPek4pOu%2fCPfi56UsMfAP%2b%2b4vlupX23D3TQZvb7%2bAg%3d%3d\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "62542393-3051-4952-8e59-625cc76e9abf"
+ "b62c9e5d-a49a-4241-9576-53b3ce65ecfe"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:26 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -799,10 +828,10 @@
"nosniff"
],
"x-ms-request-id": [
- "5c276feb-ffe0-4fb7-8377-d3416a36a110"
+ "f0ff1e43-f687-4ab4-b021-d57e89609262"
],
"x-ms-client-request-id": [
- "62542393-3051-4952-8e59-625cc76e9abf"
+ "b62c9e5d-a49a-4241-9576-53b3ce65ecfe"
],
"X-Powered-By": [
"ASP.NET"
@@ -811,16 +840,19 @@
"11992"
],
"x-ms-correlation-request-id": [
- "23bd8e0d-4fd9-477f-bb6b-659db39b8c68"
+ "b4f87c72-f971-470a-b8d1-90116c78659e"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122926Z:23bd8e0d-4fd9-477f-bb6b-659db39b8c68"
+ "SOUTHINDIA:20191017T101920Z:b4f87c72-f971-470a-b8d1-90116c78659e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:19:20 GMT"
+ ],
"Content-Length": [
- "578"
+ "760"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -829,24 +861,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2018-09-11T17:58:36.6886059+05:30\"\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob7196\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-17T15:48:22.2077826+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob2600\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196/cancel?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2L2NhbmNlbD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600/cancel?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwL2NhbmNlbD9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"reason\": \"CancelTest\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "71d282dc-56a0-402b-a322-3b50c89711b5"
+ "73aab7b4-aa33-456e-acdf-a953aaf726d2"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -859,9 +893,6 @@
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:29:28 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -869,26 +900,29 @@
"nosniff"
],
"x-ms-request-id": [
- "d35e6ce0-cb38-4d88-b505-e0e71b85aea5"
+ "efecd501-ee83-43a1-8a34-9d8aee02b898"
],
"x-ms-client-request-id": [
- "71d282dc-56a0-402b-a322-3b50c89711b5"
+ "73aab7b4-aa33-456e-acdf-a953aaf726d2"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1199"
],
"x-ms-correlation-request-id": [
- "2e8182b3-d0bb-425d-8c8b-c11ffe9eda70"
+ "abde27b8-c03d-4bbf-96d3-3aa79856070d"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122929Z:2e8182b3-d0bb-425d-8c8b-c11ffe9eda70"
+ "SOUTHINDIA:20191017T101921Z:abde27b8-c03d-4bbf-96d3-3aa79856070d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:19:20 GMT"
+ ],
"Expires": [
"-1"
]
@@ -897,34 +931,33 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg8120/providers/Microsoft.DataBox/jobs/SdkJob7196?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnODEyMC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3MTk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "39272b77-a3c6-4cea-8476-9177cb4020d5"
+ "36a5ec8e-d90c-41dd-b721-a071b39ab2d6"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:34:32 GMT"
- ],
"Pragma": [
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/c3fa71fa-4e84-4231-a013-80d12e301075?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/03515491-a18b-4ba9-95bb-b78db9477f7d-deleteorder?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -933,10 +966,10 @@
"nosniff"
],
"x-ms-request-id": [
- "a2ee3eb4-9873-48cd-abba-23bbc7ae2117"
+ "cf480928-dc59-413c-905a-f49915121e58"
],
"x-ms-client-request-id": [
- "39272b77-a3c6-4cea-8476-9177cb4020d5"
+ "36a5ec8e-d90c-41dd-b721-a071b39ab2d6"
],
"X-Powered-By": [
"ASP.NET"
@@ -945,42 +978,44 @@
"14999"
],
"x-ms-correlation-request-id": [
- "4004acf3-859e-4878-ad95-8487f44f891c"
+ "a7205669-fbeb-4aa9-945c-8a1fadf18ce3"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T123433Z:4004acf3-859e-4878-ad95-8487f44f891c"
+ "SOUTHINDIA:20191017T102425Z:a7205669-fbeb-4aa9-945c-8a1fadf18ce3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
- "Content-Length": [
- "0"
+ "Date": [
+ "Thu, 17 Oct 2019 10:24:25 GMT"
],
"Expires": [
"-1"
+ ],
+ "Content-Length": [
+ "0"
]
},
"ResponseBody": "",
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/c3fa71fa-4e84-4231-a013-80d12e301075?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYzNmYTcxZmEtNGU4NC00MjMxLWEwMTMtODBkMTJlMzAxMDc1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/03515491-a18b-4ba9-95bb-b78db9477f7d-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMDM1MTU0OTEtYTE4Yi00YmE5LTk1YmItYjc4ZGI5NDc3ZjdkLWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:34:43 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -988,10 +1023,10 @@
"nosniff"
],
"x-ms-request-id": [
- "53ac4706-4f64-4e63-8500-3bf224505933"
+ "2dbfb750-adbe-42ca-aa86-9ca3304e5443"
],
"x-ms-client-request-id": [
- "62b2c4e3-cbb9-4d8c-846f-92d4e36558be"
+ "f1b8ad06-b481-49df-a9e5-4ac51e5890ad"
],
"X-Powered-By": [
"ASP.NET"
@@ -1000,14 +1035,17 @@
"11998"
],
"x-ms-correlation-request-id": [
- "0a5a974f-1e12-4464-b150-2c738505ff5a"
+ "72b295bd-5512-44f5-83a1-ec6a83e1f244"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T123443Z:0a5a974f-1e12-4464-b150-2c738505ff5a"
+ "SOUTHINDIA:20191017T102435Z:72b295bd-5512-44f5-83a1-ec6a83e1f244"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:24:35 GMT"
+ ],
"Expires": [
"-1"
]
@@ -1016,23 +1054,22 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/c3fa71fa-4e84-4231-a013-80d12e301075?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYzNmYTcxZmEtNGU4NC00MjMxLWEwMTMtODBkMTJlMzAxMDc1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/03515491-a18b-4ba9-95bb-b78db9477f7d-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMDM1MTU0OTEtYTE4Yi00YmE5LTk1YmItYjc4ZGI5NDc3ZjdkLWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:34:43 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -1040,10 +1077,10 @@
"nosniff"
],
"x-ms-request-id": [
- "18fcfd29-38b6-450a-9119-a9d56bb11336"
+ "f4086d9c-c9e9-4052-8c49-a5b4a46c7d2b"
],
"x-ms-client-request-id": [
- "b63c9d58-3eb3-42db-b7ef-7c34f936bbc4"
+ "4d0adad3-b88f-4dc7-a5aa-16bb72849d49"
],
"X-Powered-By": [
"ASP.NET"
@@ -1052,14 +1089,17 @@
"11997"
],
"x-ms-correlation-request-id": [
- "07b7aeca-8380-4b05-a599-05101da859ac"
+ "ab453518-07ff-40d3-ab68-5cfca3eca7ec"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T123443Z:07b7aeca-8380-4b05-a599-05101da859ac"
+ "SOUTHINDIA:20191017T102435Z:ab453518-07ff-40d3-ab68-5cfca3eca7ec"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:24:35 GMT"
+ ],
"Expires": [
"-1"
]
@@ -1070,8 +1110,8 @@
],
"Names": {
"TestJobCRUDOperations": [
- "SdkRg8120",
- "SdkJob7196"
+ "SdkRg4216",
+ "SdkJob2600"
]
},
"Variables": {
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestScheduledJob.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestScheduledJob.json
new file mode 100644
index 0000000000000..e36f9d444f479
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestScheduledJob.json
@@ -0,0 +1,1562 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg1164?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnMTE2ND9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "521b4302-1cda-476f-b949-566aab5406bb"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "96495943-938f-4c86-8f07-52c73a1e99c5"
+ ],
+ "x-ms-correlation-request-id": [
+ "96495943-938f-4c86-8f07-52c73a1e99c5"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105639Z:96495943-938f-4c86-8f07-52c73a1e99c5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:56:39 GMT"
+ ],
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164\",\r\n \"name\": \"SdkRg1164\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"details\": {\r\n \"jobDetailsType\": \"DataBox\",\r\n \"contactDetails\": {\r\n \"contactName\": \"Public SDK Test\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ]\r\n },\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T10:56:34.81743Z\"\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5393a9ee-584a-450e-8a0f-89bace033957"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1105"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/4b0dd96b-e054-4ae8-9be8-1ed38257c8de?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "46d407be-7a63-4d35-96ba-2357500da0cc"
+ ],
+ "x-ms-client-request-id": [
+ "5393a9ee-584a-450e-8a0f-89bace033957"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "65bce92d-2664-4050-9d48-00238aff5fa8"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105644Z:65bce92d-2664-4050-9d48-00238aff5fa8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:56:43 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/4b0dd96b-e054-4ae8-9be8-1ed38257c8de?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvNGIwZGQ5NmItZTA1NC00YWU4LTliZTgtMWVkMzgyNTdjOGRlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "f922723f-43fb-4346-a036-88053a805509"
+ ],
+ "x-ms-client-request-id": [
+ "a21b9cfd-fc51-4cff-8da2-0aae2eb799ed"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "c569865e-1714-4274-8c18-6070ea0ea434"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105654Z:c569865e-1714-4274-8c18-6070ea0ea434"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:56:54 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "36024418-a8cc-43d6-a7fa-b2e9de08e618"
+ ],
+ "x-ms-client-request-id": [
+ "4721e064-1e70-452a-929b-7d9f12744e34"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-correlation-request-id": [
+ "c1993db7-c43a-410e-9546-c74cc7f1dc9a"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105704Z:c1993db7-c43a-410e-9546-c74cc7f1dc9a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:04 GMT"
+ ],
+ "Content-Length": [
+ "648"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "7637460c-cf9f-4ff4-968a-c9b6b589053e"
+ ],
+ "x-ms-client-request-id": [
+ "508525ff-1a0d-42a8-8aea-1bf277c4d082"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11985"
+ ],
+ "x-ms-correlation-request-id": [
+ "1740facf-a8a7-49b0-a88c-38f1d58b94f6"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105839Z:1740facf-a8a7-49b0-a88c-38f1d58b94f6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:39 GMT"
+ ],
+ "Content-Length": [
+ "648"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMSYkZXhwYW5kPWRldGFpbHM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5e3dfb30-ab0c-4ac9-b9db-8b6bc631b9e5"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "42fe0242-fd8d-40c6-a613-9062e23480bc"
+ ],
+ "x-ms-client-request-id": [
+ "5e3dfb30-ab0c-4ac9-b9db-8b6bc631b9e5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-correlation-request-id": [
+ "901c4115-fc21-4c49-838f-e2d4e9e307c4"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105705Z:901c4115-fc21-4c49-838f-e2d4e9e307c4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:04 GMT"
+ ],
+ "Content-Length": [
+ "3818"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"displayName\": \"Processed\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"displayName\": \"Dispatched\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"displayName\": \"Delivered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"displayName\": \"Picked up\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"displayName\": \"Received\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Completed\",\r\n \"displayName\": \"Completed\",\r\n \"stageStatus\": \"None\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Public SDK Test\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMSYkZXhwYW5kPWRldGFpbHM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3e404832-9fec-477b-8e9a-91e52fa9354e"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "84b0e4cc-ce19-4659-b6e2-ae0126fa2101"
+ ],
+ "x-ms-client-request-id": [
+ "3e404832-9fec-477b-8e9a-91e52fa9354e"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11984"
+ ],
+ "x-ms-correlation-request-id": [
+ "61553153-b542-4796-9147-6ccdc8cc83e6"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105840Z:61553153-b542-4796-9147-6ccdc8cc83e6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:40 GMT"
+ ],
+ "Content-Length": [
+ "3879"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-14T16:27:23.2392894+05:30\"\r\n },\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"displayName\": \"Processed\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"displayName\": \"Dispatched\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"displayName\": \"Delivered\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"displayName\": \"Picked up\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"displayName\": \"Received\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\r\n \"stageStatus\": \"None\"\r\n },\r\n {\r\n \"stageName\": \"Completed\",\r\n \"displayName\": \"Completed\",\r\n \"stageStatus\": \"None\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMSYkZXhwYW5kPWRldGFpbHM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "cf88cfb7-2de2-4944-823e-3a1409eb4a4a"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "acfbf3b2-b1a0-4bdf-b99c-04f2b8da677e"
+ ],
+ "x-ms-client-request-id": [
+ "cf88cfb7-2de2-4944-823e-3a1409eb4a4a"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11981"
+ ],
+ "x-ms-correlation-request-id": [
+ "25a8fa3c-2ce6-498d-94cd-5d7f04fd8b7b"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105845Z:25a8fa3c-2ce6-498d-94cd-5d7f04fd8b7b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:44 GMT"
+ ],
+ "Content-Length": [
+ "3555"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-14T16:27:23.2392894+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-14T16:28:44.3098304+05:30\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ],\r\n \"notificationPreference\": [\r\n {\r\n \"stageName\": \"DevicePrepared\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Dispatched\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"Delivered\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"PickedUp\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"AtAzureDC\",\r\n \"sendNotification\": true\r\n },\r\n {\r\n \"stageName\": \"DataCopy\",\r\n \"sendNotification\": true\r\n }\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": []\r\n },\r\n \"cancellationReason\": \"CancelTest\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMSYkZXhwYW5kPWRldGFpbHM=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "89af72bf-a395-476a-a4ce-ae5e90d5b0d9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "5ca1e410-0757-4c3d-a906-f692a8cf7143"
+ ],
+ "x-ms-client-request-id": [
+ "89af72bf-a395-476a-a4ce-ae5e90d5b0d9"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "1c77ae27-4493-4fab-ab50-7a4414688a98"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T110347Z:1c77ae27-4493-4fab-ab50-7a4414688a98"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 11:03:46 GMT"
+ ],
+ "Content-Length": [
+ "3060"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesSentToCloud\": 0,\r\n \"totalBytesToProcess\": 0\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-14T16:27:23.2392894+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2019-10-14T16:28:44.3098304+05:30\"\r\n }\r\n ],\r\n \"contactDetails\": {\r\n \"contactName\": \" \",\r\n \"emailList\": [],\r\n \"notificationPreference\": []\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deliveryPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"returnPackage\": {\r\n \"carrierName\": \"\",\r\n \"trackingId\": \"\",\r\n \"trackingUrl\": \"\"\r\n },\r\n \"destinationAccountDetails\": [\r\n {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"errorDetails\": [],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"chainOfCustodySasKey\": \"https://wusbeta.blob.core.windows.net/chainofcustody/4b0dd96b-e054-4ae8-9be8-1ed38257c8de.txt?sv=2017-04-17&sr=b&sig=WtBYkBAKMCRMjaBTVls4UUA5%2B5gqcEz%2FPo6XpJj3pz0%3D&st=2019-10-14T10%3A53%3A46Z&se=2019-10-14T11%3A23%3A46Z&sp=r\"\r\n },\r\n \"cancellationReason\": \"CancelTest\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"details\": {\r\n \"contactDetails\": {\r\n \"contactName\": \"Update Job\",\r\n \"phone\": \"1234567890\",\r\n \"phoneExtension\": \"1234\",\r\n \"emailList\": [\r\n \"testing@microsoft.com\"\r\n ]\r\n },\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1d2d6c8d-bd4e-48ed-be61-6ee0b46cc2e7"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "584"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "22c8aabe-249a-4117-98fb-8f280b62c42b"
+ ],
+ "x-ms-client-request-id": [
+ "1d2d6c8d-bd4e-48ed-be61-6ee0b46cc2e7"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "e0b8fd8f-6dcc-4476-8f75-b5338575e8da"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105705Z:e0b8fd8f-6dcc-4476-8f75-b5338575e8da"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:05 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "75dee2f9-35f3-4719-862c-cba5076ad32a"
+ ],
+ "x-ms-client-request-id": [
+ "01807699-9651-4100-8596-9c9497cd537e"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-correlation-request-id": [
+ "68e85010-84ce-454d-99ba-64c90adaa167"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105716Z:68e85010-84ce-454d-99ba-64c90adaa167"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:15 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "97e60540-c355-44a6-80f7-3c965065acf2"
+ ],
+ "x-ms-client-request-id": [
+ "2b6784b8-7452-463e-a692-71cdd52882da"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-correlation-request-id": [
+ "5f956976-5953-4607-bac0-ec73930702a6"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105726Z:5f956976-5953-4607-bac0-ec73930702a6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:25 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "6cc6db6a-ebeb-4cc0-875f-f8321fb92644"
+ ],
+ "x-ms-client-request-id": [
+ "4a3f8d6a-92de-4d1c-8d6e-154b6edb3017"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-correlation-request-id": [
+ "0eb324b0-6ad2-482f-958e-ecbd5ac4e8fe"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105736Z:0eb324b0-6ad2-482f-958e-ecbd5ac4e8fe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:36 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "e17d7ad7-d655-4787-8c79-59acc8168bc3"
+ ],
+ "x-ms-client-request-id": [
+ "2111e0d5-45e2-4a71-af0c-23d3d3fa6d3c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-correlation-request-id": [
+ "08ffa716-e004-4105-af8a-471f8b8fd6dc"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105747Z:08ffa716-e004-4105-af8a-471f8b8fd6dc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:46 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "208bc815-43bc-46f1-b4f3-07d34be25602"
+ ],
+ "x-ms-client-request-id": [
+ "c73ddb52-a35d-427b-bade-bce600cf1b4c"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-correlation-request-id": [
+ "9782854d-6e84-46bb-8ac2-1cd2cd56cf8a"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105758Z:9782854d-6e84-46bb-8ac2-1cd2cd56cf8a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:57:58 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "2f2d7179-a996-474b-940e-42134f83348a"
+ ],
+ "x-ms-client-request-id": [
+ "f0460499-64ca-4cbd-888a-f3b0fbdcd681"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11988"
+ ],
+ "x-ms-correlation-request-id": [
+ "cd5db8c6-8a38-4a60-a5af-64a2e54d711d"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105808Z:cd5db8c6-8a38-4a60-a5af-64a2e54d711d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:08 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "0b6fd7d6-b047-447d-9fc4-74898c3a9963"
+ ],
+ "x-ms-client-request-id": [
+ "2b0f5ae6-6348-447f-9f85-292472829974"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11987"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ae97091-2fae-45c8-b7d2-8646d0dc2b42"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105819Z:8ae97091-2fae-45c8-b7d2-8646d0dc2b42"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:19 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/f4876f6a-a304-494f-8e7c-ea942a7b488e?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZjQ4NzZmNmEtYTMwNC00OTRmLThlN2MtZWE5NDJhN2I0ODhlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "651dfbbb-e970-40af-bc34-7dfb55bed7b1"
+ ],
+ "x-ms-client-request-id": [
+ "9b67bc22-9e9c-46b4-b2aa-42d4521015a8"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11986"
+ ],
+ "x-ms-correlation-request-id": [
+ "088c7a5f-b867-474f-8ce9-705d2889f464"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105829Z:088c7a5f-b867-474f-8ce9-705d2889f464"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:28 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e16b413b-db8a-4494-8c8b-89db61298fb7"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-original-request-ids": [
+ "16958aba-699a-4760-a758-f193008f4802",
+ "cccad948-2919-433d-91cf-959cb30cd4e9",
+ "8645e2f7-9eb5-4efb-ba42-33042e908f28",
+ "b416d7be-c1a5-4323-9770-0507bb95dbf6",
+ "2e206141-d951-49a5-888a-98d2b47c5771",
+ "b34932f8-d7e7-4eb4-8032-9217bc3ea6e7",
+ "fe68faad-0565-4948-8ca5-d71513efd0b3",
+ "e7bb1491-4d22-44fc-b968-ecaede0be22f",
+ "72d366d1-fee0-42f0-9704-79d46edc17d7",
+ "2979789a-4ba3-4c8a-a64e-cfc2b4d6b921"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11983"
+ ],
+ "x-ms-request-id": [
+ "815828a7-b8b2-4898-9338-07b6c50b7f83"
+ ],
+ "x-ms-correlation-request-id": [
+ "815828a7-b8b2-4898-9338-07b6c50b7f83"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105843Z:815828a7-b8b2-4898-9338-07b6c50b7f83"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:43 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "18307"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-08-30T14:44:39.77401+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"mnaustest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/ausresgrpmn/providers/Microsoft.DataBox/jobs/mnaustest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-09-10T18:03:22.2578238+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"portalcontractAUS\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/ausresgrpmn/providers/Microsoft.DataBox/jobs/portalcontractAUS\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-08-30T15:17:17.3753642+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"australiaeast\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testBB-diskAU\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/testBB/providers/Microsoft.DataBox/jobs/testBB-diskAU\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-11-27T15:17:49.0760408+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testbadresourcegroup\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat3198inh0-9)inh(il(h)_fyoin)(upf(yLASD0-FJ(hal-DSNWP0JDS0P3-0SJ93/providers/Microsoft.DataBox/jobs/testbadresourcegroup\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-04T09:08:49.9928621+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"andipodtest4jan\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/andipodtest4jan\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-07-04T14:01:50.9232807+05:30\",\r\n \"cancellationReason\": \"IncorrectOrder null\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdeepak04-07\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdeepak04-07\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-11T12:33:16.6231232+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testdurga-heavy\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurga-heavy\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-11T12:38:49.0620094+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testdurga-heavy1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurga-heavy1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T16:12:43.2931373+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"name\": \"testdurga2\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurga2\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T15:59:47.4375821+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgad\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgad\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T19:04:31.4461343+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testdurgadisk\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgadisk\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T19:10:08.2854968+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"name\": \"testdurgadisk-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgadisk-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-12-19T14:23:06.8155601+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgam\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgam\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-12-19T16:46:12.824436+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgam-1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgam-1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-03-04T12:00:17.7643558+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgam-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgam-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-12-19T18:24:23.0774328+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-03-04T11:58:13.4876698+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1-1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1-1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-11T14:28:55.4375406+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T12:51:12.2717434+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-11\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-11\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T12:54:58.9886188+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-12\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-12\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T13:33:29.8417562+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-1dssd\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-1dssd\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-15T15:35:39.937519+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-ccxcx\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-ccxcx\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-01-09T15:56:58.4277564+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-10T14:46:10.401621+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-Clone-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-Clone-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2019-02-10T14:52:37.2363289+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-compute\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-compute\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"ReadyToDispatchFromAzureDC\",\r\n \"startTime\": \"2019-02-10T14:57:32.3159255+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testdurgasm-compute1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testdurgasm-compute1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2018-09-08T22:46:11.5143859+05:30\",\r\n \"cancellationReason\": \"Old job which is still in ordered state cancelled by the service\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": false\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"TestPortalContract\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/TestPortalContract\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-07-30T10:47:22.083517+05:30\",\r\n \"deliveryType\": \"NonScheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"0001-01-01T05:30:00+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"testschedule01\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/testschedule01\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2019-09-01&%24skiptoken=dZJdb5swFIb%2fS7TuLg04kEKkasoH0GRAE%2fNh4M4GQgwYUCCEpOp%2fn7uq3bSpki8sv8fv%2b%2bic8zKq0qEzaVW0o%2fnLCGmO6zmj%2bejYdU07n0wYrnCWsrTq7vHtfErv45pN2jNp4xNtOlpX7eSAZ4qggMNYORwexhIG8liV44dxnKoJliURSOAwaU51T5P01E4sGp%2fqtj5092vc4WU9TPKatD9wQ8c917nlIxBEdSzwI37%2f1ha0cesirR53a1Ui6JIlzL%2fGoOxJLlDLkS4buiwJs%2fvIKM%2fRTaBJAJnpamCTK3eArPe1sgfqOeFqgnQBI%2fXsG%2bopQtK7mm3Ww5oAmSuyGAaw4XePgK4kuWSv6CLbrBaK%2f5kpXc18oZhiVMaVzWs%2fXVaLbKdDOTY87usbOiWGx%2bs%2bXjjHm1O20%2bQyfYL7MNgK%2bD3NjIKC%2f7EcjQfqmHje1RXg0tbEDgVwB8Wmc6viYuml57i65RvtgIImT%2fTi6rs%2bhoI3uAXUU0%2fWHCaGabFlYZm0mNndc9BQq6wvriE62IBPkJXUAkfmeqEco83VqWrFFL4i%2bofZIdPkD%2bvUonpO%2fGgW5jZKfc5SwQhp22noxyIpj7M9i3KC4O8sbGg3xAZKAlhHWiglYnbz2JBb4naG3G1N9GbjVzb2NV1y9eQ5BpurjS4fbH8lfzLp8BizpEy0oQ%2fB%2b1x35fKKkXiMq%2bKt8%2f%2frmfDzbZqmYPek4pOu%2fCPfi56UsMfAP%2b%2b4vlupX23D3TQZvb7%2bAg%3d%3d\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e51d90df-8376-4a37-b200-c417123d5fc6"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "3fe773dd-29ce-44e0-a2c7-4db8c77e881c"
+ ],
+ "x-ms-client-request-id": [
+ "e51d90df-8376-4a37-b200-c417123d5fc6"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11982"
+ ],
+ "x-ms-correlation-request-id": [
+ "1d53f718-6642-469f-a83d-17ecade2832e"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105844Z:1d53f718-6642-469f-a83d-17ecade2832e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:43 GMT"
+ ],
+ "Content-Length": [
+ "761"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2019-10-14T16:26:43.8410263+05:30\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2019-11-03T16:26:34.81743+05:30\"\r\n },\r\n \"isCancellableWithoutFee\": true\r\n },\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"name\": \"SdkJob388\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388/cancel?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODgvY2FuY2VsP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"reason\": \"CancelTest\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a7bf233a-2827-4ad4-b9de-2eada35a9f9e"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "30"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "2f4740cc-6473-444c-aeb1-77b5d5592c65"
+ ],
+ "x-ms-client-request-id": [
+ "a7bf233a-2827-4ad4-b9de-2eada35a9f9e"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "292dc109-9d1b-4957-be83-816cd14db1b5"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T105844Z:292dc109-9d1b-4957-be83-816cd14db1b5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 10:58:44 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5c47ba45-a30f-48d2-8d14-0718d81fd4d1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/4b0dd96b-e054-4ae8-9be8-1ed38257c8de-deleteorder?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "43beed5f-41d7-40ec-b07f-cc6a65598823"
+ ],
+ "x-ms-client-request-id": [
+ "5c47ba45-a30f-48d2-8d14-0718d81fd4d1"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "b952b258-61d5-4b6e-bf90-cbd17396382e"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T110348Z:b952b258-61d5-4b6e-bf90-cbd17396382e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 11:03:47 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/4b0dd96b-e054-4ae8-9be8-1ed38257c8de-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvNGIwZGQ5NmItZTA1NC00YWU4LTliZTgtMWVkMzgyNTdjOGRlLWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "285b240b-722a-45c1-bdf4-e389c0a4f017"
+ ],
+ "x-ms-client-request-id": [
+ "1f92b26f-50a5-49b2-985a-464c140560b5"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "1e0dc2c3-e84c-4299-8922-51fc0927e108"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T110358Z:1e0dc2c3-e84c-4299-8922-51fc0927e108"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 11:03:58 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/4b0dd96b-e054-4ae8-9be8-1ed38257c8de-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvNGIwZGQ5NmItZTA1NC00YWU4LTliZTgtMWVkMzgyNTdjOGRlLWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "6e58572c-5bb9-4b0a-8c8e-c7601da4d0e7"
+ ],
+ "x-ms-client-request-id": [
+ "ed70fe01-5642-419d-b232-07c7f8c6d122"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "be3dc5ef-6ffa-4c9c-803b-ad6948ab7481"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T110359Z:be3dc5ef-6ffa-4c9c-803b-ad6948ab7481"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 11:03:59 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "TestScheduledJob": [
+ "SdkRg1164",
+ "SdkJob388"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
+ "SubId": "fa68082f-8ff7-4a25-95c7-ce9da541242f"
+ }
+}
\ No newline at end of file
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestBookShipmentPickup.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestBookShipmentPickup.json
index be46ff9cf169b..cf05f8e44d6b5 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestBookShipmentPickup.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestBookShipmentPickup.json
@@ -1,20 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/bookShipmentPickUp?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2Jvb2tTaGlwbWVudFBpY2tVcD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/bookShipmentPickUp?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2Jvb2tTaGlwbWVudFBpY2tVcD9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
"RequestMethod": "POST",
- "RequestBody": "{\r\n \"startTime\": \"2018-09-10T18:30:00Z\",\r\n \"endTime\": \"2018-09-12T18:30:00Z\",\r\n \"shipmentLocation\": \"Front desk\"\r\n}",
+ "RequestBody": "{\r\n \"startTime\": \"2019-10-16T18:30:00Z\",\r\n \"endTime\": \"2019-10-18T18:30:00Z\",\r\n \"shipmentLocation\": \"Front desk\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8b6afb5d-ddce-481b-8621-e4bc2836a590"
+ "744655df-b677-4ab0-a166-93d33f549bca"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -27,9 +29,6 @@
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:19 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -37,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "6e0cebc3-804e-402a-8c6b-e5b1ba71468a"
+ "b42f3186-6ebb-4860-b666-cafe0ce9a983"
],
"x-ms-client-request-id": [
- "8b6afb5d-ddce-481b-8621-e4bc2836a590"
+ "744655df-b677-4ab0-a166-93d33f549bca"
],
"X-Powered-By": [
"ASP.NET"
@@ -49,16 +48,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "8a00145e-833e-45bb-8de0-8df51e63f325"
+ "20a33f75-3cf2-47e1-ba5c-f5520f546b29"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122819Z:8a00145e-833e-45bb-8de0-8df51e63f325"
+ "SOUTHINDIA:20191017T102507Z:20a33f75-3cf2-47e1-ba5c-f5520f546b29"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:25:06 GMT"
+ ],
"Content-Length": [
- "85"
+ "243"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -67,8 +69,8 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"confirmationNumber\": \"2929602E9CP\",\r\n \"readyByTime\": \"2018-09-10T18:30:00Z\"\r\n}",
- "StatusCode": 200
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SsemUserErrorShipmentPickUpRequestAlreadyPlaced\",\r\n \"message\": \"A shipment pickup request is already placed.\\r\\nContact Microsoft Support to reschedule the pickup.\",\r\n \"details\": [\r\n null\r\n ]\r\n }\r\n}",
+ "StatusCode": 400
}
],
"Names": {},
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestListCredentials.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestListCredentials.json
index 2daea8b77efc5..521b5877e0be4 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestListCredentials.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobsActionsTests/TestListCredentials.json
@@ -1,29 +1,28 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/listCredentials?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2xpc3RDcmVkZW50aWFscz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/listCredentials?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2xpc3RDcmVkZW50aWFscz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4f05be0b-bd8f-4427-b430-f6b695348112"
+ "15e7e617-19e4-45c2-94c0-fa7190b873d1"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Wed, 19 Sep 2018 09:28:21 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -31,10 +30,10 @@
"nosniff"
],
"x-ms-request-id": [
- "a5b2f48b-954b-45f7-bda2-569e0dff3c52"
+ "d7a5d232-8e42-4412-bfb0-ceef04babe3c"
],
"x-ms-client-request-id": [
- "4f05be0b-bd8f-4427-b430-f6b695348112"
+ "15e7e617-19e4-45c2-94c0-fa7190b873d1"
],
"X-Powered-By": [
"ASP.NET"
@@ -43,16 +42,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "17847ee1-670d-4930-b00b-c9080cc714ca"
+ "130368d1-eee4-4407-ad3e-441642e8e5cf"
],
"x-ms-routing-request-id": [
- "SOUTHEASTASIA:20180919T092821Z:17847ee1-670d-4930-b00b-c9080cc714ca"
+ "SOUTHINDIA:20191017T102510Z:130368d1-eee4-4407-ad3e-441642e8e5cf"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:25:09 GMT"
+ ],
"Content-Length": [
- "2478"
+ "2573"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -61,7 +63,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"jobName\": \"TJ-636646322037905056\",\r\n \"jobSecrets\": {\r\n \"podSecrets\": [\r\n {\r\n \"deviceSerialNumber\": \"testimolapod-3ecc44ce\",\r\n \"devicePassword\": \"cT5nt8R;S%5\",\r\n \"networkConfigurations\": [\r\n {\r\n \"name\": \"DataPort3\",\r\n \"macAddress\": \"D05099C1F439\"\r\n },\r\n {\r\n \"name\": \"DataPort1\",\r\n \"macAddress\": \"EC0D9A21A6C0\"\r\n },\r\n {\r\n \"name\": \"DataPort2\",\r\n \"macAddress\": \"EC0D9A21A6C1\"\r\n }\r\n ],\r\n \"encodedValidationCertPubKey\": \"5CYoAoVKEBa4WgPVis8keX94w30pon4jGMADSqcdE/NlHLChj6Cmhbl4q9QOFKSB/US4AwhS7zY1QS3YMDrkAPfOy7Hi6kWMBpJWZidTq3oXX8FAQjg+IqQESti/2jvAlcDpO2453rgd7Yb6XZ43P8MMTpTjcarI0ImCf//eITQWnFa3AzfIJ9C+hxCCaA7HTYhwQEPUBMwyQJsI6v6WuQysROtlBgx1YtbWFhDVbcqYRSLIbaj+RdzlvxvDJSo70kv+8em5upuDTpVE7xP+WePLlARdSPNwwfRzHnvCUqC2UqXHpRUhQlYnMqAJEcjjroRnyIGumPmmQ8O155X8aw==\",\r\n \"accountCredentialDetails\": [\r\n {\r\n \"accountName\": \"databoxbvttestaccount\",\r\n \"accountConnectionString\": \"\",\r\n \"shareCredentialDetails\": [\r\n {\r\n \"shareName\": \"databoxbvttestaccount_PageBlob\",\r\n \"shareType\": \"PageBlob\",\r\n \"userName\": \"databoxbvttestac_903\",\r\n \"password\": \"4N)K4(j6tyR\",\r\n \"supportedAccessProtocols\": [\r\n \"SMB\"\r\n ]\r\n },\r\n {\r\n \"shareName\": \"databoxbvttestaccount_BlockBlob\",\r\n \"shareType\": \"BlockBlob\",\r\n \"userName\": \"databoxbvttestac_903\",\r\n \"password\": \"4N)K4(j6tyR\",\r\n \"supportedAccessProtocols\": [\r\n \"SMB\"\r\n ]\r\n },\r\n {\r\n \"shareName\": \"databoxbvttestaccount_AzFile\",\r\n \"shareType\": \"AzureFile\",\r\n \"userName\": \"databoxbvttestac_903\",\r\n \"password\": \"4N)K4(j6tyR\",\r\n \"supportedAccessProtocols\": [\r\n \"SMB\"\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"jobSecretsType\": \"DataBox\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"jobName\": \"TJ-636646322037905056\",\r\n \"jobSecrets\": {\r\n \"podSecrets\": [\r\n {\r\n \"deviceSerialNumber\": \"testimolapod-3ecc44ce\",\r\n \"devicePassword\": \"cT5nt8R;S%5\",\r\n \"networkConfigurations\": [\r\n {\r\n \"name\": \"DataPort3\",\r\n \"macAddress\": \"D05099C1F439\"\r\n },\r\n {\r\n \"name\": \"DataPort1\",\r\n \"macAddress\": \"EC0D9A21A6C0\"\r\n },\r\n {\r\n \"name\": \"DataPort2\",\r\n \"macAddress\": \"EC0D9A21A6C1\"\r\n }\r\n ],\r\n \"encodedValidationCertPubKey\": \"5CYoAoVKEBa4WgPVis8keX94w30pon4jGMADSqcdE/NlHLChj6Cmhbl4q9QOFKSB/US4AwhS7zY1QS3YMDrkAPfOy7Hi6kWMBpJWZidTq3oXX8FAQjg+IqQESti/2jvAlcDpO2453rgd7Yb6XZ43P8MMTpTjcarI0ImCf//eITQWnFa3AzfIJ9C+hxCCaA7HTYhwQEPUBMwyQJsI6v6WuQysROtlBgx1YtbWFhDVbcqYRSLIbaj+RdzlvxvDJSo70kv+8em5upuDTpVE7xP+WePLlARdSPNwwfRzHnvCUqC2UqXHpRUhQlYnMqAJEcjjroRnyIGumPmmQ8O155X8aw==\",\r\n \"accountCredentialDetails\": [\r\n {\r\n \"accountName\": \"databoxbvttestaccount\",\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountConnectionString\": \"\",\r\n \"shareCredentialDetails\": [\r\n {\r\n \"shareName\": \"databoxbvttestaccount_PageBlob\",\r\n \"shareType\": \"PageBlob\",\r\n \"userName\": \"databoxbvttestac_903\",\r\n \"password\": \"4N)K4(j6tyR\",\r\n \"supportedAccessProtocols\": [\r\n \"SMB\"\r\n ]\r\n },\r\n {\r\n \"shareName\": \"databoxbvttestaccount_BlockBlob\",\r\n \"shareType\": \"BlockBlob\",\r\n \"userName\": \"databoxbvttestac_903\",\r\n \"password\": \"4N)K4(j6tyR\",\r\n \"supportedAccessProtocols\": [\r\n \"SMB\"\r\n ]\r\n },\r\n {\r\n \"shareName\": \"databoxbvttestaccount_AzFile\",\r\n \"shareType\": \"AzureFile\",\r\n \"userName\": \"databoxbvttestac_903\",\r\n \"password\": \"4N)K4(j6tyR\",\r\n \"supportedAccessProtocols\": [\r\n \"SMB\"\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"jobSecretsType\": \"DataBox\",\r\n \"dcAccessSecurityCode\": {}\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
}
],
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/OperationsTests/TestOperationsAPI.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/OperationsTests/TestOperationsAPI.json
index 3b3577f9a22ec..fc17a8fe242df 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/OperationsTests/TestOperationsAPI.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/OperationsTests/TestOperationsAPI.json
@@ -1,29 +1,28 @@
{
"Entries": [
{
- "RequestUri": "/providers/Microsoft.DataBox/operations?api-version=2018-01-01",
- "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/providers/Microsoft.DataBox/operations?api-version=2019-09-01",
+ "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "69fc02f6-5d9f-42d5-8d98-b5a943b8c888"
+ "e813195f-da0c-49a6-88e0-687f5b5aa770"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Tue, 11 Sep 2018 12:28:25 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -31,10 +30,10 @@
"nosniff"
],
"x-ms-request-id": [
- "a9eafeb3-08da-4ec4-9323-f2ac265f0450"
+ "97705235-7a84-4549-9522-f282fd18145c"
],
"x-ms-client-request-id": [
- "69fc02f6-5d9f-42d5-8d98-b5a943b8c888"
+ "e813195f-da0c-49a6-88e0-687f5b5aa770"
],
"X-Powered-By": [
"ASP.NET"
@@ -43,16 +42,19 @@
"11999"
],
"x-ms-correlation-request-id": [
- "50a2be60-3909-4f0a-869b-8fcbf242a5ca"
+ "274c387e-f7f7-43d3-a3ba-ad61d62ec5a2"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20180911T122825Z:50a2be60-3909-4f0a-869b-8fcbf242a5ca"
+ "SOUTHINDIA:20191017T102447Z:274c387e-f7f7-43d3-a3ba-ad61d62ec5a2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:24:47 GMT"
+ ],
"Content-Length": [
- "3675"
+ "5884"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -61,7 +63,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/cancel/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Cancel\",\r\n \"description\": \"Cancels an order in progress.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/reportIssue/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Report Issue\",\r\n \"description\": \"Reports an issue in the order.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/copyLogsUri/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Copy Log URL\",\r\n \"description\": \"Get URL for the copy logs of each destination account.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/downloadShippingLabel/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Download Shipping Label\",\r\n \"description\": \"Get shipping label for the return shipment.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/bookShipmentPickUp/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Book Shipment Pick Up\",\r\n \"description\": \"Allows to book a pick up for return shipments.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/read\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"List Orders\",\r\n \"description\": \"List or get the Orders\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/delete\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Delete Orders\",\r\n \"description\": \"Delete the Orders\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/write\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Create or Update Orders\",\r\n \"description\": \"Create or update the Orders\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/ListCredentials/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"List Credentails\",\r\n \"description\": \"Lists the unencrypted credentials related to the order.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/validateAddress/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Validate Address\",\r\n \"operation\": \"Validate Address\",\r\n \"description\": \"Validates the shipping address and provides alternate addresses if any.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/availableSkus/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Available Skus\",\r\n \"operation\": \"Availabe Skus\",\r\n \"description\": \"This method returns the list of available skus.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/operationResults/read\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Operation Results\",\r\n \"operation\": \"List Operation Results\",\r\n \"description\": \"List or get the Operation Results\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/cancel/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Cancel\",\r\n \"description\": \"Cancels an order in progress.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/bookShipmentPickUp/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Book Shipment Pick Up\",\r\n \"description\": \"Allows to book a pick up for return shipments.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/read\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"List Orders\",\r\n \"description\": \"List or get the Orders\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/delete\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Delete Orders\",\r\n \"description\": \"Delete the Orders\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/write\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"Create or Update Orders\",\r\n \"description\": \"Create or update the Orders\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/jobs/listCredentials/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Orders\",\r\n \"operation\": \"List Credentials\",\r\n \"description\": \"Lists the unencrypted credentials related to the order.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/validateInputs/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Validate Inputs\",\r\n \"operation\": \"Validate Inputs\",\r\n \"description\": \"This method does all type of validations.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/validateAddress/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Validate Address\",\r\n \"operation\": \"Validate Address\",\r\n \"description\": \"Validates the shipping address and provides alternate addresses if any.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/subscriptions/resourceGroups/moveResources/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Move Resource\",\r\n \"operation\": \"Move Resource\",\r\n \"description\": \"This method performs the resource move.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/subscriptions/resourceGroups/validateMoveResources/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Move Resource\",\r\n \"operation\": \"Validate Move Resource Request\",\r\n \"description\": \"This method validates whether resource move is allowed or not.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/availableSkus/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Available Skus\",\r\n \"operation\": \"Availabe Skus\",\r\n \"description\": \"This method returns the list of available skus.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/regionConfiguration/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Region Configuration\",\r\n \"operation\": \"Region Configuration\",\r\n \"description\": \"This method returns the configurations for the region.\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/locations/availableSkus/read\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Available Skus\",\r\n \"operation\": \"List Available Skus\",\r\n \"description\": \"List or get the Available Skus\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/register/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Register Microsoft.Databox\",\r\n \"operation\": \"Register Microsoft.Databox\",\r\n \"description\": \"Register Provider Microsoft.Databox\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/unregister/action\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Register Microsoft.Databox\",\r\n \"operation\": \"Un-Register Microsoft.Databox\",\r\n \"description\": \"Un-Register Provider Microsoft.Databox\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n },\r\n {\r\n \"name\": \"Microsoft.DataBox/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Azure Data Box\",\r\n \"resource\": \"Operations\",\r\n \"operation\": \"List Operations\",\r\n \"description\": \"List or get the Operations\"\r\n },\r\n \"properties\": {},\r\n \"origin\": \"user\"\r\n }\r\n ]\r\n}",
"StatusCode": 200
}
],
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestAvailableSkus.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestAvailableSkus.json
index 5e8df66fc3cf8..65f73c1562924 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestAvailableSkus.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestAvailableSkus.json
@@ -1,20 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/availableSkus?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL2F2YWlsYWJsZVNrdXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/availableSkus?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL2F2YWlsYWJsZVNrdXM/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"country\": \"US\",\r\n \"location\": \"westus\",\r\n \"transferType\": \"ImportToAzure\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4e698ef0-d274-49ac-9961-16c79bb3e5e0"
+ "fa244df8-c14f-4607-a6cc-c0ce871a27c9"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -27,9 +29,6 @@
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Wed, 19 Sep 2018 09:28:35 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -37,28 +36,31 @@
"nosniff"
],
"x-ms-request-id": [
- "655f2b51-5b87-4413-97dd-3d260bec058c"
+ "d74fa14f-306f-486a-93d1-cf6f158a28de"
],
"x-ms-client-request-id": [
- "4e698ef0-d274-49ac-9961-16c79bb3e5e0"
+ "fa244df8-c14f-4607-a6cc-c0ce871a27c9"
],
"X-Powered-By": [
"ASP.NET"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
],
"x-ms-correlation-request-id": [
- "b569e52e-295b-4fbf-990b-5b555927df6b"
+ "f0aac096-cded-42c5-976d-7548aa9d8a6a"
],
"x-ms-routing-request-id": [
- "SOUTHEASTASIA:20180919T092835Z:b569e52e-295b-4fbf-990b-5b555927df6b"
+ "SOUTHINDIA:20191016T050339Z:f0aac096-cded-42c5-976d-7548aa9d8a6a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Wed, 16 Oct 2019 05:03:38 GMT"
+ ],
"Content-Length": [
- "5246"
+ "6566"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -67,7 +69,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"destinationToServiceLocationMap\": [\r\n {\r\n \"destinationLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2euap\",\r\n \"serviceLocation\": \"eastus2euap\"\r\n }\r\n ],\r\n \"capacity\": {\r\n \"usable\": \"80\",\r\n \"maximum\": \"100\"\r\n },\r\n \"costs\": [\r\n {\r\n \"meterId\": \"0cf23ffc-0b64-49e6-9bdd-1db885349042\",\r\n \"meterType\": \"DataBoxServiceFee\"\r\n },\r\n {\r\n \"meterId\": \"a701f058-119b-4713-a923-bed7da4b7801\",\r\n \"meterType\": \"DataBoxShippingFee\"\r\n },\r\n {\r\n \"meterId\": \"049fa331-0a48-4a81-9991-a6bef3c79fed\",\r\n \"meterType\": \"DataBoxExtraDayFee\"\r\n }\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\"\r\n ],\r\n \"disabledReason\": \"None\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"destinationToServiceLocationMap\": [\r\n {\r\n \"destinationLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2euap\",\r\n \"serviceLocation\": \"eastus2euap\"\r\n }\r\n ],\r\n \"capacity\": {\r\n \"usable\": \"35\",\r\n \"maximum\": \"40\"\r\n },\r\n \"costs\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\"\r\n ],\r\n \"disabledReason\": \"None\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"destinationToServiceLocationMap\": [\r\n {\r\n \"destinationLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2euap\",\r\n \"serviceLocation\": \"eastus2euap\"\r\n }\r\n ],\r\n \"capacity\": {\r\n \"usable\": \"800\",\r\n \"maximum\": \"1000\"\r\n },\r\n \"costs\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\"\r\n ],\r\n \"disabledReason\": \"None\",\r\n \"requiredFeature\": \"HeavyCreateAccess\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"destinationToServiceLocationMap\": [\r\n {\r\n \"destinationLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2euap\",\r\n \"serviceLocation\": \"eastus2euap\"\r\n }\r\n ],\r\n \"capacity\": {\r\n \"usable\": \"80\",\r\n \"maximum\": \"100\"\r\n },\r\n \"costs\": [\r\n {\r\n \"meterId\": \"0cf23ffc-0b64-49e6-9bdd-1db885349042\",\r\n \"meterType\": \"DataBoxServiceFee\"\r\n },\r\n {\r\n \"meterId\": \"a701f058-119b-4713-a923-bed7da4b7801\",\r\n \"meterType\": \"DataBoxShippingFee\"\r\n },\r\n {\r\n \"meterId\": \"049fa331-0a48-4a81-9991-a6bef3c79fed\",\r\n \"meterType\": \"DataBoxExtraDayFee\"\r\n },\r\n {\r\n \"meterId\": \"c3ea978d-6a0a-4632-b094-4fffcafcb057\",\r\n \"meterType\": \"DataBoxLostOrDamagedDeviceFee\"\r\n }\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\"\r\n ],\r\n \"disabledReason\": \"None\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBoxDisk\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"destinationToServiceLocationMap\": [\r\n {\r\n \"destinationLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2euap\",\r\n \"serviceLocation\": \"eastus2euap\"\r\n }\r\n ],\r\n \"capacity\": {\r\n \"usable\": \"35\",\r\n \"maximum\": \"40\"\r\n },\r\n \"costs\": [\r\n {\r\n \"meterId\": \"d95cd8b5-b6f1-4cd9-ae86-a016d1945d6f\",\r\n \"meterType\": \"DataBoxDiskServiceFee\"\r\n },\r\n {\r\n \"meterId\": \"4b8cf572-cb04-4ef3-9528-2cda4e9b544e\",\r\n \"meterType\": \"DataBoxDiskShippingFee\"\r\n },\r\n {\r\n \"meterId\": \"b6ae9bbf-815d-49dd-bb2b-77c497b72ba4\",\r\n \"meterType\": \"DataBoxDiskDailyUsageFee\"\r\n },\r\n {\r\n \"meterId\": \"08bc0ea1-6c82-421b-b953-2a7a65810d2e\",\r\n \"meterType\": \"DataBoxDiskLostDeviceFee\"\r\n }\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\"\r\n ],\r\n \"disabledReason\": \"None\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBoxHeavy\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"destinationToServiceLocationMap\": [\r\n {\r\n \"destinationLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"destinationLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"destinationLocation\": \"eastus2euap\",\r\n \"serviceLocation\": \"eastus2euap\"\r\n }\r\n ],\r\n \"capacity\": {\r\n \"usable\": \"800\",\r\n \"maximum\": \"1000\"\r\n },\r\n \"costs\": [\r\n {\r\n \"meterId\": \"d0dccaaf-3de9-4c7a-ba97-f83551b90126\",\r\n \"meterType\": \"DataBoxHeavyServiceFee\"\r\n },\r\n {\r\n \"meterId\": \"7b49d11f-d4f7-4029-a197-04998fd282f9\",\r\n \"meterType\": \"DataBoxHeavyShippingFee\"\r\n },\r\n {\r\n \"meterId\": \"c2c66d53-11b4-4f11-9642-43c7c336f0b7\",\r\n \"meterType\": \"DataBoxHeavyExtraDayFee\"\r\n },\r\n {\r\n \"meterId\": \"188dcd7e-fbd7-4a41-aa42-162b81b0510f\",\r\n \"meterType\": \"DataBoxHeavyLostOrDamagedDeviceFee\"\r\n }\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\"\r\n ],\r\n \"disabledReason\": \"None\",\r\n \"requiredFeature\": \"HeavyCreateAccess\"\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
}
],
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfiguration.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfiguration.json
new file mode 100644
index 0000000000000..07b101eb44e75
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfiguration.json
@@ -0,0 +1,81 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/regionConfiguration?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3JlZ2lvbkNvbmZpZ3VyYXRpb24/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"scheduleAvailabilityRequest\": {\r\n \"skuName\": \"DataBox\",\r\n \"storageLocation\": \"westus\"\r\n },\r\n \"transportAvailabilityRequest\": {\r\n \"skuName\": \"DataBox\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "18e317fe-eab7-4cbd-8796-f1b8e26c7c52"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "174"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "65dac9e1-cc74-43de-aaf6-4737eccb212c"
+ ],
+ "x-ms-client-request-id": [
+ "18e317fe-eab7-4cbd-8796-f1b8e26c7c52"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "a611e11f-ccfe-45bd-9b1a-0346cdd114a2"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191014T112939Z:a611e11f-ccfe-45bd-9b1a-0346cdd114a2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 14 Oct 2019 11:29:38 GMT"
+ ],
+ "Content-Length": [
+ "1047"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"scheduleAvailabilityResponse\": {\r\n \"availableDates\": [\r\n \"2019-10-24T05:30:00+05:30\",\r\n \"2019-10-25T05:30:00+05:30\",\r\n \"2019-10-26T05:30:00+05:30\",\r\n \"2019-10-27T05:30:00+05:30\",\r\n \"2019-10-28T05:30:00+05:30\",\r\n \"2019-10-29T05:30:00+05:30\",\r\n \"2019-10-30T05:30:00+05:30\",\r\n \"2019-10-31T05:30:00+05:30\",\r\n \"2019-11-01T05:30:00+05:30\",\r\n \"2019-11-02T05:30:00+05:30\",\r\n \"2019-11-03T05:30:00+05:30\",\r\n \"2019-11-04T05:30:00+05:30\",\r\n \"2019-11-05T05:30:00+05:30\",\r\n \"2019-11-06T05:30:00+05:30\",\r\n \"2019-11-07T05:30:00+05:30\",\r\n \"2019-11-08T05:30:00+05:30\",\r\n \"2019-11-09T05:30:00+05:30\",\r\n \"2019-11-10T05:30:00+05:30\",\r\n \"2019-11-11T05:30:00+05:30\",\r\n \"2019-11-12T05:30:00+05:30\",\r\n \"2019-11-13T05:30:00+05:30\"\r\n ]\r\n },\r\n \"transportAvailabilityResponse\": {\r\n \"transportAvailabilityDetails\": [\r\n {\r\n \"shipmentType\": \"MicrosoftManaged\"\r\n },\r\n {\r\n \"shipmentType\": \"CustomerManaged\"\r\n }\r\n ]\r\n }\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
+ "SubId": "fa68082f-8ff7-4a25-95c7-ce9da541242f"
+ }
+}
\ No newline at end of file
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateAddress.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateAddress.json
index 708a796d5baf0..27574d0ba1c26 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateAddress.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateAddress.json
@@ -1,35 +1,34 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateAddress?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlQWRkcmVzcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateAddress?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlQWRkcmVzcz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
"RequestMethod": "POST",
- "RequestBody": "{\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deviceType\": \"DataBox\"\r\n}",
+ "RequestBody": "{\r\n \"validationType\": \"ValidateAddress\",\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deviceType\": \"DataBox\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b7728f76-342e-4bd0-9187-a7f9b2b29394"
+ "3d29871a-e911-4726-ae42-adde6a360922"
],
- "accept-language": [
+ "Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.26614.01",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.0"
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "311"
+ "351"
]
},
"ResponseHeaders": {
"Cache-Control": [
"no-cache"
],
- "Date": [
- "Wed, 19 Sep 2018 09:28:28 GMT"
- ],
"Pragma": [
"no-cache"
],
@@ -37,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "a9fe49c4-e8f7-4ac7-9d6c-b49588310678"
+ "aa317279-a58e-410b-927c-b61e8eb4b718"
],
"x-ms-client-request-id": [
- "b7728f76-342e-4bd0-9187-a7f9b2b29394"
+ "3d29871a-e911-4726-ae42-adde6a360922"
],
"X-Powered-By": [
"ASP.NET"
@@ -49,16 +48,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "7e382fb1-9a54-48dc-b140-a635494b900e"
+ "6192b83f-35b2-480a-90b4-5b275077845f"
],
"x-ms-routing-request-id": [
- "SOUTHEASTASIA:20180919T092828Z:7e382fb1-9a54-48dc-b140-a635494b900e"
+ "SOUTHINDIA:20191017T102455Z:6192b83f-35b2-480a-90b4-5b275077845f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
+ "Date": [
+ "Thu, 17 Oct 2019 10:24:54 GMT"
+ ],
"Content-Length": [
- "386"
+ "428"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -67,7 +69,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"properties\": {\r\n \"validationStatus\": \"Valid\",\r\n \"alternateAddresses\": [\r\n {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"streetAddress3\": \"\",\r\n \"city\": \"SAN FRANCISCO\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"addressType\": \"None\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"validationStatus\": \"Valid\",\r\n \"alternateAddresses\": [\r\n {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"streetAddress3\": \"\",\r\n \"city\": \"SAN FRANCISCO\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"addressType\": \"None\"\r\n }\r\n ],\r\n \"validationType\": \"ValidateAddress\"\r\n }\r\n}",
"StatusCode": 200
}
],
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputs.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputs.json
new file mode 100644
index 0000000000000..2a718b205495f
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputs.json
@@ -0,0 +1,81 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateInputs?api-version=2019-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlSW5wdXRzP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"validationCategory\": \"JobCreationValidation\",\r\n \"individualRequestDetails\": [\r\n {\r\n \"validationType\": \"ValidateDataDestinationDetails\",\r\n \"destinationAccountDetails\": [\r\n {\r\n \"dataDestinationType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n ],\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"validationType\": \"ValidateAddress\",\r\n \"shippingAddress\": {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"city\": \"San Francisco\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"companyName\": \"Microsoft\",\r\n \"addressType\": \"Commercial\"\r\n },\r\n \"deviceType\": \"DataBox\",\r\n \"transportPreferences\": {\r\n \"preferredShipmentType\": \"MicrosoftManaged\"\r\n }\r\n },\r\n {\r\n \"validationType\": \"ValidateSubscriptionIsAllowedToCreateJob\"\r\n },\r\n {\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"deviceType\": \"DataBox\",\r\n \"country\": \"US\",\r\n \"location\": \"westus\",\r\n \"transferType\": \"ImportToAzure\"\r\n },\r\n {\r\n \"validationType\": \"ValidateCreateOrderLimit\",\r\n \"deviceType\": \"DataBox\"\r\n },\r\n {\r\n \"validationType\": \"ValidatePreferences\",\r\n \"preference\": {\r\n \"transportPreferences\": {\r\n \"preferredShipmentType\": \"MicrosoftManaged\"\r\n }\r\n },\r\n \"deviceType\": \"DataBox\"\r\n }\r\n ]\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "546cdd36-5032-48f8-9c71-0ebd9944b7bb"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27817.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18362.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1592"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "ce8ca9f2-bd14-443c-804a-f17b67189068"
+ ],
+ "x-ms-client-request-id": [
+ "546cdd36-5032-48f8-9c71-0ebd9944b7bb"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "873a4a64-4e29-4c74-9c93-66180e7e962a"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20191016T063647Z:873a4a64-4e29-4c74-9c93-66180e7e962a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Wed, 16 Oct 2019 06:36:47 GMT"
+ ],
+ "Content-Length": [
+ "1234"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"AllValidToProceed\",\r\n \"individualResponseDetails\": [\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateDataDestinationDetails\",\r\n \"error\": {}\r\n },\r\n {\r\n \"validationStatus\": \"Valid\",\r\n \"alternateAddresses\": [\r\n {\r\n \"streetAddress1\": \"16 TOWNSEND ST\",\r\n \"streetAddress2\": \"Unit 1\",\r\n \"streetAddress3\": \"\",\r\n \"city\": \"SAN FRANCISCO\",\r\n \"stateOrProvince\": \"CA\",\r\n \"country\": \"US\",\r\n \"postalCode\": \"94107\",\r\n \"addressType\": \"None\"\r\n }\r\n ],\r\n \"validationType\": \"ValidateAddress\",\r\n \"error\": {}\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSubscriptionIsAllowedToCreateJob\",\r\n \"error\": {}\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"error\": {}\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateCreateOrderLimit\",\r\n \"error\": {}\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidatePreferences\",\r\n \"error\": {}\r\n }\r\n ]\r\n }\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
+ "SubId": "fa68082f-8ff7-4a25-95c7-ce9da541242f"
+ }
+}
\ No newline at end of file
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/DataBoxTestBase.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/DataBoxTestBase.cs
index 5fa9ffd946870..6bc842c3bae7e 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/DataBoxTestBase.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/DataBoxTestBase.cs
@@ -84,7 +84,7 @@ protected static List GetDestinationAccountsList()
{
return new List
{
- new DestinationAccountDetails
+ new DestinationStorageAccountDetails
{
AccountId = "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount",
}
@@ -117,7 +117,7 @@ protected static ShippingAddress GetDefaultShippingAddress()
};
}
- protected static void ValidateJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, JobResource getJob)
+ protected static void ValidateJobDetails(ContactDetails contactDetails, ShippingAddress shippingAddress, JobResource getJob, JobDeliveryType deliverType)
{
Assert.NotNull(getJob.Details);
Assert.NotNull(getJob.Details.ContactDetails.NotificationPreference);
@@ -134,6 +134,7 @@ protected static void ValidateJobDetails(ContactDetails contactDetails, Shipping
Assert.Equal(shippingAddress.StreetAddress1, getJob.Details.ShippingAddress.StreetAddress1);
Assert.Equal(shippingAddress.StreetAddress2, getJob.Details.ShippingAddress.StreetAddress2);
Assert.Equal(shippingAddress.StreetAddress3, getJob.Details.ShippingAddress.StreetAddress3);
+ Assert.Equal(getJob.DeliveryType, deliverType);
}
protected static void ValidateJobWithoutDetails(string jobName,
@@ -152,6 +153,38 @@ protected static void ValidateJobWithoutDetails(string jobName,
Assert.Equal(jobName, job.Name);
Assert.Equal(TestConstants.DefaultType, job.Type);
}
+
+ protected static void ValidateIndividualValidateResponse(IList IndividualResponseDetails)
+ {
+ Assert.NotNull(IndividualResponseDetails);
+ Assert.True(IndividualResponseDetails.Count > 1);
+ foreach(ValidationInputResponse validationResponse in IndividualResponseDetails)
+ {
+ switch (validationResponse.GetType().Name)
+ {
+ case "DataDestinationDetailsValidationResponseProperties":
+ Assert.True(((DataDestinationDetailsValidationResponseProperties)validationResponse).Status == ValidationStatus.Valid);
+ break;
+ case "SubscriptionIsAllowedToCreateJobValidationResponseProperties":
+ Assert.True(((SubscriptionIsAllowedToCreateJobValidationResponseProperties)validationResponse).Status == ValidationStatus.Valid);
+ break;
+ case "SkuAvailabilityValidationResponseProperties":
+ Assert.True(((SkuAvailabilityValidationResponseProperties)validationResponse).Status == ValidationStatus.Valid);
+ break;
+ case "CreateOrderLimitForSubscriptionValidationResponseProperties":
+ Assert.True(((CreateOrderLimitForSubscriptionValidationResponseProperties)validationResponse).Status == ValidationStatus.Valid);
+ break;
+ case "PreferencesValidationResponseProperties":
+ Assert.True(((PreferencesValidationResponseProperties)validationResponse).Status == ValidationStatus.Valid);
+ break;
+ case "AddressValidationProperties":
+ Assert.True(((AddressValidationProperties)validationResponse).ValidationStatus == AddressValidationStatus.Valid);
+ break;
+ default:
+ break;
+ }
+ }
+ }
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobCRUDTests.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobCRUDTests.cs
index f23231c263f12..0c1e6847cec4f 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobCRUDTests.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobCRUDTests.cs
@@ -53,7 +53,7 @@ public void TestJobCRUDOperations()
var getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
ValidateJobWithoutDetails(jobName, sku, getJob);
- ValidateJobDetails(contactDetails, shippingAddress, getJob);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.NonScheduled);
Assert.Equal(StageName.DeviceOrdered, job.Status);
contactDetails.ContactName = "Update Job";
@@ -75,7 +75,91 @@ public void TestJobCRUDOperations()
getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
ValidateJobWithoutDetails(jobName, sku, getJob);
- ValidateJobDetails(contactDetails, shippingAddress, getJob);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.NonScheduled);
+ Assert.Equal(StageName.DeviceOrdered, getJob.Status);
+
+ var jobList = this.Client.Jobs.List();
+ Assert.NotNull(jobList);
+
+ jobList = this.Client.Jobs.ListByResourceGroup(resourceGroupName);
+ Assert.NotNull(jobList);
+
+ this.Client.Jobs.Cancel(resourceGroupName, jobName, "CancelTest");
+ getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ Assert.Equal(StageName.Cancelled, getJob.Status);
+
+ while (!string.IsNullOrWhiteSpace(getJob.Details.ContactDetails.ContactName))
+ {
+ Wait(TimeSpan.FromMinutes(5));
+ getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ }
+ this.Client.Jobs.Delete(resourceGroupName, jobName);
+ }
+
+ [Fact]
+ public void TestScheduledJob()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var jobName = TestUtilities.GenerateName("SdkJob");
+ ContactDetails contactDetails = GetDefaultContactDetails();
+ ShippingAddress shippingAddress = GetDefaultShippingAddress();
+ Sku sku = GetDefaultSku();
+ JobDetails jobDetails = new DataBoxJobDetails
+ {
+ ContactDetails = contactDetails,
+ ShippingAddress = shippingAddress,
+ DestinationAccountDetails = GetDestinationAccountsList(),
+
+ };
+
+ var jobResource = new JobResource
+ {
+ Sku = sku,
+ Location = TestConstants.DefaultResourceLocation,
+ Details = jobDetails,
+ DeliveryType = JobDeliveryType.Scheduled,
+ DeliveryInfo = new JobDeliveryInfo
+ {
+ ScheduledDateTime = DateTime.UtcNow.AddDays(20)
+ }
+ };
+
+ this.RMClient.ResourceGroups.CreateOrUpdate(
+ resourceGroupName,
+ new ResourceGroup
+ {
+ Location = TestConstants.DefaultResourceLocation
+ });
+
+ var job = this.Client.Jobs.Create(resourceGroupName, jobName, jobResource);
+ ValidateJobWithoutDetails(jobName, sku, job);
+ Assert.Equal(StageName.DeviceOrdered, job.Status);
+
+ var getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ ValidateJobWithoutDetails(jobName, sku, getJob);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.Scheduled);
+ Assert.Equal(StageName.DeviceOrdered, job.Status);
+
+ contactDetails.ContactName = "Update Job";
+ getJob.Details.ContactDetails = contactDetails;
+
+ var Details = new UpdateJobDetails
+ {
+ ContactDetails = getJob.Details.ContactDetails,
+ ShippingAddress = getJob.Details.ShippingAddress
+ };
+
+ var updateParams = new JobResourceUpdateParameter
+ {
+ Details = Details
+ };
+ var updateJob = this.Client.Jobs.Update(resourceGroupName, jobName, updateParams);
+ ValidateJobWithoutDetails(jobName, sku, updateJob);
+ Assert.Equal(StageName.DeviceOrdered, updateJob.Status);
+
+ getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ ValidateJobWithoutDetails(jobName, sku, getJob);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.Scheduled);
Assert.Equal(StageName.DeviceOrdered, getJob.Status);
var jobList = this.Client.Jobs.List();
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobsActionsTests.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobsActionsTests.cs
index ed6e038579144..2abfa2adc0b66 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobsActionsTests.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/JobsActionsTests.cs
@@ -43,7 +43,7 @@ public void TestBookShipmentPickup()
}
catch (Exception e)
{
- Assert.Null(e);
+ Assert.NotNull(e);
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/ServiceOperationTests.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/ServiceOperationTests.cs
index 8afe9be36da9a..119e9f699c429 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/ServiceOperationTests.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/ServiceOperationTests.cs
@@ -1,7 +1,9 @@
using System;
+using System.Collections.Generic;
using DataBox.Tests.Helpers;
using Microsoft.Azure.Management.DataBox;
using Microsoft.Azure.Management.DataBox.Models;
+using Microsoft.Azure.Management.Resources.Models;
using Xunit;
using Xunit.Abstractions;
@@ -39,12 +41,18 @@ public void TestAvailableSkus()
}
[Fact]
+ [Obsolete]
public void TestValidateAddress()
{
var shippingAddress = GetDefaultShippingAddress();
- var addressValidation = this.Client.Service.ValidateAddressMethod(TestConstants.DefaultResourceLocation,
- shippingAddress, SkuName.DataBox);
+ var validateAddress = new ValidateAddress()
+ {
+ ShippingAddress = shippingAddress,
+ DeviceType = SkuName.DataBox
+ };
+ var addressValidation = this.Client.Service.ValidateAddressMethod(TestConstants.DefaultResourceLocation,
+ validateAddress);
Assert.NotNull(addressValidation);
Assert.NotNull(addressValidation.AlternateAddresses);
@@ -58,6 +66,80 @@ public void TestValidateAddress()
Assert.Equal(shippingAddress.StreetAddress1, validatedAddress.StreetAddress1, true);
Assert.Equal(shippingAddress.StreetAddress2, validatedAddress.StreetAddress2, true);
}
+
+ [Fact]
+ public void TestValidateInputs()
+ {
+ var validateInput = new CreateJobValidations
+ {
+ IndividualRequestDetails = new List() {
+ new DataDestinationDetailsValidationRequest()
+ {
+ DestinationAccountDetails = GetDestinationAccountsList(),
+ Location = "westus"
+ },
+ new ValidateAddress()
+ {
+ ShippingAddress = GetDefaultShippingAddress(),
+ DeviceType = SkuName.DataBox,
+ TransportPreferences = new TransportPreferences
+ {
+ PreferredShipmentType = TransportShipmentTypes.MicrosoftManaged
+ }
+ },
+ new SubscriptionIsAllowedToCreateJobValidationRequest()
+ {
+ },
+ new SkuAvailabilityValidationRequest()
+ {
+ DeviceType = SkuName.DataBox,
+ Country = "US",
+ Location = "westus"
+ },
+ new CreateOrderLimitForSubscriptionValidationRequest()
+ {
+ DeviceType = SkuName.DataBox
+ },
+ new PreferencesValidationRequest()
+ {
+ DeviceType = SkuName.DataBox,
+ Preference = new Preferences
+ {
+ TransportPreferences = new TransportPreferences
+ {
+ PreferredShipmentType = TransportShipmentTypes.MicrosoftManaged
+ }
+ }
+ }
+ }
+ };
+ var validateResponse = this.Client.Service.ValidateInputs(TestConstants.DefaultResourceLocation, validateInput);
+ Assert.True(validateResponse != null, "Call for ValidateInputs is successful.");
+ Assert.True(validateResponse.Status == OverallValidationStatus.AllValidToProceed);
+ ValidateIndividualValidateResponse(validateResponse.IndividualResponseDetails);
+ }
+
+ [Fact]
+ public void TestRegionConfiguration()
+ {
+ var regionConfigurationRequest = new RegionConfigurationRequest
+ {
+ ScheduleAvailabilityRequest = new DataBoxScheduleAvailabilityRequest
+ {
+ StorageLocation = "westus"
+ },
+
+ TransportAvailabilityRequest = new TransportAvailabilityRequest
+ {
+ SkuName = SkuName.DataBox
+ }
+ };
+
+ var regionconfigurationResponse = this.Client.Service.RegionConfiguration(TestConstants.DefaultResourceLocation, regionConfigurationRequest.ScheduleAvailabilityRequest, regionConfigurationRequest.TransportAvailabilityRequest);
+ Assert.True(regionconfigurationResponse != null, "Call for RegionConfiguration request is successful");
+ Assert.True(regionconfigurationResponse.ScheduleAvailabilityResponse.AvailableDates != null);
+ Assert.True(regionconfigurationResponse.TransportAvailabilityResponse.TransportAvailabilityDetails != null);
+ }
}
}