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.
[Microsoft.IoTCentral/iotApps] Removal of legacy S1 SKU, S360 Fixes, …
…newer RP API version 2021-06-01 (Azure#14311) * Adds base for updating Microsoft.IoTCentral from version stable/2018-09-01 to version 2021-06-01 * Updates readme * Updates API version in new specs and examples * remove legacy sku S1 * update template in example to use M3 template name * add suppress for R4009 and R3018 * add state * update * should be read only * update example * Update iotcentral.json temporary changing this for further testing in canary. * removal of f1 and deleted state
- Loading branch information
Showing
12 changed files
with
2,200 additions
and
4 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...e-manager/Microsoft.IoTCentral/stable/2021-06-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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01", | ||
"operationInputs": { | ||
"name": "myiotcentralapp", | ||
"type": "IoTApps" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Returns information about resource name availability", | ||
"headers": { | ||
"code": "200" | ||
}, | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...ager/Microsoft.IoTCentral/stable/2021-06-01/examples/Apps_CheckSubdomainAvailability.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", | ||
"api-version": "2021-06-01", | ||
"operationInputs": { | ||
"name": "myiotcentralapp", | ||
"type": "IoTApps" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Returns information about resource subdomain availability", | ||
"headers": { | ||
"code": "200" | ||
}, | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
...resource-manager/Microsoft.IoTCentral/stable/2021-06-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,84 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2021-06-01", | ||
"App": { | ||
"location": "westus", | ||
"sku": { | ||
"name": "ST2" | ||
}, | ||
"properties": { | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-pnp-preview@1.0.0" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"header": { | ||
"code": "200", | ||
"message": "OK" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"name": "myIoTCentralApp", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App 2", | ||
"subdomain": "my-iot-central-app-2", | ||
"template": "iotc-pnp-preview@1.0.0", | ||
"state": "created" | ||
}, | ||
"sku": { | ||
"name": "ST2" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"code": "201", | ||
"message": "Created", | ||
"target": "ResourceHandler.ExecutePutRequest" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/IoTApps/myIoTCentralApp", | ||
"name": "myIoTCentralApp", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"location": "westus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-pnp-preview@1.0.0", | ||
"state": "created" | ||
}, | ||
"sku": { | ||
"name": "ST2" | ||
} | ||
} | ||
}, | ||
"202": {}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...central/resource-manager/Microsoft.IoTCentral/stable/2021-06-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,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"header": { | ||
"code": "200", | ||
"message": "OK", | ||
"target": "ResourceHandler.ExecuteDeleteRequest" | ||
} | ||
}, | ||
"202": {}, | ||
"204": {}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": { | ||
"message": "Created", | ||
"code": "200" | ||
}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...iotcentral/resource-manager/Microsoft.IoTCentral/stable/2021-06-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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "resRg", | ||
"resourceName": "myIoTCentralApp", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Returns the application details", | ||
"headers": { | ||
"code": "200" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/iotApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-pnp-preview@1.0.0", | ||
"state": "created" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...rce-manager/Microsoft.IoTCentral/stable/2021-06-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,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01", | ||
"resourceGroupName": "resRg" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"code": "200" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/iotApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-pnp-preview@1.0.0", | ||
"state": "created" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...urce-manager/Microsoft.IoTCentral/stable/2021-06-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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"code": "200" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.IoTCentral/iotApps/myIoTCentralApp", | ||
"location": "westus", | ||
"type": "Microsoft.IoTCentral/IoTApps", | ||
"name": "myIoTCentralApp", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"properties": { | ||
"applicationId": "6ebd8fd3-6e34-419e-908f-9be61ec6f6d6", | ||
"displayName": "My IoT Central App", | ||
"subdomain": "my-iot-central-app", | ||
"template": "iotc-pnp-preview@1.0.0", | ||
"state": "created" | ||
}, | ||
"sku": { | ||
"name": "F1" | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
}, | ||
"default": { | ||
"description": "Error message returned for an unexpected response", | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "Error code", | ||
"message": "Error message", | ||
"target": "Error target" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.