Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"iotHubName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"failoverInput": {
"failoverRegion": "testHub"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"operationInputs": {
"name": "test-request"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "iothub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"certificateName": "cert",
"certificateDescription": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "myhub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"certificateName": "cert",
"If-Match": "AAAAAAAADGk="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "myFirstProvisioningService",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"certificateName": "cert",
"If-Match": "AAAAAAAADGk=",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"iotHubDescription": {
"location": "centraluseuap",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"eventHubEndpointName": "events",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"name": "test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"eventHubEndpointName": "events",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"name": "test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"privateEndpointConnectionName": "myPrivateEndpointConnection"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"exportDevicesParameters": {
"exportBlobContainerUri": "testBlob",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"certificateName": "cert",
"If-Match": "AAAAAAAADGk="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testhub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"certificateName": "cert"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"eventHubEndpointName": "events",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"name": "test"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"jobId": "test"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"keyName": "iothubowner"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"privateEndpointConnectionName": "myPrivateEndpointConnection"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"groupId": "iotHub"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"importDevicesParameters": {
"inputBlobContainerUri": "testBlob",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceName": "testHub",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testhub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"eventHubEndpointName": "events",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-08-31-preview"
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "myHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"location": "East US",
"type": "Microsoft.Devices/IotHubs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"iotHubName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"iotHubName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"input": {
"routingSource": "DeviceMessages",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"iotHubName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"input": {
"message": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"privateEndpointConnectionName": "myPrivateEndpointConnection",
"privateEndpointConnection": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-08-31-preview",
"api-version": "2021-02-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2020-08-31-preview",
"version": "2021-02-01-preview",
"title": "iotHubClient",
"description": "Use this API to manage the IoT hubs in your Azure subscription.",
"x-ms-code-generation-settings": {
Expand Down Expand Up @@ -3918,7 +3918,8 @@
"TwinChangeEvents",
"DeviceLifecycleEvents",
"DeviceJobLifecycleEvents",
"DigitalTwinChangeEvents"
"DigitalTwinChangeEvents",
"DeviceConnectionStateEvents"
],
"type": "string",
"x-ms-enum": {
Expand Down Expand Up @@ -4238,7 +4239,7 @@
"type": "string",
"readOnly": true
},
"identityType": {
"type": {
"description": "Identity type. Only allowed values are SystemAssigned and UserAssigned. Comma separated if both for ex: SystemAssigned,UserAssigned",
"type": "string"
},
Expand Down
15 changes: 12 additions & 3 deletions specification/iothub/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,27 @@ These are the global settings for the IotHub API.

``` yaml
openapi-type: arm
tag: package-2020-08-31
tag: package-preview-2021-02
```


### Tag: package-preview-2021-02

These settings apply only when `--tag=package-preview-2021-02` is specified on the command line.

```yaml $(tag) == 'package-preview-2021-02'
input-file:
- Microsoft.Devices/preview/2021-02-01-preview/iothub.json
```
### Tag: package-2020-08-31

These settings apply only when `--tag=package-2020-08-31` is specified on the command line.

```yaml $(tag) == 'package-2020-08-31'
``` yaml $(tag) == 'package-2020-08-31'
input-file:
- Microsoft.Devices/stable/2020-08-31/iothub.json
```

### Tag: package-preview-2020-08-31

These settings apply only when `--tag=package-preview-2020-08-31` is specified on the command line.
Expand Down Expand Up @@ -242,4 +252,3 @@ See configuration in [readme.java.md](./readme.go.md)
## AzureResourceSchema

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)