-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add iotcentral version 2018-09-01 (#3466)
- Loading branch information
1 parent
a6d44d5
commit 052e636
Showing
12 changed files
with
1,024 additions
and
5 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...e-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2018-09-01", | ||
"operationInputs": { | ||
"name": "myIoTCentralApp" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2018-09-01", | ||
"App": { | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-default@1.0.0", | ||
"location": "westus", | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"name": "myIoTCentralApp", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"location": "westus", | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App 2", | ||
"subdomain": "my-iot-central-app-2", | ||
"template": "iotc-default@1.0.0" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"name": "myIoTCentralApp", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"location": "westus", | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-default@1.0.0" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...central/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2018-09-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2018-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-default@1.0.0" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...rce-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2018-09-01", | ||
"resourceGroupName": "resRg" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-default@1.0.0" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...urce-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2018-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-default@1.0.0" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...central/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2018-09-01", | ||
"AppPatch": { | ||
"displayName": "My IoT Central App 2" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App 2", | ||
"subdomain": "my-iot-central-app-2", | ||
"template": "iotc-default@1.0.0" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...ral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.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,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.IoTCentral/IoTApps/read", | ||
"display": { | ||
"provider": "Microsoft IoT Central", | ||
"resource": "IoTApps", | ||
"operation": "Get IoT Central Application", | ||
"description": "Gets a single IoT Central Application" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.IoTCentral/IoTApps/write", | ||
"display": { | ||
"provider": "Microsoft IoT Central", | ||
"resource": "IoTApps", | ||
"operation": "Create or Update IoT Central Application", | ||
"description": "Creates or Updates an IoT Central Applications" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.IoTCentral/IoTApps/delete", | ||
"display": { | ||
"provider": "Microsoft IoT Central", | ||
"resource": "IoTApps", | ||
"operation": "Delete IoT Central Application", | ||
"description": "Deletes an IoT Central Applications" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.IoTCentral/checkNameAvailability/action", | ||
"display": { | ||
"provider": "Microsoft IoT Central", | ||
"resource": "", | ||
"operation": "Check resource name availability", | ||
"description": "Checks if an IoT Central Application name is available" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.IoTCentral/operations/read", | ||
"display": { | ||
"provider": "Microsoft IoT Central", | ||
"resource": "", | ||
"operation": "Get all the available operations", | ||
"description": "Gets all the available operations on IoT Central Applications" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.