Skip to content

Commit

Permalink
Add new API version 2023-03-01 for databox (#24857)
Browse files Browse the repository at this point in the history
* 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
utsrkr and Uttaran Sarkar authored Aug 2, 2023
1 parent 978acdc commit 58be094
Show file tree
Hide file tree
Showing 33 changed files with 10,486 additions and 2 deletions.

Large diffs are not rendered by default.

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"
]
}
}
]
}
}
}
}
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"
}
}
}
}
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": {}
}
}
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": {}
}
}
Loading

0 comments on commit 58be094

Please sign in to comment.