Skip to content

Commit 17b0396

Browse files
Modify DataBox examples (#23711)
* Modify examples * Revert unnecessary changes * Fix failing checks * fix failing checks
1 parent 2e2f878 commit 17b0396

File tree

304 files changed

+4832
-14306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

304 files changed

+4832
-14306
lines changed

specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/examples/AvailableSkusPost.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
{
22
"parameters": {
3-
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4-
"resourceGroupName": "bvttoolrg6",
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
55
"location": "westus",
66
"api-version": "2021-08-01-preview",
7-
"x-ms-client-request-id": [
8-
"ce815189-a9cc-4288-8166-d78f211bed5a"
9-
],
107
"Accept-Language": [
118
"en-US"
129
],
1310
"User-Agent": [
14-
"FxVersion/4.6.29017.01",
15-
"OSName/Windows",
16-
"OSVersion/Microsoft.Windows.10.0.18363.",
17-
"Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
11+
"vscode-restclient"
1812
],
1913
"Content-Type": [
2014
"application/json; charset=utf-8"
@@ -24,7 +18,7 @@
2418
],
2519
"availableSkuRequest": {
2620
"transferType": "ImportToAzure",
27-
"country": "US",
21+
"country": "XX",
2822
"location": "westus"
2923
}
3024
},

specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/examples/BookShipmentPickupPost.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
{
22
"parameters": {
3-
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4-
"resourceGroupName": "bvttoolrg6",
5-
"jobName": "TJ-636646322037905056",
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
66
"api-version": "2021-08-01-preview",
7-
"x-ms-client-request-id": [
8-
"e1437186-b41d-492e-9b7a-e197c28a517a"
9-
],
107
"Accept-Language": [
118
"en-US"
129
],
1310
"User-Agent": [
14-
"FxVersion/4.6.27817.01",
15-
"OSName/Windows",
16-
"OSVersion/Microsoft.Windows.10.0.18362.",
17-
"Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.2.0"
11+
"vscode-restclient"
1812
],
1913
"Content-Type": [
2014
"application/json; charset=utf-8"
@@ -31,7 +25,7 @@
3125
"responses": {
3226
"200": {
3327
"body": {
34-
"confirmationNumber": "2929602E9CP",
28+
"confirmationNumber": "XXXXXXXXXXX",
3529
"readyByTime": "2019-09-20T18:30:00Z"
3630
}
3731
}

specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/examples/JobMitigate.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
{
22
"parameters": {
3-
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4-
"resourceGroupName": "SdkRg9836",
5-
"jobName": "SdkJob8367",
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
66
"api-version": "2021-08-01-preview",
77
"$expand": "details",
8-
"x-ms-client-request-id": [
9-
"71d282dc-56a0-402b-a322-3b50c89711b5"
10-
],
118
"accept-language": [
129
"en-US"
1310
],
1411
"User-Agent": [
15-
"FxVersion/4.6.26614.01",
16-
"Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
12+
"vscode-restclient"
1713
],
1814
"Content-Type": [
1915
"application/json; charset=utf-8"

specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/examples/JobsCancelPost.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
{
22
"parameters": {
3-
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4-
"resourceGroupName": "SdkRg5154",
5-
"jobName": "SdkJob952",
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
66
"api-version": "2021-08-01-preview",
77
"$expand": "details",
8-
"x-ms-client-request-id": [
9-
"95fc15f7-4976-46bb-8370-74ed4cb676be"
10-
],
118
"Accept-Language": [
129
"en-US"
1310
],
1411
"User-Agent": [
15-
"FxVersion/4.6.29017.01",
16-
"OSName/Windows",
17-
"OSVersion/Microsoft.Windows.10.0.18363.",
18-
"Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
12+
"vscode-restclient"
1913
],
2014
"Content-Type": [
2115
"application/json; charset=utf-8"
@@ -24,7 +18,7 @@
2418
"30"
2519
],
2620
"cancellationReason": {
27-
"reason": "CancelTest"
21+
"reason": "Cancellation Reason"
2822
}
2923
},
3024
"responses": {

specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/examples/JobsCreate.json

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
{
22
"parameters": {
3-
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4-
"resourceGroupName": "SdkRg5154",
5-
"jobName": "SdkJob952",
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
66
"api-version": "2021-08-01-preview",
7-
"x-ms-client-request-id": [
8-
"04f2835f-a2a2-4f25-96df-568460e5be24"
9-
],
107
"Accept-Language": [
118
"en-US"
129
],
1310
"User-Agent": [
14-
"FxVersion/4.6.29017.01",
15-
"OSName/Windows",
16-
"OSVersion/Microsoft.Windows.10.0.18363.",
17-
"Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
11+
"vscode-restclient"
1812
],
1913
"Content-Type": [
2014
"application/json; charset=utf-8"
@@ -28,28 +22,28 @@
2822
"details": {
2923
"jobDetailsType": "DataBox",
3024
"contactDetails": {
31-
"contactName": "Public SDK Test",
32-
"phone": "1234567890",
33-
"phoneExtension": "1234",
25+
"contactName": "XXXX XXXX",
26+
"phone": "0000000000",
27+
"phoneExtension": "",
3428
"emailList": [
35-
"testing@microsoft.com"
29+
"xxxx@xxxx.xxx"
3630
]
3731
},
3832
"shippingAddress": {
39-
"streetAddress1": "16 TOWNSEND ST",
40-
"streetAddress2": "Unit 1",
41-
"city": "San Francisco",
42-
"stateOrProvince": "CA",
43-
"country": "US",
44-
"postalCode": "94107",
45-
"companyName": "Microsoft",
33+
"streetAddress1": "XXXX XXXX",
34+
"streetAddress2": "XXXX XXXX",
35+
"city": "XXXX XXXX",
36+
"stateOrProvince": "XX",
37+
"country": "XX",
38+
"postalCode": "00000",
39+
"companyName": "XXXX XXXX",
4640
"addressType": "Commercial"
4741
},
4842
"dataImportDetails": [
4943
{
5044
"accountDetails": {
5145
"dataAccountType": "StorageAccount",
52-
"storageAccountId": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourcegroups/databoxbvt/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount"
46+
"storageAccountId": "/subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName"
5347
}
5448
}
5549
]
@@ -62,7 +56,11 @@
6256
}
6357
},
6458
"responses": {
65-
"202": {},
59+
"202": {
60+
"headers": {
61+
"location": "https://xxx.xxx.xx"
62+
}
63+
},
6664
"200": {
6765
"body": {
6866
"properties": {
@@ -118,11 +116,11 @@
118116
}
119117
],
120118
"contactDetails": {
121-
"contactName": "Public SDK Test",
122-
"phone": "1234567890",
123-
"phoneExtension": "1234",
119+
"contactName": "XXXX XXXX",
120+
"phone": "0000000000",
121+
"phoneExtension": "",
124122
"emailList": [
125-
"testing@microsoft.com"
123+
"xxxx@xxxx.xxx"
126124
],
127125
"notificationPreference": [
128126
{
@@ -152,13 +150,13 @@
152150
]
153151
},
154152
"shippingAddress": {
155-
"streetAddress1": "16 TOWNSEND ST",
156-
"streetAddress2": "Unit 1",
157-
"city": "San Francisco",
158-
"stateOrProvince": "CA",
159-
"country": "US",
160-
"postalCode": "94107",
161-
"companyName": "Microsoft",
153+
"streetAddress1": "XXXX XXXX",
154+
"streetAddress2": "XXXX XXXX",
155+
"city": "XXXX XXXX",
156+
"stateOrProvince": "XX",
157+
"country": "XX",
158+
"postalCode": "00000",
159+
"companyName": "XXXX XXXX",
162160
"addressType": "Commercial"
163161
},
164162
"jobDetailsType": "DataBox",
@@ -175,8 +173,8 @@
175173
"sku": {
176174
"name": "DataBox"
177175
},
178-
"name": "SdkJob952",
179-
"id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg5154/providers/Microsoft.DataBox/jobs/SdkJob952",
176+
"name": "TestJobName1",
177+
"id": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.DataBox/jobs/TestJobName1",
180178
"type": "Microsoft.DataBox/jobs"
181179
}
182180
}

specification/databox/resource-manager/Microsoft.DataBox/preview/2021-08-01-preview/examples/JobsCreateDevicePassword.json

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
{
22
"parameters": {
3-
"subscriptionId": "fa68082f-8ff7-4a25-95c7-ce9da541242f",
4-
"resourceGroupName": "SdkRg7478",
5-
"jobName": "SdkJob9640",
3+
"subscriptionId": "YourSubscriptionId",
4+
"resourceGroupName": "YourResourceGroupName",
5+
"jobName": "TestJobName1",
66
"api-version": "2021-08-01-preview",
7-
"x-ms-client-request-id": [
8-
"c4c8f926-ebbe-4c07-ae1a-b716911058df"
9-
],
107
"Accept-Language": [
118
"en-US"
129
],
1310
"User-Agent": [
14-
"FxVersion/4.6.29017.01",
15-
"OSName/Windows",
16-
"OSVersion/Microsoft.Windows.10.0.18363.",
17-
"Microsoft.Azure.Management.DataBox.DataBoxManagementClient/1.1.0"
11+
"vscode-restclient"
1812
],
1913
"Content-Type": [
2014
"application/json; charset=utf-8"
@@ -29,28 +23,28 @@
2923
"jobDetailsType": "DataBox",
3024
"devicePassword": "<devicePassword>",
3125
"contactDetails": {
32-
"contactName": "Public SDK Test",
33-
"phone": "1234567890",
34-
"phoneExtension": "1234",
26+
"contactName": "XXXX XXXX",
27+
"phone": "0000000000",
28+
"phoneExtension": "",
3529
"emailList": [
36-
"testing@microsoft.com"
30+
"xxxx@xxxx.xxx"
3731
]
3832
},
3933
"shippingAddress": {
40-
"streetAddress1": "16 TOWNSEND ST",
41-
"streetAddress2": "Unit 1",
42-
"city": "San Francisco",
43-
"stateOrProvince": "CA",
44-
"country": "US",
45-
"postalCode": "94107",
46-
"companyName": "Microsoft",
34+
"streetAddress1": "XXXX XXXX",
35+
"streetAddress2": "XXXX XXXX",
36+
"city": "XXXX XXXX",
37+
"stateOrProvince": "XX",
38+
"country": "XX",
39+
"postalCode": "00000",
40+
"companyName": "XXXX XXXX",
4741
"addressType": "Commercial"
4842
},
4943
"dataImportDetails": [
5044
{
5145
"accountDetails": {
5246
"dataAccountType": "StorageAccount",
53-
"storageAccountId": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/databoxbvt1/providers/Microsoft.Storage/storageAccounts/databoxbvttestaccount2",
47+
"storageAccountId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Storage/storageAccounts/YourStorageAccountName",
5448
"sharePassword": "<sharePassword>"
5549
}
5650
}
@@ -64,7 +58,11 @@
6458
}
6559
},
6660
"responses": {
67-
"202": {},
61+
"202": {
62+
"headers": {
63+
"location": "https://xxx.xxx.xx"
64+
}
65+
},
6866
"200": {
6967
"body": {
7068
"properties": {
@@ -120,11 +118,11 @@
120118
}
121119
],
122120
"contactDetails": {
123-
"contactName": "Public SDK Test",
124-
"phone": "1234567890",
125-
"phoneExtension": "1234",
121+
"contactName": "XXXX XXXX",
122+
"phone": "0000000000",
123+
"phoneExtension": "",
126124
"emailList": [
127-
"testing@microsoft.com"
125+
"xxxx@xxxx.xxx"
128126
],
129127
"notificationPreference": [
130128
{
@@ -154,13 +152,13 @@
154152
]
155153
},
156154
"shippingAddress": {
157-
"streetAddress1": "16 TOWNSEND ST",
158-
"streetAddress2": "Unit 1",
159-
"city": "San Francisco",
160-
"stateOrProvince": "CA",
161-
"country": "US",
162-
"postalCode": "94107",
163-
"companyName": "Microsoft",
155+
"streetAddress1": "XXXX XXXX",
156+
"streetAddress2": "XXXX XXXX",
157+
"city": "XXXX XXXX",
158+
"stateOrProvince": "XX",
159+
"country": "XX",
160+
"postalCode": "00000",
161+
"companyName": "XXXX XXXX",
164162
"addressType": "Commercial"
165163
},
166164
"jobDetailsType": "DataBox",
@@ -177,8 +175,8 @@
177175
"sku": {
178176
"name": "DataBox"
179177
},
180-
"name": "SdkJob9640",
181-
"id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg7478/providers/Microsoft.DataBox/jobs/SdkJob9640",
178+
"name": "TestJobName1",
179+
"id": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.DataBox/jobs/TestJobName1",
182180
"type": "Microsoft.DataBox/jobs"
183181
}
184182
}

0 commit comments

Comments
 (0)