-
Notifications
You must be signed in to change notification settings - Fork 5.6k
DataBoxEdge Swagger API Review- 2021-02-01 #14921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
a040437
Initial Commit with previously reviewed Changes
524ce90
Updated Swagger
d46a565
Added Example files
b4baf35
Updated Description for the APIs which are in private preview
f6dc044
Updated ReadmeFiles
cf2dbad
Fixed folder structure
481b7db
fixed json example references
f8922b4
Fixed supportPackage and Proactivelogcollection jsons
8de3d07
Fixed Prettier check
ad83835
Fixed Prettier check
74aa9aa
Fixed Azure-auth
804acbb
Fixing UpdateDiagnosticRemoteSupportSettings.json Go Validations
647dea5
Fixed Model Validation
9dc6065
Fix Model Validation + Prettier Check
738fa6d
Fixed Model Validation
77edf52
Swagger LinterValidation Fix
4112bdb
Removed Type from UpdateDiagnosticProactiveLogCollectionSettings.json…
5d7c8a3
Updated all the example files
c445e4e
fixed comments
3bad784
Updated corresponding examples
33bdf8c
Fixed Validation
e881bd6
Updated the tag to the latest
b403d62
Fixed the tag
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
9,240 changes: 9,240 additions & 0 deletions
9,240
...ion/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2021-02-01/databoxedge.json
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
...taboxedge/resource-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/AlertGet.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...esource-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/AlertGetAllInDevice.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
.../resource-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/AvailableSkusList.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...rce-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/BandwidthScheduleDelete.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...source-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/BandwidthScheduleGet.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...ger/Microsoft.DataBoxEdge/stable/2021-02-01/examples/BandwidthScheduleGetAllInDevice.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...source-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/BandwidthSchedulePut.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...ge/resource-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/ContainerDelete.json
This file contains hidden or 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": "2021-02-01", | ||
| "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
...xedge/resource-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/ContainerGet.json
This file contains hidden or 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-02-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
...ce-manager/Microsoft.DataBoxEdge/stable/2021-02-01/examples/ContainerListAllInDevice.json
This file contains hidden or 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": "2021-02-01", | ||
| "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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.