Skip to content

Commit af4929a

Browse files
dpokludaDavid PokludaabatishchevArcturusZhang
authored
[Hub Generated] Review request for Microsoft.DeviceUpdate to add version preview/2020-03-01-preview (#13215)
* New Readme Config File * New Go Language Readme Config File * New Azure AZ Readme Config File * New Azure CLI Readme Config File * New Typescript Language Readme Config File * New Python Language Readme Config File * New C# Language Readme Config File * New AzureResourceSchema Readme Config File * New Swagger Spec File * New Swagger Example Spec File * Release of Device Update for IoT Hub control plane specification. * Fixing prettier issues. * Updating control plane swagger * Update deviceupdate.json * Update deviceupdate.json * Update deviceupdate.json * Update deviceupdate.json * add the multiapi section * Update Accounts_Delete.json * Update Instances_Delete.json Co-authored-by: David Pokluda <david.pokluda@microsoft.com> Co-authored-by: Alexander Batishchev <abatishchev@gmail.com> Co-authored-by: ArcturusZhang <dapzhang@microsoft.com>
1 parent 97aa9fa commit af4929a

File tree

15 files changed

+1280
-0
lines changed

15 files changed

+1280
-0
lines changed

specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/preview/2020-03-01-preview/deviceupdate.json

Lines changed: 860 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2020-03-01-preview",
7+
"Account": {
8+
"location": "West US 2",
9+
"properties": {}
10+
}
11+
},
12+
"responses": {
13+
"201": {
14+
"body": {
15+
"name": "contoso",
16+
"location": "westus2",
17+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso",
18+
"type": "Microsoft.DeviceUpdate/accounts",
19+
"properties": {
20+
"provisioningState": "Accepted",
21+
"hostName": "contoso.api.adu.microsoft.com"
22+
}
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2020-03-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2020-03-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"name": "contoso",
12+
"location": "westus2",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso",
14+
"type": "Microsoft.DeviceUpdate/accounts",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"hostName": "contoso.api.adu.microsoft.com"
18+
}
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"api-version": "2020-03-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"nextLink": "string",
11+
"value": [
12+
{
13+
"name": "contoso",
14+
"location": "westus2",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso",
16+
"type": "Microsoft.DeviceUpdate/accounts",
17+
"properties": {
18+
"provisioningState": "Succeeded",
19+
"hostName": "contoso.api.adu.microsoft.com"
20+
}
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2020-03-01-preview",
7+
"accountUpdatePayload": {
8+
"tags": {
9+
"tagKey": "tagValue"
10+
}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"name": "contoso",
17+
"location": "westus2",
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso",
19+
"type": "Microsoft.DeviceUpdate/accounts",
20+
"properties": {
21+
"provisioningState": "Succeeded",
22+
"hostName": "contoso.api.adu.microsoft.com"
23+
},
24+
"tags": {
25+
"tagKey": "tagValue"
26+
}
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"instanceName": "blue",
7+
"api-version": "2020-03-01-preview",
8+
"Instance": {
9+
"location": "West US 2",
10+
"properties": {
11+
"iotHubs": [
12+
{
13+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub",
14+
"ioTHubConnectionString": "string",
15+
"eventHubConnectionString": "string"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"responses": {
22+
"201": {
23+
"body": {
24+
"name": "blue",
25+
"location": "West US 2",
26+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue",
27+
"type": "Microsoft.DeviceUpdate/accounts/instances",
28+
"properties": {
29+
"provisioningState": "Accepted",
30+
"accountName": "contoso",
31+
"iotHubs": [
32+
{
33+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
34+
}
35+
]
36+
}
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"instanceName": "blue",
7+
"api-version": "2020-03-01-preview"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"instanceName": "blue",
7+
"api-version": "2020-03-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "blue",
13+
"location": "westus2",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue",
15+
"type": "Microsoft.DeviceUpdate/accounts/instances",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"accountName": "contoso",
19+
"iotHubs": [
20+
{
21+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
22+
}
23+
]
24+
}
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2020-03-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"nextLink": "string",
12+
"value": [
13+
{
14+
"name": "blue",
15+
"location": "westus2",
16+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue",
17+
"type": "Microsoft.DeviceUpdate/accounts/instances",
18+
"properties": {
19+
"provisioningState": "Succeeded",
20+
"accountName": "contoso",
21+
"iotHubs": [
22+
{
23+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/blue-contoso-hub"
24+
}
25+
]
26+
}
27+
},
28+
{
29+
"name": "red",
30+
"location": "westus2",
31+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/red",
32+
"type": "Microsoft.DeviceUpdate/accounts/instances",
33+
"properties": {
34+
"provisioningState": "Succeeded",
35+
"accountName": "contoso",
36+
"iotHubs": [
37+
{
38+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Devices/IotHubs/red-contoso-hub"
39+
}
40+
]
41+
}
42+
}
43+
]
44+
}
45+
}
46+
}
47+
}

0 commit comments

Comments
 (0)