Skip to content

Commit

Permalink
Swagger and examples for Microsoft.DataBoxEdge RP (Azure#4952)
Browse files Browse the repository at this point in the history
* 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
anponnet authored and AnuTalluri committed Feb 6, 2019
1 parent d0eb9bd commit 13e4404
Show file tree
Hide file tree
Showing 55 changed files with 6,958 additions and 0 deletions.

Large diffs are not rendered by default.

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

0 comments on commit 13e4404

Please sign in to comment.