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.
Add support for ip filter rules in DPS (Azure#8700)
* Adding support for IP filter rules and introduce a new API version * Addressing precheck failures * Addressing precheck failures * Adding swagger refrence to readme file
- Loading branch information
Showing
21 changed files
with
2,828 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -491,6 +491,7 @@ entrypoint | |
environmentsettings | ||
errordetail | ||
errored | ||
ErrorMesssage | ||
ErrorSchema | ||
Español | ||
estaba | ||
|
30 changes: 30 additions & 0 deletions
30
...ce-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCertificateCreateOrUpdate.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,30 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert", | ||
"certificateDescription": { | ||
"certificate": "############################################" | ||
} | ||
}, | ||
"responses": { | ||
"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" | ||
}, | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServives/myFirstProvisioningService/certificates/cert", | ||
"name": "cert", | ||
"type": "Microsoft.Devices/ProvisioningServices/Certificates", | ||
"etag": "AAAAAAExpNs=" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...source-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCheckNameAvailability.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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"arguments": { | ||
"name": "test213123" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": "Invalid", | ||
"message": "name is valid" | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...ningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCreate.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,65 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"iotDpsDescription": { | ||
"location": "East US", | ||
"properties": {}, | ||
"sku": { | ||
"name": "S1", | ||
"capacity": 1 | ||
}, | ||
"tags": {} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"etag": "AAAAAAAADGk=", | ||
"name": "myFirstProvisioningService", | ||
"location": "eastus", | ||
"properties": { | ||
"state": "Active", | ||
"allocationPolicy": "Hashed", | ||
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net", | ||
"deviceProvisioningHostName": "global.azure-devices-provisioning.net", | ||
"idScope": "0ne00000012", | ||
"authorizationPolicies": [] | ||
}, | ||
"type": "Microsoft.Devices/ProvisioningServices", | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups//providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"etag": "AAAAAAAADGk=", | ||
"name": "myFirstProvisioningService", | ||
"location": "eastus", | ||
"properties": { | ||
"state": "Active", | ||
"allocationPolicy": "Hashed", | ||
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net", | ||
"deviceProvisioningHostName": "global.azure-devices-provisioning.net", | ||
"idScope": "0ne00000012", | ||
"authorizationPolicies": [] | ||
}, | ||
"type": "Microsoft.Devices/ProvisioningServices", | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups//providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSDelete.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": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {}, | ||
"202": {}, | ||
"404": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...s/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSDeleteCertificate.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": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert", | ||
"If-Match": "AAAAAAAADGk=" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...rce-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGenerateVerificationCode.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,26 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert", | ||
"If-Match": "AAAAAAAADGk=" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "cert", | ||
"properties": { | ||
"verificationCode": "##################################", | ||
"subject": "CN=andbucdevice1", | ||
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT", | ||
"thumbprint": "##############################", | ||
"isVerified": false, | ||
"created": "Thu, 12 Oct 2017 19:23:50 GMT", | ||
"updated": "Thu, 12 Oct 2017 19:26:56 GMT" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...sioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGet.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": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"etag": "AAAAAAAADGk=", | ||
"name": "myFirstProvisioningService", | ||
"location": "eastus", | ||
"properties": { | ||
"state": "Active", | ||
"allocationPolicy": "Hashed", | ||
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net", | ||
"deviceProvisioningHostName": "global.azure-devices-provisioning.net", | ||
"idScope": "0ne00000012", | ||
"authorizationPolicies": [] | ||
}, | ||
"type": "Microsoft.Devices/ProvisioningServices", | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificate.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,27 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"certificateName": "cert" | ||
}, | ||
"responses": { | ||
"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" | ||
}, | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/andbuc-hub/certificates/cert", | ||
"name": "cert", | ||
"type": "Microsoft.Devices/ProvisioningServices/Certificates", | ||
"etag": "AAAAAAExpNs=" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ces/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificates.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,30 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"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" | ||
}, | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/andbuc-hub/certificates/cert", | ||
"name": "cert", | ||
"type": "Microsoft.Devices/ProvisioningServices/Certificates", | ||
"etag": "AAAAAAExpNs=" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetKey.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,19 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"keyName": "testKey" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"keyName": "testKey", | ||
"primaryKey": "##################################", | ||
"secondaryKey": "################################", | ||
"rights": "RegistrationStatusWrite" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
.../resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetOperationResult.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,17 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"operationId": "MTY5OTNmZDctODI5Yy00N2E2LTkxNDQtMDU1NGIyYzY1ZjRl", | ||
"asyncinfo": "1508265712453" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"status": "Succeeded" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ervices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetValidSku.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,19 @@ | ||
{ | ||
"parameters": { | ||
"provisioningServiceName": "myFirstProvisioningService", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "S1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSListByResourceGroup.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,55 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-01-01", | ||
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"etag": "AAAAAAAADGk=", | ||
"name": "myFirstProvisioningService", | ||
"location": "eastus", | ||
"properties": { | ||
"state": "Active", | ||
"allocationPolicy": "Hashed", | ||
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net", | ||
"deviceProvisioningHostName": "global.azure-devices-provisioning.net", | ||
"idScope": "0ne00000012" | ||
}, | ||
"type": "Microsoft.Devices/ProvisioningServices", | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
}, | ||
{ | ||
"etag": "AAAAAAAADGk=", | ||
"name": "mySecondProvisioningService", | ||
"location": "eastus", | ||
"properties": { | ||
"state": "Active", | ||
"allocationPolicy": "Hashed", | ||
"serviceOperationsHostName": "mySecondProvisioningService.azure-devices-provisioning.net", | ||
"deviceProvisioningHostName": "global.azure-devices-provisioning.net", | ||
"idScope": "0ne00000012" | ||
}, | ||
"type": "Microsoft.Devices/ProvisioningServices", | ||
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/mySecondProvisioningService", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.