forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger review changes for 2022-04-01-preview API (Azure#18529)
* swagger review initial commit * Swagger Changes for new API * Swagger Changes for new API * Swagger Changes for new API * Swagger Changes for new API * Swagger Changes for new API * fix validation issue * Swagger Changes for new API * Update readme.md changes to readme * manifest changes for new API
- Loading branch information
1 parent
09ba59e
commit 0d29414
Showing
81 changed files
with
13,689 additions
and
0 deletions.
There are no files selected for viewing
9,814 changes: 9,814 additions & 0 deletions
9,814
...oxedge/resource-manager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/databoxedge.json
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
.../resource-manager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/AlertGet.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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"name": "159a00c7-8543-4343-9435-263ac87df3bb", | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.", | ||
"alertType": "UpdateScanFailedEvent", | ||
"appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", | ||
"recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", | ||
"severity": "Critical", | ||
"errorDetails": { | ||
"errorCode": "", | ||
"errorMessage": "", | ||
"occurrences": 1 | ||
}, | ||
"detailedInformation": {} | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", | ||
"name": "159a00c7-8543-4343-9435-263ac87df3bb", | ||
"type": "dataBoxEdgeDevices/alerts" | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...anager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/AlertGetAllInDevice.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,58 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"title": "Device password has changed", | ||
"alertType": "PasswordChangedEvent", | ||
"appearedAtDateTime": "2018-12-18T02:29:15.2325577Z", | ||
"recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", | ||
"severity": "Informational", | ||
"errorDetails": { | ||
"errorCode": "", | ||
"errorMessage": "", | ||
"occurrences": 2 | ||
}, | ||
"detailedInformation": {} | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", | ||
"name": "83eccd0b-134b-40b0-ad62-b5f124d03790", | ||
"type": "dataBoxEdgeDevices/alerts" | ||
}, | ||
{ | ||
"properties": { | ||
"title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.", | ||
"alertType": "UpdateScanFailedEvent", | ||
"appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", | ||
"recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", | ||
"severity": "Critical", | ||
"errorDetails": { | ||
"errorCode": "", | ||
"errorMessage": "", | ||
"occurrences": 1 | ||
}, | ||
"detailedInformation": {} | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", | ||
"name": "159a00c7-8543-4343-9435-263ac87df3bb", | ||
"type": "dataBoxEdgeDevices/alerts" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...-manager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/AvailableSkusList.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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"location": "westus", | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"resourceType": "dataBoxEdgeDevices", | ||
"name": "Gateway", | ||
"availability": "Available", | ||
"tier": "Standard", | ||
"kind": "AzureDataBoxGateway", | ||
"version": "Stable", | ||
"signupOption": "Available", | ||
"locations": [ | ||
"West US" | ||
], | ||
"locationInfo": [ | ||
{ | ||
"location": "West US" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...er/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/BandwidthScheduleDelete.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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"name": "bandwidth-1", | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...nager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/BandwidthScheduleGet.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": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"name": "bandwidth-1", | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"start": "00:00:00", | ||
"stop": "13:59:00", | ||
"rateInMbps": 100, | ||
"days": [ | ||
"Sunday", | ||
"Monday" | ||
] | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", | ||
"name": "bandwidth-1", | ||
"type": "dataBoxEdgeDevices/bandwidthSchedules" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...soft.DataBoxEdge/preview/2022-04-01-preview/examples/BandwidthScheduleGetAllInDevice.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": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"start": "00:00:00", | ||
"stop": "13:59:00", | ||
"rateInMbps": 100, | ||
"days": [ | ||
"Sunday", | ||
"Monday" | ||
] | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", | ||
"name": "bandwidth-1", | ||
"type": "dataBoxEdgeDevices/bandwidthSchedules" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...nager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/BandwidthSchedulePut.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,51 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"name": "bandwidth-1", | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"Content-Length": [ | ||
"200" | ||
], | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
], | ||
"parameters": { | ||
"properties": { | ||
"start": "0:0:0", | ||
"stop": "13:59:0", | ||
"rateInMbps": 100, | ||
"days": [ | ||
"Sunday", | ||
"Monday" | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"start": "00:00:00", | ||
"stop": "13:59:00", | ||
"rateInMbps": 100, | ||
"days": [ | ||
"Sunday", | ||
"Monday" | ||
] | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", | ||
"name": "bandwidth-1", | ||
"type": "dataBoxEdgeDevices/bandwidthSchedules" | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...ce-manager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/ContainerDelete.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"storageAccountName": "storageaccount1", | ||
"containerName": "blobcontainer1", | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ource-manager/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/ContainerGet.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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"storageAccountName": "storageaccount1", | ||
"containerName": "blobcontainer1", | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"containerStatus": "OK", | ||
"dataFormat": "BlockBlob", | ||
"refreshDetails": {}, | ||
"createdDateTime": "2019-10-20T23:13:27.8545799Z" | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", | ||
"name": "blobcontainer1", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...r/Microsoft.DataBoxEdge/preview/2022-04-01-preview/examples/ContainerListAllInDevice.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,56 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-04-01-preview", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"storageAccountName": "storageaccount1", | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"containerStatus": "OK", | ||
"dataFormat": "BlockBlob", | ||
"refreshDetails": {}, | ||
"createdDateTime": "2019-10-20T23:14:32.3016929Z" | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", | ||
"name": "blobcontainer1", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" | ||
}, | ||
{ | ||
"properties": { | ||
"containerStatus": "OK", | ||
"dataFormat": "BlockBlob", | ||
"refreshDetails": {}, | ||
"createdDateTime": "2019-10-20T23:15:38.0077675Z" | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", | ||
"name": "blobcontainer2", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" | ||
}, | ||
{ | ||
"properties": { | ||
"containerStatus": "OK", | ||
"dataFormat": "BlockBlob", | ||
"refreshDetails": {}, | ||
"createdDateTime": "2019-10-20T23:13:27.8545799Z" | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", | ||
"name": "blobcontainer3", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.