forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger and examples for Microsoft.DataBoxEdge RP (Azure#4952)
* Swagger and examples for Microsoft.DataBoxEdge RP * Swagger and examples for Microsoft.DataBoxEdge RP * Correcting the datatype of percentcomplete * Included ordering and Trigger APIs, fixed a few typos Included ordering and Trigger APIs, fixed a few typos * Corrected Device Create response codes * Adding readme files for DLL generation * Corrected typo in swagger file name * Corrected description of UpdateSummary properties * Removed configuration for go * Update readme.md * Updated readme.go to fix automation validation * Fixed bundle name in readme.md
- Loading branch information
1 parent
d0eb9bd
commit 13e4404
Showing
55 changed files
with
6,958 additions
and
0 deletions.
There are no files selected for viewing
3,998 changes: 3,998 additions & 0 deletions
3,998
...ion/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2018-07-01/edgegateway.json
Large diffs are not rendered by default.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
...gegateway/resource-manager/Microsoft.DataBoxEdge/stable/2018-07-01/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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-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/2018-07-01/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": "2018-07-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rce-manager/Microsoft.DataBoxEdge/stable/2018-07-01/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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-01", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"deviceName": "testedgedevice", | ||
"name": "bandwidth-1", | ||
|
||
"accept-language": [ | ||
"en-US" | ||
] | ||
|
||
}, | ||
"responses": { | ||
"200": { "body": "" }, | ||
"202": { "body": "" }, | ||
"204": {} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...source-manager/Microsoft.DataBoxEdge/stable/2018-07-01/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,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-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" | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ger/Microsoft.DataBoxEdge/stable/2018-07-01/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,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...source-manager/Microsoft.DataBoxEdge/stable/2018-07-01/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,55 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-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" | ||
] | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", | ||
"name": "bandwidth-1", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSettings" | ||
} | ||
}, | ||
"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": { "body": "" } | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...rce-manager/Microsoft.DataBoxEdge/stable/2018-07-01/examples/DataBoxEdgeDeviceDelete.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,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-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": "" | ||
}, | ||
"202": { | ||
"body": "" | ||
}, | ||
"204": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...-manager/Microsoft.DataBoxEdge/stable/2018-07-01/examples/DataBoxEdgeDeviceGetByName.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,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-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": { | ||
"location": "WUS", | ||
"tags": {}, | ||
"sku": { | ||
"name": "Edge", | ||
"tier": "Standard" | ||
}, | ||
"etag": "\"W/\"datetime'2018-12-16T08%3A03%3A27.61Z'\"_W/\"datetime'2018-12-16T08%3A03%3A27.653Z'\"\"", | ||
"properties": { | ||
"dataBoxEdgeDeviceStatus": "ReadyToSetup", | ||
"deviceType": "DataBoxEdgeDevice", | ||
"deviceLocalCapacity": 0 | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", | ||
"name": "testedgedevice", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...Microsoft.DataBoxEdge/stable/2018-07-01/examples/DataBoxEdgeDeviceGetByResourceGroup.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,72 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-07-01", | ||
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", | ||
"resourceGroupName": "GroupForEdgeAutomation", | ||
"x-ms-client-request-id": [ | ||
"a93b39a3-1ff4-42b8-a56f-43368d47e37a" | ||
], | ||
"accept-language": [ | ||
"en-US" | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "WUS", | ||
"tags": {}, | ||
"sku": { | ||
"name": "Edge", | ||
"tier": "Standard" | ||
}, | ||
"etag": "\"W/\"datetime'2018-12-17T10%3A31%3A06.493Z'\"_W/\"datetime'2018-12-17T10%3A31%3A06.597Z'\"\"", | ||
"properties": { | ||
"dataBoxEdgeDeviceStatus": "ReadyToSetup", | ||
"deviceType": "DataBoxEdgeDevice", | ||
"deviceLocalCapacity": 0 | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", | ||
"name": "testedgedevice", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" | ||
}, | ||
{ | ||
"location": "WUS", | ||
"tags": {}, | ||
"sku": { | ||
"name": "Edge", | ||
"tier": "Standard" | ||
}, | ||
"etag": "\"W/\"datetime'2018-09-27T09%3A45%3A09.15Z'\"_W/\"datetime'2018-09-27T09%3A45%3A09.177Z'\"\"", | ||
"properties": { | ||
"dataBoxEdgeDeviceStatus": "ReadyToSetup", | ||
"deviceType": "DataBoxEdgeDevice", | ||
"deviceLocalCapacity": 0 | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice2", | ||
"name": "testedgedevice2", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" | ||
}, | ||
{ | ||
"location": "WUS", | ||
"tags": {}, | ||
"sku": { | ||
"name": "Edge", | ||
"tier": "Standard" | ||
}, | ||
"etag": "\"W/\"datetime'2018-12-17T10%3A31%3A00.293Z'\"_W/\"datetime'2018-12-17T10%3A31%3A00.34Z'\"\"", | ||
"properties": { | ||
"dataBoxEdgeDeviceStatus": "ReadyToSetup", | ||
"deviceType": "DataBoxEdgeDevice", | ||
"deviceLocalCapacity": 0 | ||
}, | ||
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice3", | ||
"name": "testedgedevice3", | ||
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.