From 92b5b83091227127ba8e9af25e1b00c584ed1637 Mon Sep 17 00:00:00 2001
From: Dhawal Jain <41853104+dhawal777@users.noreply.github.com>
Date: Mon, 31 Aug 2020 13:51:02 +0530
Subject: [PATCH 1/2] SDK refresh to support new API version 2020-04-01
---
.../mgmtmetadata/databox_resource-manager.txt | 21 +-
.../AzSdk.RP.props | 2 +-
.../src/Generated/DataBoxManagementClient.cs | 6 +-
.../src/Generated/IJobsOperations.cs | 28 +-
.../src/Generated/IOperations.cs | 4 +-
.../src/Generated/IServiceOperations.cs | 63 +-
.../src/Generated/JobsOperations.cs | 213 +---
.../Models/AccountCredentialDetails.cs | 14 +-
.../Generated/Models/AdditionalErrorInfo.cs | 59 +
.../Models/AddressValidationOutput.cs | 5 +-
.../Models/AddressValidationProperties.cs | 5 +-
.../src/Generated/Models/ApiError.cs | 64 +
.../src/Generated/Models/ApiErrorException.cs | 61 +
.../Generated/Models/AvailableSkuRequest.cs | 25 +-
.../Models/AzureFileFilterDetails.cs | 72 ++
.../src/Generated/Models/BlobFilterDetails.cs | 72 ++
.../Generated/Models/ClassDiscriminator.cs | 75 ++
.../src/Generated/Models/CopyLogDetails.cs | 2 +
.../src/Generated/Models/CopyProgress.cs | 86 +-
...ubscriptionValidationResponseProperties.cs | 3 +-
.../Generated/Models/DataAccountDetails.cs | 69 +
...aDestinationType.cs => DataAccountType.cs} | 22 +-
.../Models/DataBoxAccountCopyLogDetails.cs | 16 +-
.../Generated/Models/DataBoxDiskJobDetails.cs | 22 +-
.../Generated/Models/DataBoxDiskJobSecrets.cs | 6 +-
.../DataBoxHeavyAccountCopyLogDetails.cs | 17 +-
.../Models/DataBoxHeavyJobDetails.cs | 42 +-
.../Models/DataBoxHeavyJobSecrets.cs | 6 +-
.../src/Generated/Models/DataBoxJobDetails.cs | 41 +-
.../DataBoxScheduleAvailabilityRequest.cs | 10 +-
.../src/Generated/Models/DataExportDetails.cs | 93 ++
.../src/Generated/Models/DataImportDetails.cs | 66 +
...cs => DataLocationToServiceLocationMap.cs} | 23 +-
.../DataTransferDetailsValidationRequest.cs | 117 ++
...ferDetailsValidationResponseProperties.cs} | 19 +-
.../src/Generated/Models/DataboxJobSecrets.cs | 6 +-
.../Generated/Models/DcAccessSecurityCode.cs | 26 +-
.../Models/DestinationAccountDetails.cs | 62 -
.../Generated/Models/{Error.cs => Details.cs} | 43 +-
.../Models/DiskScheduleAvailabilityRequest.cs | 10 +-
...ilsValidationRequest.cs => ErrorDetail.cs} | 63 +-
.../src/Generated/Models/FilterFileDetails.cs | 77 ++
.../src/Generated/Models/FilterFileType.cs | 66 +
.../HeavyScheduleAvailabilityRequest.cs | 10 +-
.../src/Generated/Models/JobDetails.cs | 92 +-
.../src/Generated/Models/JobErrorDetails.cs | 77 --
.../src/Generated/Models/JobResource.cs | 27 +-
.../Models/JobResourceUpdateParameter.cs | 19 +-
.../src/Generated/Models/JobSecrets.cs | 16 +-
.../src/Generated/Models/JobStages.cs | 18 +-
.../src/Generated/Models/KekType.cs | 66 +
.../src/Generated/Models/KeyEncryptionKey.cs | 83 ++
.../Generated/Models/LogCollectionLevel.cs | 67 +
...edDiskDetails.cs => ManagedDiskDetails.cs} | 45 +-
.../Generated/Models/NotificationStageName.cs | 2 +-
.../src/Generated/Models/Operation.cs | 11 +-
.../src/Generated/Models/Preferences.cs | 6 +-
.../Models/PreferencesValidationRequest.cs | 7 +-
...PreferencesValidationResponseProperties.cs | 3 +-
.../src/Generated/Models/Resource.cs | 10 +-
.../src/Generated/Models/ResourceIdentity.cs | 68 +
.../Models/ScheduleAvailabilityRequest.cs | 19 +-
.../Models/ScheduleAvailabilityResponse.cs | 2 +-
.../SkuAvailabilityValidationRequest.cs | 25 +-
...vailabilityValidationResponseProperties.cs | 3 +-
.../src/Generated/Models/SkuCost.cs | 15 +-
.../src/Generated/Models/SkuInformation.cs | 14 +-
.../src/Generated/Models/SkuName.cs | 6 +-
.../src/Generated/Models/StageName.cs | 8 +-
.../src/Generated/Models/StageStatus.cs | 20 +-
...untDetails.cs => StorageAccountDetails.cs} | 35 +-
...ToCreateJobValidationResponseProperties.cs | 3 +-
.../Generated/Models/TransferAllDetails.cs | 80 ++
.../Generated/Models/TransferConfiguration.cs | 95 ++
...TransferConfigurationTransferAllDetails.cs | 67 +
...nsferConfigurationTransferFilterDetails.cs | 68 +
.../Models/TransferConfigurationType.cs | 66 +
.../Generated/Models/TransferFilterDetails.cs | 102 ++
.../src/Generated/Models/TransferType.cs | 66 +
.../src/Generated/Models/UpdateJobDetails.cs | 15 +-
.../src/Generated/Models/ValidateAddress.cs | 1 +
.../Generated/Models/ValidationCategory.cs | 57 +
.../Models/ValidationInputDiscriminator.cs | 105 ++
.../Models/ValidationInputRequest.cs | 2 +
.../Models/ValidationInputResponse.cs | 6 +-
.../src/Generated/Models/ValidationRequest.cs | 3 +-
.../src/Generated/Operations.cs | 38 +-
.../SdkInfo_DataBoxManagementClient.cs | 15 +-
.../src/Generated/ServiceOperations.cs | 408 ++----
.../Generated/ServiceOperationsExtensions.cs | 94 +-
.../Microsoft.Azure.Management.DataBox.csproj | 10 +-
.../src/Properties/AssemblyInfo.cs | 2 +-
...soft.Azure.Management.DataBox.Tests.csproj | 2 +-
.../JobCRUDTests/CmkEnablementTest.json | 806 ++++++++++++
.../JobCRUDTests/DevicePasswordTest.json | 344 +++++
.../TestExportJobCRUDOperations.json | 1122 +++++++++++++++++
.../JobCRUDTests/TestJobCRUDOperations.json | 431 +++----
.../JobCRUDTests/TestScheduledJob.json | 892 ++++---------
.../TestBookShipmentPickup.json | 24 +-
.../JobsActionsTests/TestListCredentials.json | 26 +-
.../OperationsTests/TestOperationsAPI.json | 22 +-
.../TestAvailableSkus.json | 28 +-
.../TestRegionConfiguration.json | 30 +-
...estRegionConfigurationByResourceGroup.json | 85 ++
.../TestValidateAddress.json | 22 +-
.../TestValidateInputs.json | 30 +-
.../TestValidateInputsByResourceGroup.json | 85 ++
.../TestValidateInputsSpecificToExport.json | 81 ++
...InputsSpecificToExportByResourceGroup.json | 85 ++
.../tests/Tests/DataBoxTestBase.cs | 40 +-
.../tests/Tests/JobCRUDTests.cs | 246 +++-
.../tests/Tests/ServiceOperationTests.cs | 186 ++-
112 files changed, 6345 insertions(+), 2121 deletions(-)
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AdditionalErrorInfo.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiError.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiErrorException.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AzureFileFilterDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/BlobFilterDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ClassDiscriminator.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataAccountDetails.cs
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{DataDestinationType.cs => DataAccountType.cs} (64%)
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataExportDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataImportDetails.cs
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{DestinationToServiceLocationMap.cs => DataLocationToServiceLocationMap.cs} (62%)
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationRequest.cs
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{DataDestinationDetailsValidationResponseProperties.cs => DataTransferDetailsValidationResponseProperties.cs} (64%)
delete mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{Error.cs => Details.cs} (54%)
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{DataDestinationDetailsValidationRequest.cs => ErrorDetail.cs} (50%)
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileType.cs
delete mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobErrorDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KekType.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KeyEncryptionKey.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/LogCollectionLevel.cs
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{DestinationManagedDiskDetails.cs => ManagedDiskDetails.cs} (55%)
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ResourceIdentity.cs
rename sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/{DestinationStorageAccountDetails.cs => StorageAccountDetails.cs} (55%)
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferAllDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfiguration.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferAllDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferFilterDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationType.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferFilterDetails.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferType.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationCategory.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputDiscriminator.cs
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/CmkEnablementTest.json
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/DevicePasswordTest.json
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestExportJobCRUDOperations.json
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfigurationByResourceGroup.json
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsByResourceGroup.json
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsSpecificToExport.json
create mode 100644 sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsSpecificToExportByResourceGroup.json
diff --git a/eng/mgmt/mgmtmetadata/databox_resource-manager.txt b/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
index a58b8569bb2ae..000d4c72b0be5 100644
--- a/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
@@ -1,14 +1,11 @@
-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
+2020-08-31 04:37:21 UTC
+
+1) azure-rest-api-specs repository information
+GitHub user: Azure
Branch: master
-Commit: 59998f796f05580bc1d43ba39f0170204113fa91
-AutoRest information
+Commit: e84a61630139738316ee8531960b5966e8f1baeb
+
+2) AutoRest information
Requested version: latest
-Bootstrapper version: autorest@2.0.4283
+Bootstrapper version: C:\Users\dhja\AppData\Local\nvs\default +-- autorest@3.0.6187 `-- oad@0.1.7 `-- autorest@1.9.1
+Latest installed version:
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/AzSdk.RP.props b/sdk/databox/Microsoft.Azure.Management.DataBox/AzSdk.RP.props
index 0f004e4c7605b..dd2a7448140f8 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_2019-09-01;
+ DataBox_2020-04-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 0da450cd75810..4f3884b4aeecf 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 = "2019-09-01";
+ ApiVersion = "2020-04-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
@@ -363,8 +363,8 @@ 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("dataAccountType"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("dataAccountType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("jobDetailsType"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("jobDetailsType"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("jobSecretsType"));
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IJobsOperations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IJobsOperations.cs
index 6aebbece35164..6e1f0f2afd0b9 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IJobsOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IJobsOperations.cs
@@ -36,7 +36,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -62,7 +62,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -93,7 +93,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -125,7 +125,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -152,7 +152,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -183,7 +183,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -213,7 +213,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -243,7 +243,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -267,7 +267,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -299,7 +299,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -326,7 +326,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -357,7 +357,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -379,7 +379,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -401,7 +401,7 @@ public partial interface IJobsOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IOperations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IOperations.cs
index 33dfc8b3823e1..5100f624f1989 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IOperations.cs
@@ -32,7 +32,7 @@ public partial interface IOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -54,7 +54,7 @@ public partial interface IOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
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 eaa5a9811a83f..c672ac1f8f3e0 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IServiceOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/IServiceOperations.cs
@@ -23,32 +23,6 @@ namespace Microsoft.Azure.Management.DataBox
///
public partial interface IServiceOperations
{
- ///
- /// This method provides the list of available skus for the given
- /// subscription and location.
- ///
- ///
- /// 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>> ListAvailableSkusWithHttpMessagesAsync(string location, AvailableSkuRequest availableSkuRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// This method provides the list of available skus for the given
/// subscription, resource group and location.
@@ -68,7 +42,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -79,7 +53,7 @@ public partial interface IServiceOperations
///
Task>> ListAvailableSkusByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, AvailableSkuRequest availableSkuRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// [DEPRECATED NOTICE: This operation will soon be removed] This
+ /// [DEPRECATED NOTICE: This operation will soon be removed]. This
/// method validates the customer shipping address and provide
/// alternate addresses if any.
///
@@ -95,7 +69,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -125,7 +99,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -151,7 +125,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -163,7 +137,7 @@ public partial interface IServiceOperations
Task> ValidateInputsWithHttpMessagesAsync(string location, ValidationRequest validationRequest, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// This API provides configuration details specific to given
- /// region/location.
+ /// region/location at Subscription level.
///
///
/// The location of the resource
@@ -180,7 +154,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -191,11 +165,20 @@ public partial interface IServiceOperations
///
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.
+ /// This API provides configuration details specific to given
+ /// region/location at Resource group level.
///
- ///
- /// The NextLink from the previous successful call to List operation.
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// 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.
@@ -203,7 +186,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -212,7 +195,7 @@ public partial interface IServiceOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListAvailableSkusNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> RegionConfigurationByResourceGroupWithHttpMessagesAsync(string resourceGroupName, 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, resource group and location.
@@ -226,7 +209,7 @@ public partial interface IServiceOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/JobsOperations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/JobsOperations.cs
index c7fea0ba1fe0d..7da1ec7a95dd1 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/JobsOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/JobsOperations.cs
@@ -63,7 +63,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -84,10 +84,7 @@ internal JobsOperations(DataBoxManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -95,6 +92,7 @@ internal JobsOperations(DataBoxManagementClient client)
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("skipToken", skipToken);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
@@ -104,9 +102,9 @@ internal JobsOperations(DataBoxManagementClient client)
var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DataBox/jobs").ToString();
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (skipToken != null)
{
@@ -172,14 +170,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -189,10 +186,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -253,7 +246,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -278,10 +271,7 @@ internal JobsOperations(DataBoxManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -290,6 +280,7 @@ internal JobsOperations(DataBoxManagementClient client)
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("skipToken", skipToken);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters);
@@ -300,9 +291,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (skipToken != null)
{
@@ -368,14 +359,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -385,10 +375,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -454,7 +440,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -498,10 +484,7 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -511,6 +494,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("expand", expand);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
@@ -522,9 +506,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (expand != null)
{
@@ -590,14 +574,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -607,10 +590,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -759,7 +738,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -803,10 +782,6 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
if (shipmentPickUpRequest == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "shipmentPickUpRequest");
@@ -815,6 +790,7 @@ internal JobsOperations(DataBoxManagementClient client)
{
shipmentPickUpRequest.Validate();
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -824,6 +800,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("shipmentPickUpRequest", shipmentPickUpRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "BookShipmentPickUp", tracingParameters);
@@ -835,9 +812,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -905,14 +882,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -922,10 +898,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -990,7 +962,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1031,14 +1003,11 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
if (reason == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "reason");
}
+ string apiVersion = "2020-04-01";
CancellationReason cancellationReason = new CancellationReason();
if (reason != null)
{
@@ -1053,6 +1022,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationReason", cancellationReason);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Cancel", tracingParameters);
@@ -1064,9 +1034,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1134,14 +1104,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 204)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1151,10 +1120,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -1198,7 +1163,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1242,10 +1207,7 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1255,6 +1217,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ListCredentials", tracingParameters);
}
@@ -1265,9 +1228,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1329,14 +1292,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1346,10 +1308,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -1416,7 +1374,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1460,10 +1418,6 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
if (jobResource == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "jobResource");
@@ -1472,6 +1426,7 @@ internal JobsOperations(DataBoxManagementClient client)
{
jobResource.Validate();
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1481,6 +1436,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("jobResource", jobResource);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "BeginCreate", tracingParameters);
@@ -1492,9 +1448,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1562,14 +1518,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1579,10 +1534,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -1644,7 +1595,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1685,10 +1636,7 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1698,6 +1646,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters);
}
@@ -1708,9 +1657,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1770,16 +1719,15 @@ internal JobsOperations(DataBoxManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode != 202 && (int)_statusCode != 204)
+ if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1789,10 +1737,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -1843,7 +1787,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1887,14 +1831,11 @@ internal JobsOperations(DataBoxManagementClient client)
throw new ValidationException(ValidationRules.Pattern, "jobName", "^[-\\w\\.]+$");
}
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
if (jobResourceUpdateParameter == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "jobResourceUpdateParameter");
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1904,6 +1845,7 @@ internal JobsOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("jobName", jobName);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("ifMatch", ifMatch);
tracingParameters.Add("jobResourceUpdateParameter", jobResourceUpdateParameter);
tracingParameters.Add("cancellationToken", cancellationToken);
@@ -1916,9 +1858,9 @@ internal JobsOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{jobName}", System.Uri.EscapeDataString(jobName));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1994,14 +1936,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -2011,10 +1952,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -2071,7 +2008,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -2167,14 +2104,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -2184,10 +2120,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
@@ -2244,7 +2176,7 @@ internal JobsOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -2340,14 +2272,13 @@ internal JobsOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -2357,10 +2288,6 @@ internal JobsOperations(DataBoxManagementClient client)
}
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);
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 d7411ee26cc62..3a6f45c9175a4 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,17 +32,17 @@ public AccountCredentialDetails()
/// Initializes a new instance of the AccountCredentialDetails class.
///
/// Name of the account.
- /// Data Destination Type. Possible
- /// values include: 'StorageAccount', 'ManagedDisk'
+ /// Type of the account. 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), DataDestinationType? dataDestinationType = default(DataDestinationType?), string accountConnectionString = default(string), IList shareCredentialDetails = default(IList))
+ public AccountCredentialDetails(string accountName = default(string), DataAccountType? dataAccountType = default(DataAccountType?), string accountConnectionString = default(string), IList shareCredentialDetails = default(IList))
{
AccountName = accountName;
- DataDestinationType = dataDestinationType;
+ DataAccountType = dataAccountType;
AccountConnectionString = accountConnectionString;
ShareCredentialDetails = shareCredentialDetails;
CustomInit();
@@ -60,11 +60,11 @@ public AccountCredentialDetails()
public string AccountName { get; private set; }
///
- /// Gets data Destination Type. Possible values include:
+ /// Gets type of the account. Possible values include:
/// 'StorageAccount', 'ManagedDisk'
///
- [JsonProperty(PropertyName = "dataDestinationType")]
- public DataDestinationType? DataDestinationType { get; private set; }
+ [JsonProperty(PropertyName = "dataAccountType")]
+ public DataAccountType? DataAccountType { get; private set; }
///
/// Gets connection string of the account endpoint to use the account
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AdditionalErrorInfo.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AdditionalErrorInfo.cs
new file mode 100644
index 0000000000000..d964ab46532b4
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AdditionalErrorInfo.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;
+
+ ///
+ /// Additional error info.
+ ///
+ public partial class AdditionalErrorInfo
+ {
+ ///
+ /// Initializes a new instance of the AdditionalErrorInfo class.
+ ///
+ public AdditionalErrorInfo()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AdditionalErrorInfo class.
+ ///
+ /// Additional error type.
+ /// Additional error info.
+ public AdditionalErrorInfo(string type = default(string), object info = default(object))
+ {
+ Type = type;
+ Info = info;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets additional error type.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; set; }
+
+ ///
+ /// Gets or sets additional error info.
+ ///
+ [JsonProperty(PropertyName = "info")]
+ public object Info { get; set; }
+
+ }
+}
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 92b7ca3ea7711..2d235e55e3351 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
@@ -11,6 +11,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
@@ -40,7 +41,7 @@ public AddressValidationOutput()
/// Possible values include: 'Valid', 'Invalid', 'Ambiguous'
/// List of alternate
/// addresses.
- public AddressValidationOutput(Error error = default(Error), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
+ public AddressValidationOutput(CloudError error = default(CloudError), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
{
Error = error;
ValidationStatus = validationStatus;
@@ -57,7 +58,7 @@ public AddressValidationOutput()
/// Gets error code and message of validation response.
///
[JsonProperty(PropertyName = "properties.error")]
- public Error Error { get; private set; }
+ public CloudError Error { get; private set; }
///
/// Gets the address validation status. Possible values include:
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
index 0e95fb2ff5779..bf8333d8a30d2 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationProperties.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AddressValidationProperties.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -40,7 +41,7 @@ public AddressValidationProperties()
/// Possible values include: 'Valid', 'Invalid', 'Ambiguous'
/// List of alternate
/// addresses.
- public AddressValidationProperties(Error error = default(Error), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
+ public AddressValidationProperties(CloudError error = default(CloudError), AddressValidationStatus? validationStatus = default(AddressValidationStatus?), IList alternateAddresses = default(IList))
: base(error)
{
ValidationStatus = validationStatus;
@@ -67,4 +68,4 @@ public AddressValidationProperties()
public IList AlternateAddresses { get; private set; }
}
-}
+}
\ No newline at end of file
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiError.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiError.cs
new file mode 100644
index 0000000000000..0bf00bc5b5dca
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiError.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 Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ public partial class ApiError
+ {
+ ///
+ /// Initializes a new instance of the ApiError class.
+ ///
+ public ApiError()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ApiError class.
+ ///
+ public ApiError(ErrorDetail error)
+ {
+ Error = error;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "error")]
+ public ErrorDetail Error { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Error == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Error");
+ }
+ if (Error != null)
+ {
+ Error.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiErrorException.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiErrorException.cs
new file mode 100644
index 0000000000000..c3ec0959dd19e
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ApiErrorException.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 Microsoft.Rest;
+
+ ///
+ /// Exception thrown for an invalid response with ApiError information.
+ ///
+ public partial class ApiErrorException : RestException
+ {
+ ///
+ /// Gets information about the associated HTTP request.
+ ///
+ public HttpRequestMessageWrapper Request { get; set; }
+
+ ///
+ /// Gets information about the associated HTTP response.
+ ///
+ public HttpResponseMessageWrapper Response { get; set; }
+
+ ///
+ /// Gets or sets the body object.
+ ///
+ public ApiError Body { get; set; }
+
+ ///
+ /// Initializes a new instance of the ApiErrorException class.
+ ///
+ public ApiErrorException()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ApiErrorException class.
+ ///
+ /// The exception message.
+ public ApiErrorException(string message)
+ : this(message, null)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ApiErrorException class.
+ ///
+ /// The exception message.
+ /// Inner exception.
+ public ApiErrorException(string message, System.Exception innerException)
+ : base(message, innerException)
+ {
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AvailableSkuRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AvailableSkuRequest.cs
index 2dee75b0ba13b..5217c62788a42 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AvailableSkuRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AvailableSkuRequest.cs
@@ -32,6 +32,8 @@ public AvailableSkuRequest()
///
/// Initializes a new instance of the AvailableSkuRequest class.
///
+ /// Type of the transfer. Possible values
+ /// include: 'ImportToAzure', 'ExportFromAzure'
/// ISO country code. Country for hardware
/// shipment. For codes check:
/// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
@@ -40,26 +42,27 @@ public AvailableSkuRequest()
/// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
/// Sku Names to filter for available
/// skus
- public AvailableSkuRequest(string country, string location, IList skuNames = default(IList))
+ public AvailableSkuRequest(TransferType transferType, string country, string location, IList skuNames = default(IList))
{
+ TransferType = transferType;
Country = country;
Location = location;
SkuNames = skuNames;
CustomInit();
}
- ///
- /// Static constructor for AvailableSkuRequest class.
- ///
- static AvailableSkuRequest()
- {
- TransferType = "ImportToAzure";
- }
///
/// An initialization method that performs custom operations like setting defaults
///
partial void CustomInit();
+ ///
+ /// Gets or sets type of the transfer. Possible values include:
+ /// 'ImportToAzure', 'ExportFromAzure'
+ ///
+ [JsonProperty(PropertyName = "transferType")]
+ public TransferType TransferType { get; set; }
+
///
/// Gets or sets ISO country code. Country for hardware shipment. For
/// codes check:
@@ -81,12 +84,6 @@ static AvailableSkuRequest()
[JsonProperty(PropertyName = "skuNames")]
public IList SkuNames { get; set; }
- ///
- /// Type of the transfer.
- ///
- [JsonProperty(PropertyName = "transferType")]
- public static string TransferType { get; private set; }
-
///
/// Validate the object.
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AzureFileFilterDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AzureFileFilterDetails.cs
new file mode 100644
index 0000000000000..d810a79e48735
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/AzureFileFilterDetails.cs
@@ -0,0 +1,72 @@
+//
+// 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;
+
+ ///
+ /// Filter details to transfer Azure files
+ ///
+ public partial class AzureFileFilterDetails
+ {
+ ///
+ /// Initializes a new instance of the AzureFileFilterDetails class.
+ ///
+ public AzureFileFilterDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the AzureFileFilterDetails class.
+ ///
+ /// Prefix list of the Azure files to be
+ /// transferred.
+ /// List of full path of the files to be
+ /// transferred.
+ /// List of file shares to be
+ /// transferred.
+ public AzureFileFilterDetails(IList filePrefixList = default(IList), IList filePathList = default(IList), IList fileShareList = default(IList))
+ {
+ FilePrefixList = filePrefixList;
+ FilePathList = filePathList;
+ FileShareList = fileShareList;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets prefix list of the Azure files to be transferred.
+ ///
+ [JsonProperty(PropertyName = "filePrefixList")]
+ public IList FilePrefixList { get; set; }
+
+ ///
+ /// Gets or sets list of full path of the files to be transferred.
+ ///
+ [JsonProperty(PropertyName = "filePathList")]
+ public IList FilePathList { get; set; }
+
+ ///
+ /// Gets or sets list of file shares to be transferred.
+ ///
+ [JsonProperty(PropertyName = "fileShareList")]
+ public IList FileShareList { get; set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/BlobFilterDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/BlobFilterDetails.cs
new file mode 100644
index 0000000000000..044c191a3723a
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/BlobFilterDetails.cs
@@ -0,0 +1,72 @@
+//
+// 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;
+
+ ///
+ /// Filter details to transfer Azure Blobs
+ ///
+ public partial class BlobFilterDetails
+ {
+ ///
+ /// Initializes a new instance of the BlobFilterDetails class.
+ ///
+ public BlobFilterDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the BlobFilterDetails class.
+ ///
+ /// Prefix list of the Azure blobs to be
+ /// transferred.
+ /// List of full path of the blobs to be
+ /// transferred.
+ /// List of blob containers to be
+ /// transferred.
+ public BlobFilterDetails(IList blobPrefixList = default(IList), IList blobPathList = default(IList), IList containerList = default(IList))
+ {
+ BlobPrefixList = blobPrefixList;
+ BlobPathList = blobPathList;
+ ContainerList = containerList;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets prefix list of the Azure blobs to be transferred.
+ ///
+ [JsonProperty(PropertyName = "blobPrefixList")]
+ public IList BlobPrefixList { get; set; }
+
+ ///
+ /// Gets or sets list of full path of the blobs to be transferred.
+ ///
+ [JsonProperty(PropertyName = "blobPathList")]
+ public IList BlobPathList { get; set; }
+
+ ///
+ /// Gets or sets list of blob containers to be transferred.
+ ///
+ [JsonProperty(PropertyName = "containerList")]
+ public IList ContainerList { get; set; }
+
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ClassDiscriminator.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ClassDiscriminator.cs
new file mode 100644
index 0000000000000..d6059f81a2af4
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ClassDiscriminator.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 ClassDiscriminator.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum ClassDiscriminator
+ {
+ ///
+ /// Data Box orders.
+ ///
+ [EnumMember(Value = "DataBox")]
+ DataBox,
+ ///
+ /// Data Box Disk orders.
+ ///
+ [EnumMember(Value = "DataBoxDisk")]
+ DataBoxDisk,
+ ///
+ /// Data Box Heavy orders.
+ ///
+ [EnumMember(Value = "DataBoxHeavy")]
+ DataBoxHeavy
+ }
+ internal static class ClassDiscriminatorEnumExtension
+ {
+ internal static string ToSerializedValue(this ClassDiscriminator? value)
+ {
+ return value == null ? null : ((ClassDiscriminator)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this ClassDiscriminator value)
+ {
+ switch( value )
+ {
+ case ClassDiscriminator.DataBox:
+ return "DataBox";
+ case ClassDiscriminator.DataBoxDisk:
+ return "DataBoxDisk";
+ case ClassDiscriminator.DataBoxHeavy:
+ return "DataBoxHeavy";
+ }
+ return null;
+ }
+
+ internal static ClassDiscriminator? ParseClassDiscriminator(this string value)
+ {
+ switch( value )
+ {
+ case "DataBox":
+ return ClassDiscriminator.DataBox;
+ case "DataBoxDisk":
+ return ClassDiscriminator.DataBoxDisk;
+ case "DataBoxHeavy":
+ return ClassDiscriminator.DataBoxHeavy;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyLogDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyLogDetails.cs
index 7740e36054838..35fdb61cfb944 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyLogDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CopyLogDetails.cs
@@ -10,11 +10,13 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Newtonsoft.Json;
using System.Linq;
///
/// Details for log generated during copy.
///
+ [Newtonsoft.Json.JsonObject("CopyLogDetails")]
public partial class CopyLogDetails
{
///
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 6dc761ebe049a..ba226709a480e 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
@@ -29,20 +29,20 @@ public CopyProgress()
///
/// Initializes a new instance of the CopyProgress class.
///
- /// Name of the storage account where
- /// the data needs to be uploaded.
- /// Data Destination Type. Possible
- /// values include: 'StorageAccount', 'ManagedDisk'
+ /// Name of the storage account. This
+ /// will be empty for data account types other than storage
+ /// account.
+ /// Transfer type of data. Possible values
+ /// include: 'ImportToAzure', 'ExportFromAzure'
+ /// Data Account 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.
+ /// To indicate bytes transferred.
/// Total amount of data to be
/// processed by the job.
- /// Number of files processed by the job
- /// as of now.
- /// Total number of files to be
- /// processed by the job.
+ /// Number of files processed
+ /// Total files to process
/// Number of files not adhering to
/// azure naming conventions which were processed by automatic
/// renaming
@@ -54,12 +54,21 @@ public CopyProgress()
/// 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?))
+ /// To indicate directories errored
+ /// out in the job.
+ /// To indicate directories
+ /// renamed
+ /// To indicate if enumeration of
+ /// data is in progress.
+ /// Until this is true, the TotalBytesToProcess may not be
+ /// valid.
+ public CopyProgress(string storageAccountName = default(string), TransferType? transferType = default(TransferType?), DataAccountType? dataAccountType = default(DataAccountType?), string accountId = default(string), long? bytesProcessed = 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?), long? directoriesErroredOut = default(long?), long? invalidDirectoriesProcessed = default(long?), bool? isEnumerationInProgress = default(bool?))
{
StorageAccountName = storageAccountName;
- DataDestinationType = dataDestinationType;
+ TransferType = transferType;
+ DataAccountType = dataAccountType;
AccountId = accountId;
- BytesSentToCloud = bytesSentToCloud;
+ BytesProcessed = bytesProcessed;
TotalBytesToProcess = totalBytesToProcess;
FilesProcessed = filesProcessed;
TotalFilesToProcess = totalFilesToProcess;
@@ -67,6 +76,9 @@ public CopyProgress()
InvalidFileBytesUploaded = invalidFileBytesUploaded;
RenamedContainerCount = renamedContainerCount;
FilesErroredOut = filesErroredOut;
+ DirectoriesErroredOut = directoriesErroredOut;
+ InvalidDirectoriesProcessed = invalidDirectoriesProcessed;
+ IsEnumerationInProgress = isEnumerationInProgress;
CustomInit();
}
@@ -76,18 +88,25 @@ public CopyProgress()
partial void CustomInit();
///
- /// Gets name of the storage account where the data needs to be
- /// uploaded.
+ /// Gets name of the storage account. This will be empty for data
+ /// account types other than storage account.
///
[JsonProperty(PropertyName = "storageAccountName")]
public string StorageAccountName { get; private set; }
///
- /// Gets data Destination Type. Possible values include:
- /// 'StorageAccount', 'ManagedDisk'
+ /// Gets transfer type of data. Possible values include:
+ /// 'ImportToAzure', 'ExportFromAzure'
+ ///
+ [JsonProperty(PropertyName = "transferType")]
+ public TransferType? TransferType { get; private set; }
+
+ ///
+ /// Gets data Account Type. Possible values include: 'StorageAccount',
+ /// 'ManagedDisk'
///
- [JsonProperty(PropertyName = "dataDestinationType")]
- public DataDestinationType? DataDestinationType { get; private set; }
+ [JsonProperty(PropertyName = "dataAccountType")]
+ public DataAccountType? DataAccountType { get; private set; }
///
/// Gets id of the account where the data needs to be uploaded.
@@ -96,10 +115,10 @@ public CopyProgress()
public string AccountId { get; private set; }
///
- /// Gets amount of data uploaded by the job as of now.
+ /// Gets to indicate bytes transferred.
///
- [JsonProperty(PropertyName = "bytesSentToCloud")]
- public long? BytesSentToCloud { get; private set; }
+ [JsonProperty(PropertyName = "bytesProcessed")]
+ public long? BytesProcessed { get; private set; }
///
/// Gets total amount of data to be processed by the job.
@@ -108,13 +127,13 @@ public CopyProgress()
public long? TotalBytesToProcess { get; private set; }
///
- /// Gets number of files processed by the job as of now.
+ /// Gets number of files processed
///
[JsonProperty(PropertyName = "filesProcessed")]
public long? FilesProcessed { get; private set; }
///
- /// Gets total number of files to be processed by the job.
+ /// Gets total files to process
///
[JsonProperty(PropertyName = "totalFilesToProcess")]
public long? TotalFilesToProcess { get; private set; }
@@ -146,5 +165,24 @@ public CopyProgress()
[JsonProperty(PropertyName = "filesErroredOut")]
public long? FilesErroredOut { get; private set; }
+ ///
+ /// Gets to indicate directories errored out in the job.
+ ///
+ [JsonProperty(PropertyName = "directoriesErroredOut")]
+ public long? DirectoriesErroredOut { get; private set; }
+
+ ///
+ /// Gets to indicate directories renamed
+ ///
+ [JsonProperty(PropertyName = "invalidDirectoriesProcessed")]
+ public long? InvalidDirectoriesProcessed { get; private set; }
+
+ ///
+ /// Gets to indicate if enumeration of data is in progress.
+ /// Until this is true, the TotalBytesToProcess may not be valid.
+ ///
+ [JsonProperty(PropertyName = "isEnumerationInProgress")]
+ public bool? IsEnumerationInProgress { get; private set; }
+
}
}
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
index 7e8ea02a7d757..ebf921436c6bd 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationResponseProperties.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/CreateOrderLimitForSubscriptionValidationResponseProperties.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
@@ -36,7 +37,7 @@ public CreateOrderLimitForSubscriptionValidationResponseProperties()
/// response.
/// Create order limit validation status. Possible
/// values include: 'Valid', 'Invalid', 'Skipped'
- public CreateOrderLimitForSubscriptionValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ public CreateOrderLimitForSubscriptionValidationResponseProperties(CloudError error = default(CloudError), ValidationStatus? status = default(ValidationStatus?))
: base(error)
{
Status = status;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataAccountDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataAccountDetails.cs
new file mode 100644
index 0000000000000..8006c2f5961ca
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataAccountDetails.cs
@@ -0,0 +1,69 @@
+//
+// 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;
+
+ ///
+ /// Account details of the data to be transferred
+ ///
+ [Newtonsoft.Json.JsonObject("DataAccountDetails")]
+ public partial class DataAccountDetails
+ {
+ ///
+ /// Initializes a new instance of the DataAccountDetails class.
+ ///
+ public DataAccountDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataAccountDetails class.
+ ///
+ /// Password for all the shares to be
+ /// created on the device. Should not be passed for
+ /// TransferType:ExportFromAzure jobs. If this is not passed, the
+ /// service will generate password itself. This will not be returned in
+ /// Get Call. Password Requirements : Password must be minimum of 12
+ /// and maximum of 64 characters. Password must have at least one
+ /// uppercase alphabet, one number and one special character. Password
+ /// cannot have the following characters : IilLoO0 Password can have
+ /// only alphabets, numbers and these characters :
+ /// @#\-$%^!+=;:_()]+
+ public DataAccountDetails(string sharePassword = default(string))
+ {
+ SharePassword = sharePassword;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets password for all the shares to be created on the
+ /// device. Should not be passed for TransferType:ExportFromAzure jobs.
+ /// If this is not passed, the service will generate password itself.
+ /// This will not be returned in Get Call. Password Requirements :
+ /// Password must be minimum of 12 and maximum of 64 characters.
+ /// Password must have at least one uppercase alphabet, one number and
+ /// one special character. Password cannot have the following
+ /// characters : IilLoO0 Password can have only alphabets, numbers and
+ /// these characters : @#\-$%^!+=;:_()]+
+ ///
+ [JsonProperty(PropertyName = "sharePassword")]
+ public string SharePassword { get; 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/DataAccountType.cs
similarity index 64%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationType.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataAccountType.cs
index 4e4cd79baad5f..4c90998333b0b 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationType.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataAccountType.cs
@@ -16,10 +16,10 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Runtime.Serialization;
///
- /// Defines values for DataDestinationType.
+ /// Defines values for DataAccountType.
///
[JsonConverter(typeof(StringEnumConverter))]
- public enum DataDestinationType
+ public enum DataAccountType
{
///
/// Storage Accounts .
@@ -32,33 +32,33 @@ public enum DataDestinationType
[EnumMember(Value = "ManagedDisk")]
ManagedDisk
}
- internal static class DataDestinationTypeEnumExtension
+ internal static class DataAccountTypeEnumExtension
{
- internal static string ToSerializedValue(this DataDestinationType? value)
+ internal static string ToSerializedValue(this DataAccountType? value)
{
- return value == null ? null : ((DataDestinationType)value).ToSerializedValue();
+ return value == null ? null : ((DataAccountType)value).ToSerializedValue();
}
- internal static string ToSerializedValue(this DataDestinationType value)
+ internal static string ToSerializedValue(this DataAccountType value)
{
switch( value )
{
- case DataDestinationType.StorageAccount:
+ case DataAccountType.StorageAccount:
return "StorageAccount";
- case DataDestinationType.ManagedDisk:
+ case DataAccountType.ManagedDisk:
return "ManagedDisk";
}
return null;
}
- internal static DataDestinationType? ParseDataDestinationType(this string value)
+ internal static DataAccountType? ParseDataAccountType(this string value)
{
switch( value )
{
case "StorageAccount":
- return DataDestinationType.StorageAccount;
+ return DataAccountType.StorageAccount;
case "ManagedDisk":
- return DataDestinationType.ManagedDisk;
+ return DataAccountType.ManagedDisk;
}
return null;
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxAccountCopyLogDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxAccountCopyLogDetails.cs
index 5f5fce380d601..ffc5dafa407cb 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxAccountCopyLogDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxAccountCopyLogDetails.cs
@@ -32,12 +32,15 @@ public DataBoxAccountCopyLogDetails()
/// Initializes a new instance of the DataBoxAccountCopyLogDetails
/// class.
///
- /// Destination account name.
+ /// Account name.
/// Link for copy logs.
- public DataBoxAccountCopyLogDetails(string accountName = default(string), string copyLogLink = default(string))
+ /// Link for copy verbose logs. This
+ /// will be set only when LogCollectionLevel is set to Verbose.
+ public DataBoxAccountCopyLogDetails(string accountName = default(string), string copyLogLink = default(string), string copyVerboseLogLink = default(string))
{
AccountName = accountName;
CopyLogLink = copyLogLink;
+ CopyVerboseLogLink = copyVerboseLogLink;
CustomInit();
}
@@ -47,7 +50,7 @@ public DataBoxAccountCopyLogDetails()
partial void CustomInit();
///
- /// Gets destination account name.
+ /// Gets account name.
///
[JsonProperty(PropertyName = "accountName")]
public string AccountName { get; private set; }
@@ -58,5 +61,12 @@ public DataBoxAccountCopyLogDetails()
[JsonProperty(PropertyName = "copyLogLink")]
public string CopyLogLink { get; private set; }
+ ///
+ /// Gets link for copy verbose logs. This will be set only when
+ /// LogCollectionLevel is set to Verbose.
+ ///
+ [JsonProperty(PropertyName = "copyVerboseLogLink")]
+ public string CopyVerboseLogLink { 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 ca94c148aa459..7a8858da1908e 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
@@ -34,26 +34,28 @@ public DataBoxDiskJobDetails()
///
/// Contact details for notification and
/// shipping.
+ /// List of stages that run in the job.
/// Shipping address of the
/// customer.
- /// Destination account
- /// details.
- /// 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.
/// Return package shipping
/// details.
- /// Error details for failure. This is
- /// optional.
+ /// Details of the data to be imported
+ /// into azure.
+ /// Details of the data to be exported
+ /// from azure.
/// Preferences for the order.
/// List of copy log details.
/// Shared access key to
/// download the return shipment label
/// Shared access key to download
/// the chain of custody logs
+ /// Details about which key encryption
+ /// type is being used.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// User preference on what size disks are
/// needed for the job. The map is from the disk size in TB to the
/// count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will
@@ -64,8 +66,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, IList jobStages = default(IList), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList dataImportDetails = default(IList), IList dataExportDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int? expectedDataSizeInTerabytes = default(int?), IDictionary preferredDisks = default(IDictionary), IList copyProgress = default(IList), IDictionary disksAndSizeDetails = default(IDictionary), string passkey = default(string))
+ : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTerabytes)
{
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 9a9612da52224..92bf1905382f4 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
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,13 +35,14 @@ public DataBoxDiskJobSecrets()
///
/// Dc Access Security Code for
/// Customer Managed Shipping
+ /// Error while fetching the secrets.
/// Contains the list of secrets object for
/// that device.
/// PassKey for the disk Job.
/// Whether passkey was provided by
/// user.
- public DataBoxDiskJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), IList diskSecrets = default(IList), string passKey = default(string), bool? isPasskeyUserDefined = default(bool?))
- : base(dcAccessSecurityCode)
+ public DataBoxDiskJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), CloudError error = default(CloudError), IList diskSecrets = default(IList), string passKey = default(string), bool? isPasskeyUserDefined = default(bool?))
+ : base(dcAccessSecurityCode, error)
{
DiskSecrets = diskSecrets;
PassKey = passKey;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs
index 39c21b88a9849..2d8117a6e15e2 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxHeavyAccountCopyLogDetails.cs
@@ -34,12 +34,16 @@ public DataBoxHeavyAccountCopyLogDetails()
/// Initializes a new instance of the DataBoxHeavyAccountCopyLogDetails
/// class.
///
- /// Destination account name.
+ /// Account name.
/// Link for copy logs.
- public DataBoxHeavyAccountCopyLogDetails(string accountName = default(string), IList copyLogLink = default(IList))
+ /// Link for copy verbose logs. This
+ /// will be set only when the LogCollectionLevel is set to
+ /// verbose.
+ public DataBoxHeavyAccountCopyLogDetails(string accountName = default(string), IList copyLogLink = default(IList), IList copyVerboseLogLink = default(IList))
{
AccountName = accountName;
CopyLogLink = copyLogLink;
+ CopyVerboseLogLink = copyVerboseLogLink;
CustomInit();
}
@@ -49,7 +53,7 @@ public DataBoxHeavyAccountCopyLogDetails()
partial void CustomInit();
///
- /// Gets destination account name.
+ /// Gets account name.
///
[JsonProperty(PropertyName = "accountName")]
public string AccountName { get; private set; }
@@ -60,5 +64,12 @@ public DataBoxHeavyAccountCopyLogDetails()
[JsonProperty(PropertyName = "copyLogLink")]
public IList CopyLogLink { get; private set; }
+ ///
+ /// Gets link for copy verbose logs. This will be set only when the
+ /// LogCollectionLevel is set to verbose.
+ ///
+ [JsonProperty(PropertyName = "copyVerboseLogLink")]
+ public IList CopyVerboseLogLink { get; private set; }
+
}
}
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 dfbf1b3eac922..96b13fb7350e1 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
@@ -34,31 +34,41 @@ public DataBoxHeavyJobDetails()
///
/// Contact details for notification and
/// shipping.
+ /// List of stages that run in the job.
/// Shipping address of the
/// customer.
- /// Destination account
- /// details.
- /// 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.
/// Return package shipping
/// details.
- /// Error details for failure. This is
- /// optional.
+ /// Details of the data to be imported
+ /// into azure.
+ /// Details of the data to be exported
+ /// from azure.
/// Preferences for the order.
/// List of copy log details.
/// Shared access key to
/// download the return shipment label
/// Shared access key to download
/// the chain of custody logs
+ /// Details about which key encryption
+ /// type is being used.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// Copy progress per account.
/// 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)
+ /// Databox Heavy. Should not be passed for
+ /// TransferType:ExportFromAzure jobs. If this is not passed, the
+ /// service will generate password itself. This will not be returned in
+ /// Get Call. Password Requirements : Password must be minimum of 12
+ /// and maximum of 64 characters. Password must have at least one
+ /// uppercase alphabet, one number and one special character. Password
+ /// cannot have the following characters : IilLoO0 Password can have
+ /// only alphabets, numbers and these characters :
+ /// @#\-$%^!+=;:_()]+
+ public DataBoxHeavyJobDetails(ContactDetails contactDetails, IList jobStages = default(IList), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList dataImportDetails = default(IList), IList dataExportDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int? expectedDataSizeInTerabytes = default(int?), IList copyProgress = default(IList), string devicePassword = default(string))
+ : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTerabytes)
{
CopyProgress = copyProgress;
DevicePassword = devicePassword;
@@ -77,7 +87,15 @@ public DataBoxHeavyJobDetails()
public IList CopyProgress { get; private set; }
///
- /// Gets or sets set Device password for unlocking Databox Heavy
+ /// Gets or sets set Device password for unlocking Databox Heavy.
+ /// Should not be passed for TransferType:ExportFromAzure jobs. If this
+ /// is not passed, the service will generate password itself. This will
+ /// not be returned in Get Call. Password Requirements : Password must
+ /// be minimum of 12 and maximum of 64 characters. Password must have
+ /// at least one uppercase alphabet, one number and one special
+ /// character. Password cannot have the following characters : IilLoO0
+ /// Password can have only alphabets, numbers and these characters :
+ /// @#\-$%^!+=;:_()]+
///
[JsonProperty(PropertyName = "devicePassword")]
public string DevicePassword { get; set; }
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 bb493239b4f58..a9543c98bf00a 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
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,10 +35,11 @@ public DataBoxHeavyJobSecrets()
///
/// Dc Access Security Code for
/// Customer Managed Shipping
+ /// Error while fetching the secrets.
/// Contains the list of secret objects
/// for a databox heavy job.
- public DataBoxHeavyJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), IList cabinetPodSecrets = default(IList))
- : base(dcAccessSecurityCode)
+ public DataBoxHeavyJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), CloudError error = default(CloudError), IList cabinetPodSecrets = default(IList))
+ : base(dcAccessSecurityCode, error)
{
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 22b3ae5e9aee8..36af674c04db8 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
@@ -34,32 +34,41 @@ public DataBoxJobDetails()
///
/// Contact details for notification and
/// shipping.
+ /// List of stages that run in the job.
/// Shipping address of the
/// customer.
- /// Destination account
- /// details.
- /// 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.
/// Return package shipping
/// details.
- /// Error details for failure. This is
- /// optional.
+ /// Details of the data to be imported
+ /// into azure.
+ /// Details of the data to be exported
+ /// from azure.
/// Preferences for the order.
/// List of copy log details.
/// Shared access key to
/// download the return shipment label
/// Shared access key to download
/// the chain of custody logs
+ /// Details about which key encryption
+ /// type is being used.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
/// Copy progress per storage
/// account.
/// 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)
+ /// Databox. Should not be passed for TransferType:ExportFromAzure
+ /// jobs. If this is not passed, the service will generate password
+ /// itself. This will not be returned in Get Call. Password
+ /// Requirements : Password must be minimum of 12 and maximum of 64
+ /// characters. Password must have at least one uppercase alphabet, one
+ /// number and one special character. Password cannot have the
+ /// following characters : IilLoO0 Password can have only alphabets,
+ /// numbers and these characters : @#\-$%^!+=;:_()]+
+ public DataBoxJobDetails(ContactDetails contactDetails, IList jobStages = default(IList), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList dataImportDetails = default(IList), IList dataExportDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int? expectedDataSizeInTerabytes = default(int?), IList copyProgress = default(IList), string devicePassword = default(string))
+ : base(contactDetails, jobStages, shippingAddress, deliveryPackage, returnPackage, dataImportDetails, dataExportDetails, preferences, copyLogDetails, reverseShipmentLabelSasKey, chainOfCustodySasKey, keyEncryptionKey, expectedDataSizeInTerabytes)
{
CopyProgress = copyProgress;
DevicePassword = devicePassword;
@@ -78,7 +87,15 @@ public DataBoxJobDetails()
public IList CopyProgress { get; private set; }
///
- /// Gets or sets set Device password for unlocking Databox
+ /// Gets or sets set Device password for unlocking Databox. Should not
+ /// be passed for TransferType:ExportFromAzure jobs. If this is not
+ /// passed, the service will generate password itself. This will not be
+ /// returned in Get Call. Password Requirements : Password must be
+ /// minimum of 12 and maximum of 64 characters. Password must have at
+ /// least one uppercase alphabet, one number and one special character.
+ /// Password cannot have the following characters : IilLoO0 Password
+ /// can have only alphabets, numbers and these characters :
+ /// @#\-$%^!+=;:_()]+
///
[JsonProperty(PropertyName = "devicePassword")]
public string DevicePassword { get; set; }
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
index 6ac87e14452df..abbec9ee7c758 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxScheduleAvailabilityRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataBoxScheduleAvailabilityRequest.cs
@@ -33,11 +33,13 @@ public DataBoxScheduleAvailabilityRequest()
/// Initializes a new instance of the
/// DataBoxScheduleAvailabilityRequest class.
///
- /// Location for data transfer.
- /// For locations check:
+ /// 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)
+ /// Country in which storage location should be
+ /// supported.
+ public DataBoxScheduleAvailabilityRequest(string storageLocation, string country = default(string))
+ : base(storageLocation, country)
{
CustomInit();
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataExportDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataExportDetails.cs
new file mode 100644
index 0000000000000..99f722d33b692
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataExportDetails.cs
@@ -0,0 +1,93 @@
+//
+// 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 of the data to be used for exporting data from azure.
+ ///
+ public partial class DataExportDetails
+ {
+ ///
+ /// Initializes a new instance of the DataExportDetails class.
+ ///
+ public DataExportDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataExportDetails class.
+ ///
+ /// Configuration for the data
+ /// transfer.
+ /// Account details of the data to be
+ /// transferred
+ /// Level of the logs to be collected.
+ /// Possible values include: 'Error', 'Verbose'
+ public DataExportDetails(TransferConfiguration transferConfiguration, DataAccountDetails accountDetails, LogCollectionLevel? logCollectionLevel = default(LogCollectionLevel?))
+ {
+ TransferConfiguration = transferConfiguration;
+ LogCollectionLevel = logCollectionLevel;
+ AccountDetails = accountDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets configuration for the data transfer.
+ ///
+ [JsonProperty(PropertyName = "transferConfiguration")]
+ public TransferConfiguration TransferConfiguration { get; set; }
+
+ ///
+ /// Gets or sets level of the logs to be collected. Possible values
+ /// include: 'Error', 'Verbose'
+ ///
+ [JsonProperty(PropertyName = "logCollectionLevel")]
+ public LogCollectionLevel? LogCollectionLevel { get; set; }
+
+ ///
+ /// Gets or sets account details of the data to be transferred
+ ///
+ [JsonProperty(PropertyName = "accountDetails")]
+ public DataAccountDetails AccountDetails { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (TransferConfiguration == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "TransferConfiguration");
+ }
+ if (AccountDetails == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "AccountDetails");
+ }
+ if (TransferConfiguration != null)
+ {
+ TransferConfiguration.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataImportDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataImportDetails.cs
new file mode 100644
index 0000000000000..d3049bced2b1b
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataImportDetails.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 Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Details of the data to be used for importing data to azure.
+ ///
+ public partial class DataImportDetails
+ {
+ ///
+ /// Initializes a new instance of the DataImportDetails class.
+ ///
+ public DataImportDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the DataImportDetails class.
+ ///
+ /// Account details of the data to be
+ /// transferred
+ public DataImportDetails(DataAccountDetails accountDetails)
+ {
+ AccountDetails = accountDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets account details of the data to be transferred
+ ///
+ [JsonProperty(PropertyName = "accountDetails")]
+ public DataAccountDetails AccountDetails { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (AccountDetails == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "AccountDetails");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataLocationToServiceLocationMap.cs
similarity index 62%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataLocationToServiceLocationMap.cs
index 953a74df90a44..f4794a7d02aca 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationToServiceLocationMap.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataLocationToServiceLocationMap.cs
@@ -14,29 +14,28 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Map of destination location to service location.
+ /// Map of data location to service location
///
- public partial class DestinationToServiceLocationMap
+ public partial class DataLocationToServiceLocationMap
{
///
- /// Initializes a new instance of the DestinationToServiceLocationMap
+ /// Initializes a new instance of the DataLocationToServiceLocationMap
/// class.
///
- public DestinationToServiceLocationMap()
+ public DataLocationToServiceLocationMap()
{
CustomInit();
}
///
- /// Initializes a new instance of the DestinationToServiceLocationMap
+ /// Initializes a new instance of the DataLocationToServiceLocationMap
/// class.
///
- /// Location of the
- /// destination.
+ /// Location of the data.
/// Location of the service.
- public DestinationToServiceLocationMap(string destinationLocation = default(string), string serviceLocation = default(string))
+ public DataLocationToServiceLocationMap(string dataLocation = default(string), string serviceLocation = default(string))
{
- DestinationLocation = destinationLocation;
+ DataLocation = dataLocation;
ServiceLocation = serviceLocation;
CustomInit();
}
@@ -47,10 +46,10 @@ public DestinationToServiceLocationMap()
partial void CustomInit();
///
- /// Gets location of the destination.
+ /// Gets location of the data.
///
- [JsonProperty(PropertyName = "destinationLocation")]
- public string DestinationLocation { get; private set; }
+ [JsonProperty(PropertyName = "dataLocation")]
+ public string DataLocation { get; private set; }
///
/// Gets location of the service.
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationRequest.cs
new file mode 100644
index 0000000000000..17b315b68f951
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationRequest.cs
@@ -0,0 +1,117 @@
+//
+// 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;
+
+ ///
+ /// Request to validate export and import data details.
+ ///
+ [Newtonsoft.Json.JsonObject("ValidateDataTransferDetails")]
+ public partial class DataTransferDetailsValidationRequest : ValidationInputRequest
+ {
+ ///
+ /// Initializes a new instance of the
+ /// DataTransferDetailsValidationRequest class.
+ ///
+ public DataTransferDetailsValidationRequest()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// DataTransferDetailsValidationRequest class.
+ ///
+ /// Device type. Possible values include:
+ /// 'DataBox', 'DataBoxDisk', 'DataBoxHeavy'
+ /// Type of the transfer. Possible values
+ /// include: 'ImportToAzure', 'ExportFromAzure'
+ /// List of DataTransfer details to be
+ /// used to export data from azure.
+ /// List of DataTransfer details to be
+ /// used to import data to azure.
+ public DataTransferDetailsValidationRequest(SkuName deviceType, TransferType transferType, IList dataExportDetails = default(IList), IList dataImportDetails = default(IList))
+ {
+ DataExportDetails = dataExportDetails;
+ DataImportDetails = dataImportDetails;
+ DeviceType = deviceType;
+ TransferType = transferType;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets list of DataTransfer details to be used to export data
+ /// from azure.
+ ///
+ [JsonProperty(PropertyName = "dataExportDetails")]
+ public IList DataExportDetails { get; set; }
+
+ ///
+ /// Gets or sets list of DataTransfer details to be used to import data
+ /// to azure.
+ ///
+ [JsonProperty(PropertyName = "dataImportDetails")]
+ public IList DataImportDetails { get; set; }
+
+ ///
+ /// Gets or sets device type. Possible values include: 'DataBox',
+ /// 'DataBoxDisk', 'DataBoxHeavy'
+ ///
+ [JsonProperty(PropertyName = "deviceType")]
+ public SkuName DeviceType { get; set; }
+
+ ///
+ /// Gets or sets type of the transfer. Possible values include:
+ /// 'ImportToAzure', 'ExportFromAzure'
+ ///
+ [JsonProperty(PropertyName = "transferType")]
+ public TransferType TransferType { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (DataExportDetails != null)
+ {
+ foreach (var element in DataExportDetails)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ if (DataImportDetails != null)
+ {
+ foreach (var element1 in DataImportDetails)
+ {
+ if (element1 != null)
+ {
+ element1.Validate();
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationResponseProperties.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationResponseProperties.cs
similarity index 64%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationResponseProperties.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationResponseProperties.cs
index cf77b4b3db2f5..8df7210f1cab4 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationResponseProperties.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataTransferDetailsValidationResponseProperties.cs
@@ -10,33 +10,34 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
///
- /// Properties of data destination details validation response.
+ /// Properties of data transfer details validation response.
///
- [Newtonsoft.Json.JsonObject("ValidateDataDestinationDetails")]
- public partial class DataDestinationDetailsValidationResponseProperties : ValidationInputResponse
+ [Newtonsoft.Json.JsonObject("ValidateDataTransferDetails")]
+ public partial class DataTransferDetailsValidationResponseProperties : ValidationInputResponse
{
///
/// Initializes a new instance of the
- /// DataDestinationDetailsValidationResponseProperties class.
+ /// DataTransferDetailsValidationResponseProperties class.
///
- public DataDestinationDetailsValidationResponseProperties()
+ public DataTransferDetailsValidationResponseProperties()
{
CustomInit();
}
///
/// Initializes a new instance of the
- /// DataDestinationDetailsValidationResponseProperties class.
+ /// DataTransferDetailsValidationResponseProperties class.
///
/// Error code and message of validation
/// response.
- /// Data destination details validation status.
+ /// Data transfer details validation status.
/// Possible values include: 'Valid', 'Invalid', 'Skipped'
- public DataDestinationDetailsValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ public DataTransferDetailsValidationResponseProperties(CloudError error = default(CloudError), ValidationStatus? status = default(ValidationStatus?))
: base(error)
{
Status = status;
@@ -49,7 +50,7 @@ public DataDestinationDetailsValidationResponseProperties()
partial void CustomInit();
///
- /// Gets data destination details validation status. Possible values
+ /// Gets data transfer details validation status. Possible values
/// include: 'Valid', 'Invalid', 'Skipped'
///
[JsonProperty(PropertyName = "status")]
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 baf1c84a336bc..acfc042d67e43 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
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
@@ -34,10 +35,11 @@ public DataboxJobSecrets()
///
/// Dc Access Security Code for
/// Customer Managed Shipping
+ /// Error while fetching the secrets.
/// Contains the list of secret objects for a
/// job.
- public DataboxJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), IList podSecrets = default(IList))
- : base(dcAccessSecurityCode)
+ public DataboxJobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), CloudError error = default(CloudError), IList podSecrets = default(IList))
+ : base(dcAccessSecurityCode, error)
{
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
index d1e663694f7b4..f31891cc93869 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DcAccessSecurityCode.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DcAccessSecurityCode.cs
@@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Dc Access Security code for device.
+ /// Dc access security code
///
public partial class DcAccessSecurityCode
{
@@ -29,14 +29,14 @@ public DcAccessSecurityCode()
///
/// 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))
+ /// Reverse Dc access security
+ /// code.
+ /// Forward Dc access security
+ /// code.
+ public DcAccessSecurityCode(string reverseDcAccessCode = default(string), string forwardDcAccessCode = default(string))
{
- ForwardDcAccessCode = forwardDcAccessCode;
ReverseDcAccessCode = reverseDcAccessCode;
+ ForwardDcAccessCode = forwardDcAccessCode;
CustomInit();
}
@@ -46,16 +46,16 @@ public DcAccessSecurityCode()
partial void CustomInit();
///
- /// Gets or sets dc Access Code for dispatching from DC.
+ /// Gets or sets reverse Dc access security code.
///
- [JsonProperty(PropertyName = "forwardDcAccessCode")]
- public string ForwardDcAccessCode { get; set; }
+ [JsonProperty(PropertyName = "reverseDcAccessCode")]
+ public string ReverseDcAccessCode { get; set; }
///
- /// Gets or sets dc Access code for dropping off at DC.
+ /// Gets or sets forward Dc access security code.
///
- [JsonProperty(PropertyName = "reverseDcAccessCode")]
- public string ReverseDcAccessCode { get; set; }
+ [JsonProperty(PropertyName = "forwardDcAccessCode")]
+ public string ForwardDcAccessCode { 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
deleted file mode 100644
index a2bebe2f6b633..0000000000000
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationAccountDetails.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// 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;
-
- ///
- /// Details of the destination storage accounts.
- ///
- public partial class DestinationAccountDetails
- {
- ///
- /// Initializes a new instance of the DestinationAccountDetails class.
- ///
- public DestinationAccountDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the DestinationAccountDetails class.
- ///
- /// 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();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets arm Id of the destination where the data has to be
- /// moved.
- ///
- [JsonProperty(PropertyName = "accountId")]
- public string AccountId { get; set; }
-
- ///
- /// Gets or sets share password to be shared by all shares in SA.
- ///
- [JsonProperty(PropertyName = "sharePassword")]
- public string SharePassword { get; set; }
-
- }
-}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Error.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Details.cs
similarity index 54%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Error.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Details.cs
index f74d4d6c2875f..520b9eee37d4a 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Error.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Details.cs
@@ -10,30 +10,24 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
- ///
- /// Top level error for the job.
- ///
- public partial class Error
+ public partial class Details
{
///
- /// Initializes a new instance of the Error class.
+ /// Initializes a new instance of the Details class.
///
- public Error()
+ public Details()
{
CustomInit();
}
///
- /// Initializes a new instance of the Error class.
+ /// Initializes a new instance of the Details class.
///
- /// Error code that can be used to programmatically
- /// identify the error.
- /// Describes the error in detail and provides
- /// debugging information.
- public Error(string code = default(string), string message = default(string))
+ public Details(string code, string message)
{
Code = code;
Message = message;
@@ -46,18 +40,31 @@ public Error()
partial void CustomInit();
///
- /// Gets error code that can be used to programmatically identify the
- /// error.
///
[JsonProperty(PropertyName = "code")]
- public string Code { get; private set; }
+ public string Code { get; set; }
///
- /// Gets describes the error in detail and provides debugging
- /// information.
///
[JsonProperty(PropertyName = "message")]
- public string Message { get; private set; }
+ public string Message { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Code == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Code");
+ }
+ if (Message == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Message");
+ }
+ }
}
}
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
index c467c222cdbe6..3c562c617420e 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DiskScheduleAvailabilityRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DiskScheduleAvailabilityRequest.cs
@@ -32,14 +32,16 @@ public DiskScheduleAvailabilityRequest()
/// Initializes a new instance of the DiskScheduleAvailabilityRequest
/// class.
///
- /// Location for data transfer.
- /// For locations check:
+ /// 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)
+ /// Country in which storage location should be
+ /// supported.
+ public DiskScheduleAvailabilityRequest(string storageLocation, int expectedDataSizeInTerabytes, string country = default(string))
+ : base(storageLocation, country)
{
ExpectedDataSizeInTerabytes = expectedDataSizeInTerabytes;
CustomInit();
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationRequest.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ErrorDetail.cs
similarity index 50%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationRequest.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ErrorDetail.cs
index b9e1edfb176a9..5cb4752d0a153 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DataDestinationDetailsValidationRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ErrorDetail.cs
@@ -16,32 +16,25 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Collections.Generic;
using System.Linq;
- ///
- /// Request to validate data destination details.
- ///
- [Newtonsoft.Json.JsonObject("ValidateDataDestinationDetails")]
- public partial class DataDestinationDetailsValidationRequest : ValidationInputRequest
+ public partial class ErrorDetail
{
///
- /// Initializes a new instance of the
- /// DataDestinationDetailsValidationRequest class.
+ /// Initializes a new instance of the ErrorDetail class.
///
- public DataDestinationDetailsValidationRequest()
+ public ErrorDetail()
{
CustomInit();
}
///
- /// Initializes a new instance of the
- /// DataDestinationDetailsValidationRequest class.
+ /// Initializes a new instance of the ErrorDetail class.
///
- /// Destination account details
- /// list.
- /// Location of stamp or geo.
- public DataDestinationDetailsValidationRequest(IList destinationAccountDetails, string location)
+ public ErrorDetail(string code, string message, IList details = default(IList), string target = default(string))
{
- DestinationAccountDetails = destinationAccountDetails;
- Location = location;
+ Code = code;
+ Message = message;
+ Details = details;
+ Target = target;
CustomInit();
}
@@ -51,16 +44,24 @@ public DataDestinationDetailsValidationRequest(IList
partial void CustomInit();
///
- /// Gets or sets destination account details list.
///
- [JsonProperty(PropertyName = "destinationAccountDetails")]
- public IList DestinationAccountDetails { get; set; }
+ [JsonProperty(PropertyName = "code")]
+ public string Code { get; set; }
///
- /// Gets or sets location of stamp or geo.
///
- [JsonProperty(PropertyName = "location")]
- public string Location { get; set; }
+ [JsonProperty(PropertyName = "message")]
+ public string Message { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "details")]
+ public IList Details { get; set; }
+
+ ///
+ ///
+ [JsonProperty(PropertyName = "target")]
+ public string Target { get; set; }
///
/// Validate the object.
@@ -70,13 +71,23 @@ public DataDestinationDetailsValidationRequest(IList
///
public virtual void Validate()
{
- if (DestinationAccountDetails == null)
+ if (Code == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Code");
+ }
+ if (Message == null)
{
- throw new ValidationException(ValidationRules.CannotBeNull, "DestinationAccountDetails");
+ throw new ValidationException(ValidationRules.CannotBeNull, "Message");
}
- if (Location == null)
+ if (Details != null)
{
- throw new ValidationException(ValidationRules.CannotBeNull, "Location");
+ foreach (var element in Details)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
}
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileDetails.cs
new file mode 100644
index 0000000000000..2f6bd5c93bcd8
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileDetails.cs
@@ -0,0 +1,77 @@
+//
+// 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 of the filter files to be used for data transfer.
+ ///
+ public partial class FilterFileDetails
+ {
+ ///
+ /// Initializes a new instance of the FilterFileDetails class.
+ ///
+ public FilterFileDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the FilterFileDetails class.
+ ///
+ /// Type of the filter file. Possible
+ /// values include: 'AzureBlob', 'AzureFile'
+ /// Path of the file that contains the
+ /// details of all items to transfer.
+ public FilterFileDetails(FilterFileType filterFileType, string filterFilePath)
+ {
+ FilterFileType = filterFileType;
+ FilterFilePath = filterFilePath;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets type of the filter file. Possible values include:
+ /// 'AzureBlob', 'AzureFile'
+ ///
+ [JsonProperty(PropertyName = "filterFileType")]
+ public FilterFileType FilterFileType { get; set; }
+
+ ///
+ /// Gets or sets path of the file that contains the details of all
+ /// items to transfer.
+ ///
+ [JsonProperty(PropertyName = "filterFilePath")]
+ public string FilterFilePath { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (FilterFilePath == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "FilterFilePath");
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileType.cs
new file mode 100644
index 0000000000000..1ac0b436db477
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/FilterFileType.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 FilterFileType.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum FilterFileType
+ {
+ ///
+ /// Filter file is of the type AzureBlob.
+ ///
+ [EnumMember(Value = "AzureBlob")]
+ AzureBlob,
+ ///
+ /// Filter file is of the type AzureFiles.
+ ///
+ [EnumMember(Value = "AzureFile")]
+ AzureFile
+ }
+ internal static class FilterFileTypeEnumExtension
+ {
+ internal static string ToSerializedValue(this FilterFileType? value)
+ {
+ return value == null ? null : ((FilterFileType)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this FilterFileType value)
+ {
+ switch( value )
+ {
+ case FilterFileType.AzureBlob:
+ return "AzureBlob";
+ case FilterFileType.AzureFile:
+ return "AzureFile";
+ }
+ return null;
+ }
+
+ internal static FilterFileType? ParseFilterFileType(this string value)
+ {
+ switch( value )
+ {
+ case "AzureBlob":
+ return FilterFileType.AzureBlob;
+ case "AzureFile":
+ return FilterFileType.AzureFile;
+ }
+ return null;
+ }
+ }
+}
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
index d676d5babb683..410796c8f0f36 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/HeavyScheduleAvailabilityRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/HeavyScheduleAvailabilityRequest.cs
@@ -32,11 +32,13 @@ public HeavyScheduleAvailabilityRequest()
/// Initializes a new instance of the HeavyScheduleAvailabilityRequest
/// class.
///
- /// Location for data transfer.
- /// For locations check:
+ /// 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)
+ /// Country in which storage location should be
+ /// supported.
+ public HeavyScheduleAvailabilityRequest(string storageLocation, string country = default(string))
+ : base(storageLocation, country)
{
CustomInit();
}
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 f2b3359d91d89..658a78e6bbe4a 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
@@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
///
/// Job details.
///
+ [Newtonsoft.Json.JsonObject("JobDetails")]
public partial class JobDetails
{
///
@@ -34,40 +35,43 @@ public JobDetails()
///
/// Contact details for notification and
/// shipping.
+ /// List of stages that run in the job.
/// Shipping address of the
/// customer.
- /// Destination account
- /// details.
- /// 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.
/// Return package shipping
/// details.
- /// Error details for failure. This is
- /// optional.
+ /// Details of the data to be imported
+ /// into azure.
+ /// Details of the data to be exported
+ /// from azure.
/// Preferences for the order.
/// List of copy log details.
/// Shared access key to
/// 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))
+ /// Details about which key encryption
+ /// type is being used.
+ /// The expected size of the
+ /// data, which needs to be transferred in this job, in
+ /// terabytes.
+ public JobDetails(ContactDetails contactDetails, IList jobStages = default(IList), ShippingAddress shippingAddress = default(ShippingAddress), PackageShippingDetails deliveryPackage = default(PackageShippingDetails), PackageShippingDetails returnPackage = default(PackageShippingDetails), IList dataImportDetails = default(IList), IList dataExportDetails = default(IList), Preferences preferences = default(Preferences), IList copyLogDetails = default(IList), string reverseShipmentLabelSasKey = default(string), string chainOfCustodySasKey = default(string), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey), int? expectedDataSizeInTerabytes = default(int?))
{
- ExpectedDataSizeInTerabytes = expectedDataSizeInTerabytes;
JobStages = jobStages;
ContactDetails = contactDetails;
ShippingAddress = shippingAddress;
DeliveryPackage = deliveryPackage;
ReturnPackage = returnPackage;
- DestinationAccountDetails = destinationAccountDetails;
- ErrorDetails = errorDetails;
+ DataImportDetails = dataImportDetails;
+ DataExportDetails = dataExportDetails;
Preferences = preferences;
CopyLogDetails = copyLogDetails;
ReverseShipmentLabelSasKey = reverseShipmentLabelSasKey;
ChainOfCustodySasKey = chainOfCustodySasKey;
+ KeyEncryptionKey = keyEncryptionKey;
+ ExpectedDataSizeInTerabytes = expectedDataSizeInTerabytes;
CustomInit();
}
@@ -76,13 +80,6 @@ public JobDetails()
///
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; }
-
///
/// Gets list of stages that run in the job.
///
@@ -114,16 +111,16 @@ public JobDetails()
public PackageShippingDetails ReturnPackage { get; private set; }
///
- /// Gets or sets destination account details.
+ /// Gets or sets details of the data to be imported into azure.
///
- [JsonProperty(PropertyName = "destinationAccountDetails")]
- public IList DestinationAccountDetails { get; set; }
+ [JsonProperty(PropertyName = "dataImportDetails")]
+ public IList DataImportDetails { get; set; }
///
- /// Gets error details for failure. This is optional.
+ /// Gets or sets details of the data to be exported from azure.
///
- [JsonProperty(PropertyName = "errorDetails")]
- public IList ErrorDetails { get; private set; }
+ [JsonProperty(PropertyName = "dataExportDetails")]
+ public IList DataExportDetails { get; set; }
///
/// Gets or sets preferences for the order.
@@ -149,6 +146,19 @@ public JobDetails()
[JsonProperty(PropertyName = "chainOfCustodySasKey")]
public string ChainOfCustodySasKey { get; private set; }
+ ///
+ /// Gets details about which key encryption type is being used.
+ ///
+ [JsonProperty(PropertyName = "keyEncryptionKey")]
+ public KeyEncryptionKey KeyEncryptionKey { get; private set; }
+
+ ///
+ /// 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.
///
@@ -161,14 +171,6 @@ public virtual void Validate()
{
throw new ValidationException(ValidationRules.CannotBeNull, "ContactDetails");
}
- if (ShippingAddress == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "ShippingAddress");
- }
- if (DestinationAccountDetails == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "DestinationAccountDetails");
- }
if (ContactDetails != null)
{
ContactDetails.Validate();
@@ -177,10 +179,34 @@ public virtual void Validate()
{
ShippingAddress.Validate();
}
+ if (DataImportDetails != null)
+ {
+ foreach (var element in DataImportDetails)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ if (DataExportDetails != null)
+ {
+ foreach (var element1 in DataExportDetails)
+ {
+ if (element1 != null)
+ {
+ element1.Validate();
+ }
+ }
+ }
if (Preferences != null)
{
Preferences.Validate();
}
+ if (KeyEncryptionKey != null)
+ {
+ KeyEncryptionKey.Validate();
+ }
}
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobErrorDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobErrorDetails.cs
deleted file mode 100644
index a05fc1749f82d..0000000000000
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/JobErrorDetails.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// 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;
-
- ///
- /// Job Error Details for providing the information and recommended action.
- ///
- public partial class JobErrorDetails
- {
- ///
- /// Initializes a new instance of the JobErrorDetails class.
- ///
- public JobErrorDetails()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the JobErrorDetails class.
- ///
- /// Message for the error.
- /// Code for the error.
- /// Recommended action for the
- /// error.
- /// Contains the non localized exception
- /// message
- public JobErrorDetails(string errorMessage = default(string), int? errorCode = default(int?), string recommendedAction = default(string), string exceptionMessage = default(string))
- {
- ErrorMessage = errorMessage;
- ErrorCode = errorCode;
- RecommendedAction = recommendedAction;
- ExceptionMessage = exceptionMessage;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets message for the error.
- ///
- [JsonProperty(PropertyName = "errorMessage")]
- public string ErrorMessage { get; private set; }
-
- ///
- /// Gets code for the error.
- ///
- [JsonProperty(PropertyName = "errorCode")]
- public int? ErrorCode { get; private set; }
-
- ///
- /// Gets recommended action for the error.
- ///
- [JsonProperty(PropertyName = "recommendedAction")]
- public string RecommendedAction { get; private set; }
-
- ///
- /// Gets contains the non localized exception message
- ///
- [JsonProperty(PropertyName = "exceptionMessage")]
- public string ExceptionMessage { get; private set; }
-
- }
-}
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 33b22944e4fcc..b6028dd1ed05c 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
@@ -11,6 +11,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
@@ -40,15 +41,20 @@ public JobResource()
/// changed once it is created, but if an identical region is specified
/// on update the request will succeed.
/// The sku type.
+ /// Type of the data transfer. Possible
+ /// values include: 'ImportToAzure', 'ExportFromAzure'
/// The list of key value pairs that describe the
/// resource. These tags can be used in viewing and grouping this
/// resource (across resource groups).
+ /// Msi identity of the resource
/// Describes whether the job is
/// cancellable or not.
/// Describes whether the job is deletable or
/// not.
/// Describes whether the
/// shipping address is editable or not.
+ /// Is Prepare To Ship Enabled on
+ /// this job
/// Name of the stage which is in progress.
/// Possible values include: 'DeviceOrdered', 'DevicePrepared',
/// 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy',
@@ -70,12 +76,14 @@ public JobResource()
/// 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), 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)
+ public JobResource(string location, Sku sku, TransferType transferType, IDictionary tags = default(IDictionary), ResourceIdentity identity = default(ResourceIdentity), bool? isCancellable = default(bool?), bool? isDeletable = default(bool?), bool? isShippingAddressEditable = default(bool?), bool? isPrepareToShipEnabled = default(bool?), StageName? status = default(StageName?), System.DateTime? startTime = default(System.DateTime?), CloudError error = default(CloudError), 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, identity)
{
+ TransferType = transferType;
IsCancellable = isCancellable;
IsDeletable = isDeletable;
IsShippingAddressEditable = isShippingAddressEditable;
+ IsPrepareToShipEnabled = isPrepareToShipEnabled;
Status = status;
StartTime = startTime;
Error = error;
@@ -95,6 +103,13 @@ public JobResource()
///
partial void CustomInit();
+ ///
+ /// Gets or sets type of the data transfer. Possible values include:
+ /// 'ImportToAzure', 'ExportFromAzure'
+ ///
+ [JsonProperty(PropertyName = "properties.transferType")]
+ public TransferType TransferType { get; set; }
+
///
/// Gets describes whether the job is cancellable or not.
///
@@ -113,6 +128,12 @@ public JobResource()
[JsonProperty(PropertyName = "properties.isShippingAddressEditable")]
public bool? IsShippingAddressEditable { get; private set; }
+ ///
+ /// Gets is Prepare To Ship Enabled on this job
+ ///
+ [JsonProperty(PropertyName = "properties.isPrepareToShipEnabled")]
+ public bool? IsPrepareToShipEnabled { get; private set; }
+
///
/// Gets name of the stage which is in progress. Possible values
/// include: 'DeviceOrdered', 'DevicePrepared', 'Dispatched',
@@ -135,7 +156,7 @@ public JobResource()
/// Gets top level error for the job.
///
[JsonProperty(PropertyName = "properties.error")]
- public Error Error { get; private set; }
+ public CloudError Error { get; private set; }
///
/// Gets or sets details of a job run. This field will only be sent for
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 c71c30481f449..93b85993d670d 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
@@ -35,16 +35,15 @@ public JobResourceUpdateParameter()
/// Initializes a new instance of the JobResourceUpdateParameter class.
///
/// Details of a job to be updated.
- /// Destination account
- /// details.
/// The list of key value pairs that describe the
/// resource. These tags can be used in viewing and grouping this
/// resource (across resource groups).
- public JobResourceUpdateParameter(UpdateJobDetails details = default(UpdateJobDetails), IList destinationAccountDetails = default(IList), IDictionary tags = default(IDictionary))
+ /// Msi identity of the resource
+ public JobResourceUpdateParameter(UpdateJobDetails details = default(UpdateJobDetails), IDictionary tags = default(IDictionary), ResourceIdentity identity = default(ResourceIdentity))
{
Details = details;
- DestinationAccountDetails = destinationAccountDetails;
Tags = tags;
+ Identity = identity;
CustomInit();
}
@@ -59,12 +58,6 @@ public JobResourceUpdateParameter()
[JsonProperty(PropertyName = "properties.details")]
public UpdateJobDetails Details { get; set; }
- ///
- /// Gets or sets destination account details.
- ///
- [JsonProperty(PropertyName = "properties.destinationAccountDetails")]
- public IList DestinationAccountDetails { get; set; }
-
///
/// Gets or sets the list of key value pairs that describe the
/// resource. These tags can be used in viewing and grouping this
@@ -73,6 +66,12 @@ public JobResourceUpdateParameter()
[JsonProperty(PropertyName = "tags")]
public IDictionary Tags { get; set; }
+ ///
+ /// Gets or sets msi identity of the resource
+ ///
+ [JsonProperty(PropertyName = "identity")]
+ public ResourceIdentity Identity { get; set; }
+
///
/// Validate the object.
///
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 35e130fe7ecdb..eea27aaae7c1d 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,12 +10,14 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
///
/// The base class for the secrets
///
+ [Newtonsoft.Json.JsonObject("JobSecrets")]
public partial class JobSecrets
{
///
@@ -31,9 +33,11 @@ public JobSecrets()
///
/// Dc Access Security Code for
/// Customer Managed Shipping
- public JobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode))
+ /// Error while fetching the secrets.
+ public JobSecrets(DcAccessSecurityCode dcAccessSecurityCode = default(DcAccessSecurityCode), CloudError error = default(CloudError))
{
DcAccessSecurityCode = dcAccessSecurityCode;
+ Error = error;
CustomInit();
}
@@ -43,10 +47,16 @@ public JobSecrets()
partial void CustomInit();
///
- /// Gets or sets dc Access Security Code for Customer Managed Shipping
+ /// Gets dc Access Security Code for Customer Managed Shipping
///
[JsonProperty(PropertyName = "dcAccessSecurityCode")]
- public DcAccessSecurityCode DcAccessSecurityCode { get; set; }
+ public DcAccessSecurityCode DcAccessSecurityCode { get; private set; }
+
+ ///
+ /// Gets error while fetching the secrets.
+ ///
+ [JsonProperty(PropertyName = "error")]
+ public CloudError Error { get; private 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 cd7982fac9950..133a6f1dc733d 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
@@ -11,8 +11,6 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
@@ -41,19 +39,18 @@ public JobStages()
/// Display name of the job stage.
/// Status of the job stage. Possible values
/// include: 'None', 'InProgress', 'Succeeded', 'Failed', 'Cancelled',
- /// 'Cancelling', 'SucceededWithErrors'
+ /// 'Cancelling', 'SucceededWithErrors', 'WaitingForCustomerAction',
+ /// 'SucceededWithWarnings'
/// Time for the job stage in UTC ISO 8601
/// format.
/// Job Stage Details
- /// Error details for the stage.
- public JobStages(StageName? stageName = default(StageName?), string displayName = default(string), StageStatus? stageStatus = default(StageStatus?), System.DateTime? stageTime = default(System.DateTime?), object jobStageDetails = default(object), IList errorDetails = default(IList))
+ public JobStages(StageName? stageName = default(StageName?), string displayName = default(string), StageStatus? stageStatus = default(StageStatus?), System.DateTime? stageTime = default(System.DateTime?), object jobStageDetails = default(object))
{
StageName = stageName;
DisplayName = displayName;
StageStatus = stageStatus;
StageTime = stageTime;
JobStageDetails = jobStageDetails;
- ErrorDetails = errorDetails;
CustomInit();
}
@@ -83,7 +80,8 @@ public JobStages()
///
/// Gets status of the job stage. Possible values include: 'None',
/// 'InProgress', 'Succeeded', 'Failed', 'Cancelled', 'Cancelling',
- /// 'SucceededWithErrors'
+ /// 'SucceededWithErrors', 'WaitingForCustomerAction',
+ /// 'SucceededWithWarnings'
///
[JsonProperty(PropertyName = "stageStatus")]
public StageStatus? StageStatus { get; private set; }
@@ -100,11 +98,5 @@ public JobStages()
[JsonProperty(PropertyName = "jobStageDetails")]
public object JobStageDetails { get; private set; }
- ///
- /// Gets error details for the stage.
- ///
- [JsonProperty(PropertyName = "errorDetails")]
- public IList ErrorDetails { get; private set; }
-
}
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KekType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KekType.cs
new file mode 100644
index 0000000000000..7a33ba3f67341
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KekType.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 KekType.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum KekType
+ {
+ ///
+ /// Key encryption key is managed by Microsoft.
+ ///
+ [EnumMember(Value = "MicrosoftManaged")]
+ MicrosoftManaged,
+ ///
+ /// Key encryption key is managed by the Customer.
+ ///
+ [EnumMember(Value = "CustomerManaged")]
+ CustomerManaged
+ }
+ internal static class KekTypeEnumExtension
+ {
+ internal static string ToSerializedValue(this KekType? value)
+ {
+ return value == null ? null : ((KekType)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this KekType value)
+ {
+ switch( value )
+ {
+ case KekType.MicrosoftManaged:
+ return "MicrosoftManaged";
+ case KekType.CustomerManaged:
+ return "CustomerManaged";
+ }
+ return null;
+ }
+
+ internal static KekType? ParseKekType(this string value)
+ {
+ switch( value )
+ {
+ case "MicrosoftManaged":
+ return KekType.MicrosoftManaged;
+ case "CustomerManaged":
+ return KekType.CustomerManaged;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KeyEncryptionKey.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KeyEncryptionKey.cs
new file mode 100644
index 0000000000000..d658d54526638
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/KeyEncryptionKey.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 Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Encryption key containing details about key to encrypt different keys.
+ ///
+ public partial class KeyEncryptionKey
+ {
+ ///
+ /// Initializes a new instance of the KeyEncryptionKey class.
+ ///
+ public KeyEncryptionKey()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the KeyEncryptionKey class.
+ ///
+ /// Type of encryption key used for key
+ /// encryption. Possible values include: 'MicrosoftManaged',
+ /// 'CustomerManaged'
+ /// Key encryption key. It is required in case of
+ /// Customer managed KekType.
+ /// Kek vault resource id. It is
+ /// required in case of Customer managed KekType.
+ public KeyEncryptionKey(KekType kekType, string kekUrl = default(string), string kekVaultResourceID = default(string))
+ {
+ KekType = kekType;
+ KekUrl = kekUrl;
+ KekVaultResourceID = kekVaultResourceID;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets type of encryption key used for key encryption.
+ /// Possible values include: 'MicrosoftManaged', 'CustomerManaged'
+ ///
+ [JsonProperty(PropertyName = "kekType")]
+ public KekType KekType { get; set; }
+
+ ///
+ /// Gets or sets key encryption key. It is required in case of Customer
+ /// managed KekType.
+ ///
+ [JsonProperty(PropertyName = "kekUrl")]
+ public string KekUrl { get; set; }
+
+ ///
+ /// Gets or sets kek vault resource id. It is required in case of
+ /// Customer managed KekType.
+ ///
+ [JsonProperty(PropertyName = "kekVaultResourceID")]
+ public string KekVaultResourceID { 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/LogCollectionLevel.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/LogCollectionLevel.cs
new file mode 100644
index 0000000000000..d8abd580a946d
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/LogCollectionLevel.cs
@@ -0,0 +1,67 @@
+//
+// 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 LogCollectionLevel.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum LogCollectionLevel
+ {
+ ///
+ /// Only Errors will be collected in the logs.
+ ///
+ [EnumMember(Value = "Error")]
+ Error,
+ ///
+ /// Verbose logging (includes Errors, CRC, size information and
+ /// others).
+ ///
+ [EnumMember(Value = "Verbose")]
+ Verbose
+ }
+ internal static class LogCollectionLevelEnumExtension
+ {
+ internal static string ToSerializedValue(this LogCollectionLevel? value)
+ {
+ return value == null ? null : ((LogCollectionLevel)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this LogCollectionLevel value)
+ {
+ switch( value )
+ {
+ case LogCollectionLevel.Error:
+ return "Error";
+ case LogCollectionLevel.Verbose:
+ return "Verbose";
+ }
+ return null;
+ }
+
+ internal static LogCollectionLevel? ParseLogCollectionLevel(this string value)
+ {
+ switch( value )
+ {
+ case "Error":
+ return LogCollectionLevel.Error;
+ case "Verbose":
+ return LogCollectionLevel.Verbose;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ManagedDiskDetails.cs
similarity index 55%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ManagedDiskDetails.cs
index 2e6d0b4e42a72..1d4d596cc42fe 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationManagedDiskDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ManagedDiskDetails.cs
@@ -15,34 +15,38 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Details for the destination compute disks.
+ /// Details of the managed disks.
///
[Newtonsoft.Json.JsonObject("ManagedDisk")]
- public partial class DestinationManagedDiskDetails : DestinationAccountDetails
+ public partial class ManagedDiskDetails : DataAccountDetails
{
///
- /// Initializes a new instance of the DestinationManagedDiskDetails
- /// class.
+ /// Initializes a new instance of the ManagedDiskDetails class.
///
- public DestinationManagedDiskDetails()
+ public ManagedDiskDetails()
{
CustomInit();
}
///
- /// Initializes a new instance of the DestinationManagedDiskDetails
- /// class.
+ /// Initializes a new instance of the ManagedDiskDetails 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)
+ /// Resource Group Id of the compute
+ /// disks.
+ /// Resource Id of the storage
+ /// account that can be used to copy the vhd for staging.
+ /// Password for all the shares to be
+ /// created on the device. Should not be passed for
+ /// TransferType:ExportFromAzure jobs. If this is not passed, the
+ /// service will generate password itself. This will not be returned in
+ /// Get Call. Password Requirements : Password must be minimum of 12
+ /// and maximum of 64 characters. Password must have at least one
+ /// uppercase alphabet, one number and one special character. Password
+ /// cannot have the following characters : IilLoO0 Password can have
+ /// only alphabets, numbers and these characters :
+ /// @#\-$%^!+=;:_()]+
+ public ManagedDiskDetails(string resourceGroupId, string stagingStorageAccountId, string sharePassword = default(string))
+ : base(sharePassword)
{
ResourceGroupId = resourceGroupId;
StagingStorageAccountId = stagingStorageAccountId;
@@ -55,15 +59,14 @@ public DestinationManagedDiskDetails()
partial void CustomInit();
///
- /// Gets or sets destination Resource Group Id where the Compute disks
- /// should be created.
+ /// Gets or sets resource Group Id of the compute disks.
///
[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.
+ /// Gets or sets resource Id of the storage account that can be used to
+ /// copy the vhd for staging.
///
[JsonProperty(PropertyName = "stagingStorageAccountId")]
public string StagingStorageAccountId { get; set; }
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/NotificationStageName.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/NotificationStageName.cs
index 69e81242abbbf..057dea35f0eda 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/NotificationStageName.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/NotificationStageName.cs
@@ -42,7 +42,7 @@ public enum NotificationStageName
[EnumMember(Value = "PickedUp")]
PickedUp,
///
- /// Notification at device received at azure datacenter stage.
+ /// Notification at device received at Azure datacenter stage.
///
[EnumMember(Value = "AtAzureDC")]
AtAzureDC,
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Operation.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Operation.cs
index 5cfb9f28a0970..d0d378e850d60 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Operation.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Operation.cs
@@ -35,12 +35,15 @@ public Operation()
/// Operation properties.
/// Origin of the operation. Can be :
/// user|system|user,system
- public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), object properties = default(object), string origin = default(string))
+ /// Indicates whether the operation is a
+ /// data action
+ public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), object properties = default(object), string origin = default(string), bool? isDataAction = default(bool?))
{
Name = name;
Display = display;
Properties = properties;
Origin = origin;
+ IsDataAction = isDataAction;
CustomInit();
}
@@ -74,5 +77,11 @@ public Operation()
[JsonProperty(PropertyName = "origin")]
public string Origin { get; private set; }
+ ///
+ /// Gets or sets indicates whether the operation is a data action
+ ///
+ [JsonProperty(PropertyName = "isDataAction")]
+ public bool? IsDataAction { get; set; }
+
}
}
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 58b09eb6dc6b6..58b346a6c1463 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,8 +31,8 @@ public Preferences()
///
/// Initializes a new instance of the Preferences class.
///
- /// Preferred Data Center
- /// Region.
+ /// Preferred data center
+ /// region.
/// Preferences related to the
/// shipment logistics of the sku.
public Preferences(IList preferredDataCenterRegion = default(IList), TransportPreferences transportPreferences = default(TransportPreferences))
@@ -48,7 +48,7 @@ public Preferences()
partial void CustomInit();
///
- /// Gets or sets preferred Data Center Region.
+ /// Gets or sets preferred data center region.
///
[JsonProperty(PropertyName = "preferredDataCenterRegion")]
public IList PreferredDataCenterRegion { get; set; }
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
index 404fd13cc398b..4f54521046142 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationRequest.cs
@@ -35,8 +35,8 @@ public PreferencesValidationRequest()
/// Device type to be used for the job.
/// Possible values include: 'DataBox', 'DataBoxDisk',
/// 'DataBoxHeavy'
- /// Preference requested with respect to
- /// transport type and data center
+ /// Preference of transport and data
+ /// center.
public PreferencesValidationRequest(SkuName deviceType, Preferences preference = default(Preferences))
{
Preference = preference;
@@ -50,8 +50,7 @@ public PreferencesValidationRequest()
partial void CustomInit();
///
- /// Gets or sets preference requested with respect to transport type
- /// and data center
+ /// Gets or sets preference of transport and data center.
///
[JsonProperty(PropertyName = "preference")]
public Preferences Preference { get; set; }
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
index f464979dc99d6..f4aa3be4f5e11 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationResponseProperties.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/PreferencesValidationResponseProperties.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
@@ -37,7 +38,7 @@ public PreferencesValidationResponseProperties()
/// Validation status of requested data center and
/// transport. Possible values include: 'Valid', 'Invalid',
/// 'Skipped'
- public PreferencesValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ public PreferencesValidationResponseProperties(CloudError error = default(CloudError), ValidationStatus? status = default(ValidationStatus?))
: base(error)
{
Status = status;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Resource.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Resource.cs
index a72c79a17d0ce..f7f2e2ed2e662 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Resource.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/Resource.cs
@@ -42,11 +42,13 @@ public Resource()
/// The list of key value pairs that describe the
/// resource. These tags can be used in viewing and grouping this
/// resource (across resource groups).
- public Resource(string location, Sku sku, IDictionary tags = default(IDictionary))
+ /// Msi identity of the resource
+ public Resource(string location, Sku sku, IDictionary tags = default(IDictionary), ResourceIdentity identity = default(ResourceIdentity))
{
Location = location;
Tags = tags;
Sku = sku;
+ Identity = identity;
CustomInit();
}
@@ -79,6 +81,12 @@ public Resource()
[JsonProperty(PropertyName = "sku")]
public Sku Sku { get; set; }
+ ///
+ /// Gets or sets msi identity of the resource
+ ///
+ [JsonProperty(PropertyName = "identity")]
+ public ResourceIdentity Identity { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ResourceIdentity.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ResourceIdentity.cs
new file mode 100644
index 0000000000000..2cdc1abc7f2f2
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ResourceIdentity.cs
@@ -0,0 +1,68 @@
+//
+// 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;
+
+ ///
+ /// Msi identity details of the resource
+ ///
+ public partial class ResourceIdentity
+ {
+ ///
+ /// Initializes a new instance of the ResourceIdentity class.
+ ///
+ public ResourceIdentity()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ResourceIdentity class.
+ ///
+ /// Identity type
+ /// Service Principal Id backing the
+ /// Msi
+ /// Home Tenant Id
+ public ResourceIdentity(string type = default(string), string principalId = default(string), string tenantId = default(string))
+ {
+ Type = type;
+ PrincipalId = principalId;
+ TenantId = tenantId;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets identity type
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; set; }
+
+ ///
+ /// Gets service Principal Id backing the Msi
+ ///
+ [JsonProperty(PropertyName = "principalId")]
+ public string PrincipalId { get; private set; }
+
+ ///
+ /// Gets home Tenant Id
+ ///
+ [JsonProperty(PropertyName = "tenantId")]
+ public string TenantId { 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
index be0fad833fe54..7741b0d9bfd6a 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityRequest.cs
@@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
///
/// Request body to get the availability for scheduling orders.
///
+ [Newtonsoft.Json.JsonObject("ScheduleAvailabilityRequest")]
public partial class ScheduleAvailabilityRequest
{
///
@@ -32,12 +33,15 @@ public ScheduleAvailabilityRequest()
/// Initializes a new instance of the ScheduleAvailabilityRequest
/// class.
///
- /// Location for data transfer.
- /// For locations check:
+ /// Location for data transfer. For
+ /// locations check:
/// https://management.azure.com/subscriptions/SUBSCRIPTIONID/locations?api-version=2018-01-01
- public ScheduleAvailabilityRequest(string storageLocation)
+ /// Country in which storage location should be
+ /// supported.
+ public ScheduleAvailabilityRequest(string storageLocation, string country = default(string))
{
StorageLocation = storageLocation;
+ Country = country;
CustomInit();
}
@@ -47,13 +51,18 @@ public ScheduleAvailabilityRequest(string storageLocation)
partial void CustomInit();
///
- /// Gets or sets location for data transfer.
- /// For locations check:
+ /// 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; }
+ ///
+ /// Gets or sets country in which storage location should be supported.
+ ///
+ [JsonProperty(PropertyName = "country")]
+ public string Country { get; set; }
+
///
/// Validate the object.
///
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
index 3a54174fd1d3d..737a27178a12f 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityResponse.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ScheduleAvailabilityResponse.cs
@@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Schedule availability response for given sku in a region.
+ /// Schedule availability for given sku in a region.
///
public partial class ScheduleAvailabilityResponse
{
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
index 80a49cecb2b24..d31f922827078 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationRequest.cs
@@ -36,26 +36,22 @@ public SkuAvailabilityValidationRequest()
/// Device type to be used for the job.
/// Possible values include: 'DataBox', 'DataBoxDisk',
/// 'DataBoxHeavy'
+ /// Type of the transfer. Possible values
+ /// include: 'ImportToAzure', 'ExportFromAzure'
/// 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)
+ public SkuAvailabilityValidationRequest(SkuName deviceType, TransferType transferType, string country, string location)
{
DeviceType = deviceType;
+ TransferType = transferType;
Country = country;
Location = location;
CustomInit();
}
- ///
- /// Static constructor for SkuAvailabilityValidationRequest class.
- ///
- static SkuAvailabilityValidationRequest()
- {
- TransferType = "ImportToAzure";
- }
///
/// An initialization method that performs custom operations like setting defaults
@@ -69,6 +65,13 @@ static SkuAvailabilityValidationRequest()
[JsonProperty(PropertyName = "deviceType")]
public SkuName DeviceType { get; set; }
+ ///
+ /// Gets or sets type of the transfer. Possible values include:
+ /// 'ImportToAzure', 'ExportFromAzure'
+ ///
+ [JsonProperty(PropertyName = "transferType")]
+ public TransferType TransferType { get; set; }
+
///
/// Gets or sets ISO country code. Country for hardware shipment. For
/// codes check:
@@ -84,12 +87,6 @@ static SkuAvailabilityValidationRequest()
[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.
///
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
index d08306a381527..d5f459cde5538 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationResponseProperties.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuAvailabilityValidationResponseProperties.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
@@ -36,7 +37,7 @@ public SkuAvailabilityValidationResponseProperties()
/// response.
/// Sku availability validation status. Possible
/// values include: 'Valid', 'Invalid', 'Skipped'
- public SkuAvailabilityValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ public SkuAvailabilityValidationResponseProperties(CloudError error = default(CloudError), ValidationStatus? status = default(ValidationStatus?))
: base(error)
{
Status = status;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuCost.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuCost.cs
index 6c954a505a93d..3eb7ee1967526 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuCost.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuCost.cs
@@ -31,10 +31,15 @@ public SkuCost()
///
/// Meter id of the Sku.
/// The type of the meter.
- public SkuCost(string meterId = default(string), string meterType = default(string))
+ /// Multiplier specifies the region specific
+ /// value to be multiplied with 1$ guid. Eg: Our new regions will be
+ /// using 1$ shipping guid with appropriate multiplier specific to
+ /// region.
+ public SkuCost(string meterId = default(string), string meterType = default(string), double? multiplier = default(double?))
{
MeterId = meterId;
MeterType = meterType;
+ Multiplier = multiplier;
CustomInit();
}
@@ -55,5 +60,13 @@ public SkuCost()
[JsonProperty(PropertyName = "meterType")]
public string MeterType { get; private set; }
+ ///
+ /// Gets multiplier specifies the region specific value to be
+ /// multiplied with 1$ guid. Eg: Our new regions will be using 1$
+ /// shipping guid with appropriate multiplier specific to region.
+ ///
+ [JsonProperty(PropertyName = "multiplier")]
+ public double? Multiplier { get; private set; }
+
}
}
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 e371b1ba83315..c13199799b914 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
@@ -36,8 +36,8 @@ public SkuInformation()
///
/// The Sku.
/// The sku is enabled or not.
- /// The map of
- /// destination location to service location.
+ /// The map of data
+ /// location to service location.
/// Capacity of the Sku.
/// Cost of the Sku.
/// Api versions that support this
@@ -49,11 +49,11 @@ public SkuInformation()
/// disabled.
/// Required feature to access the
/// sku.
- public SkuInformation(Sku sku = default(Sku), bool? enabled = default(bool?), IList destinationToServiceLocationMap = default(IList), SkuCapacity capacity = default(SkuCapacity), IList costs = default(IList), IList apiVersions = default(IList), SkuDisabledReason? disabledReason = default(SkuDisabledReason?), string disabledReasonMessage = default(string), string requiredFeature = default(string))
+ public SkuInformation(Sku sku = default(Sku), bool? enabled = default(bool?), IList dataLocationToServiceLocationMap = default(IList), SkuCapacity capacity = default(SkuCapacity), IList costs = default(IList), IList apiVersions = default(IList), SkuDisabledReason? disabledReason = default(SkuDisabledReason?), string disabledReasonMessage = default(string), string requiredFeature = default(string))
{
Sku = sku;
Enabled = enabled;
- DestinationToServiceLocationMap = destinationToServiceLocationMap;
+ DataLocationToServiceLocationMap = dataLocationToServiceLocationMap;
Capacity = capacity;
Costs = costs;
ApiVersions = apiVersions;
@@ -81,10 +81,10 @@ public SkuInformation()
public bool? Enabled { get; private set; }
///
- /// Gets the map of destination location to service location.
+ /// Gets the map of data location to service location.
///
- [JsonProperty(PropertyName = "properties.destinationToServiceLocationMap")]
- public IList DestinationToServiceLocationMap { get; private set; }
+ [JsonProperty(PropertyName = "properties.dataLocationToServiceLocationMap")]
+ public IList DataLocationToServiceLocationMap { get; private set; }
///
/// Gets capacity of the Sku.
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs
index ca1daf8d05be4..915110c14074d 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SkuName.cs
@@ -22,17 +22,17 @@ namespace Microsoft.Azure.Management.DataBox.Models
public enum SkuName
{
///
- /// Databox.
+ /// Data Box.
///
[EnumMember(Value = "DataBox")]
DataBox,
///
- /// DataboxDisk.
+ /// Data Box Disk.
///
[EnumMember(Value = "DataBoxDisk")]
DataBoxDisk,
///
- /// DataboxHeavy.
+ /// Data Box Heavy.
///
[EnumMember(Value = "DataBoxHeavy")]
DataBoxHeavy
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 41990442852ae..42be9a4c41498 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
@@ -42,18 +42,18 @@ public enum StageName
[EnumMember(Value = "Delivered")]
Delivered,
///
- /// Device has been picked up from user and in transit to azure
+ /// Device has been picked up from user and in transit to Azure
/// datacenter.
///
[EnumMember(Value = "PickedUp")]
PickedUp,
///
- /// Device has been received at azure datacenter from the user.
+ /// Device has been received at Azure datacenter from the user.
///
[EnumMember(Value = "AtAzureDC")]
AtAzureDC,
///
- /// Data copy from the device at azure datacenter.
+ /// Data copy from the device at Azure datacenter.
///
[EnumMember(Value = "DataCopy")]
DataCopy,
@@ -78,7 +78,7 @@ public enum StageName
[EnumMember(Value = "Failed_IssueReportedAtCustomer")]
FailedIssueReportedAtCustomer,
///
- /// Order has failed due to issue detected at azure datacenter.
+ /// Order has failed due to issue detected at Azure datacenter.
///
[EnumMember(Value = "Failed_IssueDetectedAtAzureDC")]
FailedIssueDetectedAtAzureDC,
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageStatus.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageStatus.cs
index aa6369d9c5618..c56f7c83a789d 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageStatus.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StageStatus.cs
@@ -55,7 +55,17 @@ public enum StageStatus
/// Stage has succeeded with errors.
///
[EnumMember(Value = "SucceededWithErrors")]
- SucceededWithErrors
+ SucceededWithErrors,
+ ///
+ /// Stage is stuck until customer takes some action.
+ ///
+ [EnumMember(Value = "WaitingForCustomerAction")]
+ WaitingForCustomerAction,
+ ///
+ /// Stage has succeeded with warnings.
+ ///
+ [EnumMember(Value = "SucceededWithWarnings")]
+ SucceededWithWarnings
}
internal static class StageStatusEnumExtension
{
@@ -82,6 +92,10 @@ internal static string ToSerializedValue(this StageStatus value)
return "Cancelling";
case StageStatus.SucceededWithErrors:
return "SucceededWithErrors";
+ case StageStatus.WaitingForCustomerAction:
+ return "WaitingForCustomerAction";
+ case StageStatus.SucceededWithWarnings:
+ return "SucceededWithWarnings";
}
return null;
}
@@ -104,6 +118,10 @@ internal static string ToSerializedValue(this StageStatus value)
return StageStatus.Cancelling;
case "SucceededWithErrors":
return StageStatus.SucceededWithErrors;
+ case "WaitingForCustomerAction":
+ return StageStatus.WaitingForCustomerAction;
+ case "SucceededWithWarnings":
+ return StageStatus.SucceededWithWarnings;
}
return null;
}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StorageAccountDetails.cs
similarity index 55%
rename from sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs
rename to sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StorageAccountDetails.cs
index 5428ac4366637..da95d83c2ec87 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/DestinationStorageAccountDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/StorageAccountDetails.cs
@@ -15,32 +15,35 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Details for the destination storage account.
+ /// Details for the storage account.
///
[Newtonsoft.Json.JsonObject("StorageAccount")]
- public partial class DestinationStorageAccountDetails : DestinationAccountDetails
+ public partial class StorageAccountDetails : DataAccountDetails
{
///
- /// Initializes a new instance of the DestinationStorageAccountDetails
- /// class.
+ /// Initializes a new instance of the StorageAccountDetails class.
///
- public DestinationStorageAccountDetails()
+ public StorageAccountDetails()
{
CustomInit();
}
///
- /// Initializes a new instance of the DestinationStorageAccountDetails
- /// class.
+ /// Initializes a new instance of the StorageAccountDetails 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)
+ /// Storage Account Resource Id.
+ /// Password for all the shares to be
+ /// created on the device. Should not be passed for
+ /// TransferType:ExportFromAzure jobs. If this is not passed, the
+ /// service will generate password itself. This will not be returned in
+ /// Get Call. Password Requirements : Password must be minimum of 12
+ /// and maximum of 64 characters. Password must have at least one
+ /// uppercase alphabet, one number and one special character. Password
+ /// cannot have the following characters : IilLoO0 Password can have
+ /// only alphabets, numbers and these characters :
+ /// @#\-$%^!+=;:_()]+
+ public StorageAccountDetails(string storageAccountId, string sharePassword = default(string))
+ : base(sharePassword)
{
StorageAccountId = storageAccountId;
CustomInit();
@@ -52,7 +55,7 @@ public DestinationStorageAccountDetails()
partial void CustomInit();
///
- /// Gets or sets destination Storage Account Arm Id.
+ /// Gets or sets storage Account Resource Id.
///
[JsonProperty(PropertyName = "storageAccountId")]
public string StorageAccountId { get; set; }
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
index e9aebdb24c523..17ff3dfe0c890 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationResponseProperties.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/SubscriptionIsAllowedToCreateJobValidationResponseProperties.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
@@ -38,7 +39,7 @@ public SubscriptionIsAllowedToCreateJobValidationResponseProperties()
/// Validation status of subscription permission
/// to create job. Possible values include: 'Valid', 'Invalid',
/// 'Skipped'
- public SubscriptionIsAllowedToCreateJobValidationResponseProperties(Error error = default(Error), ValidationStatus? status = default(ValidationStatus?))
+ public SubscriptionIsAllowedToCreateJobValidationResponseProperties(CloudError error = default(CloudError), ValidationStatus? status = default(ValidationStatus?))
: base(error)
{
Status = status;
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferAllDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferAllDetails.cs
new file mode 100644
index 0000000000000..52d3e06318a20
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferAllDetails.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;
+
+ ///
+ /// Details to transfer all data.
+ ///
+ public partial class TransferAllDetails
+ {
+ ///
+ /// Initializes a new instance of the TransferAllDetails class.
+ ///
+ public TransferAllDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransferAllDetails class.
+ ///
+ /// Type of the account of data. Possible
+ /// values include: 'StorageAccount', 'ManagedDisk'
+ /// To indicate if all Azure blobs have
+ /// to be transferred
+ /// To indicate if all Azure Files have
+ /// to be transferred
+ public TransferAllDetails(DataAccountType dataAccountType, bool? transferAllBlobs = default(bool?), bool? transferAllFiles = default(bool?))
+ {
+ DataAccountType = dataAccountType;
+ TransferAllBlobs = transferAllBlobs;
+ TransferAllFiles = transferAllFiles;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets type of the account of data. Possible values include:
+ /// 'StorageAccount', 'ManagedDisk'
+ ///
+ [JsonProperty(PropertyName = "dataAccountType")]
+ public DataAccountType DataAccountType { get; set; }
+
+ ///
+ /// Gets or sets to indicate if all Azure blobs have to be transferred
+ ///
+ [JsonProperty(PropertyName = "transferAllBlobs")]
+ public bool? TransferAllBlobs { get; set; }
+
+ ///
+ /// Gets or sets to indicate if all Azure Files have to be transferred
+ ///
+ [JsonProperty(PropertyName = "transferAllFiles")]
+ public bool? TransferAllFiles { 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/TransferConfiguration.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfiguration.cs
new file mode 100644
index 0000000000000..0552e92ba55f2
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfiguration.cs
@@ -0,0 +1,95 @@
+//
+// 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 for defining the transfer of data.
+ ///
+ public partial class TransferConfiguration
+ {
+ ///
+ /// Initializes a new instance of the TransferConfiguration class.
+ ///
+ public TransferConfiguration()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransferConfiguration class.
+ ///
+ /// Type of the configuration
+ /// for transfer. Possible values include: 'TransferAll',
+ /// 'TransferUsingFilter'
+ /// Map of filter type and the
+ /// details to filter. This field is required only if the
+ /// TransferConfigurationType is given as TransferUsingFilter.
+ /// Map of filter type and the details
+ /// to transfer all data. This field is required only if the
+ /// TransferConfigurationType is given as TransferAll
+ public TransferConfiguration(TransferConfigurationType transferConfigurationType, TransferConfigurationTransferFilterDetails transferFilterDetails = default(TransferConfigurationTransferFilterDetails), TransferConfigurationTransferAllDetails transferAllDetails = default(TransferConfigurationTransferAllDetails))
+ {
+ TransferConfigurationType = transferConfigurationType;
+ TransferFilterDetails = transferFilterDetails;
+ TransferAllDetails = transferAllDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets type of the configuration for transfer. Possible
+ /// values include: 'TransferAll', 'TransferUsingFilter'
+ ///
+ [JsonProperty(PropertyName = "transferConfigurationType")]
+ public TransferConfigurationType TransferConfigurationType { get; set; }
+
+ ///
+ /// Gets or sets map of filter type and the details to filter. This
+ /// field is required only if the TransferConfigurationType is given as
+ /// TransferUsingFilter.
+ ///
+ [JsonProperty(PropertyName = "transferFilterDetails")]
+ public TransferConfigurationTransferFilterDetails TransferFilterDetails { get; set; }
+
+ ///
+ /// Gets or sets map of filter type and the details to transfer all
+ /// data. This field is required only if the TransferConfigurationType
+ /// is given as TransferAll
+ ///
+ [JsonProperty(PropertyName = "transferAllDetails")]
+ public TransferConfigurationTransferAllDetails TransferAllDetails { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (TransferFilterDetails != null)
+ {
+ TransferFilterDetails.Validate();
+ }
+ if (TransferAllDetails != null)
+ {
+ TransferAllDetails.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferAllDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferAllDetails.cs
new file mode 100644
index 0000000000000..4919043112e91
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferAllDetails.cs
@@ -0,0 +1,67 @@
+//
+// 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;
+
+ ///
+ /// Map of filter type and the details to transfer all data. This field is
+ /// required only if the TransferConfigurationType is given as TransferAll
+ ///
+ public partial class TransferConfigurationTransferAllDetails
+ {
+ ///
+ /// Initializes a new instance of the
+ /// TransferConfigurationTransferAllDetails class.
+ ///
+ public TransferConfigurationTransferAllDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// TransferConfigurationTransferAllDetails class.
+ ///
+ /// Details to transfer all data.
+ public TransferConfigurationTransferAllDetails(TransferAllDetails include = default(TransferAllDetails))
+ {
+ Include = include;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets details to transfer all data.
+ ///
+ [JsonProperty(PropertyName = "include")]
+ public TransferAllDetails Include { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Include != null)
+ {
+ Include.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferFilterDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferFilterDetails.cs
new file mode 100644
index 0000000000000..fb6fadf5102ab
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferFilterDetails.cs
@@ -0,0 +1,68 @@
+//
+// 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;
+
+ ///
+ /// Map of filter type and the details to filter. This field is required
+ /// only if the TransferConfigurationType is given as TransferUsingFilter.
+ ///
+ public partial class TransferConfigurationTransferFilterDetails
+ {
+ ///
+ /// Initializes a new instance of the
+ /// TransferConfigurationTransferFilterDetails class.
+ ///
+ public TransferConfigurationTransferFilterDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// TransferConfigurationTransferFilterDetails class.
+ ///
+ /// Details of the filtering the transfer of
+ /// data.
+ public TransferConfigurationTransferFilterDetails(TransferFilterDetails include = default(TransferFilterDetails))
+ {
+ Include = include;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets details of the filtering the transfer of data.
+ ///
+ [JsonProperty(PropertyName = "include")]
+ public TransferFilterDetails Include { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Include != null)
+ {
+ Include.Validate();
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationType.cs
new file mode 100644
index 0000000000000..4ae0ad175c04d
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationType.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 TransferConfigurationType.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TransferConfigurationType
+ {
+ ///
+ /// Transfer all the data.
+ ///
+ [EnumMember(Value = "TransferAll")]
+ TransferAll,
+ ///
+ /// Transfer using filter.
+ ///
+ [EnumMember(Value = "TransferUsingFilter")]
+ TransferUsingFilter
+ }
+ internal static class TransferConfigurationTypeEnumExtension
+ {
+ internal static string ToSerializedValue(this TransferConfigurationType? value)
+ {
+ return value == null ? null : ((TransferConfigurationType)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this TransferConfigurationType value)
+ {
+ switch( value )
+ {
+ case TransferConfigurationType.TransferAll:
+ return "TransferAll";
+ case TransferConfigurationType.TransferUsingFilter:
+ return "TransferUsingFilter";
+ }
+ return null;
+ }
+
+ internal static TransferConfigurationType? ParseTransferConfigurationType(this string value)
+ {
+ switch( value )
+ {
+ case "TransferAll":
+ return TransferConfigurationType.TransferAll;
+ case "TransferUsingFilter":
+ return TransferConfigurationType.TransferUsingFilter;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferFilterDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferFilterDetails.cs
new file mode 100644
index 0000000000000..cb70dda6adbea
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferFilterDetails.cs
@@ -0,0 +1,102 @@
+//
+// 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;
+
+ ///
+ /// Details of the filtering the transfer of data.
+ ///
+ public partial class TransferFilterDetails
+ {
+ ///
+ /// Initializes a new instance of the TransferFilterDetails class.
+ ///
+ public TransferFilterDetails()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the TransferFilterDetails class.
+ ///
+ /// Type of the account of data. Possible
+ /// values include: 'StorageAccount', 'ManagedDisk'
+ /// Filter details to transfer
+ /// blobs.
+ /// Filter details to transfer
+ /// Azure files.
+ /// Details of the filter files to be
+ /// used for data transfer.
+ public TransferFilterDetails(DataAccountType dataAccountType, BlobFilterDetails blobFilterDetails = default(BlobFilterDetails), AzureFileFilterDetails azureFileFilterDetails = default(AzureFileFilterDetails), IList filterFileDetails = default(IList))
+ {
+ DataAccountType = dataAccountType;
+ BlobFilterDetails = blobFilterDetails;
+ AzureFileFilterDetails = azureFileFilterDetails;
+ FilterFileDetails = filterFileDetails;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets type of the account of data. Possible values include:
+ /// 'StorageAccount', 'ManagedDisk'
+ ///
+ [JsonProperty(PropertyName = "dataAccountType")]
+ public DataAccountType DataAccountType { get; set; }
+
+ ///
+ /// Gets or sets filter details to transfer blobs.
+ ///
+ [JsonProperty(PropertyName = "blobFilterDetails")]
+ public BlobFilterDetails BlobFilterDetails { get; set; }
+
+ ///
+ /// Gets or sets filter details to transfer Azure files.
+ ///
+ [JsonProperty(PropertyName = "azureFileFilterDetails")]
+ public AzureFileFilterDetails AzureFileFilterDetails { get; set; }
+
+ ///
+ /// Gets or sets details of the filter files to be used for data
+ /// transfer.
+ ///
+ [JsonProperty(PropertyName = "filterFileDetails")]
+ public IList FilterFileDetails { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (FilterFileDetails != null)
+ {
+ foreach (var element in FilterFileDetails)
+ {
+ if (element != null)
+ {
+ element.Validate();
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferType.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferType.cs
new file mode 100644
index 0000000000000..2d792e6195743
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferType.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 TransferType.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum TransferType
+ {
+ ///
+ /// Import data to azure.
+ ///
+ [EnumMember(Value = "ImportToAzure")]
+ ImportToAzure,
+ ///
+ /// Export data from azure.
+ ///
+ [EnumMember(Value = "ExportFromAzure")]
+ ExportFromAzure
+ }
+ internal static class TransferTypeEnumExtension
+ {
+ internal static string ToSerializedValue(this TransferType? value)
+ {
+ return value == null ? null : ((TransferType)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this TransferType value)
+ {
+ switch( value )
+ {
+ case TransferType.ImportToAzure:
+ return "ImportToAzure";
+ case TransferType.ExportFromAzure:
+ return "ExportFromAzure";
+ }
+ return null;
+ }
+
+ internal static TransferType? ParseTransferType(this string value)
+ {
+ switch( value )
+ {
+ case "ImportToAzure":
+ return TransferType.ImportToAzure;
+ case "ExportFromAzure":
+ return TransferType.ExportFromAzure;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/UpdateJobDetails.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/UpdateJobDetails.cs
index 61c83a2b564bb..1f6bd4534afc7 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/UpdateJobDetails.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/UpdateJobDetails.cs
@@ -33,10 +33,13 @@ public UpdateJobDetails()
/// shipping.
/// Shipping address of the
/// customer.
- public UpdateJobDetails(ContactDetails contactDetails = default(ContactDetails), ShippingAddress shippingAddress = default(ShippingAddress))
+ /// Key encryption key for the
+ /// job.
+ public UpdateJobDetails(ContactDetails contactDetails = default(ContactDetails), ShippingAddress shippingAddress = default(ShippingAddress), KeyEncryptionKey keyEncryptionKey = default(KeyEncryptionKey))
{
ContactDetails = contactDetails;
ShippingAddress = shippingAddress;
+ KeyEncryptionKey = keyEncryptionKey;
CustomInit();
}
@@ -57,6 +60,12 @@ public UpdateJobDetails()
[JsonProperty(PropertyName = "shippingAddress")]
public ShippingAddress ShippingAddress { get; set; }
+ ///
+ /// Gets or sets key encryption key for the job.
+ ///
+ [JsonProperty(PropertyName = "keyEncryptionKey")]
+ public KeyEncryptionKey KeyEncryptionKey { get; set; }
+
///
/// Validate the object.
///
@@ -73,6 +82,10 @@ public virtual void Validate()
{
ShippingAddress.Validate();
}
+ if (KeyEncryptionKey != null)
+ {
+ KeyEncryptionKey.Validate();
+ }
}
}
}
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 6af4394416d01..77c0361337444 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
/// The requirements to validate customer address where the device needs to
/// be shipped.
///
+ [Newtonsoft.Json.JsonObject("ValidateAddress")]
public partial class ValidateAddress : ValidationInputRequest
{
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationCategory.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationCategory.cs
new file mode 100644
index 0000000000000..ee9b170d9f14f
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationCategory.cs
@@ -0,0 +1,57 @@
+//
+// 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 ValidationCategory.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum ValidationCategory
+ {
+ ///
+ /// Identify request of pre-job creation validations.
+ ///
+ [EnumMember(Value = "JobCreationValidation")]
+ JobCreationValidation
+ }
+ internal static class ValidationCategoryEnumExtension
+ {
+ internal static string ToSerializedValue(this ValidationCategory? value)
+ {
+ return value == null ? null : ((ValidationCategory)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this ValidationCategory value)
+ {
+ switch( value )
+ {
+ case ValidationCategory.JobCreationValidation:
+ return "JobCreationValidation";
+ }
+ return null;
+ }
+
+ internal static ValidationCategory? ParseValidationCategory(this string value)
+ {
+ switch( value )
+ {
+ case "JobCreationValidation":
+ return ValidationCategory.JobCreationValidation;
+ }
+ return null;
+ }
+ }
+}
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputDiscriminator.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputDiscriminator.cs
new file mode 100644
index 0000000000000..c12bc0055eb4d
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputDiscriminator.cs
@@ -0,0 +1,105 @@
+//
+// 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 ValidationInputDiscriminator.
+ ///
+ [JsonConverter(typeof(StringEnumConverter))]
+ public enum ValidationInputDiscriminator
+ {
+ ///
+ /// Identify request and response of address validation.
+ ///
+ [EnumMember(Value = "ValidateAddress")]
+ ValidateAddress,
+ ///
+ /// Identify request and response for validation of subscription
+ /// permission to create job.
+ ///
+ [EnumMember(Value = "ValidateSubscriptionIsAllowedToCreateJob")]
+ ValidateSubscriptionIsAllowedToCreateJob,
+ ///
+ /// Identify request and response of preference validation.
+ ///
+ [EnumMember(Value = "ValidatePreferences")]
+ ValidatePreferences,
+ ///
+ /// Identify request and response of create order limit for
+ /// subscription validation.
+ ///
+ [EnumMember(Value = "ValidateCreateOrderLimit")]
+ ValidateCreateOrderLimit,
+ ///
+ /// Identify request and response of active job limit for sku
+ /// availability.
+ ///
+ [EnumMember(Value = "ValidateSkuAvailability")]
+ ValidateSkuAvailability,
+ ///
+ /// Identify request and response of data transfer details validation.
+ ///
+ [EnumMember(Value = "ValidateDataTransferDetails")]
+ ValidateDataTransferDetails
+ }
+ internal static class ValidationInputDiscriminatorEnumExtension
+ {
+ internal static string ToSerializedValue(this ValidationInputDiscriminator? value)
+ {
+ return value == null ? null : ((ValidationInputDiscriminator)value).ToSerializedValue();
+ }
+
+ internal static string ToSerializedValue(this ValidationInputDiscriminator value)
+ {
+ switch( value )
+ {
+ case ValidationInputDiscriminator.ValidateAddress:
+ return "ValidateAddress";
+ case ValidationInputDiscriminator.ValidateSubscriptionIsAllowedToCreateJob:
+ return "ValidateSubscriptionIsAllowedToCreateJob";
+ case ValidationInputDiscriminator.ValidatePreferences:
+ return "ValidatePreferences";
+ case ValidationInputDiscriminator.ValidateCreateOrderLimit:
+ return "ValidateCreateOrderLimit";
+ case ValidationInputDiscriminator.ValidateSkuAvailability:
+ return "ValidateSkuAvailability";
+ case ValidationInputDiscriminator.ValidateDataTransferDetails:
+ return "ValidateDataTransferDetails";
+ }
+ return null;
+ }
+
+ internal static ValidationInputDiscriminator? ParseValidationInputDiscriminator(this string value)
+ {
+ switch( value )
+ {
+ case "ValidateAddress":
+ return ValidationInputDiscriminator.ValidateAddress;
+ case "ValidateSubscriptionIsAllowedToCreateJob":
+ return ValidationInputDiscriminator.ValidateSubscriptionIsAllowedToCreateJob;
+ case "ValidatePreferences":
+ return ValidationInputDiscriminator.ValidatePreferences;
+ case "ValidateCreateOrderLimit":
+ return ValidationInputDiscriminator.ValidateCreateOrderLimit;
+ case "ValidateSkuAvailability":
+ return ValidationInputDiscriminator.ValidateSkuAvailability;
+ case "ValidateDataTransferDetails":
+ return ValidationInputDiscriminator.ValidateDataTransferDetails;
+ }
+ return null;
+ }
+ }
+}
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
index 096380231268d..16cd7d432818f 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputRequest.cs
@@ -10,11 +10,13 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Newtonsoft.Json;
using System.Linq;
///
/// Minimum fields that must be present in any type of validation request.
///
+ [Newtonsoft.Json.JsonObject("ValidationInputRequest")]
public partial class ValidationInputRequest
{
///
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
index 810a34e2dc991..ec95819d34deb 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputResponse.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationInputResponse.cs
@@ -10,6 +10,7 @@
namespace Microsoft.Azure.Management.DataBox.Models
{
+ using Microsoft.Rest.Azure;
using Newtonsoft.Json;
using System.Linq;
@@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataBox.Models
/// Minimum properties that should be present in each individual validation
/// response.
///
+ [Newtonsoft.Json.JsonObject("ValidationInputResponse")]
public partial class ValidationInputResponse
{
///
@@ -32,7 +34,7 @@ public ValidationInputResponse()
///
/// Error code and message of validation
/// response.
- public ValidationInputResponse(Error error = default(Error))
+ public ValidationInputResponse(CloudError error = default(CloudError))
{
Error = error;
CustomInit();
@@ -47,7 +49,7 @@ public ValidationInputResponse()
/// Gets error code and message of validation response.
///
[JsonProperty(PropertyName = "error")]
- public Error Error { get; private set; }
+ public CloudError 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
index db49123fc6083..a67857f192ed5 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationRequest.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/ValidationRequest.cs
@@ -17,8 +17,9 @@ namespace Microsoft.Azure.Management.DataBox.Models
using System.Linq;
///
- /// Input request for all pre job creation validation.
+ /// Minimum request requirement of any validation category.
///
+ [Newtonsoft.Json.JsonObject("ValidationRequest")]
public partial class ValidationRequest
{
///
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Operations.cs b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Operations.cs
index 23ee990f5e37a..33f2b4b3f03a0 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Operations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Operations.cs
@@ -59,27 +59,18 @@ internal Operations(DataBoxManagementClient client)
///
/// 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>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -87,6 +78,7 @@ internal Operations(DataBoxManagementClient client)
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
}
@@ -94,9 +86,9 @@ internal Operations(DataBoxManagementClient client)
var _baseUrl = Client.BaseUri.AbsoluteUri;
var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.DataBox/operations").ToString();
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -158,14 +150,13 @@ internal Operations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -175,10 +166,6 @@ internal Operations(DataBoxManagementClient client)
}
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);
@@ -235,7 +222,7 @@ internal Operations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -331,14 +318,13 @@ internal Operations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -348,10 +334,6 @@ internal Operations(DataBoxManagementClient client)
}
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);
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 23a0777f6355b..197819674ce86 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,22 +19,9 @@ public static IEnumerable> ApiInfo_DataBoxManageme
{
return new Tuple[]
{
- 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 --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 = "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 987205bf522c2..dc6a2d4c986fe 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperations.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperations.cs
@@ -50,212 +50,6 @@ internal ServiceOperations(DataBoxManagementClient client)
///
public DataBoxManagementClient Client { get; private set; }
- ///
- /// This method provides the list of available skus for the given subscription
- /// and location.
- ///
- ///
- /// 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>> ListAvailableSkusWithHttpMessagesAsync(string location, AvailableSkuRequest availableSkuRequest, 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 (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("location", location);
- tracingParameters.Add("availableSkuRequest", availableSkuRequest);
- tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "ListAvailableSkus", 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}/availableSkus").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(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;
- }
-
///
/// This method provides the list of available skus for the given subscription,
/// resource group and location.
@@ -275,7 +69,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -304,10 +98,6 @@ internal ServiceOperations(DataBoxManagementClient client)
{
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");
@@ -316,6 +106,7 @@ internal ServiceOperations(DataBoxManagementClient client)
{
availableSkuRequest.Validate();
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -325,6 +116,7 @@ internal ServiceOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("location", location);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("availableSkuRequest", availableSkuRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ListAvailableSkusByResourceGroup", tracingParameters);
@@ -336,9 +128,9 @@ internal ServiceOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -406,14 +198,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -423,10 +214,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
@@ -472,7 +259,7 @@ internal ServiceOperations(DataBoxManagementClient client)
}
///
- /// [DEPRECATED NOTICE: This operation will soon be removed] This method
+ /// [DEPRECATED NOTICE: This operation will soon be removed]. This method
/// validates the customer shipping address and provide alternate addresses if
/// any.
///
@@ -488,7 +275,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -514,10 +301,6 @@ internal ServiceOperations(DataBoxManagementClient client)
{
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");
@@ -526,6 +309,7 @@ internal ServiceOperations(DataBoxManagementClient client)
{
validateAddress.Validate();
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -534,6 +318,7 @@ internal ServiceOperations(DataBoxManagementClient client)
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("location", location);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("validateAddress", validateAddress);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ValidateAddressMethod", tracingParameters);
@@ -544,9 +329,9 @@ internal ServiceOperations(DataBoxManagementClient client)
_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)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -614,14 +399,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -631,10 +415,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
@@ -698,7 +478,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -727,10 +507,6 @@ internal ServiceOperations(DataBoxManagementClient client)
{
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");
@@ -739,6 +515,7 @@ internal ServiceOperations(DataBoxManagementClient client)
{
validationRequest.Validate();
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -748,6 +525,7 @@ internal ServiceOperations(DataBoxManagementClient client)
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("location", location);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("validationRequest", validationRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ValidateInputsByResourceGroup", tracingParameters);
@@ -759,9 +537,9 @@ internal ServiceOperations(DataBoxManagementClient client)
_url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
_url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
List _queryParameters = new List();
- if (Client.ApiVersion != null)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -829,14 +607,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -846,10 +623,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
@@ -910,7 +683,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -935,10 +708,6 @@ internal ServiceOperations(DataBoxManagementClient client)
{
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");
@@ -947,6 +716,7 @@ internal ServiceOperations(DataBoxManagementClient client)
{
validationRequest.Validate();
}
+ string apiVersion = "2020-04-01";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -955,6 +725,7 @@ internal ServiceOperations(DataBoxManagementClient client)
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("location", location);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("validationRequest", validationRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ValidateInputs", tracingParameters);
@@ -965,9 +736,9 @@ internal ServiceOperations(DataBoxManagementClient client)
_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)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1035,14 +806,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1052,10 +822,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
@@ -1101,7 +867,8 @@ internal ServiceOperations(DataBoxManagementClient client)
}
///
- /// This API provides configuration details specific to given region/location.
+ /// This API provides configuration details specific to given region/location
+ /// at Subscription level.
///
///
/// The location of the resource
@@ -1118,7 +885,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1143,14 +910,11 @@ internal ServiceOperations(DataBoxManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "location");
}
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
if (scheduleAvailabilityRequest != null)
{
scheduleAvailabilityRequest.Validate();
}
+ string apiVersion = "2020-04-01";
RegionConfigurationRequest regionConfigurationRequest = new RegionConfigurationRequest();
if (scheduleAvailabilityRequest != null || transportAvailabilityRequest != null)
{
@@ -1165,6 +929,7 @@ internal ServiceOperations(DataBoxManagementClient client)
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("location", location);
+ tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("regionConfigurationRequest", regionConfigurationRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "RegionConfiguration", tracingParameters);
@@ -1175,9 +940,9 @@ internal ServiceOperations(DataBoxManagementClient client)
_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)
+ if (apiVersion != null)
{
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
}
if (_queryParameters.Count > 0)
{
@@ -1245,14 +1010,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1262,10 +1026,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
@@ -1311,11 +1071,20 @@ internal ServiceOperations(DataBoxManagementClient client)
}
///
- /// This method provides the list of available skus for the given subscription
- /// and location.
+ /// This API provides configuration details specific to given region/location
+ /// at Resource group level.
///
- ///
- /// The NextLink from the previous successful call to List operation.
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// The location of the resource
+ ///
+ ///
+ /// Request body to get the availability for scheduling orders.
+ ///
+ ///
+ /// Request body to get the transport availability for given sku.
///
///
/// Headers that will be added to request.
@@ -1323,7 +1092,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1338,11 +1107,30 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task>> ListAvailableSkusNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> RegionConfigurationByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
- if (nextPageLink == null)
+ if (Client.SubscriptionId == null)
{
- throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ 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 (scheduleAvailabilityRequest != null)
+ {
+ scheduleAvailabilityRequest.Validate();
+ }
+ string apiVersion = "2020-04-01";
+ RegionConfigurationRequest regionConfigurationRequest = new RegionConfigurationRequest();
+ if (scheduleAvailabilityRequest != null || transportAvailabilityRequest != null)
+ {
+ regionConfigurationRequest.ScheduleAvailabilityRequest = scheduleAvailabilityRequest;
+ regionConfigurationRequest.TransportAvailabilityRequest = transportAvailabilityRequest;
}
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -1351,14 +1139,24 @@ internal ServiceOperations(DataBoxManagementClient client)
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary tracingParameters = new Dictionary();
- tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("regionConfigurationRequest", regionConfigurationRequest);
tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "ListAvailableSkusNext", tracingParameters);
+ ServiceClientTracing.Enter(_invocationId, this, "RegionConfigurationByResourceGroup", tracingParameters);
}
// Construct URL
- string _url = "{nextLink}";
- _url = _url.Replace("{nextLink}", nextPageLink);
+ 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}/regionConfiguration").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 (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
if (_queryParameters.Count > 0)
{
_url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
@@ -1397,6 +1195,12 @@ internal ServiceOperations(DataBoxManagementClient client)
// Serialize Request
string _requestContent = null;
+ if(regionConfigurationRequest != null)
+ {
+ _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");
+ }
// Set Credentials
if (Client.Credentials != null)
{
@@ -1419,14 +1223,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1436,10 +1239,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
@@ -1452,7 +1251,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"))
@@ -1465,7 +1264,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)
{
@@ -1497,7 +1296,7 @@ internal ServiceOperations(DataBoxManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1593,14 +1392,13 @@ internal ServiceOperations(DataBoxManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ApiErrorException(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);
+ ApiError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
- ex = new CloudException(_errorBody.Message);
ex.Body = _errorBody;
}
}
@@ -1610,10 +1408,6 @@ internal ServiceOperations(DataBoxManagementClient client)
}
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);
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 bb2b513fe1f6f..b4de1688a9800 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperationsExtensions.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/ServiceOperationsExtensions.cs
@@ -21,48 +21,6 @@ namespace Microsoft.Azure.Management.DataBox
///
public static partial class ServiceOperationsExtensions
{
- ///
- /// This method provides the list of available skus for the given subscription
- /// and location.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The location of the resource
- ///
- ///
- /// Filters for showing the available skus.
- ///
- public static IPage ListAvailableSkus(this IServiceOperations operations, string location, AvailableSkuRequest availableSkuRequest)
- {
- return operations.ListAvailableSkusAsync(location, availableSkuRequest).GetAwaiter().GetResult();
- }
-
- ///
- /// This method provides the list of available skus for the given subscription
- /// and location.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The location of the resource
- ///
- ///
- /// Filters for showing the available skus.
- ///
- ///
- /// The cancellation token.
- ///
- public static async Task> ListAvailableSkusAsync(this IServiceOperations operations, string location, AvailableSkuRequest availableSkuRequest, CancellationToken cancellationToken = default(CancellationToken))
- {
- using (var _result = await operations.ListAvailableSkusWithHttpMessagesAsync(location, availableSkuRequest, null, cancellationToken).ConfigureAwait(false))
- {
- return _result.Body;
- }
- }
-
///
/// This method provides the list of available skus for the given subscription,
/// resource group and location.
@@ -112,7 +70,7 @@ public static IPage ListAvailableSkusByResourceGroup(this IServi
}
///
- /// [DEPRECATED NOTICE: This operation will soon be removed] This method
+ /// [DEPRECATED NOTICE: This operation will soon be removed]. This method
/// validates the customer shipping address and provide alternate addresses if
/// any.
///
@@ -132,7 +90,7 @@ public static AddressValidationOutput ValidateAddressMethod(this IServiceOperati
}
///
- /// [DEPRECATED NOTICE: This operation will soon be removed] This method
+ /// [DEPRECATED NOTICE: This operation will soon be removed]. This method
/// validates the customer shipping address and provide alternate addresses if
/// any.
///
@@ -248,7 +206,8 @@ public static ValidationResponse ValidateInputs(this IServiceOperations operatio
}
///
- /// This API provides configuration details specific to given region/location.
+ /// This API provides configuration details specific to given region/location
+ /// at Subscription level.
///
///
/// The operations group for this extension method.
@@ -268,7 +227,8 @@ public static ValidationResponse ValidateInputs(this IServiceOperations operatio
}
///
- /// This API provides configuration details specific to given region/location.
+ /// This API provides configuration details specific to given region/location
+ /// at Subscription level.
///
///
/// The operations group for this extension method.
@@ -294,36 +254,54 @@ public static ValidationResponse ValidateInputs(this IServiceOperations operatio
}
///
- /// This method provides the list of available skus for the given subscription
- /// and location.
+ /// This API provides configuration details specific to given region/location
+ /// at Resource group level.
///
///
/// The operations group for this extension method.
///
- ///
- /// The NextLink from the previous successful call to List operation.
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// 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 IPage ListAvailableSkusNext(this IServiceOperations operations, string nextPageLink)
+ public static RegionConfigurationResponse RegionConfigurationByResourceGroup(this IServiceOperations operations, string resourceGroupName, string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest))
{
- return operations.ListAvailableSkusNextAsync(nextPageLink).GetAwaiter().GetResult();
+ return operations.RegionConfigurationByResourceGroupAsync(resourceGroupName, location, scheduleAvailabilityRequest, transportAvailabilityRequest).GetAwaiter().GetResult();
}
///
- /// This method provides the list of available skus for the given subscription
- /// and location.
+ /// This API provides configuration details specific to given region/location
+ /// at Resource group level.
///
///
/// The operations group for this extension method.
///
- ///
- /// The NextLink from the previous successful call to List operation.
+ ///
+ /// The Resource Group Name
+ ///
+ ///
+ /// 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> ListAvailableSkusNextAsync(this IServiceOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task RegionConfigurationByResourceGroupAsync(this IServiceOperations operations, string resourceGroupName, string location, ScheduleAvailabilityRequest scheduleAvailabilityRequest = default(ScheduleAvailabilityRequest), TransportAvailabilityRequest transportAvailabilityRequest = default(TransportAvailabilityRequest), CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.ListAvailableSkusNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ using (var _result = await operations.RegionConfigurationByResourceGroupWithHttpMessagesAsync(resourceGroupName, location, scheduleAvailabilityRequest, transportAvailabilityRequest, 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 289e57bca7fee..db1211ee97fc5 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,20 +7,20 @@
Microsoft.Azure.Management.DataBox
Microsoft Azure Management DataBox library
Microsoft.Azure.Management.DataBox
- 1.1.0
+ 1.2.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 06164619bfcb5..8cbc0bb55c223 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.1.0")]
+[assembly: AssemblyFileVersion("1.2.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 74f23498b9ad5..a1b74944375b1 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
@@ -1,4 +1,4 @@
-
+
DataBox.Tests
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/CmkEnablementTest.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/CmkEnablementTest.json
new file mode 100644
index 0000000000000..32f02035796d6
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/CmkEnablementTest.json
@@ -0,0 +1,806 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg1089?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnMTA4OT9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "532bc465-2542-4527-9c0b-e833d2500e08"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "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": [
+ "0d76a7cd-bde8-4c77-ae0d-e668eb3a9cc3"
+ ],
+ "x-ms-correlation-request-id": [
+ "0d76a7cd-bde8-4c77-ae0d-e668eb3a9cc3"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050309Z:0d76a7cd-bde8-4c77-ae0d-e668eb3a9cc3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:03:09 GMT"
+ ],
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089\",\r\n \"name\": \"SdkRg1089\",\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/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2\"\r\n }\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": [
+ "dbfb511c-3dd1-4132-a5ee-63697d8867e6"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1066"
+ ]
+ },
+ "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/434fb99d-9c8d-42ef-bd36-0b04690f300f?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "77906645-b151-4bfb-b022-0bc2e2466fdb"
+ ],
+ "x-ms-client-request-id": [
+ "dbfb511c-3dd1-4132-a5ee-63697d8867e6"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "77906645-b151-4bfb-b022-0bc2e2466fdb"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050322Z:77906645-b151-4bfb-b022-0bc2e2466fdb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:03:21 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/434fb99d-9c8d-42ef-bd36-0b04690f300f?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvNDM0ZmI5OWQtOWM4ZC00MmVmLWJkMzYtMGIwNDY5MGYzMDBmP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "47a53a73-1b9e-487c-b05b-cc4c1fcf5955"
+ ],
+ "x-ms-client-request-id": [
+ "287f5abf-0011-4ad1-a7ca-2a388d4c0d44"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "47a53a73-1b9e-487c-b05b-cc4c1fcf5955"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050332Z:47a53a73-1b9e-487c-b05b-cc4c1fcf5955"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:03:31 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "809b8f53-43b1-421a-816b-b1082255a37d"
+ ],
+ "x-ms-client-request-id": [
+ "15356d7a-a938-42b1-93ea-ef6f92a9c3e8"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "809b8f53-43b1-421a-816b-b1082255a37d"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050343Z:809b8f53-43b1-421a-816b-b1082255a37d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:03:42 GMT"
+ ],
+ "Content-Length": [
+ "765"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:33:21.7659638+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob7793\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "8cdc58cc-2dcf-40ab-a6a5-d8778da8e479"
+ ],
+ "x-ms-client-request-id": [
+ "af3d7c89-c60e-42ea-a680-c69c29c9e3f4"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "8cdc58cc-2dcf-40ab-a6a5-d8778da8e479"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050408Z:8cdc58cc-2dcf-40ab-a6a5-d8778da8e479"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:08 GMT"
+ ],
+ "Content-Length": [
+ "892"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:33:21.7659638+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 \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"36a8dd63-cc5c-4b23-87aa-8793ade741b3\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"name\": \"SdkJob7793\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "8261e694-15b1-417c-91c2-4130008ea99f"
+ ],
+ "x-ms-client-request-id": [
+ "fe206d8c-4296-40fd-a348-6c6ff32ccf2f"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-correlation-request-id": [
+ "8261e694-15b1-417c-91c2-4130008ea99f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050430Z:8261e694-15b1-417c-91c2-4130008ea99f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:30 GMT"
+ ],
+ "Content-Length": [
+ "892"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:33:21.7659638+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 \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"36a8dd63-cc5c-4b23-87aa-8793ade741b3\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"name\": \"SdkJob7793\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "86d471a5-c185-4180-abc2-2c8a55ac76a6"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "56"
+ ]
+ },
+ "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/b0ec6b6f-cd3e-48a5-9ee8-1cdbe6279615?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "0516b000-6729-4f61-b875-6bfb1431fca7"
+ ],
+ "x-ms-client-request-id": [
+ "86d471a5-c185-4180-abc2-2c8a55ac76a6"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "0516b000-6729-4f61-b875-6bfb1431fca7"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050347Z:0516b000-6729-4f61-b875-6bfb1431fca7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:03:47 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "PATCH",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"details\": {\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"CustomerManaged\",\r\n \"kekUrl\": \"https://sdkkeyvault.vault.azure.net/keys/SSDKEY/\",\r\n \"kekVaultResourceID\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.KeyVault/vaults/SDKKeyVault\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "df658093-6534-495c-a756-80e1e01ef884"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "358"
+ ]
+ },
+ "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/3e660dd4-1602-49b3-a81a-8022a75b66b9?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "91a11339-b5cb-4a1e-8cda-fc0b3b7ed8dc"
+ ],
+ "x-ms-client-request-id": [
+ "df658093-6534-495c-a756-80e1e01ef884"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "91a11339-b5cb-4a1e-8cda-fc0b3b7ed8dc"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050410Z:91a11339-b5cb-4a1e-8cda-fc0b3b7ed8dc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:09 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/b0ec6b6f-cd3e-48a5-9ee8-1cdbe6279615?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYjBlYzZiNmYtY2QzZS00OGE1LTllZTgtMWNkYmU2Mjc5NjE1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "1b8d69e9-8350-42fc-930c-45e86a5ec1b5"
+ ],
+ "x-ms-client-request-id": [
+ "96526935-f378-46a6-be4f-a465d859df6c"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b8d69e9-8350-42fc-930c-45e86a5ec1b5"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050357Z:1b8d69e9-8350-42fc-930c-45e86a5ec1b5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:03:57 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "26838a2f-dc44-49ae-9b8a-c7d198b51860"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "b291b654-1c4a-4511-a7e6-51a31759399f"
+ ],
+ "x-ms-client-request-id": [
+ "26838a2f-dc44-49ae-9b8a-c7d198b51860"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-correlation-request-id": [
+ "b291b654-1c4a-4511-a7e6-51a31759399f"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050408Z:b291b654-1c4a-4511-a7e6-51a31759399f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:08 GMT"
+ ],
+ "Content-Length": [
+ "4344"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:33:21.7659638+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\": \"2020-08-31T10:33:23.5930933+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=DRxT5nOCj78bGPsbZ6mVYyhuOLkBkbOuqjVXXwFTHIg%3D&st=2020-08-31T04%3A54%3A08Z&se=2020-09-01T05%3A04%3A08Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"36a8dd63-cc5c-4b23-87aa-8793ade741b3\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"name\": \"SdkJob7793\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I3NzkzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "457dbdfa-897c-4db8-b517-484fe7231487"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "8ca25448-edc8-4bc3-a8e5-46fc74ae4f9a"
+ ],
+ "x-ms-client-request-id": [
+ "457dbdfa-897c-4db8-b517-484fe7231487"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ca25448-edc8-4bc3-a8e5-46fc74ae4f9a"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050431Z:8ca25448-edc8-4bc3-a8e5-46fc74ae4f9a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:30 GMT"
+ ],
+ "Content-Length": [
+ "4576"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:33:21.7659638+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\": \"2020-08-31T10:33:23.5930933+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=Wqcpj%2FXyZtm5HJnI5fHYApLlpjsX36%2BRTMHkvVfcPMw%3D&st=2020-08-31T04%3A54%3A31Z&se=2020-09-01T05%3A04%3A31Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"CustomerManaged\",\r\n \"kekUrl\": \"https://sdkkeyvault.vault.azure.net/keys/SSDKEY/\",\r\n \"kekVaultResourceID\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.KeyVault/vaults/SDKKeyVault\"\r\n }\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 \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"36a8dd63-cc5c-4b23-87aa-8793ade741b3\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"name\": \"SdkJob7793\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/3e660dd4-1602-49b3-a81a-8022a75b66b9?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvM2U2NjBkZDQtMTYwMi00OWIzLWE4MWEtODAyMmE3NWI2NmI5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1089/providers/Microsoft.DataBox/jobs/SdkJob7793?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "5572c11b-b954-469e-9e8e-e6a96e2399b1"
+ ],
+ "x-ms-client-request-id": [
+ "667bd266-ec0f-4b45-a056-8f2934159f9e"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-correlation-request-id": [
+ "5572c11b-b954-469e-9e8e-e6a96e2399b1"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050420Z:5572c11b-b954-469e-9e8e-e6a96e2399b1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:19 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ }
+ ],
+ "Names": {
+ "CmkEnablementTest": [
+ "SdkRg1089",
+ "SdkJob7793"
+ ]
+ },
+ "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/JobCRUDTests/DevicePasswordTest.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/DevicePasswordTest.json
new file mode 100644
index 0000000000000..05cb23faf7c60
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/DevicePasswordTest.json
@@ -0,0 +1,344 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg2089?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnMjA4OT9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "710e0fa2-72b9-4e34-a0ba-00054c3641bc"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "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": [
+ "94aa645d-c6f0-47c6-875e-a045b5653b34"
+ ],
+ "x-ms-correlation-request-id": [
+ "94aa645d-c6f0-47c6-875e-a045b5653b34"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T050229Z:94aa645d-c6f0-47c6-875e-a045b5653b34"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:02:29 GMT"
+ ],
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg2089\",\r\n \"name\": \"SdkRg2089\",\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/SdkRg2089/providers/Microsoft.DataBox/jobs/SdkJob9828?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMjA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5ODI4P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"details\": {\r\n \"jobDetailsType\": \"DataBox\",\r\n \"devicePassword\": \"Abcd223@22344\",\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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2\",\r\n \"sharePassword\": \"Abcd223@22344Abcd223@22344\"\r\n }\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": [
+ "ae1fb751-7db0-481f-bfef-2214fed69521"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1168"
+ ]
+ },
+ "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/ffa0f856-87a7-4dfa-a113-05001b463bac?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "a9b83d74-1072-47b0-9dc1-3d02f5aee04b"
+ ],
+ "x-ms-client-request-id": [
+ "ae1fb751-7db0-481f-bfef-2214fed69521"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "a9b83d74-1072-47b0-9dc1-3d02f5aee04b"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050238Z:a9b83d74-1072-47b0-9dc1-3d02f5aee04b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:02:37 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/ffa0f856-87a7-4dfa-a113-05001b463bac?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZmZhMGY4NTYtODdhNy00ZGZhLWExMTMtMDUwMDFiNDYzYmFjP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg2089/providers/Microsoft.DataBox/jobs/SdkJob9828?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "94803465-52ed-4840-8cac-87b60be5c018"
+ ],
+ "x-ms-client-request-id": [
+ "6d0d1013-82d7-433a-a62f-ecff991752a8"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "94803465-52ed-4840-8cac-87b60be5c018"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050248Z:94803465-52ed-4840-8cac-87b60be5c018"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:02:47 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg2089/providers/Microsoft.DataBox/jobs/SdkJob9828?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMjA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5ODI4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "64159ff5-bb91-4453-b9db-d2224acadf3b"
+ ],
+ "x-ms-client-request-id": [
+ "4552fe81-7f3e-4bbb-a746-79d42ffdc297"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "64159ff5-bb91-4453-b9db-d2224acadf3b"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050259Z:64159ff5-bb91-4453-b9db-d2224acadf3b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:02:59 GMT"
+ ],
+ "Content-Length": [
+ "765"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:32:38.0125333+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9828\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg2089/providers/Microsoft.DataBox/jobs/SdkJob9828\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg2089/providers/Microsoft.DataBox/jobs/SdkJob9828?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMjA4OS9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5ODI4P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2430fe3c-63c8-4ed9-b9eb-6dc56494b02e"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "dd7103bf-a9cd-46b5-b11e-7f54bd9da0d8"
+ ],
+ "x-ms-client-request-id": [
+ "2430fe3c-63c8-4ed9-b9eb-6dc56494b02e"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd7103bf-a9cd-46b5-b11e-7f54bd9da0d8"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050259Z:dd7103bf-a9cd-46b5-b11e-7f54bd9da0d8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:02:59 GMT"
+ ],
+ "Content-Length": [
+ "4219"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:32:38.0125333+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\": \"2020-08-31T10:32:40.2019309+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=feleNwZ%2B0bLTimllUCf5ohBVFWGegq2ArxlEjUVNct4%3D&st=2020-08-31T04%3A52%3A59Z&se=2020-09-01T05%3A02%3A59Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9828\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg2089/providers/Microsoft.DataBox/jobs/SdkJob9828\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "DevicePasswordTest": [
+ "SdkRg2089",
+ "SdkJob9828"
+ ]
+ },
+ "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/JobCRUDTests/TestExportJobCRUDOperations.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestExportJobCRUDOperations.json
new file mode 100644
index 0000000000000..c3a25a276aa0a
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestExportJobCRUDOperations.json
@@ -0,0 +1,1122 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg1972?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnMTk3Mj9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "dd153f53-0bc8-43b6-b0c5-a6574b5f5b57"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "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": [
+ "2cd1bb0b-0b49-483e-98cf-7444abe55c94"
+ ],
+ "x-ms-correlation-request-id": [
+ "2cd1bb0b-0b49-483e-98cf-7444abe55c94"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050442Z:2cd1bb0b-0b49-483e-98cf-7444abe55c94"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:42 GMT"
+ ],
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972\",\r\n \"name\": \"SdkRg1972\",\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/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\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 \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\"\r\n }\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": [
+ "89413f99-3217-41a1-ba18-a2699e8b78ce"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1395"
+ ]
+ },
+ "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/02874722-a973-4a37-befb-4bdaae230209?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "f00f3a61-84dc-42d2-bbdc-569b79b54a93"
+ ],
+ "x-ms-client-request-id": [
+ "89413f99-3217-41a1-ba18-a2699e8b78ce"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "f00f3a61-84dc-42d2-bbdc-569b79b54a93"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050451Z:f00f3a61-84dc-42d2-bbdc-569b79b54a93"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:04:50 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/02874722-a973-4a37-befb-4bdaae230209?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMDI4NzQ3MjItYTk3My00YTM3LWJlZmItNGJkYWFlMjMwMjA5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "dae0c452-9a17-48ed-8e87-f98a98fb27c7"
+ ],
+ "x-ms-client-request-id": [
+ "82e75279-6166-4df3-bfd7-70e5d8a36284"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "dae0c452-9a17-48ed-8e87-f98a98fb27c7"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050501Z:dae0c452-9a17-48ed-8e87-f98a98fb27c7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:00 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "2cd38ba2-7466-4ff2-8124-29a3db834a6d"
+ ],
+ "x-ms-client-request-id": [
+ "505f8a25-7c52-48c5-affa-a655fedbd7a6"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "2cd38ba2-7466-4ff2-8124-29a3db834a6d"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050511Z:2cd38ba2-7466-4ff2-8124-29a3db834a6d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:10 GMT"
+ ],
+ "Content-Length": [
+ "767"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "b095c5ab-fcd4-4cb8-8af1-e8546024f829"
+ ],
+ "x-ms-client-request-id": [
+ "2e547410-dd58-4953-bb22-c3cb774b7a34"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-correlation-request-id": [
+ "b095c5ab-fcd4-4cb8-8af1-e8546024f829"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050533Z:b095c5ab-fcd4-4cb8-8af1-e8546024f829"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:33 GMT"
+ ],
+ "Content-Length": [
+ "767"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0a3bccf1-b696-4e53-a103-41a8c05a63dd"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "4f6ff878-4d71-47db-b9f6-272e93a5465b"
+ ],
+ "x-ms-client-request-id": [
+ "0a3bccf1-b696-4e53-a103-41a8c05a63dd"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "4f6ff878-4d71-47db-b9f6-272e93a5465b"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050512Z:4f6ff878-4d71-47db-b9f6-272e93a5465b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:11 GMT"
+ ],
+ "Content-Length": [
+ "4664"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+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\": \"2020-08-31T10:34:52.2891665+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\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\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\": \"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 \"dataImportDetails\": [],\r\n \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferFilterDetails\": {},\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"logCollectionLevel\": \"Error\",\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=JaNW8Fu1Tl1aS7VRFN4iU2W%2F93pvfumE2NqxYpBGjZY%3D&st=2020-08-31T04%3A55%3A12Z&se=2020-09-01T05%3A05%3A12Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "29187f16-6755-4ec1-b3ca-7771425aaa96"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "a554ad62-8851-4aa9-a0f8-da135c83eec1"
+ ],
+ "x-ms-client-request-id": [
+ "29187f16-6755-4ec1-b3ca-7771425aaa96"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-correlation-request-id": [
+ "a554ad62-8851-4aa9-a0f8-da135c83eec1"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050534Z:a554ad62-8851-4aa9-a0f8-da135c83eec1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:33 GMT"
+ ],
+ "Content-Length": [
+ "4663"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+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\": \"2020-08-31T10:34:52.2891665+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\": \"DataCopy\",\r\n \"displayName\": \"Data copy in progress\",\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\": \"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 \"dataImportDetails\": [],\r\n \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferFilterDetails\": {},\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"logCollectionLevel\": \"Error\",\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=L1pe%2F8a748BaTFFag4y7kLENaf0s%2FMKFzEab8%2B2h5F8%3D&st=2020-08-31T04%3A55%3A33Z&se=2020-09-01T05%3A05%3A33Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7beca3dc-5a3f-45f3-836d-c4ce616c3d2b"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "28921d3e-3bbe-4260-aadb-8bd29fdf6688"
+ ],
+ "x-ms-client-request-id": [
+ "7beca3dc-5a3f-45f3-836d-c4ce616c3d2b"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-correlation-request-id": [
+ "28921d3e-3bbe-4260-aadb-8bd29fdf6688"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050539Z:28921d3e-3bbe-4260-aadb-8bd29fdf6688"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:39 GMT"
+ ],
+ "Content-Length": [
+ "4391"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"aaaaaa2\",\r\n \"transferType\": \"ExportFromAzure\",\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\",\r\n \"bytesProcessed\": 0,\r\n \"totalBytesToProcess\": 0,\r\n \"isEnumerationInProgress\": false\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:34:52.2891665+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:35:38.4834902+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 \"dataImportDetails\": [],\r\n \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferFilterDetails\": {},\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"logCollectionLevel\": \"Error\",\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=Dsf3E1d0zZoKWpLvGe7aJ%2FqDnDve5lc9aUOiJx7B9VA%3D&st=2020-08-31T04%3A55%3A39Z&se=2020-09-01T05%3A05%3A39Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "650450a3-a508-4537-a00f-c97a3cf93cfa"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "02c104e5-d2ab-47d8-9459-a3a0b232219a"
+ ],
+ "x-ms-client-request-id": [
+ "650450a3-a508-4537-a00f-c97a3cf93cfa"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "02c104e5-d2ab-47d8-9459-a3a0b232219a"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T051041Z:02c104e5-d2ab-47d8-9459-a3a0b232219a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:10:40 GMT"
+ ],
+ "Content-Length": [
+ "3898"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"aaaaaa2\",\r\n \"transferType\": \"ExportFromAzure\",\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\",\r\n \"bytesProcessed\": 0,\r\n \"totalBytesToProcess\": 0,\r\n \"isEnumerationInProgress\": false\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:34:52.2891665+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:35:38.4834902+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 \"dataImportDetails\": [],\r\n \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferFilterDetails\": {},\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"logCollectionLevel\": \"Error\",\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=N17TDvjeOzQGveMXRKDOP2go6EWXv2BHjpZDKokxYD0%3D&st=2020-08-31T05%3A00%3A40Z&se=2020-09-01T05%3A10%3A40Z&sp=r\",\r\n \"chainOfCustodySasKey\": \"https://wusbeta.blob.core.windows.net/chainofcustody/02874722-a973-4a37-befb-4bdaae230209.txt?sv=2018-03-28&sr=b&sig=%2F%2BpYaUqhxV1uR6AJYXkPq%2FE6EyLNNTpby%2BKt7kVbyWA%3D&st=2020-08-31T05%3A00%3A40Z&se=2020-08-31T05%3A30%3A40Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "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": [
+ "fe719392-1629-4d7b-adfc-c73c280cae8a"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "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/695561fa-37b5-4f5d-ae0c-1aa1f558130d?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "6f531a09-71f6-4892-b4e5-62a865b6e3dc"
+ ],
+ "x-ms-client-request-id": [
+ "fe719392-1629-4d7b-adfc-c73c280cae8a"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "6f531a09-71f6-4892-b4e5-62a865b6e3dc"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050512Z:6f531a09-71f6-4892-b4e5-62a865b6e3dc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:12 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/695561fa-37b5-4f5d-ae0c-1aa1f558130d?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvNjk1NTYxZmEtMzdiNS00ZjVkLWFlMGMtMWFhMWY1NTgxMzBkP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "fc56141f-db6b-4d57-99c6-b767dd287040"
+ ],
+ "x-ms-client-request-id": [
+ "4e1f218e-043b-40b4-bafb-d25fa6d91d22"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "fc56141f-db6b-4d57-99c6-b767dd287040"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050523Z:fc56141f-db6b-4d57-99c6-b767dd287040"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:23 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c696e4ca-44f4-4584-9f66-70e8540678f2"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-original-request-ids": [
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668",
+ "391654ef-bf9e-4feb-90b5-e56d7286e668"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-request-id": [
+ "391654ef-bf9e-4feb-90b5-e56d7286e668"
+ ],
+ "x-ms-correlation-request-id": [
+ "391654ef-bf9e-4feb-90b5-e56d7286e668"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050537Z:391654ef-bf9e-4feb-90b5-e56d7286e668"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:37 GMT"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "20613"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T11:12:15.5972523+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"allXML\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/allXML\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-07T15:51:08.4479315+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"bothExportAllxml\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/bothExportAllxml\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T19:44:59.2410723+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"exportAll\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/exportAll\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T18:31:05.3036028+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"importRegressnTest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/importRegressnTest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-09T01:57:03.8985885+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testBotthXMLAndAll\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testBotthXMLAndAll\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-05T15:56:52.6983398+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testExportAllOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testExportAllOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-26T22:52:20.2149111+05:30\",\r\n \"cancellationReason\": \"IncorrectOrder Test \",\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testlfs\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testlfs\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T17:45:25.464989+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testPayload\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testPayload\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-26T23:02:46.969366+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\": \"DataBoxDisk\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testwithoutlfs\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testwithoutlfs\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T10:43:04.8775864+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"xmlOnlyOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/xmlOnlyOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-28T15:20:48.1058546+05:30\",\r\n \"cancellationReason\": \"NoLongerNeeded 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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"dbtest1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/dbtest1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-14T08:51:18.2067875+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautam14-04-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautam14-04-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-27T18:08:30.6622356+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamtestexport\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamtestexport\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-21T20:41:02.3837388+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"DegautamTestExportOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/DegautamTestExportOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-24T07:56:23.6839464+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamtestorder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamtestorder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-14T08:48:21.2260174+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamTestOrder14-04\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamTestOrder14-04\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-12T12:19:19.8627264+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"export\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/export\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-05T19:50:20.9692355+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"exportTestResource\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/exportTestResource\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:09:45.7080012+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportNew\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportNew\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:13:02.5724966+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-20T13:39:28.1940929+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:14:59.6879599+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld2\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld2\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-07-21T23:43:34.513148+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"saranyagorder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/saranyagorder\",\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=2020-04-01&%24skiptoken=dVJdb5tAEPwvVts3wnGBBCJFlT%2bAODXEPji%2b3u4A4wMOkME2dpT%2fnkujplJVv612dmdGO%2fs6afJxWLGm6icPr5PQ9HzsTR4mu2Ho%2bgdZ5qQhRc7zZrghl8M%2bv0lbLvcH2qd71g2sbXp5S%2b50oMOtpG%2b395JKoCYZWnovpbmREU1VoAq3crdvjyzL973ssHTf9u12uFmQgczaUS5b2v8kHZOOAheUjxBAIAFVAsqPb33FOr%2bt8uZxvTBUGp6KjAfnFNZHWgLmeOppyWY15e4xsetDcgEsixBf%2bSZclvp3SBebVt9A45AJNAstQELjENjGPgnVT7RYLsYFhZpANCWOUCdqTOFQ01J152xaLOdTPfjSVM%2brcqqvlKROG1fMfrHMp8XaQlpqY8Eb2BajNhZzfzrCxwdTsTa1On9Cmzh6BuRTbZVEldhxPFMIWoRifPYBmrmmMoQRWiOlG%2fymOjlWjT3fcgK7H8OoKzOrOgd%2bQBDAo18hK8ea6XElzqtnHtdZT7g7vEQdc%2br25NuKR2z0hHjNHLjjPo61NFyevabVV%2bCao388e%2fQ2%2b%2bsVCq8lDZK7uHTDPBBeGpSE5vNtHKQKrXd3G56UNES%2ftYhtXkI%2bMhqhNjFjNVOKi893JcWJkgSZndfdAfOxdBRLXc%2bNlyTaAcyNWw8G2roAvz4uJ3LC4mpNEiGHQncnEhU%2foG1SXg%2bir4m9%2f%2bCfGQrsesbl6Xj9QyZvb%2b8%3d\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c3ff9af6-4f78-4b7a-9b9c-f424b44a0fd1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "7f535d0a-bcaf-4769-82e2-d7910b55b5fc"
+ ],
+ "x-ms-client-request-id": [
+ "c3ff9af6-4f78-4b7a-9b9c-f424b44a0fd1"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-correlation-request-id": [
+ "7f535d0a-bcaf-4769-82e2-d7910b55b5fc"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050538Z:7f535d0a-bcaf-4769-82e2-d7910b55b5fc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:38 GMT"
+ ],
+ "Content-Length": [
+ "900"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:34:50.6172117+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob2119\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119/cancel?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5L2NhbmNlbD9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"reason\": \"CancelTest\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ce8351a9-6338-4339-b6f2-255655c0e574"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "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": [
+ "3893b322-e0bb-4e91-9e5e-f10be5c86db6"
+ ],
+ "x-ms-client-request-id": [
+ "ce8351a9-6338-4339-b6f2-255655c0e574"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "3893b322-e0bb-4e91-9e5e-f10be5c86db6"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T050538Z:3893b322-e0bb-4e91-9e5e-f10be5c86db6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:05:38 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1972/providers/Microsoft.DataBox/jobs/SdkJob2119?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTk3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyMTE5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4868a12c-b0be-4dc6-9651-78bc0bacdd68"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "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/02874722-a973-4a37-befb-4bdaae230209-deleteorder?api-version=2018-01-01"
+ ],
+ "Retry-After": [
+ "10"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "1aecec40-1a84-4592-bd67-f39116083376"
+ ],
+ "x-ms-client-request-id": [
+ "4868a12c-b0be-4dc6-9651-78bc0bacdd68"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-correlation-request-id": [
+ "1aecec40-1a84-4592-bd67-f39116083376"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T051041Z:1aecec40-1a84-4592-bd67-f39116083376"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:10:41 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/02874722-a973-4a37-befb-4bdaae230209-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMDI4NzQ3MjItYTk3My00YTM3LWJlZmItNGJkYWFlMjMwMjA5LWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "83970b89-a3dc-4d53-b72c-53524e3397ab"
+ ],
+ "x-ms-client-request-id": [
+ "85eb7796-b1fc-4e98-84ba-559e00d10c52"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "83970b89-a3dc-4d53-b72c-53524e3397ab"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T051052Z:83970b89-a3dc-4d53-b72c-53524e3397ab"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:10:51 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/02874722-a973-4a37-befb-4bdaae230209-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMDI4NzQ3MjItYTk3My00YTM3LWJlZmItNGJkYWFlMjMwMjA5LWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "ef5fa708-78e8-47c0-af20-a2ff908c89e3"
+ ],
+ "x-ms-client-request-id": [
+ "b9f30089-9cac-424e-91f4-5757d37ce8ba"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "ef5fa708-78e8-47c0-af20-a2ff908c89e3"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T051052Z:ef5fa708-78e8-47c0-af20-a2ff908c89e3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 05:10:51 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "TestExportJobCRUDOperations": [
+ "SdkRg1972",
+ "SdkJob2119"
+ ]
+ },
+ "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/JobCRUDTests/TestJobCRUDOperations.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestJobCRUDOperations.json
index 003e7f3028523..b223ba8cfe4d1 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,21 +1,21 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg4216?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnNDIxNj9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg7416?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnNzQxNj9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8aacdcc6-fddb-443c-9180-d4fc68e3430a"
+ "c01031c9-8c37-49c7-a639-c96c765ed5f8"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
"Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
],
"Content-Type": [
@@ -33,16 +33,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1199"
],
"x-ms-request-id": [
- "e948e48b-3878-4309-833c-9beb7e7d4851"
+ "47b78eb2-14f0-4872-9b33-320438e1ea9e"
],
"x-ms-correlation-request-id": [
- "e948e48b-3878-4309-833c-9beb7e7d4851"
+ "47b78eb2-14f0-4872-9b33-320438e1ea9e"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101817Z:e948e48b-3878-4309-833c-9beb7e7d4851"
+ "CENTRALINDIA:20200831T051107Z:47b78eb2-14f0-4872-9b33-320438e1ea9e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,7 +51,7 @@
"nosniff"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:17 GMT"
+ "Mon, 31 Aug 2020 05:11:07 GMT"
],
"Content-Length": [
"171"
@@ -63,32 +63,32 @@
"-1"
]
},
- "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}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416\",\r\n \"name\": \"SdkRg7416\",\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/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"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 },\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\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": [
- "842e5d2c-910a-4692-bd2e-da0f23e05ef1"
+ "39676b80-b92e-4017-a693-06032ecdf098"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "983"
+ "1064"
]
},
"ResponseHeaders": {
@@ -99,7 +99,7 @@
"no-cache"
],
"Location": [
- "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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/bf49dead-e0ae-4b59-8ec4-baebe5342121?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -108,10 +108,10 @@
"nosniff"
],
"x-ms-request-id": [
- "659a63fa-6c7f-48c9-aa98-ed6f2fea9054"
+ "218e0a62-d6bb-4361-92ef-f1212df6278f"
],
"x-ms-client-request-id": [
- "842e5d2c-910a-4692-bd2e-da0f23e05ef1"
+ "39676b80-b92e-4017-a693-06032ecdf098"
],
"X-Powered-By": [
"ASP.NET"
@@ -120,16 +120,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "e752402a-ce0c-4429-9a8e-3a2ea52f7ca5"
+ "218e0a62-d6bb-4361-92ef-f1212df6278f"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101822Z:e752402a-ce0c-4429-9a8e-3a2ea52f7ca5"
+ "CENTRALINDIA:20200831T051118Z:218e0a62-d6bb-4361-92ef-f1212df6278f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:22 GMT"
+ "Mon, 31 Aug 2020 05:11:18 GMT"
],
"Expires": [
"-1"
@@ -142,16 +142,16 @@
"StatusCode": 202
},
{
- "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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/bf49dead-e0ae-4b59-8ec4-baebe5342121?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYmY0OWRlYWQtZTBhZS00YjU5LThlYzQtYmFlYmU1MzQyMTIxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -162,7 +162,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -171,10 +171,10 @@
"nosniff"
],
"x-ms-request-id": [
- "ab77a3f6-adf4-4725-b05a-7d53c4ea47d7"
+ "a7a4f4c2-9cff-4548-9012-0e91a8788ab4"
],
"x-ms-client-request-id": [
- "0ea1663e-a6ca-4069-a067-196cbfe9d638"
+ "0dd4d1e9-fcf2-4344-9e02-3a2925623264"
],
"X-Powered-By": [
"ASP.NET"
@@ -183,16 +183,16 @@
"11999"
],
"x-ms-correlation-request-id": [
- "400303c9-14e4-4d99-9698-293d7a1ce57b"
+ "a7a4f4c2-9cff-4548-9012-0e91a8788ab4"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101833Z:400303c9-14e4-4d99-9698-293d7a1ce57b"
+ "CENTRALINDIA:20200831T051128Z:a7a4f4c2-9cff-4548-9012-0e91a8788ab4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:32 GMT"
+ "Mon, 31 Aug 2020 05:11:27 GMT"
],
"Expires": [
"-1"
@@ -205,16 +205,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -228,10 +228,10 @@
"nosniff"
],
"x-ms-request-id": [
- "3da08cde-517b-4dd5-93db-c5e2809cb55c"
+ "228b4a1d-e0d3-4c37-bffb-a2a0ff6a577f"
],
"x-ms-client-request-id": [
- "5e541fc1-cc66-49d2-9544-c25db371f0d7"
+ "c476d017-9102-4f41-a5bf-ad985fc06cfb"
],
"X-Powered-By": [
"ASP.NET"
@@ -240,19 +240,19 @@
"11998"
],
"x-ms-correlation-request-id": [
- "b4252a15-fe08-4484-b66f-e490a035e3a3"
+ "228b4a1d-e0d3-4c37-bffb-a2a0ff6a577f"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101843Z:b4252a15-fe08-4484-b66f-e490a035e3a3"
+ "CENTRALINDIA:20200831T051139Z:228b4a1d-e0d3-4c37-bffb-a2a0ff6a577f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:42 GMT"
+ "Mon, 31 Aug 2020 05:11:38 GMT"
],
"Content-Length": [
- "647"
+ "764"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -261,20 +261,20 @@
"-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-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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -288,10 +288,10 @@
"nosniff"
],
"x-ms-request-id": [
- "6f019696-baa5-42fc-946f-a3bd69477960"
+ "4dd072a2-eacc-47f0-ab8e-f8be238ae28e"
],
"x-ms-client-request-id": [
- "f7c9bd17-6f09-4e44-9d2f-d657553e4cd9"
+ "c57994ad-ee07-48e8-a511-56d0d8594153"
],
"X-Powered-By": [
"ASP.NET"
@@ -300,19 +300,19 @@
"11995"
],
"x-ms-correlation-request-id": [
- "341ace9c-878c-490c-9960-1ecdbece0412"
+ "4dd072a2-eacc-47f0-ab8e-f8be238ae28e"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101905Z:341ace9c-878c-490c-9960-1ecdbece0412"
+ "CENTRALINDIA:20200831T051201Z:4dd072a2-eacc-47f0-ab8e-f8be238ae28e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:19:05 GMT"
+ "Mon, 31 Aug 2020 05:12:00 GMT"
],
"Content-Length": [
- "647"
+ "764"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -321,26 +321,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "bda9eefb-a289-43db-b97c-10c294a8496d"
+ "dfaee287-d91f-4399-a603-19486807267b"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -354,10 +354,10 @@
"nosniff"
],
"x-ms-request-id": [
- "1abdb282-3d3a-45de-b8d0-d7f8ed17bf77"
+ "abd8a0cd-7f15-45b8-bc9c-27f9f9e8cbd8"
],
"x-ms-client-request-id": [
- "bda9eefb-a289-43db-b97c-10c294a8496d"
+ "dfaee287-d91f-4399-a603-19486807267b"
],
"X-Powered-By": [
"ASP.NET"
@@ -366,19 +366,19 @@
"11997"
],
"x-ms-correlation-request-id": [
- "edc7a203-72ed-4aaa-bc1d-cf1163c63536"
+ "abd8a0cd-7f15-45b8-bc9c-27f9f9e8cbd8"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101843Z:edc7a203-72ed-4aaa-bc1d-cf1163c63536"
+ "CENTRALINDIA:20200831T051139Z:abd8a0cd-7f15-45b8-bc9c-27f9f9e8cbd8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:42 GMT"
+ "Mon, 31 Aug 2020 05:11:39 GMT"
],
"Content-Length": [
- "3883"
+ "4216"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -387,26 +387,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+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\": \"2020-08-31T10:41:19.9853287+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=CBPvADklIqgNdaHILceVbBOwabgQsXd8%2BZUb5mX3R2M%3D&st=2020-08-31T05%3A01%3A39Z&se=2020-09-01T05%3A11%3A39Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4feef5c5-7cce-4027-9351-329312be5907"
+ "6f276caa-d6a7-48fe-a390-4881952910f2"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -420,10 +420,10 @@
"nosniff"
],
"x-ms-request-id": [
- "5feb67f8-5ba7-45ec-a364-044114d3838f"
+ "f3bbabd3-22e2-4a42-bd1a-b3997cda44ca"
],
"x-ms-client-request-id": [
- "4feef5c5-7cce-4027-9351-329312be5907"
+ "6f276caa-d6a7-48fe-a390-4881952910f2"
],
"X-Powered-By": [
"ASP.NET"
@@ -432,19 +432,19 @@
"11994"
],
"x-ms-correlation-request-id": [
- "a339e9c0-7c23-4966-b950-9e2cb5229ceb"
+ "f3bbabd3-22e2-4a42-bd1a-b3997cda44ca"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101905Z:a339e9c0-7c23-4966-b950-9e2cb5229ceb"
+ "CENTRALINDIA:20200831T051201Z:f3bbabd3-22e2-4a42-bd1a-b3997cda44ca"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:19:05 GMT"
+ "Mon, 31 Aug 2020 05:12:01 GMT"
],
"Content-Length": [
- "3878"
+ "4213"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -453,26 +453,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+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\": \"2020-08-31T10:41:19.9853287+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=rPiygaD6lODc4%2BPV648w%2FiQSXZ4JkA6I0ANfzRwBPMo%3D&st=2020-08-31T05%3A02%3A01Z&se=2020-09-01T05%3A12%3A01Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "a09a7108-8a5b-429e-a008-7e4631dd4a40"
+ "b41fea57-c884-4d05-aabc-7d58bf368814"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -486,10 +486,10 @@
"nosniff"
],
"x-ms-request-id": [
- "3d6ed399-6f5f-428d-9b1b-68fe83661b21"
+ "e03979a6-87f7-4372-a126-d0ea9248214a"
],
"x-ms-client-request-id": [
- "a09a7108-8a5b-429e-a008-7e4631dd4a40"
+ "b41fea57-c884-4d05-aabc-7d58bf368814"
],
"X-Powered-By": [
"ASP.NET"
@@ -498,19 +498,19 @@
"11991"
],
"x-ms-correlation-request-id": [
- "22722464-aab0-4270-8e5e-0dc55acc89f9"
+ "e03979a6-87f7-4372-a126-d0ea9248214a"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101921Z:22722464-aab0-4270-8e5e-0dc55acc89f9"
+ "CENTRALINDIA:20200831T051224Z:e03979a6-87f7-4372-a126-d0ea9248214a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:19:21 GMT"
+ "Mon, 31 Aug 2020 05:12:23 GMT"
],
"Content-Length": [
- "3555"
+ "3971"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -519,26 +519,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"transferType\": \"ImportToAzure\",\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesProcessed\": 0,\r\n \"totalBytesToProcess\": 0,\r\n \"isEnumerationInProgress\": false\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:41:19.9853287+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:42:23.0786947+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=uvuSHtF6QGwXqQyJPaZDBg9v5Vnx%2FJzhvXWhtZoleWY%3D&st=2020-08-31T05%3A02%3A23Z&se=2020-09-01T05%3A12%3A23Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01&$expand=details",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDEmJGV4cGFuZD1kZXRhaWxz",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDEmJGV4cGFuZD1kZXRhaWxz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "67b0007f-4d0c-44f3-b903-195c162a3ee4"
+ "61ec134e-bee5-4a95-8127-b327544dce20"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -552,10 +552,10 @@
"nosniff"
],
"x-ms-request-id": [
- "58fafb9a-7d90-4cc2-b703-d2ec0469d847"
+ "1174c0e7-eee4-425f-9bbe-c18fe0c08f11"
],
"x-ms-client-request-id": [
- "67b0007f-4d0c-44f3-b903-195c162a3ee4"
+ "61ec134e-bee5-4a95-8127-b327544dce20"
],
"X-Powered-By": [
"ASP.NET"
@@ -564,19 +564,19 @@
"11999"
],
"x-ms-correlation-request-id": [
- "8d3f9ab9-fbed-4d9b-8c13-29bb0cae2ff2"
+ "1174c0e7-eee4-425f-9bbe-c18fe0c08f11"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102423Z:8d3f9ab9-fbed-4d9b-8c13-29bb0cae2ff2"
+ "SOUTHINDIA:20200831T051725Z:1174c0e7-eee4-425f-9bbe-c18fe0c08f11"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:24:23 GMT"
+ "Mon, 31 Aug 2020 05:17:24 GMT"
],
"Content-Length": [
- "3060"
+ "3478"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -585,26 +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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"transferType\": \"ImportToAzure\",\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesProcessed\": 0,\r\n \"totalBytesToProcess\": 0,\r\n \"isEnumerationInProgress\": false\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:41:19.9853287+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:42:23.0786947+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=sY9TJc90wa%2BFAVUfamexHB6SEspa3DX4pIu6kr%2BuAzg%3D&st=2020-08-31T05%3A07%3A25Z&se=2020-09-01T05%3A17%3A25Z&sp=r\",\r\n \"chainOfCustodySasKey\": \"https://wusbeta.blob.core.windows.net/chainofcustody/bf49dead-e0ae-4b59-8ec4-baebe5342121.txt?sv=2018-03-28&sr=b&sig=l93%2Bq%2FRz0yDCiJRiNcix3xAgbCFN0uOJcODfIg7GbI0%3D&st=2020-08-31T05%3A07%3A25Z&se=2020-08-31T05%3A37%3A25Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"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": [
- "efd496d5-16a8-4208-ac8a-b67f202a9409"
+ "7a07f370-6af8-4771-afd6-6fd3cf723225"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -621,7 +621,7 @@
"no-cache"
],
"Location": [
- "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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/d59f6a88-fd42-4f25-ae41-8a231ec31dd2?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -630,10 +630,10 @@
"nosniff"
],
"x-ms-request-id": [
- "80472603-7b0c-4cc3-ba49-451d0ce74305"
+ "cee6f60b-a038-447a-afad-e7c7837fb178"
],
"x-ms-client-request-id": [
- "efd496d5-16a8-4208-ac8a-b67f202a9409"
+ "7a07f370-6af8-4771-afd6-6fd3cf723225"
],
"X-Powered-By": [
"ASP.NET"
@@ -642,16 +642,16 @@
"1198"
],
"x-ms-correlation-request-id": [
- "3d7ebfe6-3fd0-42e4-9c4b-4d12ef0852cb"
+ "cee6f60b-a038-447a-afad-e7c7837fb178"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101844Z:3d7ebfe6-3fd0-42e4-9c4b-4d12ef0852cb"
+ "CENTRALINDIA:20200831T051140Z:cee6f60b-a038-447a-afad-e7c7837fb178"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:43 GMT"
+ "Mon, 31 Aug 2020 05:11:40 GMT"
],
"Expires": [
"-1"
@@ -664,16 +664,16 @@
"StatusCode": 202
},
{
- "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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/d59f6a88-fd42-4f25-ae41-8a231ec31dd2?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvZDU5ZjZhODgtZmQ0Mi00ZjI1LWFlNDEtOGEyMzFlYzMxZGQyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -684,7 +684,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2018-01-01"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -693,10 +693,10 @@
"nosniff"
],
"x-ms-request-id": [
- "46d134d2-835f-4196-a0b7-442bdfff0000"
+ "0dc388c9-d8ca-47ec-833a-5c260246ce03"
],
"x-ms-client-request-id": [
- "467589e9-71c0-483a-8513-b3710b895ccc"
+ "6ccc77b4-d1dd-4b8d-b35e-2f4beb165cad"
],
"X-Powered-By": [
"ASP.NET"
@@ -705,16 +705,16 @@
"11996"
],
"x-ms-correlation-request-id": [
- "4b2ba28a-63c3-4bd5-9401-b3a77b073e47"
+ "0dc388c9-d8ca-47ec-833a-5c260246ce03"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101855Z:4b2ba28a-63c3-4bd5-9401-b3a77b073e47"
+ "CENTRALINDIA:20200831T051150Z:0dc388c9-d8ca-47ec-833a-5c260246ce03"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:18:54 GMT"
+ "Mon, 31 Aug 2020 05:11:50 GMT"
],
"Expires": [
"-1"
@@ -727,22 +727,22 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b701e494-eb3e-4c92-8854-80f0301c1375"
+ "f6f0d750-e390-4eba-9f0f-7ef40728e9bc"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -753,28 +753,29 @@
"no-cache"
],
"x-ms-original-request-ids": [
- "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"
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20",
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"11993"
],
"x-ms-request-id": [
- "b12baeae-9e18-4d9c-b699-f0931914267d"
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20"
],
"x-ms-correlation-request-id": [
- "b12baeae-9e18-4d9c-b699-f0931914267d"
+ "0b7b3032-99e3-4521-9568-54c92ac8cc20"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101920Z:b12baeae-9e18-4d9c-b699-f0931914267d"
+ "CENTRALINDIA:20200831T051222Z:0b7b3032-99e3-4521-9568-54c92ac8cc20"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -783,7 +784,7 @@
"nosniff"
],
"Date": [
- "Thu, 17 Oct 2019 10:19:19 GMT"
+ "Mon, 31 Aug 2020 05:12:21 GMT"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -792,29 +793,29 @@
"-1"
],
"Content-Length": [
- "18307"
+ "20613"
]
},
- "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}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T11:12:15.5972523+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"allXML\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/allXML\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-07T15:51:08.4479315+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"bothExportAllxml\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/bothExportAllxml\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T19:44:59.2410723+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"exportAll\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/exportAll\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T18:31:05.3036028+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"importRegressnTest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/importRegressnTest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-09T01:57:03.8985885+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testBotthXMLAndAll\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testBotthXMLAndAll\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-05T15:56:52.6983398+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testExportAllOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testExportAllOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-26T22:52:20.2149111+05:30\",\r\n \"cancellationReason\": \"IncorrectOrder Test \",\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testlfs\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testlfs\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T17:45:25.464989+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testPayload\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testPayload\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-26T23:02:46.969366+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\": \"DataBoxDisk\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testwithoutlfs\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testwithoutlfs\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T10:43:04.8775864+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"xmlOnlyOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/xmlOnlyOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-28T15:20:48.1058546+05:30\",\r\n \"cancellationReason\": \"NoLongerNeeded 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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"dbtest1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/dbtest1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-14T08:51:18.2067875+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautam14-04-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautam14-04-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-27T18:08:30.6622356+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamtestexport\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamtestexport\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-21T20:41:02.3837388+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"DegautamTestExportOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/DegautamTestExportOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-24T07:56:23.6839464+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamtestorder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamtestorder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-14T08:48:21.2260174+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamTestOrder14-04\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamTestOrder14-04\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-12T12:19:19.8627264+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"export\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/export\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-05T19:50:20.9692355+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"exportTestResource\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/exportTestResource\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:09:45.7080012+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportNew\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportNew\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:13:02.5724966+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-20T13:39:28.1940929+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:14:59.6879599+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld2\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld2\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-07-21T23:43:34.513148+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"saranyagorder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/saranyagorder\",\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=2020-04-01&%24skiptoken=dVJdb5tAEPwvVts3wnGBBCJFlT%2bAODXEPji%2b3u4A4wMOkME2dpT%2fnkujplJVv612dmdGO%2fs6afJxWLGm6icPr5PQ9HzsTR4mu2Ho%2bgdZ5qQhRc7zZrghl8M%2bv0lbLvcH2qd71g2sbXp5S%2b50oMOtpG%2b395JKoCYZWnovpbmREU1VoAq3crdvjyzL973ssHTf9u12uFmQgczaUS5b2v8kHZOOAheUjxBAIAFVAsqPb33FOr%2bt8uZxvTBUGp6KjAfnFNZHWgLmeOppyWY15e4xsetDcgEsixBf%2bSZclvp3SBebVt9A45AJNAstQELjENjGPgnVT7RYLsYFhZpANCWOUCdqTOFQ01J152xaLOdTPfjSVM%2brcqqvlKROG1fMfrHMp8XaQlpqY8Eb2BajNhZzfzrCxwdTsTa1On9Cmzh6BuRTbZVEldhxPFMIWoRifPYBmrmmMoQRWiOlG%2fymOjlWjT3fcgK7H8OoKzOrOgd%2bQBDAo18hK8ea6XElzqtnHtdZT7g7vEQdc%2br25NuKR2z0hHjNHLjjPo61NFyevabVV%2bCao388e%2fQ2%2b%2bsVCq8lDZK7uHTDPBBeGpSE5vNtHKQKrXd3G56UNES%2ftYhtXkI%2bMhqhNjFjNVOKi893JcWJkgSZndfdAfOxdBRLXc%2bNlyTaAcyNWw8G2roAvz4uJ3LC4mpNEiGHQncnEhU%2foG1SXg%2bir4m9%2f%2bCfGQrsesbl6Xj9QyZvb%2b8%3d\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b62c9e5d-a49a-4241-9576-53b3ce65ecfe"
+ "fc70d97d-14fe-41e9-9ced-e8a15d197958"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -828,10 +829,10 @@
"nosniff"
],
"x-ms-request-id": [
- "f0ff1e43-f687-4ab4-b021-d57e89609262"
+ "76ceeefd-5868-4220-b0a9-2701b52b49fc"
],
"x-ms-client-request-id": [
- "b62c9e5d-a49a-4241-9576-53b3ce65ecfe"
+ "fc70d97d-14fe-41e9-9ced-e8a15d197958"
],
"X-Powered-By": [
"ASP.NET"
@@ -840,19 +841,19 @@
"11992"
],
"x-ms-correlation-request-id": [
- "b4f87c72-f971-470a-b8d1-90116c78659e"
+ "76ceeefd-5868-4220-b0a9-2701b52b49fc"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101920Z:b4f87c72-f971-470a-b8d1-90116c78659e"
+ "CENTRALINDIA:20200831T051222Z:76ceeefd-5868-4220-b0a9-2701b52b49fc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:19:20 GMT"
+ "Mon, 31 Aug 2020 05:12:21 GMT"
],
"Content-Length": [
- "760"
+ "897"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -861,26 +862,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\": \"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}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:41:18.151064+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob9389\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600/cancel?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwL2NhbmNlbD9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389/cancel?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5L2NhbmNlbD9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"reason\": \"CancelTest\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "73aab7b4-aa33-456e-acdf-a953aaf726d2"
+ "82d84948-4d83-4591-add8-6b43251ef0a8"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -900,10 +901,10 @@
"nosniff"
],
"x-ms-request-id": [
- "efecd501-ee83-43a1-8a34-9d8aee02b898"
+ "5d92f848-e2f6-42d1-87cd-1ae5a9639825"
],
"x-ms-client-request-id": [
- "73aab7b4-aa33-456e-acdf-a953aaf726d2"
+ "82d84948-4d83-4591-add8-6b43251ef0a8"
],
"X-Powered-By": [
"ASP.NET"
@@ -912,16 +913,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "abde27b8-c03d-4bbf-96d3-3aa79856070d"
+ "5d92f848-e2f6-42d1-87cd-1ae5a9639825"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T101921Z:abde27b8-c03d-4bbf-96d3-3aa79856070d"
+ "CENTRALINDIA:20200831T051223Z:5d92f848-e2f6-42d1-87cd-1ae5a9639825"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:19:20 GMT"
+ "Mon, 31 Aug 2020 05:12:22 GMT"
],
"Expires": [
"-1"
@@ -931,22 +932,22 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg4216/providers/Microsoft.DataBox/jobs/SdkJob2600?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNDIxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IyNjAwP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7416/providers/Microsoft.DataBox/jobs/SdkJob9389?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzQxNi9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2I5Mzg5P2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "36a5ec8e-d90c-41dd-b721-a071b39ab2d6"
+ "142cfb1f-907b-42a5-9f25-097fd054692b"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -957,7 +958,7 @@
"no-cache"
],
"Location": [
- "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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/bf49dead-e0ae-4b59-8ec4-baebe5342121-deleteorder?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -966,10 +967,10 @@
"nosniff"
],
"x-ms-request-id": [
- "cf480928-dc59-413c-905a-f49915121e58"
+ "7ae0072e-c6cf-4649-ab09-9ea9bd09ce4c"
],
"x-ms-client-request-id": [
- "36a5ec8e-d90c-41dd-b721-a071b39ab2d6"
+ "142cfb1f-907b-42a5-9f25-097fd054692b"
],
"X-Powered-By": [
"ASP.NET"
@@ -978,16 +979,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "a7205669-fbeb-4aa9-945c-8a1fadf18ce3"
+ "7ae0072e-c6cf-4649-ab09-9ea9bd09ce4c"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102425Z:a7205669-fbeb-4aa9-945c-8a1fadf18ce3"
+ "SOUTHINDIA:20200831T051726Z:7ae0072e-c6cf-4649-ab09-9ea9bd09ce4c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:24:25 GMT"
+ "Mon, 31 Aug 2020 05:17:25 GMT"
],
"Expires": [
"-1"
@@ -1000,16 +1001,16 @@
"StatusCode": 202
},
{
- "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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/bf49dead-e0ae-4b59-8ec4-baebe5342121-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYmY0OWRlYWQtZTBhZS00YjU5LThlYzQtYmFlYmU1MzQyMTIxLWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1023,10 +1024,10 @@
"nosniff"
],
"x-ms-request-id": [
- "2dbfb750-adbe-42ca-aa86-9ca3304e5443"
+ "fb5b0c39-6658-4d8b-960d-a2a1a92b0d41"
],
"x-ms-client-request-id": [
- "f1b8ad06-b481-49df-a9e5-4ac51e5890ad"
+ "d702a83a-3e33-43ab-b82b-7792f72e7dd1"
],
"X-Powered-By": [
"ASP.NET"
@@ -1035,16 +1036,16 @@
"11998"
],
"x-ms-correlation-request-id": [
- "72b295bd-5512-44f5-83a1-ec6a83e1f244"
+ "fb5b0c39-6658-4d8b-960d-a2a1a92b0d41"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102435Z:72b295bd-5512-44f5-83a1-ec6a83e1f244"
+ "SOUTHINDIA:20200831T051736Z:fb5b0c39-6658-4d8b-960d-a2a1a92b0d41"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:24:35 GMT"
+ "Mon, 31 Aug 2020 05:17:36 GMT"
],
"Expires": [
"-1"
@@ -1054,16 +1055,16 @@
"StatusCode": 204
},
{
- "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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/bf49dead-e0ae-4b59-8ec4-baebe5342121-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYmY0OWRlYWQtZTBhZS00YjU5LThlYzQtYmFlYmU1MzQyMTIxLWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1077,10 +1078,10 @@
"nosniff"
],
"x-ms-request-id": [
- "f4086d9c-c9e9-4052-8c49-a5b4a46c7d2b"
+ "d274144c-a642-474f-9c15-84e3fc9d63f5"
],
"x-ms-client-request-id": [
- "4d0adad3-b88f-4dc7-a5aa-16bb72849d49"
+ "6b5ed383-ce96-4809-9fa5-5a5d2a6a0d88"
],
"X-Powered-By": [
"ASP.NET"
@@ -1089,16 +1090,16 @@
"11997"
],
"x-ms-correlation-request-id": [
- "ab453518-07ff-40d3-ab68-5cfca3eca7ec"
+ "d274144c-a642-474f-9c15-84e3fc9d63f5"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102435Z:ab453518-07ff-40d3-ab68-5cfca3eca7ec"
+ "SOUTHINDIA:20200831T051737Z:d274144c-a642-474f-9c15-84e3fc9d63f5"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:24:35 GMT"
+ "Mon, 31 Aug 2020 05:17:37 GMT"
],
"Expires": [
"-1"
@@ -1110,8 +1111,8 @@
],
"Names": {
"TestJobCRUDOperations": [
- "SdkRg4216",
- "SdkJob2600"
+ "SdkRg7416",
+ "SdkJob9389"
]
},
"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
index e36f9d444f479..fbdb3bec5d5d7 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestScheduledJob.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/JobCRUDTests/TestScheduledJob.json
@@ -1,21 +1,21 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg1164?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnMTE2ND9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/SdkRg342?api-version=2015-11-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlZ3JvdXBzL1Nka1JnMzQyP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "521b4302-1cda-476f-b949-566aab5406bb"
+ "e85a2946-bcc1-4691-bb1a-60dd5380f6bb"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
"Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
],
"Content-Type": [
@@ -36,13 +36,13 @@
"1199"
],
"x-ms-request-id": [
- "96495943-938f-4c86-8f07-52c73a1e99c5"
+ "4c214086-3446-41ee-88c3-df7a77963393"
],
"x-ms-correlation-request-id": [
- "96495943-938f-4c86-8f07-52c73a1e99c5"
+ "4c214086-3446-41ee-88c3-df7a77963393"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105639Z:96495943-938f-4c86-8f07-52c73a1e99c5"
+ "SOUTHINDIA:20200831T045606Z:4c214086-3446-41ee-88c3-df7a77963393"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,10 +51,10 @@
"nosniff"
],
"Date": [
- "Mon, 14 Oct 2019 10:56:39 GMT"
+ "Mon, 31 Aug 2020 04:56:06 GMT"
],
"Content-Length": [
- "171"
+ "169"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -63,32 +63,32 @@
"-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}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342\",\r\n \"name\": \"SdkRg342\",\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==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMQ==",
"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}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n }\r\n ]\r\n },\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T04:56:03.4684805Z\"\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"
+ "6c7b33cf-3e51-4716-be89-56d7ac201018"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "1105"
+ "1188"
]
},
"ResponseHeaders": {
@@ -99,7 +99,7 @@
"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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/286dffa8-eedb-48cb-9d11-7b21b2620af5?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -108,10 +108,10 @@
"nosniff"
],
"x-ms-request-id": [
- "46d407be-7a63-4d35-96ba-2357500da0cc"
+ "27899ecb-1e43-4475-9e33-4361f322e828"
],
"x-ms-client-request-id": [
- "5393a9ee-584a-450e-8a0f-89bace033957"
+ "6c7b33cf-3e51-4716-be89-56d7ac201018"
],
"X-Powered-By": [
"ASP.NET"
@@ -120,16 +120,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "65bce92d-2664-4050-9d48-00238aff5fa8"
+ "27899ecb-1e43-4475-9e33-4361f322e828"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105644Z:65bce92d-2664-4050-9d48-00238aff5fa8"
+ "SOUTHINDIA:20200831T045615Z:27899ecb-1e43-4475-9e33-4361f322e828"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:56:43 GMT"
+ "Mon, 31 Aug 2020 04:56:15 GMT"
],
"Expires": [
"-1"
@@ -142,16 +142,16 @@
"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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/286dffa8-eedb-48cb-9d11-7b21b2620af5?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMjg2ZGZmYTgtZWVkYi00OGNiLTlkMTEtN2IyMWIyNjIwYWY1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -162,7 +162,7 @@
"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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -171,28 +171,28 @@
"nosniff"
],
"x-ms-request-id": [
- "f922723f-43fb-4346-a036-88053a805509"
+ "2348f2d2-7ebd-437f-97e6-a45c34320c51"
],
"x-ms-client-request-id": [
- "a21b9cfd-fc51-4cff-8da2-0aae2eb799ed"
+ "39d8633a-e373-454f-b0b0-f4c848547245"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11999"
],
"x-ms-correlation-request-id": [
- "c569865e-1714-4274-8c18-6070ea0ea434"
+ "2348f2d2-7ebd-437f-97e6-a45c34320c51"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105654Z:c569865e-1714-4274-8c18-6070ea0ea434"
+ "SOUTHINDIA:20200831T045626Z:2348f2d2-7ebd-437f-97e6-a45c34320c51"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:56:54 GMT"
+ "Mon, 31 Aug 2020 04:56:25 GMT"
],
"Expires": [
"-1"
@@ -205,16 +205,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2018-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -228,31 +228,31 @@
"nosniff"
],
"x-ms-request-id": [
- "36024418-a8cc-43d6-a7fa-b2e9de08e618"
+ "b72afb24-6462-42fa-b9f7-fe7cdbdcdf7c"
],
"x-ms-client-request-id": [
- "4721e064-1e70-452a-929b-7d9f12744e34"
+ "7a69a640-286a-434b-aff0-89e34bddafa9"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
+ "11998"
],
"x-ms-correlation-request-id": [
- "c1993db7-c43a-410e-9546-c74cc7f1dc9a"
+ "b72afb24-6462-42fa-b9f7-fe7cdbdcdf7c"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105704Z:c1993db7-c43a-410e-9546-c74cc7f1dc9a"
+ "SOUTHINDIA:20200831T045636Z:b72afb24-6462-42fa-b9f7-fe7cdbdcdf7c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:57:04 GMT"
+ "Mon, 31 Aug 2020 04:56:36 GMT"
],
"Content-Length": [
- "648"
+ "768"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -261,20 +261,20 @@
"-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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+05:30\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -288,31 +288,31 @@
"nosniff"
],
"x-ms-request-id": [
- "7637460c-cf9f-4ff4-968a-c9b6b589053e"
+ "4f3bb995-a3ac-4d0c-8cf7-6b3b10765368"
],
"x-ms-client-request-id": [
- "508525ff-1a0d-42a8-8aea-1bf277c4d082"
+ "e3a04693-755a-4318-85d6-ed8d5609bbe8"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11985"
+ "11995"
],
"x-ms-correlation-request-id": [
- "1740facf-a8a7-49b0-a88c-38f1d58b94f6"
+ "4f3bb995-a3ac-4d0c-8cf7-6b3b10765368"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105839Z:1740facf-a8a7-49b0-a88c-38f1d58b94f6"
+ "SOUTHINDIA:20200831T045658Z:4f3bb995-a3ac-4d0c-8cf7-6b3b10765368"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:39 GMT"
+ "Mon, 31 Aug 2020 04:56:57 GMT"
],
"Content-Length": [
- "648"
+ "768"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -321,26 +321,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+05:30\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMSYkZXhwYW5kPWRldGFpbHM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5e3dfb30-ab0c-4ac9-b9db-8b6bc631b9e5"
+ "fe7cef7d-fa5a-4933-be35-67407d3cb966"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -354,31 +354,31 @@
"nosniff"
],
"x-ms-request-id": [
- "42fe0242-fd8d-40c6-a613-9062e23480bc"
+ "3db3c743-ce7f-4cbc-b45b-e93221361caa"
],
"x-ms-client-request-id": [
- "5e3dfb30-ab0c-4ac9-b9db-8b6bc631b9e5"
+ "fe7cef7d-fa5a-4933-be35-67407d3cb966"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
+ "11997"
],
"x-ms-correlation-request-id": [
- "901c4115-fc21-4c49-838f-e2d4e9e307c4"
+ "3db3c743-ce7f-4cbc-b45b-e93221361caa"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105705Z:901c4115-fc21-4c49-838f-e2d4e9e307c4"
+ "SOUTHINDIA:20200831T045637Z:3db3c743-ce7f-4cbc-b45b-e93221361caa"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:57:04 GMT"
+ "Mon, 31 Aug 2020 04:56:36 GMT"
],
"Content-Length": [
- "3818"
+ "4222"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -387,26 +387,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+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\": \"2020-08-31T10:26:16.9160528+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=04NFg6h2DBgGbcqI2WlvfhK%2BvZm%2BHjlkVqmUXWAzXnA%3D&st=2020-08-31T04%3A46%3A37Z&se=2020-09-01T04%3A56%3A37Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\r\n },\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMSYkZXhwYW5kPWRldGFpbHM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "3e404832-9fec-477b-8e9a-91e52fa9354e"
+ "018e3210-6ec6-40da-895a-46662b2829a2"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -420,31 +420,31 @@
"nosniff"
],
"x-ms-request-id": [
- "84b0e4cc-ce19-4659-b6e2-ae0126fa2101"
+ "a1d7614c-48af-4af1-b218-8a7b7af6690e"
],
"x-ms-client-request-id": [
- "3e404832-9fec-477b-8e9a-91e52fa9354e"
+ "018e3210-6ec6-40da-895a-46662b2829a2"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11984"
+ "11994"
],
"x-ms-correlation-request-id": [
- "61553153-b542-4796-9147-6ccdc8cc83e6"
+ "a1d7614c-48af-4af1-b218-8a7b7af6690e"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105840Z:61553153-b542-4796-9147-6ccdc8cc83e6"
+ "SOUTHINDIA:20200831T045659Z:a1d7614c-48af-4af1-b218-8a7b7af6690e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:40 GMT"
+ "Mon, 31 Aug 2020 04:56:58 GMT"
],
"Content-Length": [
- "3879"
+ "4219"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -453,26 +453,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+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\": \"2020-08-31T10:26:16.9160528+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=s4glYCo7vjGMzTy%2Fg%2BF1hM7No%2FcLz70jJXcv31vVZuI%3D&st=2020-08-31T04%3A46%3A58Z&se=2020-09-01T04%3A56%3A58Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\r\n },\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMSYkZXhwYW5kPWRldGFpbHM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "cf88cfb7-2de2-4944-823e-3a1409eb4a4a"
+ "b485fb91-7d2a-4e90-8747-7f8d06962f52"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -486,31 +486,31 @@
"nosniff"
],
"x-ms-request-id": [
- "acfbf3b2-b1a0-4bdf-b99c-04f2b8da677e"
+ "d3ca8fb7-9b1a-4d72-85bd-cb836ddc5509"
],
"x-ms-client-request-id": [
- "cf88cfb7-2de2-4944-823e-3a1409eb4a4a"
+ "b485fb91-7d2a-4e90-8747-7f8d06962f52"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11981"
+ "11991"
],
"x-ms-correlation-request-id": [
- "25a8fa3c-2ce6-498d-94cd-5d7f04fd8b7b"
+ "d3ca8fb7-9b1a-4d72-85bd-cb836ddc5509"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105845Z:25a8fa3c-2ce6-498d-94cd-5d7f04fd8b7b"
+ "SOUTHINDIA:20200831T045704Z:d3ca8fb7-9b1a-4d72-85bd-cb836ddc5509"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:44 GMT"
+ "Mon, 31 Aug 2020 04:57:03 GMT"
],
"Content-Length": [
- "3555"
+ "3978"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -519,26 +519,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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"transferType\": \"ImportToAzure\",\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesProcessed\": 0,\r\n \"totalBytesToProcess\": 0,\r\n \"isEnumerationInProgress\": false\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:26:16.9160528+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:27:03.5511449+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=WFCf2%2FC4L5L7DoI%2FlcQxOE0ZOsKivU%2BXwbHz1C4mAVA%3D&st=2020-08-31T04%3A47%3A04Z&se=2020-09-01T04%3A57%3A04Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\r\n },\r\n \"cancellationReason\": \"CancelTest\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01&$expand=details",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMSYkZXhwYW5kPWRldGFpbHM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "89af72bf-a395-476a-a4ce-ae5e90d5b0d9"
+ "a0096d5a-a6b9-4163-8b03-f6b3d2a3cd6e"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -552,10 +552,10 @@
"nosniff"
],
"x-ms-request-id": [
- "5ca1e410-0757-4c3d-a906-f692a8cf7143"
+ "0ff4fd07-a268-494b-b37c-4e3180bad2fc"
],
"x-ms-client-request-id": [
- "89af72bf-a395-476a-a4ce-ae5e90d5b0d9"
+ "a0096d5a-a6b9-4163-8b03-f6b3d2a3cd6e"
],
"X-Powered-By": [
"ASP.NET"
@@ -564,19 +564,19 @@
"11999"
],
"x-ms-correlation-request-id": [
- "1c77ae27-4493-4fab-ab50-7a4414688a98"
+ "0ff4fd07-a268-494b-b37c-4e3180bad2fc"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T110347Z:1c77ae27-4493-4fab-ab50-7a4414688a98"
+ "CENTRALINDIA:20200831T050206Z:0ff4fd07-a268-494b-b37c-4e3180bad2fc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 11:03:46 GMT"
+ "Mon, 31 Aug 2020 05:02:06 GMT"
],
"Content-Length": [
- "3060"
+ "3475"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -585,26 +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\": \"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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+05:30\",\r\n \"details\": {\r\n \"copyProgress\": [\r\n {\r\n \"storageAccountName\": \"databoxbvttestaccount\",\r\n \"transferType\": \"ImportToAzure\",\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"accountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"bytesProcessed\": 0,\r\n \"totalBytesToProcess\": 0,\r\n \"isEnumerationInProgress\": false\r\n }\r\n ],\r\n \"jobStages\": [\r\n {\r\n \"stageName\": \"DeviceOrdered\",\r\n \"displayName\": \"Ordered\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:26:16.9160528+05:30\"\r\n },\r\n {\r\n \"stageName\": \"Cancelled\",\r\n \"displayName\": \"Canceled\",\r\n \"stageStatus\": \"Succeeded\",\r\n \"stageTime\": \"2020-08-31T10:27:03.5511449+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 \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\",\r\n \"dataAccountType\": \"StorageAccount\"\r\n }\r\n }\r\n ],\r\n \"jobDetailsType\": \"DataBox\",\r\n \"copyLogDetails\": [],\r\n \"reverseShipmentLabelSasKey\": \"https://wusbeta.blob.core.windows.net/customer-reverse-shipment-instructions/CustomerShipmentInstructions_MicrosoftManaged.PDF?sv=2018-03-28&sr=b&sig=nGcWc9dRgY3vsPkvEC3F%2FiCATukn7ro9K64dz88wlKo%3D&st=2020-08-31T04%3A52%3A06Z&se=2020-09-01T05%3A02%3A06Z&sp=r\",\r\n \"chainOfCustodySasKey\": \"https://wusbeta.blob.core.windows.net/chainofcustody/286dffa8-eedb-48cb-9d11-7b21b2620af5.txt?sv=2018-03-28&sr=b&sig=tEVunGzzcfsGxw0WSPEXDSZh0os1Y6NxvQs7zRJ2Ato%3D&st=2020-08-31T04%3A52%3A06Z&se=2020-08-31T05%3A22%3A06Z&sp=r\",\r\n \"keyEncryptionKey\": {\r\n \"kekType\": \"MicrosoftManaged\"\r\n }\r\n },\r\n \"cancellationReason\": \"CancelTest\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMQ==",
"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"
+ "84220c8e-7aff-4dfe-bc10-9d36aecb6ebe"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -621,7 +621,7 @@
"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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/c1a63d7c-e901-4c32-96d2-bd229962b81f?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -630,10 +630,10 @@
"nosniff"
],
"x-ms-request-id": [
- "22c8aabe-249a-4117-98fb-8f280b62c42b"
+ "5ce9d297-a535-40d0-a61f-b5b2bfb6a9bc"
],
"x-ms-client-request-id": [
- "1d2d6c8d-bd4e-48ed-be61-6ee0b46cc2e7"
+ "84220c8e-7aff-4dfe-bc10-9d36aecb6ebe"
],
"X-Powered-By": [
"ASP.NET"
@@ -642,331 +642,16 @@
"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"
+ "5ce9d297-a535-40d0-a61f-b5b2bfb6a9bc"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105758Z:9782854d-6e84-46bb-8ac2-1cd2cd56cf8a"
+ "SOUTHINDIA:20200831T045638Z:5ce9d297-a535-40d0-a61f-b5b2bfb6a9bc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:57:58 GMT"
+ "Mon, 31 Aug 2020 04:56:37 GMT"
],
"Expires": [
"-1"
@@ -979,16 +664,16 @@
"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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/c1a63d7c-e901-4c32-96d2-bd229962b81f?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvYzFhNjNkN2MtZTkwMS00YzMyLTk2ZDItYmQyMjk5NjJiODFmP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -999,7 +684,7 @@
"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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -1008,154 +693,28 @@
"nosniff"
],
"x-ms-request-id": [
- "2f2d7179-a996-474b-940e-42134f83348a"
+ "b8e0bb79-c0df-42ab-83b5-7c2184ddb2dc"
],
"x-ms-client-request-id": [
- "f0460499-64ca-4cbd-888a-f3b0fbdcd681"
+ "fc27a36a-ad4e-42d1-ad08-2816507d0489"
],
"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"
+ "11996"
],
"x-ms-correlation-request-id": [
- "088c7a5f-b867-474f-8ce9-705d2889f464"
+ "b8e0bb79-c0df-42ab-83b5-7c2184ddb2dc"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105829Z:088c7a5f-b867-474f-8ce9-705d2889f464"
+ "SOUTHINDIA:20200831T045648Z:b8e0bb79-c0df-42ab-83b5-7c2184ddb2dc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:28 GMT"
+ "Mon, 31 Aug 2020 04:56:47 GMT"
],
"Expires": [
"-1"
@@ -1168,22 +727,22 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/jobs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e16b413b-db8a-4494-8c8b-89db61298fb7"
+ "76faa15a-6901-4c33-a175-aab273c43561"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1194,28 +753,29 @@
"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"
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a",
+ "07500407-3064-4ab1-bf18-3aca0f75c66a"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11983"
+ "11993"
],
"x-ms-request-id": [
- "815828a7-b8b2-4898-9338-07b6c50b7f83"
+ "07500407-3064-4ab1-bf18-3aca0f75c66a"
],
"x-ms-correlation-request-id": [
- "815828a7-b8b2-4898-9338-07b6c50b7f83"
+ "07500407-3064-4ab1-bf18-3aca0f75c66a"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105843Z:815828a7-b8b2-4898-9338-07b6c50b7f83"
+ "SOUTHINDIA:20200831T045702Z:07500407-3064-4ab1-bf18-3aca0f75c66a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -1224,7 +784,7 @@
"nosniff"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:43 GMT"
+ "Mon, 31 Aug 2020 04:57:01 GMT"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1233,29 +793,29 @@
"-1"
],
"Content-Length": [
- "18307"
+ "20613"
]
},
- "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}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T11:12:15.5972523+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"allXML\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/allXML\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-07T15:51:08.4479315+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"bothExportAllxml\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/bothExportAllxml\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T19:44:59.2410723+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"exportAll\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/exportAll\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T18:31:05.3036028+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"importRegressnTest\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/importRegressnTest\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-09T01:57:03.8985885+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testBotthXMLAndAll\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testBotthXMLAndAll\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-05T15:56:52.6983398+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testExportAllOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testExportAllOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-08-26T22:52:20.2149111+05:30\",\r\n \"cancellationReason\": \"IncorrectOrder Test \",\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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testlfs\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testlfs\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T17:45:25.464989+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testPayload\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testPayload\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-26T23:02:46.969366+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\": \"DataBoxDisk\"\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"testwithoutlfs\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/testwithoutlfs\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-04T10:43:04.8775864+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"xmlOnlyOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat12/providers/Microsoft.DataBox/jobs/xmlOnlyOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": 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 \"identity\": {\r\n \"type\": \"None\"\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 \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-28T15:20:48.1058546+05:30\",\r\n \"cancellationReason\": \"NoLongerNeeded 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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"dbtest1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/dbtest1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-14T08:51:18.2067875+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautam14-04-Clone\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautam14-04-Clone\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-27T18:08:30.6622356+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamtestexport\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamtestexport\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-21T20:41:02.3837388+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"DegautamTestExportOrder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/DegautamTestExportOrder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-24T07:56:23.6839464+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamtestorder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamtestorder\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-14T08:48:21.2260174+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"degautamTestOrder14-04\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/degautamTestOrder14-04\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-05-12T12:19:19.8627264+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"export\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/export\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-05T19:50:20.9692355+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"exportTestResource\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/exportTestResource\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:09:45.7080012+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportNew\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportNew\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:13:02.5724966+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ExportFromAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-20T13:39:28.1940929+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld1\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld1\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": false,\r\n \"isDeletable\": true,\r\n \"isShippingAddressEditable\": false,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"Cancelled\",\r\n \"startTime\": \"2020-04-10T15:14:59.6879599+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"sanakTestImportOld2\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.DataBox/jobs/sanakTestImportOld2\",\r\n \"type\": \"Microsoft.DataBox/jobs\"\r\n },\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": false,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-07-21T23:43:34.513148+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"saranyagorder\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/akvenkat/providers/Microsoft.DataBox/jobs/saranyagorder\",\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=2020-04-01&%24skiptoken=dVJdb5tAEPwvVts3wnGBBCJFlT%2bAODXEPji%2b3u4A4wMOkME2dpT%2fnkujplJVv612dmdGO%2fs6afJxWLGm6icPr5PQ9HzsTR4mu2Ho%2bgdZ5qQhRc7zZrghl8M%2bv0lbLvcH2qd71g2sbXp5S%2b50oMOtpG%2b395JKoCYZWnovpbmREU1VoAq3crdvjyzL973ssHTf9u12uFmQgczaUS5b2v8kHZOOAheUjxBAIAFVAsqPb33FOr%2bt8uZxvTBUGp6KjAfnFNZHWgLmeOppyWY15e4xsetDcgEsixBf%2bSZclvp3SBebVt9A45AJNAstQELjENjGPgnVT7RYLsYFhZpANCWOUCdqTOFQ01J152xaLOdTPfjSVM%2brcqqvlKROG1fMfrHMp8XaQlpqY8Eb2BajNhZzfzrCxwdTsTa1On9Cmzh6BuRTbZVEldhxPFMIWoRifPYBmrmmMoQRWiOlG%2fymOjlWjT3fcgK7H8OoKzOrOgd%2bQBDAo18hK8ea6XElzqtnHtdZT7g7vEQdc%2br25NuKR2z0hHjNHLjjPo61NFyevabVV%2bCao388e%2fQ2%2b%2bsVCq8lDZK7uHTDPBBeGpSE5vNtHKQKrXd3G56UNES%2ftYhtXkI%2bMhqhNjFjNVOKi893JcWJkgSZndfdAfOxdBRLXc%2bNlyTaAcyNWw8G2roAvz4uJ3LC4mpNEiGHQncnEhU%2foG1SXg%2bir4m9%2f%2bCfGQrsesbl6Xj9QyZvb%2b8%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",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e51d90df-8376-4a37-b200-c417123d5fc6"
+ "beddb0c5-08c7-4f29-9993-f89f8c4d61fa"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1269,31 +829,31 @@
"nosniff"
],
"x-ms-request-id": [
- "3fe773dd-29ce-44e0-a2c7-4db8c77e881c"
+ "58346c43-7fbe-465d-a14e-e0edc87f1904"
],
"x-ms-client-request-id": [
- "e51d90df-8376-4a37-b200-c417123d5fc6"
+ "beddb0c5-08c7-4f29-9993-f89f8c4d61fa"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11982"
+ "11992"
],
"x-ms-correlation-request-id": [
- "1d53f718-6642-469f-a83d-17ecade2832e"
+ "58346c43-7fbe-465d-a14e-e0edc87f1904"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105844Z:1d53f718-6642-469f-a83d-17ecade2832e"
+ "SOUTHINDIA:20200831T045703Z:58346c43-7fbe-465d-a14e-e0edc87f1904"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:43 GMT"
+ "Mon, 31 Aug 2020 04:57:02 GMT"
],
"Content-Length": [
- "761"
+ "901"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1302,26 +862,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\": \"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}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"transferType\": \"ImportToAzure\",\r\n \"isCancellable\": true,\r\n \"isDeletable\": false,\r\n \"isShippingAddressEditable\": true,\r\n \"isPrepareToShipEnabled\": true,\r\n \"status\": \"DeviceOrdered\",\r\n \"startTime\": \"2020-08-31T10:26:15.129251+05:30\",\r\n \"deliveryType\": \"Scheduled\",\r\n \"deliveryInfo\": {\r\n \"scheduledDateTime\": \"2020-09-20T10:26:03.4684805+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 \"identity\": {\r\n \"type\": \"None\"\r\n },\r\n \"name\": \"SdkJob8534\",\r\n \"id\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534\",\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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534/cancel?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQvY2FuY2VsP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"reason\": \"CancelTest\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "a7bf233a-2827-4ad4-b9de-2eada35a9f9e"
+ "3295b694-9935-479c-9b2d-9fd87687b693"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1341,28 +901,28 @@
"nosniff"
],
"x-ms-request-id": [
- "2f4740cc-6473-444c-aeb1-77b5d5592c65"
+ "ffc81659-2d86-445b-a329-24444918479f"
],
"x-ms-client-request-id": [
- "a7bf233a-2827-4ad4-b9de-2eada35a9f9e"
+ "3295b694-9935-479c-9b2d-9fd87687b693"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1198"
],
"x-ms-correlation-request-id": [
- "292dc109-9d1b-4957-be83-816cd14db1b5"
+ "ffc81659-2d86-445b-a329-24444918479f"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T105844Z:292dc109-9d1b-4957-be83-816cd14db1b5"
+ "SOUTHINDIA:20200831T045703Z:ffc81659-2d86-445b-a329-24444918479f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 10:58:44 GMT"
+ "Mon, 31 Aug 2020 04:57:03 GMT"
],
"Expires": [
"-1"
@@ -1372,22 +932,22 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg1164/providers/Microsoft.DataBox/jobs/SdkJob388?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMTE2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvam9icy9TZGtKb2IzODg/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg342/providers/Microsoft.DataBox/jobs/SdkJob8534?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnMzQyL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9qb2JzL1Nka0pvYjg1MzQ/YXBpLXZlcnNpb249MjAyMC0wNC0wMQ==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5c47ba45-a30f-48d2-8d14-0718d81fd4d1"
+ "989be494-438f-451e-9321-9796d0f9635c"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1398,7 +958,7 @@
"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"
+ "https://management.azure.com/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/286dffa8-eedb-48cb-9d11-7b21b2620af5-deleteorder?api-version=2018-01-01"
],
"Retry-After": [
"10"
@@ -1407,10 +967,10 @@
"nosniff"
],
"x-ms-request-id": [
- "43beed5f-41d7-40ec-b07f-cc6a65598823"
+ "1ea8b902-4ee7-45a2-a62f-b82722a46097"
],
"x-ms-client-request-id": [
- "5c47ba45-a30f-48d2-8d14-0718d81fd4d1"
+ "989be494-438f-451e-9321-9796d0f9635c"
],
"X-Powered-By": [
"ASP.NET"
@@ -1419,16 +979,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "b952b258-61d5-4b6e-bf90-cbd17396382e"
+ "1ea8b902-4ee7-45a2-a62f-b82722a46097"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T110348Z:b952b258-61d5-4b6e-bf90-cbd17396382e"
+ "CENTRALINDIA:20200831T050207Z:1ea8b902-4ee7-45a2-a62f-b82722a46097"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 11:03:47 GMT"
+ "Mon, 31 Aug 2020 05:02:07 GMT"
],
"Expires": [
"-1"
@@ -1441,16 +1001,16 @@
"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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/286dffa8-eedb-48cb-9d11-7b21b2620af5-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMjg2ZGZmYTgtZWVkYi00OGNiLTlkMTEtN2IyMWIyNjIwYWY1LWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1464,10 +1024,10 @@
"nosniff"
],
"x-ms-request-id": [
- "285b240b-722a-45c1-bdf4-e389c0a4f017"
+ "48e29d57-efc0-45fc-b10e-841e3b93103a"
],
"x-ms-client-request-id": [
- "1f92b26f-50a5-49b2-985a-464c140560b5"
+ "e24f4e8e-58e4-4c70-9fa8-d8ebb58e6ad3"
],
"X-Powered-By": [
"ASP.NET"
@@ -1476,16 +1036,16 @@
"11998"
],
"x-ms-correlation-request-id": [
- "1e0dc2c3-e84c-4299-8922-51fc0927e108"
+ "48e29d57-efc0-45fc-b10e-841e3b93103a"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T110358Z:1e0dc2c3-e84c-4299-8922-51fc0927e108"
+ "CENTRALINDIA:20200831T050217Z:48e29d57-efc0-45fc-b10e-841e3b93103a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 11:03:58 GMT"
+ "Mon, 31 Aug 2020 05:02:17 GMT"
],
"Expires": [
"-1"
@@ -1495,16 +1055,16 @@
"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=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/operationResults/286dffa8-eedb-48cb-9d11-7b21b2620af5-deleteorder?api-version=2018-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvblJlc3VsdHMvMjg2ZGZmYTgtZWVkYi00OGNiLTlkMTEtN2IyMWIyNjIwYWY1LWRlbGV0ZW9yZGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -1518,10 +1078,10 @@
"nosniff"
],
"x-ms-request-id": [
- "6e58572c-5bb9-4b0a-8c8e-c7601da4d0e7"
+ "6a0cbbab-13b1-464f-883a-bc99c83ad3d7"
],
"x-ms-client-request-id": [
- "ed70fe01-5642-419d-b232-07c7f8c6d122"
+ "8630a3f4-a67d-45de-94ea-a9e74d52a3f5"
],
"X-Powered-By": [
"ASP.NET"
@@ -1530,16 +1090,16 @@
"11997"
],
"x-ms-correlation-request-id": [
- "be3dc5ef-6ffa-4c9c-803b-ad6948ab7481"
+ "6a0cbbab-13b1-464f-883a-bc99c83ad3d7"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T110359Z:be3dc5ef-6ffa-4c9c-803b-ad6948ab7481"
+ "CENTRALINDIA:20200831T050218Z:6a0cbbab-13b1-464f-883a-bc99c83ad3d7"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 11:03:59 GMT"
+ "Mon, 31 Aug 2020 05:02:17 GMT"
],
"Expires": [
"-1"
@@ -1551,8 +1111,8 @@
],
"Names": {
"TestScheduledJob": [
- "SdkRg1164",
- "SdkJob388"
+ "SdkRg342",
+ "SdkJob8534"
]
},
"Variables": {
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 cf05f8e44d6b5..ce1bc14c65ae2 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,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/bookShipmentPickUp?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2Jvb2tTaGlwbWVudFBpY2tVcD9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/bookShipmentPickUp?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2Jvb2tTaGlwbWVudFBpY2tVcD9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
"RequestMethod": "POST",
- "RequestBody": "{\r\n \"startTime\": \"2019-10-16T18:30:00Z\",\r\n \"endTime\": \"2019-10-18T18:30:00Z\",\r\n \"shipmentLocation\": \"Front desk\"\r\n}",
+ "RequestBody": "{\r\n \"startTime\": \"2020-08-30T18:30:00Z\",\r\n \"endTime\": \"2020-09-01T18:30:00Z\",\r\n \"shipmentLocation\": \"Front desk\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "744655df-b677-4ab0-a166-93d33f549bca"
+ "3ad9d9c9-5aca-4586-a29e-f2169ea30062"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -36,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "b42f3186-6ebb-4860-b666-cafe0ce9a983"
+ "e033a969-770b-42fc-bf6e-d48d9f8f6199"
],
"x-ms-client-request-id": [
- "744655df-b677-4ab0-a166-93d33f549bca"
+ "3ad9d9c9-5aca-4586-a29e-f2169ea30062"
],
"X-Powered-By": [
"ASP.NET"
@@ -48,16 +48,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "20a33f75-3cf2-47e1-ba5c-f5520f546b29"
+ "e033a969-770b-42fc-bf6e-d48d9f8f6199"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102507Z:20a33f75-3cf2-47e1-ba5c-f5520f546b29"
+ "CENTRALINDIA:20200831T045519Z:e033a969-770b-42fc-bf6e-d48d9f8f6199"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:25:06 GMT"
+ "Mon, 31 Aug 2020 04:55:18 GMT"
],
"Content-Length": [
"243"
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 521b5877e0be4..1418730aef01a 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,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/listCredentials?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2xpc3RDcmVkZW50aWFscz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/jobs/TJ-636646322037905056/listCredentials?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2pvYnMvVEotNjM2NjQ2MzIyMDM3OTA1MDU2L2xpc3RDcmVkZW50aWFscz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "15e7e617-19e4-45c2-94c0-fa7190b873d1"
+ "8dafba46-93a6-4b74-8e89-f77644d2733c"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -30,10 +30,10 @@
"nosniff"
],
"x-ms-request-id": [
- "d7a5d232-8e42-4412-bfb0-ceef04babe3c"
+ "f31006c5-455f-4a05-82a6-2a0f7963350c"
],
"x-ms-client-request-id": [
- "15e7e617-19e4-45c2-94c0-fa7190b873d1"
+ "8dafba46-93a6-4b74-8e89-f77644d2733c"
],
"X-Powered-By": [
"ASP.NET"
@@ -42,19 +42,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "130368d1-eee4-4407-ad3e-441642e8e5cf"
+ "f31006c5-455f-4a05-82a6-2a0f7963350c"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102510Z:130368d1-eee4-4407-ad3e-441642e8e5cf"
+ "SOUTHINDIA:20200831T045528Z:f31006c5-455f-4a05-82a6-2a0f7963350c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:25:09 GMT"
+ "Mon, 31 Aug 2020 04:55:27 GMT"
],
"Content-Length": [
- "2573"
+ "2569"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -63,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 \"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}",
+ "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 \"dataAccountType\": \"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 fc17a8fe242df..650afba551c1d 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,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/providers/Microsoft.DataBox/operations?api-version=2019-09-01",
- "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/providers/Microsoft.DataBox/operations?api-version=2020-04-01",
+ "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e813195f-da0c-49a6-88e0-687f5b5aa770"
+ "f15d7932-5bae-4dc5-bc82-db38505b453a"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
]
},
"ResponseHeaders": {
@@ -30,10 +30,10 @@
"nosniff"
],
"x-ms-request-id": [
- "97705235-7a84-4549-9522-f282fd18145c"
+ "2b14865f-971d-4486-ab5f-d44a94c11287"
],
"x-ms-client-request-id": [
- "e813195f-da0c-49a6-88e0-687f5b5aa770"
+ "f15d7932-5bae-4dc5-bc82-db38505b453a"
],
"X-Powered-By": [
"ASP.NET"
@@ -42,16 +42,16 @@
"11999"
],
"x-ms-correlation-request-id": [
- "274c387e-f7f7-43d3-a3ba-ad61d62ec5a2"
+ "2b14865f-971d-4486-ab5f-d44a94c11287"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102447Z:274c387e-f7f7-43d3-a3ba-ad61d62ec5a2"
+ "CENTRALINDIA:20200831T045514Z:2b14865f-971d-4486-ab5f-d44a94c11287"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:24:47 GMT"
+ "Mon, 31 Aug 2020 04:55:14 GMT"
],
"Content-Length": [
"5884"
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 65f73c1562924..a221904fd519b 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,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/availableSkus?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL2F2YWlsYWJsZVNrdXM/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/bvttoolrg6/providers/Microsoft.DataBox/locations/westus/availableSkus?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL2J2dHRvb2xyZzYvcHJvdmlkZXJzL01pY3Jvc29mdC5EYXRhQm94L2xvY2F0aW9ucy93ZXN0dXMvYXZhaWxhYmxlU2t1cz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
"RequestMethod": "POST",
- "RequestBody": "{\r\n \"country\": \"US\",\r\n \"location\": \"westus\",\r\n \"transferType\": \"ImportToAzure\"\r\n}",
+ "RequestBody": "{\r\n \"transferType\": \"ImportToAzure\",\r\n \"country\": \"US\",\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "fa244df8-c14f-4607-a6cc-c0ce871a27c9"
+ "dae6ec05-368a-4a2b-90ee-2a95fa15b534"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -36,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "d74fa14f-306f-486a-93d1-cf6f158a28de"
+ "42f0ae63-0783-4a53-91cc-8d19d4caed54"
],
"x-ms-client-request-id": [
- "fa244df8-c14f-4607-a6cc-c0ce871a27c9"
+ "dae6ec05-368a-4a2b-90ee-2a95fa15b534"
],
"X-Powered-By": [
"ASP.NET"
@@ -48,19 +48,19 @@
"11999"
],
"x-ms-correlation-request-id": [
- "f0aac096-cded-42c5-976d-7548aa9d8a6a"
+ "42f0ae63-0783-4a53-91cc-8d19d4caed54"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191016T050339Z:f0aac096-cded-42c5-976d-7548aa9d8a6a"
+ "CENTRALINDIA:20200831T045543Z:42f0ae63-0783-4a53-91cc-8d19d4caed54"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Wed, 16 Oct 2019 05:03:38 GMT"
+ "Mon, 31 Aug 2020 04:55:42 GMT"
],
"Content-Length": [
- "6566"
+ "6743"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -69,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 \"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}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"DataBox\"\r\n },\r\n \"enabled\": true,\r\n \"properties\": {\r\n \"dataLocationToServiceLocationMap\": [\r\n {\r\n \"dataLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"dataLocation\": \"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 \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"a701f058-119b-4713-a923-bed7da4b7801\",\r\n \"meterType\": \"DataBoxShippingFee\",\r\n \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"049fa331-0a48-4a81-9991-a6bef3c79fed\",\r\n \"meterType\": \"DataBoxExtraDayFee\",\r\n \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"c3ea978d-6a0a-4632-b094-4fffcafcb057\",\r\n \"meterType\": \"DataBoxLostOrDamagedDeviceFee\",\r\n \"multiplier\": 1.0\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 \"dataLocationToServiceLocationMap\": [\r\n {\r\n \"dataLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"dataLocation\": \"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 \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"4b8cf572-cb04-4ef3-9528-2cda4e9b544e\",\r\n \"meterType\": \"DataBoxDiskShippingFee\",\r\n \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"b6ae9bbf-815d-49dd-bb2b-77c497b72ba4\",\r\n \"meterType\": \"DataBoxDiskDailyUsageFee\",\r\n \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"08bc0ea1-6c82-421b-b953-2a7a65810d2e\",\r\n \"meterType\": \"DataBoxDiskLostDeviceFee\",\r\n \"multiplier\": 1.0\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 \"dataLocationToServiceLocationMap\": [\r\n {\r\n \"dataLocation\": \"westus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"centralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"eastus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"eastus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"northcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"southcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"westcentralus\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"westus2\",\r\n \"serviceLocation\": \"westus\"\r\n },\r\n {\r\n \"dataLocation\": \"centraluseuap\",\r\n \"serviceLocation\": \"centraluseuap\"\r\n },\r\n {\r\n \"dataLocation\": \"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 \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"7b49d11f-d4f7-4029-a197-04998fd282f9\",\r\n \"meterType\": \"DataBoxHeavyShippingFee\",\r\n \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"c2c66d53-11b4-4f11-9642-43c7c336f0b7\",\r\n \"meterType\": \"DataBoxHeavyExtraDayFee\",\r\n \"multiplier\": 1.0\r\n },\r\n {\r\n \"meterId\": \"188dcd7e-fbd7-4a41-aa42-162b81b0510f\",\r\n \"meterType\": \"DataBoxHeavyLostOrDamagedDeviceFee\",\r\n \"multiplier\": 1.0\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
index 07b101eb44e75..6dcda7efe43a1 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfiguration.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfiguration.json
@@ -1,28 +1,28 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/regionConfiguration?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3JlZ2lvbkNvbmZpZ3VyYXRpb24/YXBpLXZlcnNpb249MjAxOS0wOS0wMQ==",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/regionConfiguration?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3JlZ2lvbkNvbmZpZ3VyYXRpb24/YXBpLXZlcnNpb249MjAyMC0wNC0wMQ==",
"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}",
+ "RequestBody": "{\r\n \"transportAvailabilityRequest\": {\r\n \"skuName\": \"DataBox\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "18e317fe-eab7-4cbd-8796-f1b8e26c7c52"
+ "02bed6a4-deb4-443b-9d76-281b5d4e951d"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "174"
+ "72"
]
},
"ResponseHeaders": {
@@ -36,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "65dac9e1-cc74-43de-aaf6-4737eccb212c"
+ "72c88e6d-be6d-4893-8dee-14133c847988"
],
"x-ms-client-request-id": [
- "18e317fe-eab7-4cbd-8796-f1b8e26c7c52"
+ "02bed6a4-deb4-443b-9d76-281b5d4e951d"
],
"X-Powered-By": [
"ASP.NET"
@@ -48,19 +48,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "a611e11f-ccfe-45bd-9b1a-0346cdd114a2"
+ "72c88e6d-be6d-4893-8dee-14133c847988"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191014T112939Z:a611e11f-ccfe-45bd-9b1a-0346cdd114a2"
+ "CENTRALINDIA:20200831T045556Z:72c88e6d-be6d-4893-8dee-14133c847988"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Mon, 14 Oct 2019 11:29:38 GMT"
+ "Mon, 31 Aug 2020 04:55:56 GMT"
],
"Content-Length": [
- "1047"
+ "217"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -69,7 +69,7 @@
"-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}",
+ "ResponseBody": "{\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
}
],
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfigurationByResourceGroup.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfigurationByResourceGroup.json
new file mode 100644
index 0000000000000..fbcf902b03f31
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestRegionConfigurationByResourceGroup.json
@@ -0,0 +1,85 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9394/providers/Microsoft.DataBox/locations/westus/regionConfiguration?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnOTM5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvbG9jYXRpb25zL3dlc3R1cy9yZWdpb25Db25maWd1cmF0aW9uP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"transportAvailabilityRequest\": {\r\n \"skuName\": \"DataBox\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5cb8fe62-6417-4835-befc-d47a9e040b01"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "72"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "0885a2c0-61f5-4832-ab21-bc79edae59ec"
+ ],
+ "x-ms-client-request-id": [
+ "5cb8fe62-6417-4835-befc-d47a9e040b01"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "0885a2c0-61f5-4832-ab21-bc79edae59ec"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T045553Z:0885a2c0-61f5-4832-ab21-bc79edae59ec"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 04:55:53 GMT"
+ ],
+ "Content-Length": [
+ "217"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\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": {
+ "TestRegionConfigurationByResourceGroup": [
+ "SdkRg9394"
+ ]
+ },
+ "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 27574d0ba1c26..497e03657c272 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,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateAddress?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlQWRkcmVzcz9hcGktdmVyc2lvbj0yMDE5LTA5LTAx",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateAddress?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlQWRkcmVzcz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
"RequestMethod": "POST",
"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": [
- "3d29871a-e911-4726-ae42-adde6a360922"
+ "a7dda3a4-243c-4b2f-af60-f74ae9222fc4"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -36,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "aa317279-a58e-410b-927c-b61e8eb4b718"
+ "c99a5f94-5529-4131-9e22-e032f5969fdc"
],
"x-ms-client-request-id": [
- "3d29871a-e911-4726-ae42-adde6a360922"
+ "a7dda3a4-243c-4b2f-af60-f74ae9222fc4"
],
"X-Powered-By": [
"ASP.NET"
@@ -48,16 +48,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "6192b83f-35b2-480a-90b4-5b275077845f"
+ "c99a5f94-5529-4131-9e22-e032f5969fdc"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191017T102455Z:6192b83f-35b2-480a-90b4-5b275077845f"
+ "CENTRALINDIA:20200831T045540Z:c99a5f94-5529-4131-9e22-e032f5969fdc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Thu, 17 Oct 2019 10:24:54 GMT"
+ "Mon, 31 Aug 2020 04:55:40 GMT"
],
"Content-Length": [
"428"
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
index 2a718b205495f..f94b9ec6ba472 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputs.json
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputs.json
@@ -1,28 +1,28 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateInputs?api-version=2019-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlSW5wdXRzP2FwaS12ZXJzaW9uPTIwMTktMDktMDE=",
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateInputs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlSW5wdXRzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
"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}",
+ "RequestBody": "{\r\n \"validationCategory\": \"JobCreationValidation\",\r\n \"individualRequestDetails\": [\r\n {\r\n \"validationType\": \"ValidateDataTransferDetails\",\r\n \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n }\r\n ],\r\n \"deviceType\": \"DataBox\",\r\n \"transferType\": \"ImportToAzure\"\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 \"transferType\": \"ImportToAzure\",\r\n \"country\": \"US\",\r\n \"location\": \"westus\"\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"
+ "5e9214ed-16d7-4d5f-bd75-5623b6fd43e6"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27817.01",
+ "FxVersion/4.6.29130.01",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.18362.",
- "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.0.1"
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
- "1592"
+ "1675"
]
},
"ResponseHeaders": {
@@ -36,10 +36,10 @@
"nosniff"
],
"x-ms-request-id": [
- "ce8ca9f2-bd14-443c-804a-f17b67189068"
+ "e5a638d8-13f7-410f-b89b-690da55f2e51"
],
"x-ms-client-request-id": [
- "546cdd36-5032-48f8-9c71-0ebd9944b7bb"
+ "5e9214ed-16d7-4d5f-bd75-5623b6fd43e6"
],
"X-Powered-By": [
"ASP.NET"
@@ -48,19 +48,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "873a4a64-4e29-4c74-9c93-66180e7e962a"
+ "e5a638d8-13f7-410f-b89b-690da55f2e51"
],
"x-ms-routing-request-id": [
- "SOUTHINDIA:20191016T063647Z:873a4a64-4e29-4c74-9c93-66180e7e962a"
+ "SOUTHINDIA:20200831T045537Z:e5a638d8-13f7-410f-b89b-690da55f2e51"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"Date": [
- "Wed, 16 Oct 2019 06:36:47 GMT"
+ "Mon, 31 Aug 2020 04:55:36 GMT"
],
"Content-Length": [
- "1234"
+ "2065"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -69,7 +69,7 @@
"-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}",
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"AllValidToProceed\",\r\n \"individualResponseDetails\": [\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateDataTransferDetails\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\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 \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSubscriptionIsAllowedToCreateJob\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateCreateOrderLimit\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidatePreferences\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n }\r\n ]\r\n }\r\n}",
"StatusCode": 200
}
],
diff --git a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsByResourceGroup.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsByResourceGroup.json
new file mode 100644
index 0000000000000..d7fdd20b81977
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsByResourceGroup.json
@@ -0,0 +1,85 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7904/providers/Microsoft.DataBox/locations/westus/validateInputs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNzkwNC9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvbG9jYXRpb25zL3dlc3R1cy92YWxpZGF0ZUlucHV0cz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"validationCategory\": \"JobCreationValidation\",\r\n \"individualRequestDetails\": [\r\n {\r\n \"validationType\": \"ValidateDataTransferDetails\",\r\n \"dataImportDetails\": [\r\n {\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount\"\r\n }\r\n }\r\n ],\r\n \"deviceType\": \"DataBox\",\r\n \"transferType\": \"ImportToAzure\"\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 \"transferType\": \"ImportToAzure\",\r\n \"country\": \"US\",\r\n \"location\": \"westus\"\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": [
+ "d5d9c7ec-7dc8-4e1e-9364-3cb24cc0822f"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1675"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "48316698-3f86-4305-a9f3-4968a7ca5d60"
+ ],
+ "x-ms-client-request-id": [
+ "d5d9c7ec-7dc8-4e1e-9364-3cb24cc0822f"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "48316698-3f86-4305-a9f3-4968a7ca5d60"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHINDIA:20200831T045602Z:48316698-3f86-4305-a9f3-4968a7ca5d60"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 04:56:01 GMT"
+ ],
+ "Content-Length": [
+ "2065"
+ ],
+ "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\": \"ValidateDataTransferDetails\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\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 \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSubscriptionIsAllowedToCreateJob\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateCreateOrderLimit\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidatePreferences\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "TestValidateInputsByResourceGroup": [
+ "SdkRg7904"
+ ]
+ },
+ "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/TestValidateInputsSpecificToExport.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsSpecificToExport.json
new file mode 100644
index 0000000000000..2f86bf4144d06
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsSpecificToExport.json
@@ -0,0 +1,81 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/providers/Microsoft.DataBox/locations/westus/validateInputs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YUJveC9sb2NhdGlvbnMvd2VzdHVzL3ZhbGlkYXRlSW5wdXRzP2FwaS12ZXJzaW9uPTIwMjAtMDQtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"validationCategory\": \"JobCreationValidation\",\r\n \"individualRequestDetails\": [\r\n {\r\n \"validationType\": \"ValidateDataTransferDetails\",\r\n \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\"\r\n }\r\n }\r\n ],\r\n \"deviceType\": \"DataBox\",\r\n \"transferType\": \"ExportFromAzure\"\r\n },\r\n {\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"deviceType\": \"DataBox\",\r\n \"transferType\": \"ExportFromAzure\",\r\n \"country\": \"US\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e1d22a0e-0348-4687-9771-aac7463e9466"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1092"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "33ae996a-431d-4158-be88-baa4e85ee771"
+ ],
+ "x-ms-client-request-id": [
+ "e1d22a0e-0348-4687-9771-aac7463e9466"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "33ae996a-431d-4158-be88-baa4e85ee771"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T045549Z:33ae996a-431d-4158-be88-baa4e85ee771"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 04:55:48 GMT"
+ ],
+ "Content-Length": [
+ "632"
+ ],
+ "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\": \"ValidateDataTransferDetails\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\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/TestValidateInputsSpecificToExportByResourceGroup.json b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsSpecificToExportByResourceGroup.json
new file mode 100644
index 0000000000000..1e6c5cdb94f50
--- /dev/null
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/SessionRecords/ServiceOperationTests/TestValidateInputsSpecificToExportByResourceGroup.json
@@ -0,0 +1,85 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg6076/providers/Microsoft.DataBox/locations/westus/validateInputs?api-version=2020-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZmE2ODA4MmYtOGZmNy00YTI1LTk1YzctY2U5ZGE1NDEyNDJmL3Jlc291cmNlR3JvdXBzL1Nka1JnNjA3Ni9wcm92aWRlcnMvTWljcm9zb2Z0LkRhdGFCb3gvbG9jYXRpb25zL3dlc3R1cy92YWxpZGF0ZUlucHV0cz9hcGktdmVyc2lvbj0yMDIwLTA0LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"validationCategory\": \"JobCreationValidation\",\r\n \"individualRequestDetails\": [\r\n {\r\n \"validationType\": \"ValidateDataTransferDetails\",\r\n \"dataExportDetails\": [\r\n {\r\n \"transferConfiguration\": {\r\n \"transferConfigurationType\": \"TransferAll\",\r\n \"transferAllDetails\": {\r\n \"include\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"transferAllBlobs\": true,\r\n \"transferAllFiles\": true\r\n }\r\n }\r\n },\r\n \"accountDetails\": {\r\n \"dataAccountType\": \"StorageAccount\",\r\n \"storageAccountId\": \"/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2\"\r\n }\r\n }\r\n ],\r\n \"deviceType\": \"DataBox\",\r\n \"transferType\": \"ExportFromAzure\"\r\n },\r\n {\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"deviceType\": \"DataBox\",\r\n \"transferType\": \"ExportFromAzure\",\r\n \"country\": \"US\",\r\n \"location\": \"westus\"\r\n }\r\n ]\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "10224cda-25b8-4bb3-9fa3-c17221bba47d"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.29130.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.19041.",
+ "Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1092"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "x-ms-request-id": [
+ "d95db945-bf01-46bd-884c-c161234b6cdb"
+ ],
+ "x-ms-client-request-id": [
+ "10224cda-25b8-4bb3-9fa3-c17221bba47d"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "d95db945-bf01-46bd-884c-c161234b6cdb"
+ ],
+ "x-ms-routing-request-id": [
+ "CENTRALINDIA:20200831T045552Z:d95db945-bf01-46bd-884c-c161234b6cdb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Date": [
+ "Mon, 31 Aug 2020 04:55:51 GMT"
+ ],
+ "Content-Length": [
+ "632"
+ ],
+ "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\": \"ValidateDataTransferDetails\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n },\r\n {\r\n \"status\": \"Valid\",\r\n \"validationType\": \"ValidateSkuAvailability\",\r\n \"error\": {\r\n \"code\": \"Success\",\r\n \"target\": \"KeyEncryptionKey\",\r\n \"details\": [],\r\n \"additionalInfo\": []\r\n }\r\n }\r\n ]\r\n }\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "TestValidateInputsSpecificToExportByResourceGroup": [
+ "SdkRg6076"
+ ]
+ },
+ "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 6bc842c3bae7e..d84941c526992 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/DataBoxTestBase.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/DataBoxTestBase.cs
@@ -1,16 +1,16 @@
-using System;
+using DataBox.Tests.Helpers;
+using Microsoft.Azure.Management.DataBox;
+using Microsoft.Azure.Management.DataBox.Models;
+using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
-using Xunit.Abstractions;
-using Xunit.Sdk;
-using Microsoft.Azure.Management.DataBox;
+using System;
+using System.Collections.Generic;
using System.Reflection;
-using DataBox.Tests.Helpers;
-using Microsoft.Azure.Management.Resources;
using System.Threading;
-using Microsoft.Azure.Management.DataBox.Models;
-using System.Collections.Generic;
using Xunit;
+using Xunit.Abstractions;
+using Xunit.Sdk;
namespace DataBox.Tests
{
@@ -38,6 +38,7 @@ public DataBoxTestBase(ITestOutputHelper testOutputHelper)
this.RMClient = this.Context.GetServiceClient();
var testEnv = TestEnvironmentFactory.GetTestEnvironment();
+
if (HttpMockServer.Mode == HttpRecorderMode.Record)
{
HttpMockServer.Variables[SubIdKey] = testEnv.SubscriptionId;
@@ -80,13 +81,24 @@ protected static Sku GetDefaultSku()
};
}
- protected static List GetDestinationAccountsList()
+ protected static List GetDestinationAccountsList()
+ {
+ return new List
+ {
+ new StorageAccountDetails
+ {
+ StorageAccountId = "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount",
+ }
+ };
+ }
+
+ protected static List GetSourceAccountsList()
{
- return new List
+ return new List
{
- new DestinationStorageAccountDetails
+ new StorageAccountDetails
{
- AccountId = "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount",
+ StorageAccountId = "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.Storage/storageAccounts/aaaaaa2",
}
};
}
@@ -162,8 +174,8 @@ protected static void ValidateIndividualValidateResponse(IList();
+ jobDetails.DataImportDetails.Add(new DataImportDetails(destinationAccountsList.FirstOrDefault()));
var jobResource = new JobResource
{
Sku = sku,
@@ -104,13 +105,15 @@ public void TestScheduledJob()
ContactDetails contactDetails = GetDefaultContactDetails();
ShippingAddress shippingAddress = GetDefaultShippingAddress();
Sku sku = GetDefaultSku();
+ var destinationAccountsList = GetDestinationAccountsList();
JobDetails jobDetails = new DataBoxJobDetails
{
ContactDetails = contactDetails,
ShippingAddress = shippingAddress,
- DestinationAccountDetails = GetDestinationAccountsList(),
};
+ jobDetails.DataImportDetails = new List();
+ jobDetails.DataImportDetails.Add(new DataImportDetails(destinationAccountsList.FirstOrDefault()));
var jobResource = new JobResource
{
@@ -180,7 +183,238 @@ public void TestScheduledJob()
this.Client.Jobs.Delete(resourceGroupName, jobName);
}
-
+ [Fact]
+ public void TestExportJobCRUDOperations()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var jobName = TestUtilities.GenerateName("SdkJob");
+ ContactDetails contactDetails = GetDefaultContactDetails();
+ ShippingAddress shippingAddress = GetDefaultShippingAddress();
+ Sku sku = GetDefaultSku();
+ var sourceAccountsList = GetSourceAccountsList();
+
+ JobDetails jobDetails = new DataBoxJobDetails
+ {
+ ContactDetails = contactDetails,
+ ShippingAddress = shippingAddress
+ };
+
+ jobDetails.DataExportDetails = new List();
+ TransferConfiguration transferCofiguration = new TransferConfiguration
+ {
+ TransferConfigurationType = TransferConfigurationType.TransferAll,
+ TransferAllDetails = new TransferConfigurationTransferAllDetails
+ {
+ Include = new TransferAllDetails
+ {
+ DataAccountType = DataAccountType.StorageAccount,
+ TransferAllBlobs = true,
+ TransferAllFiles = true
+ }
+ }
+ };
+
+ jobDetails.DataExportDetails.Add(new DataExportDetails(transferCofiguration, sourceAccountsList.FirstOrDefault()));
+ var jobResource = new JobResource
+ {
+ Sku = sku,
+ Location = TestConstants.DefaultResourceLocation,
+ Details = jobDetails,
+ TransferType = TransferType.ExportFromAzure
+ };
+
+ 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.NonScheduled);
+ 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.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 DevicePasswordTest()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var jobName = TestUtilities.GenerateName("SdkJob");
+ //var jobName = "SdkJob5929";
+ ContactDetails contactDetails = GetDefaultContactDetails();
+ ShippingAddress shippingAddress = GetDefaultShippingAddress();
+ Sku sku = GetDefaultSku();
+ var destinationAccountsList = new List
+ {
+ new StorageAccountDetails
+ {
+ StorageAccountId = "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2"
+ }
+ };
+
+ destinationAccountsList[0].SharePassword = "Abcd223@22344Abcd223@22344";
+ JobDetails jobDetails = new DataBoxJobDetails
+ {
+ ContactDetails = contactDetails,
+ ShippingAddress = shippingAddress,
+ DevicePassword = "Abcd223@22344"
+ };
+ jobDetails.DataImportDetails = new List();
+ jobDetails.DataImportDetails.Add(new DataImportDetails(destinationAccountsList.FirstOrDefault()));
+
+ var jobResource = new JobResource
+ {
+ Sku = sku,
+ Location = TestConstants.DefaultResourceLocation,
+ Details = jobDetails,
+ };
+
+ this.RMClient.ResourceGroups.CreateOrUpdate(
+ resourceGroupName,
+ new ResourceGroup
+ {
+ Location = TestConstants.DefaultResourceLocation
+ });
+
+ var job = this.Client.Jobs.Create(resourceGroupName, jobName, jobResource);
+
+ var getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ ValidateJobWithoutDetails(jobName, sku, job);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.NonScheduled);
+
+ Assert.Equal(StageName.DeviceOrdered, job.Status);
+ }
+
+ [Fact]
+ public void CmkEnablementTest()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var jobName = TestUtilities.GenerateName("SdkJob");
+ //var jobName = "SdkJob5929";
+ ContactDetails contactDetails = GetDefaultContactDetails();
+ ShippingAddress shippingAddress = GetDefaultShippingAddress();
+ Sku sku = GetDefaultSku();
+ var destinationAccountsList = new List
+ {
+ new StorageAccountDetails
+ {
+ StorageAccountId = "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2"
+ }
+ };
+ JobDetails jobDetails = new DataBoxJobDetails
+ {
+ ContactDetails = contactDetails,
+ ShippingAddress = shippingAddress
+ };
+ jobDetails.DataImportDetails = new List();
+ jobDetails.DataImportDetails.Add(new DataImportDetails(destinationAccountsList.FirstOrDefault()));
+
+ var jobResource = new JobResource
+ {
+ Sku = sku,
+ Location = TestConstants.DefaultResourceLocation,
+ Details = jobDetails,
+ };
+
+ 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);
+
+ // Set Msi details.
+ string tenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47";
+ string identityType = "SystemAssigned";
+ var identity = new ResourceIdentity(identityType, Guid.NewGuid().ToString(), tenantId);
+ var updateParams = new JobResourceUpdateParameter
+ {
+ Identity = identity
+ };
+
+ var updateJob = this.Client.Jobs.Update(resourceGroupName, jobName, updateParams);
+ ValidateJobWithoutDetails(jobName, sku, updateJob);
+
+ var getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ ValidateJobWithoutDetails(jobName, sku, job);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.NonScheduled);
+
+ Assert.Equal(StageName.DeviceOrdered, updateJob.Status);
+ Assert.Equal(identityType, updateJob.Identity.Type);
+
+ var keyEncryptionKey = new KeyEncryptionKey(KekType.CustomerManaged)
+ {
+ KekUrl = @"https://sdkkeyvault.vault.azure.net/keys/SSDKEY/",
+ KekVaultResourceID =
+ "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.KeyVault/vaults/SDKKeyVault"
+ };
+
+ var details = new UpdateJobDetails
+ {
+ KeyEncryptionKey = keyEncryptionKey
+ };
+
+ updateParams = new JobResourceUpdateParameter
+ {
+ Details = details
+ };
+
+ updateJob = this.Client.Jobs.Update(resourceGroupName, jobName, updateParams);
+ ValidateJobWithoutDetails(jobName, sku, updateJob);
+ getJob = this.Client.Jobs.Get(resourceGroupName, jobName, TestConstants.Details);
+ ValidateJobDetails(contactDetails, shippingAddress, getJob, JobDeliveryType.NonScheduled);
+
+ Assert.Equal(StageName.DeviceOrdered, updateJob.Status);
+ Assert.Equal(KekType.CustomerManaged, getJob.Details.KeyEncryptionKey.KekType);
+ }
}
}
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 119e9f699c429..94d5a0cfd87a3 100644
--- a/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/ServiceOperationTests.cs
+++ b/sdk/databox/Microsoft.Azure.Management.DataBox/tests/Tests/ServiceOperationTests.cs
@@ -1,9 +1,10 @@
-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 Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using System;
+using System.Collections.Generic;
+using System.Linq;
using Xunit;
using Xunit.Abstractions;
@@ -25,7 +26,7 @@ public void TestAvailableSkus()
Country = "US",
Location = "westus"
};
- var skus = this.Client.Service.ListAvailableSkus(TestConstants.DefaultResourceLocation, availableSkus);
+ var skus = this.Client.Service.ListAvailableSkusByResourceGroup(TestConstants.DefaultResourceGroupName, TestConstants.DefaultResourceLocation, availableSkus);
Assert.True(skus != null, "List call for available skus was not successful.");
foreach (var sku in skus)
@@ -70,14 +71,71 @@ public void TestValidateAddress()
[Fact]
public void TestValidateInputs()
{
+ var destinationAccountsList = GetDestinationAccountsList();
+ var dataImportDetails = new List();
+ dataImportDetails.Add(new DataImportDetails(destinationAccountsList.FirstOrDefault()));
var validateInput = new CreateJobValidations
{
IndividualRequestDetails = new List() {
- new DataDestinationDetailsValidationRequest()
+ new DataTransferDetailsValidationRequest()
+ {
+ DataImportDetails = dataImportDetails
+ },
+ new ValidateAddress()
+ {
+ ShippingAddress = GetDefaultShippingAddress(),
+ DeviceType = SkuName.DataBox,
+ TransportPreferences = new TransportPreferences
+ {
+ PreferredShipmentType = TransportShipmentTypes.MicrosoftManaged
+ }
+ },
+ new SubscriptionIsAllowedToCreateJobValidationRequest()
+ {
+ },
+ new SkuAvailabilityValidationRequest()
{
- DestinationAccountDetails = GetDestinationAccountsList(),
+ 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 TestValidateInputsByResourceGroup()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var destinationAccountsList = GetDestinationAccountsList();
+ var dataImportDetails = new List();
+ dataImportDetails.Add(new DataImportDetails(destinationAccountsList.FirstOrDefault()));
+ var validateInput = new CreateJobValidations
+ {
+ IndividualRequestDetails = new List() {
+ new DataTransferDetailsValidationRequest()
+ {
+ DataImportDetails = dataImportDetails
+ },
new ValidateAddress()
{
ShippingAddress = GetDefaultShippingAddress(),
@@ -113,31 +171,135 @@ public void TestValidateInputs()
}
}
};
+ var validateResponse = this.Client.Service.ValidateInputsByResourceGroup(resourceGroupName, TestConstants.DefaultResourceLocation, validateInput);
+ Assert.True(validateResponse != null, "Call for ValidateInputs is successful.");
+ Assert.True(validateResponse.Status == OverallValidationStatus.AllValidToProceed);
+ ValidateIndividualValidateResponse(validateResponse.IndividualResponseDetails);
+ }
+
+ [Fact]
+ public void TestValidateInputsSpecificToExport()
+ {
+ var sourceAccountsList = GetSourceAccountsList();
+ var dataExportDetails = new List();
+
+ TransferConfiguration transferCofiguration = new TransferConfiguration
+ {
+ TransferConfigurationType = TransferConfigurationType.TransferAll,
+ TransferAllDetails = new TransferConfigurationTransferAllDetails
+ {
+ Include = new TransferAllDetails
+ {
+ DataAccountType = DataAccountType.StorageAccount,
+ TransferAllBlobs = true,
+ TransferAllFiles = true
+ }
+ }
+ };
+ dataExportDetails.Add(new DataExportDetails(transferCofiguration, sourceAccountsList.FirstOrDefault()));
+ var validateInput = new CreateJobValidations
+ {
+ IndividualRequestDetails = new List() {
+ new DataTransferDetailsValidationRequest()
+ {
+ TransferType = TransferType.ExportFromAzure,
+ DataExportDetails = dataExportDetails
+ },
+
+ new SkuAvailabilityValidationRequest()
+ {
+ DeviceType = SkuName.DataBox,
+ TransferType = TransferType.ExportFromAzure,
+ Country = "US",
+ Location = "westus"
+ },
+
+ }
+ };
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 TestValidateInputsSpecificToExportByResourceGroup()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var sourceAccountsList = GetSourceAccountsList();
+ var dataExportDetails = new List();
+
+ TransferConfiguration transferCofiguration = new TransferConfiguration
+ {
+ TransferConfigurationType = TransferConfigurationType.TransferAll,
+ TransferAllDetails = new TransferConfigurationTransferAllDetails
+ {
+ Include = new TransferAllDetails
+ {
+ DataAccountType = DataAccountType.StorageAccount,
+ TransferAllBlobs = true,
+ TransferAllFiles = true
+ }
+ }
+ };
+ dataExportDetails.Add(new DataExportDetails(transferCofiguration, sourceAccountsList.FirstOrDefault()));
+ var validateInput = new CreateJobValidations
+ {
+ IndividualRequestDetails = new List() {
+ new DataTransferDetailsValidationRequest()
+ {
+ TransferType = TransferType.ExportFromAzure,
+ DataExportDetails = dataExportDetails
+ },
+
+ new SkuAvailabilityValidationRequest()
+ {
+ DeviceType = SkuName.DataBox,
+ TransferType = TransferType.ExportFromAzure,
+ Country = "US",
+ Location = "westus"
+ },
+
+ }
+ };
+ var validateResponse = this.Client.Service.ValidateInputsByResourceGroup(resourceGroupName, 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
+ TransportAvailabilityRequest = new TransportAvailabilityRequest
{
- StorageLocation = "westus"
- },
+ SkuName = SkuName.DataBox
+ }
+ };
+
+ var regionconfigurationResponse = this.Client.Service.RegionConfiguration(TestConstants.DefaultResourceLocation, transportAvailabilityRequest: regionConfigurationRequest.TransportAvailabilityRequest);
+ Assert.True(regionconfigurationResponse != null, "Call for RegionConfiguration request is successful");
+ //Assert.True(regionconfigurationResponse.ScheduleAvailabilityResponse.AvailableDates != null);
+ Assert.True(regionconfigurationResponse.TransportAvailabilityResponse.TransportAvailabilityDetails != null);
+ }
+
+ [Fact]
+ public void TestRegionConfigurationByResourceGroup()
+ {
+ var resourceGroupName = TestUtilities.GenerateName("SdkRg");
+ var regionConfigurationRequest = new RegionConfigurationRequest
+ {
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);
+ var regionconfigurationResponse = this.Client.Service.RegionConfigurationByResourceGroup(resourceGroupName, TestConstants.DefaultResourceLocation, transportAvailabilityRequest: regionConfigurationRequest.TransportAvailabilityRequest);
+ Assert.True(regionconfigurationResponse != null, "Call for RegionConfiguration at resource group request is successful");
Assert.True(regionconfigurationResponse.TransportAvailabilityResponse.TransportAvailabilityDetails != null);
}
}
From b0d4b00e96ed5a9a88e05235f7f6720b6f2d3e3a Mon Sep 17 00:00:00 2001
From: Dhawal Jain <41853104+dhawal777@users.noreply.github.com>
Date: Tue, 1 Sep 2020 17:29:01 +0530
Subject: [PATCH 2/2] databox_resource-manager.txt update
---
.../mgmtmetadata/databox_resource-manager.txt | 21 +++++++++++--------
.../SdkInfo_DataBoxManagementClient.cs | 11 ++++++++++
2 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/eng/mgmt/mgmtmetadata/databox_resource-manager.txt b/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
index 000d4c72b0be5..b87b1171fb5aa 100644
--- a/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/databox_resource-manager.txt
@@ -1,11 +1,14 @@
-2020-08-31 04:37:21 UTC
-
-1) azure-rest-api-specs repository information
-GitHub user: Azure
+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 --csharp-sdks-folder=D:\1\oldProcess\azure-sdk-for-net\sdk
+2020-09-01 11:52:38 UTC
+Azure-rest-api-specs repository information
+GitHub fork: Azure
Branch: master
-Commit: e84a61630139738316ee8531960b5966e8f1baeb
-
-2) AutoRest information
+Commit: e77323387ae041bf21a51ae61bf3a1ce95541a3f
+AutoRest information
Requested version: latest
-Bootstrapper version: C:\Users\dhja\AppData\Local\nvs\default +-- autorest@3.0.6187 `-- oad@0.1.7 `-- autorest@1.9.1
-Latest installed version:
+Bootstrapper version: autorest@1.9.1
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 197819674ce86..72b5a353c879b 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
@@ -23,5 +23,16 @@ public static IEnumerable> ApiInfo_DataBoxManageme
}.AsEnumerable();
}
}
+ // BEGIN: Code Generation Metadata Section
+ public static readonly String AutoRestVersion = "latest";
+ public static readonly String AutoRestBootStrapperVersion = "autorest@1.9.1";
+ 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=D:\\1\\oldProcess\\azure-sdk-for-net\\sdk";
+ public static readonly String GithubForkName = "Azure";
+ public static readonly String GithubBranchName = "master";
+ public static readonly String GithubCommidId = "e77323387ae041bf21a51ae61bf3a1ce95541a3f";
+ public static readonly String CodeGenerationErrors = "";
+ public static readonly String GithubRepoName = "azure-rest-api-specs";
+ // END: Code Generation Metadata Section
}
}
+