Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramadityab72 committed Oct 31, 2022
1 parent d8b59b9 commit 8d39422
Show file tree
Hide file tree
Showing 38 changed files with 42 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"iotHubName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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,13 +2,13 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2022-04-30-preview",
"api-version": "2022-11-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-04-30-preview"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-11-01-preview"
},
"body": {
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/testHub",
Expand Down Expand Up @@ -117,7 +117,7 @@
"204": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-04-30-preview"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-11-01-preview"
},
"body": {
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/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": "2022-04-30-preview",
"api-version": "2022-11-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,14 +2,14 @@
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2022-04-30-preview",
"api-version": "2022-11-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"privateEndpointConnectionName": "myPrivateEndpointConnection"
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-04-30-preview"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-11-01-preview"
},
"body": {
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/testHub/PrivateEndpointConnections/myPrivateEndpointConnection",
Expand All @@ -29,7 +29,7 @@
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-04-30-preview"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2022-11-01-preview"
},
"body": {
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/testHub/PrivateEndpointConnections/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": "2022-04-30-preview",
"api-version": "2022-11-01-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"exportDevicesParameters": {
"authenticationType": "identityBased",
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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview"
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"api-version": "2022-11-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": "2022-04-30-preview",
"version": "2022-11-01-preview",
"title": "iotHubClient",
"description": "Use this API to manage the IoT hubs in your Azure subscription.",
"x-ms-code-generation-settings": {
Expand Down

0 comments on commit 8d39422

Please sign in to comment.