Skip to content

Commit

Permalink
[IotHub] Introducing networkRuleSets in IotHubProperties [2020-08-31 …
Browse files Browse the repository at this point in the history
…: preview and stable ] (Azure#10853)

* Adds base for updating Microsoft.Devices from version preview/2020-07-10-preview to version 2020-08-31-preview

* Updates readme

* Updates API version in new specs and examples

* Adds base for updating Microsoft.Devices from version stable/2020-08-01 to version 2020-08-31

* Updates readme

* Updates API version in new specs and examples

* Adding networkRuleSets support for iothub

* Adding networkRuleSets Support in preview version

* Adding Examples, correcting order in iothub.json

* Updating Readme to have stable and previe versions

* Modifying Tag to package-2020-08-31

* Adding Arm identity properties from 2020-07-010-preview version

* Removing creds

* minor fix
  • Loading branch information
nimengan authored and josuh committed Jan 6, 2021
1 parent 81afdd1 commit 53c2e74
Show file tree
Hide file tree
Showing 79 changed files with 13,142 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"iotHubName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"failoverInput": {
"failoverRegion": "testHub"
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"resourceName": "testHub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"operationInputs": {
"name": "test-request"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"reason": "Invalid",
"message": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"resourceName": "iothub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-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="
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"resourceName": "myhub",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"certificateName": "cert",
"If-Match": "AAAAAAAADGk="
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"resourceName": "myFirstProvisioningService",
"resourceGroupName": "myResourceGroup",
"api-version": "2020-08-31-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="
}
}
}
}
Loading

0 comments on commit 53c2e74

Please sign in to comment.