Skip to content

Commit 589f00a

Browse files
rajeevmvRajeev Vokkarne
andauthored
[Hub Generated] Review request for Microsoft.Devices to add version stable/2020-03-01 (#10114)
* Adds base for updating Microsoft.Devices from version stable/2020-01-01 to version 2020-03-01 * Updates readme * Updates API version in new specs and examples * Add Private Link/Endpoint APIs and examples to the 2020-03-01 version * Add resourceGroupName and resourceName to definitions * Adds suppression to readme * Adds suppression to readme * address new warnings * Rename file * Adds suppression to readme * Adds suppression to readme * Remove suppression section * Fix merge conflict Co-authored-by: Rajeev Vokkarne <[email protected]>
1 parent faaadee commit 589f00a

26 files changed

+3561
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"certificateName": "cert",
8+
"certificateDescription": {
9+
"certificate": "############################################"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"properties": {
16+
"subject": "CN=testdevice1",
17+
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
18+
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
19+
"isVerified": false,
20+
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
21+
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"
22+
},
23+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServives/myFirstProvisioningService/certificates/cert",
24+
"name": "cert",
25+
"type": "Microsoft.Devices/ProvisioningServices/Certificates",
26+
"etag": "AAAAAAExpNs="
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-03-01",
4+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
5+
"arguments": {
6+
"name": "test213123"
7+
}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"nameAvailable": true,
13+
"reason": "Invalid",
14+
"message": "name is valid"
15+
}
16+
}
17+
}
18+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"iotDpsDescription": {
8+
"location": "East US",
9+
"properties": {},
10+
"sku": {
11+
"name": "S1",
12+
"capacity": 1
13+
},
14+
"tags": {}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"etag": "AAAAAAAADGk=",
21+
"name": "myFirstProvisioningService",
22+
"location": "eastus",
23+
"properties": {
24+
"state": "Active",
25+
"allocationPolicy": "Hashed",
26+
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net",
27+
"deviceProvisioningHostName": "global.azure-devices-provisioning.net",
28+
"idScope": "0ne00000012",
29+
"authorizationPolicies": []
30+
},
31+
"type": "Microsoft.Devices/ProvisioningServices",
32+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups//providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService",
33+
"tags": {},
34+
"sku": {
35+
"name": "S1",
36+
"tier": "Standard",
37+
"capacity": 1
38+
}
39+
}
40+
},
41+
"201": {
42+
"body": {
43+
"etag": "AAAAAAAADGk=",
44+
"name": "myFirstProvisioningService",
45+
"location": "eastus",
46+
"properties": {
47+
"state": "Active",
48+
"allocationPolicy": "Hashed",
49+
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net",
50+
"deviceProvisioningHostName": "global.azure-devices-provisioning.net",
51+
"idScope": "0ne00000012",
52+
"authorizationPolicies": []
53+
},
54+
"type": "Microsoft.Devices/ProvisioningServices",
55+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups//providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService",
56+
"tags": {},
57+
"sku": {
58+
"name": "S1",
59+
"tier": "Standard",
60+
"capacity": 1
61+
}
62+
}
63+
}
64+
}
65+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"resourceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"privateEndpointConnectionName": "myPrivateEndpointConnection",
8+
"privateEndpointConnection": {
9+
"properties": {
10+
"privateLinkServiceConnectionState": {
11+
"status": "Approved",
12+
"description": "Approved by [email protected]"
13+
}
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService/PrivateEndpointConnections/myPrivateEndpointConnection",
21+
"name": "myPrivateEndpointConnection",
22+
"type": "Microsoft.Devices/ProvisioningServices/PrivateEndpointConnections",
23+
"properties": {
24+
"privateEndpoint": {
25+
"id": "/subscriptions/a9eba280-4734-4d49-878f-b5549d1d0453/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
26+
},
27+
"privateLinkServiceConnectionState": {
28+
"status": "Approved",
29+
"description": "Approved by [email protected]",
30+
"actionsRequired": "None"
31+
}
32+
}
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService/PrivateEndpointConnections/myPrivateEndpointConnection",
38+
"name": "myPrivateEndpointConnection",
39+
"type": "Microsoft.Devices/ProvisioningServices/PrivateEndpointConnections",
40+
"properties": {
41+
"privateEndpoint": {
42+
"id": "/subscriptions/a9eba280-4734-4d49-878f-b5549d1d0453/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
43+
},
44+
"privateLinkServiceConnectionState": {
45+
"status": "Approved",
46+
"description": "Approved by [email protected]",
47+
"actionsRequired": "None"
48+
}
49+
}
50+
}
51+
}
52+
}
53+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {},
11+
"202": {},
12+
"404": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"certificateName": "cert",
8+
"If-Match": "AAAAAAAADGk="
9+
},
10+
"responses": {
11+
"200": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"parameters": {
3+
"resourceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"privateEndpointConnectionName": "myPrivateEndpointConnection"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService/PrivateEndpointConnections/myPrivateEndpointConnection",
13+
"name": "myPrivateEndpointConnection",
14+
"type": "Microsoft.Devices/ProvisioningServices/PrivateEndpointConnections",
15+
"properties": {
16+
"privateEndpoint": {
17+
"id": "/subscriptions/a9eba280-4734-4d49-878f-b5549d1d0453/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
18+
},
19+
"privateLinkServiceConnectionState": {
20+
"status": "Disconnected",
21+
"description": "Deleted",
22+
"actionsRequired": "None"
23+
}
24+
}
25+
}
26+
},
27+
"202": {
28+
"body": {
29+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService/PrivateEndpointConnections/myPrivateEndpointConnection",
30+
"name": "myPrivateEndpointConnection",
31+
"type": "Microsoft.Devices/ProvisioningServices/PrivateEndpointConnections",
32+
"properties": {
33+
"privateEndpoint": {
34+
"id": "/subscriptions/a9eba280-4734-4d49-878f-b5549d1d0453/resourceGroups/networkResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
35+
},
36+
"privateLinkServiceConnectionState": {
37+
"status": "Disconnected",
38+
"description": "Deleted",
39+
"actionsRequired": "None"
40+
}
41+
}
42+
}
43+
},
44+
"204": {}
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"certificateName": "cert",
8+
"If-Match": "AAAAAAAADGk="
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"name": "cert",
14+
"properties": {
15+
"verificationCode": "##################################",
16+
"subject": "CN=andbucdevice1",
17+
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
18+
"thumbprint": "##############################",
19+
"isVerified": false,
20+
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
21+
"updated": "Thu, 12 Oct 2017 19:26:56 GMT"
22+
}
23+
}
24+
}
25+
}
26+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"etag": "AAAAAAAADGk=",
12+
"name": "myFirstProvisioningService",
13+
"location": "eastus",
14+
"properties": {
15+
"state": "Active",
16+
"allocationPolicy": "Hashed",
17+
"serviceOperationsHostName": "myFirstProvisioningService.azure-devices-provisioning.net",
18+
"deviceProvisioningHostName": "global.azure-devices-provisioning.net",
19+
"idScope": "0ne00000012",
20+
"authorizationPolicies": []
21+
},
22+
"type": "Microsoft.Devices/ProvisioningServices",
23+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/ProvisioningServices/myFirstProvisioningService",
24+
"tags": {},
25+
"sku": {
26+
"name": "S1",
27+
"tier": "Standard",
28+
"capacity": 1
29+
}
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"provisioningServiceName": "myFirstProvisioningService",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
7+
"certificateName": "cert"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"subject": "CN=testdevice1",
14+
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
15+
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
16+
"isVerified": false,
17+
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
18+
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"
19+
},
20+
"id": "/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/andbuc-hub/certificates/cert",
21+
"name": "cert",
22+
"type": "Microsoft.Devices/ProvisioningServices/Certificates",
23+
"etag": "AAAAAAExpNs="
24+
}
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)