-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new API version 2023-03-01 for databox (#24857)
* initial commit - previous version * add new version * add new version in readme * fix validation checks * fix readme file --------- Co-authored-by: Uttaran Sarkar <utsarka@microsoft.com>
- Loading branch information
Showing
33 changed files
with
10,486 additions
and
2 deletions.
There are no files selected for viewing
7,083 changes: 7,083 additions & 0 deletions
7,083
specification/databox/resource-manager/Microsoft.DataBox/stable/2023-03-01/databox.json
Large diffs are not rendered by default.
Oops, something went wrong.
283 changes: 283 additions & 0 deletions
283
...abox/resource-manager/Microsoft.DataBox/stable/2023-03-01/examples/AvailableSkusPost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,283 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "YourSubscriptionId", | ||
"resourceGroupName": "YourResourceGroupName", | ||
"location": "westus", | ||
"api-version": "2023-03-01", | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"User-Agent": [ | ||
"vscode-restclient" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Content-Length": [ | ||
"84" | ||
], | ||
"availableSkuRequest": { | ||
"transferType": "ImportToAzure", | ||
"country": "XX", | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"sku": { | ||
"name": "DataBox" | ||
}, | ||
"enabled": true, | ||
"properties": { | ||
"dataLocationToServiceLocationMap": [ | ||
{ | ||
"dataLocation": "westus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "centralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "eastus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "eastus2", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "northcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "southcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "westcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "westus2", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "centraluseuap", | ||
"serviceLocation": "centraluseuap" | ||
}, | ||
{ | ||
"dataLocation": "eastus2euap", | ||
"serviceLocation": "eastus2euap" | ||
} | ||
], | ||
"capacity": { | ||
"usable": "80", | ||
"maximum": "100" | ||
}, | ||
"costs": [ | ||
{ | ||
"meterId": "0cf23ffc-0b64-49e6-9bdd-1db885349042", | ||
"meterType": "DataBoxServiceFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "a701f058-119b-4713-a923-bed7da4b7801", | ||
"meterType": "DataBoxShippingFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "049fa331-0a48-4a81-9991-a6bef3c79fed", | ||
"meterType": "DataBoxExtraDayFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "c3ea978d-6a0a-4632-b094-4fffcafcb057", | ||
"meterType": "DataBoxLostOrDamagedDeviceFee", | ||
"multiplier": 1 | ||
} | ||
], | ||
"apiVersions": [ | ||
"2018-01-01" | ||
], | ||
"disabledReason": "None", | ||
"countriesWithinCommerceBoundary": [ | ||
"XX" | ||
] | ||
} | ||
}, | ||
{ | ||
"sku": { | ||
"name": "DataBoxDisk" | ||
}, | ||
"enabled": true, | ||
"properties": { | ||
"dataLocationToServiceLocationMap": [ | ||
{ | ||
"dataLocation": "westus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "centralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "eastus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "eastus2", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "northcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "southcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "westcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "westus2", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "centraluseuap", | ||
"serviceLocation": "centraluseuap" | ||
}, | ||
{ | ||
"dataLocation": "eastus2euap", | ||
"serviceLocation": "eastus2euap" | ||
} | ||
], | ||
"capacity": { | ||
"usable": "35", | ||
"maximum": "40" | ||
}, | ||
"costs": [ | ||
{ | ||
"meterId": "d95cd8b5-b6f1-4cd9-ae86-a016d1945d6f", | ||
"meterType": "DataBoxDiskServiceFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "4b8cf572-cb04-4ef3-9528-2cda4e9b544e", | ||
"meterType": "DataBoxDiskShippingFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "b6ae9bbf-815d-49dd-bb2b-77c497b72ba4", | ||
"meterType": "DataBoxDiskDailyUsageFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "08bc0ea1-6c82-421b-b953-2a7a65810d2e", | ||
"meterType": "DataBoxDiskLostDeviceFee", | ||
"multiplier": 1 | ||
} | ||
], | ||
"apiVersions": [ | ||
"2018-01-01" | ||
], | ||
"disabledReason": "None", | ||
"countriesWithinCommerceBoundary": [ | ||
"XX" | ||
] | ||
} | ||
}, | ||
{ | ||
"sku": { | ||
"name": "DataBoxHeavy" | ||
}, | ||
"enabled": true, | ||
"properties": { | ||
"dataLocationToServiceLocationMap": [ | ||
{ | ||
"dataLocation": "westus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "centralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "eastus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "eastus2", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "northcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "southcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "westcentralus", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "westus2", | ||
"serviceLocation": "westus" | ||
}, | ||
{ | ||
"dataLocation": "centraluseuap", | ||
"serviceLocation": "centraluseuap" | ||
}, | ||
{ | ||
"dataLocation": "eastus2euap", | ||
"serviceLocation": "eastus2euap" | ||
} | ||
], | ||
"capacity": { | ||
"usable": "800", | ||
"maximum": "1000" | ||
}, | ||
"costs": [ | ||
{ | ||
"meterId": "d0dccaaf-3de9-4c7a-ba97-f83551b90126", | ||
"meterType": "DataBoxHeavyServiceFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "7b49d11f-d4f7-4029-a197-04998fd282f9", | ||
"meterType": "DataBoxHeavyShippingFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "c2c66d53-11b4-4f11-9642-43c7c336f0b7", | ||
"meterType": "DataBoxHeavyExtraDayFee", | ||
"multiplier": 1 | ||
}, | ||
{ | ||
"meterId": "188dcd7e-fbd7-4a41-aa42-162b81b0510f", | ||
"meterType": "DataBoxHeavyLostOrDamagedDeviceFee", | ||
"multiplier": 1 | ||
} | ||
], | ||
"apiVersions": [ | ||
"2018-01-01" | ||
], | ||
"disabledReason": "None", | ||
"requiredFeature": "HeavyCreateAccess", | ||
"countriesWithinCommerceBoundary": [ | ||
"XX" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...resource-manager/Microsoft.DataBox/stable/2023-03-01/examples/BookShipmentPickupPost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "YourSubscriptionId", | ||
"resourceGroupName": "YourResourceGroupName", | ||
"jobName": "TestJobName1", | ||
"api-version": "2023-03-01", | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"User-Agent": [ | ||
"vscode-restclient" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Content-Length": [ | ||
"118" | ||
], | ||
"shipmentPickUpRequest": { | ||
"startTime": "2019-09-20T18:30:00Z", | ||
"endTime": "2019-09-22T18:30:00Z", | ||
"shipmentLocation": "Front desk" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"confirmationNumber": "XXXXXXXXXXX", | ||
"readyByTime": "2019-09-20T18:30:00Z" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...on/databox/resource-manager/Microsoft.DataBox/stable/2023-03-01/examples/JobMitigate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "YourSubscriptionId", | ||
"resourceGroupName": "YourResourceGroupName", | ||
"jobName": "TestJobName1", | ||
"api-version": "2023-03-01", | ||
"$expand": "details", | ||
"accept-language": [ | ||
"en-US" | ||
], | ||
"User-Agent": [ | ||
"vscode-restclient" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Content-Length": [ | ||
"60" | ||
], | ||
"mitigateJobRequest": { | ||
"serialNumberCustomerResolutionMap": { | ||
"testDISK-1": "MoveToCleanUpDevice", | ||
"testDISK-2": "Resume" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...databox/resource-manager/Microsoft.DataBox/stable/2023-03-01/examples/JobsCancelPost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "YourSubscriptionId", | ||
"resourceGroupName": "YourResourceGroupName", | ||
"jobName": "TestJobName1", | ||
"api-version": "2023-03-01", | ||
"$expand": "details", | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"User-Agent": [ | ||
"vscode-restclient" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Content-Length": [ | ||
"30" | ||
], | ||
"cancellationReason": { | ||
"reason": "CancelTest" | ||
} | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.