forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Devices to add version p…
…review/2021-09-01-preview (Azure#15428) * Adds base for updating Microsoft.Devices from version preview/2021-07-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * Added creation time in the iothub description * implemented system data property * updating examples for iothub bv rg and subscription * Committing unsaved changes * removing creationTime * reverting unformatted change * Fixing josn pretty issue * Adds suppression to readme * Removing external reference to internal reference * reverting the suppression
- Loading branch information
1 parent
8dc5f1d
commit 2105605
Showing
40 changed files
with
6,790 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...-manager/Microsoft.Devices/preview/2021-09-01-preview/examples/IotHub_ManualFailover.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,15 @@ | ||
{ | ||
"parameters": { | ||
"iotHubName": "testHub", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"failoverInput": { | ||
"failoverRegion": "testHub" | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...-manager/Microsoft.Devices/preview/2021-09-01-preview/examples/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,20 @@ | ||
{ | ||
"parameters": { | ||
"resourceName": "testHub", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"operationInputs": { | ||
"name": "test-request" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": "Invalid", | ||
"message": "" | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...rosoft.Devices/preview/2021-09-01-preview/examples/iothub_certificatescreateorupdate.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,50 @@ | ||
{ | ||
"parameters": { | ||
"resourceName": "iothub", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert", | ||
"certificateDescription": { | ||
"properties": { | ||
"certificate": "############################################" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"subject": "CN=testdevice1", | ||
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", | ||
"isVerified": false, | ||
"created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
"updated": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
"certificate": "############################################" | ||
}, | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServives/myFirstProvisioningService/certificates/cert", | ||
"name": "cert", | ||
"type": "Microsoft.Devices/IotHubs/Certificates", | ||
"etag": "AAAAAAExpNs=" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"subject": "CN=testdevice1", | ||
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", | ||
"isVerified": false, | ||
"created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
"updated": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
"certificate": "############################################" | ||
}, | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServives/myFirstProvisioningService/certificates/cert", | ||
"name": "cert", | ||
"type": "Microsoft.Devices/IotHubs/Certificates", | ||
"etag": "AAAAAAExpNs=" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ager/Microsoft.Devices/preview/2021-09-01-preview/examples/iothub_certificatesdelete.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,14 @@ | ||
{ | ||
"parameters": { | ||
"resourceName": "myhub", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert", | ||
"If-Match": "AAAAAAAADGk=" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...urce-manager/Microsoft.Devices/preview/2021-09-01-preview/examples/iothub_certverify.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": { | ||
"resourceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert", | ||
"If-Match": "AAAAAAAADGk=", | ||
"certificateVerificationBody": { | ||
"certificate": "#####################################" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"subject": "CN=andbucdevice1", | ||
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25", | ||
"isVerified": true, | ||
"created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
"updated": "Thu, 12 Oct 2017 19:26:56 GMT" | ||
}, | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService/certificates/cert", | ||
"name": "cert", | ||
"type": "Microsoft.Devices/IotHubs/Certificates", | ||
"etag": "AAAAAAExpTQ=" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.