Skip to content

Commit dedb2ee

Browse files
authored
[Hub Generated] Review request for Microsoft.DeviceUpdate to add version stable/2023-07-01 (#24311)
* Adds base for updating Microsoft.DeviceUpdate from version preview/2022-12-01-preview to version 2023-07-01 * Updates readme * Updates API version in new specs and examples * Fix tag in readme.md
1 parent 930b1a7 commit dedb2ee

30 files changed

+3199
-7
lines changed

specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/deviceupdate.json

Lines changed: 1997 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2023-07-01",
7+
"Account": {
8+
"location": "westus2",
9+
"identity": {
10+
"type": "UserAssigned",
11+
"userAssignedIdentities": {
12+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}
13+
}
14+
},
15+
"properties": {
16+
"encryption": {
17+
"keyVaultKeyUri": "https://contoso.vault.azure.net/keys/contoso",
18+
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1"
19+
}
20+
}
21+
}
22+
},
23+
"responses": {
24+
"201": {
25+
"body": {
26+
"name": "contoso",
27+
"location": "westus2",
28+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso",
29+
"type": "Microsoft.DeviceUpdate/accounts",
30+
"identity": {
31+
"type": "UserAssigned",
32+
"userAssignedIdentities": {
33+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
34+
"principalId": "12345678-1234-4321-1234-123456789012",
35+
"clientId": "12345678-4321-1234-1234-123456789012"
36+
}
37+
}
38+
},
39+
"properties": {
40+
"provisioningState": "Accepted",
41+
"hostName": "contoso.api.adu.microsoft.com",
42+
"sku": "Free",
43+
"encryption": {
44+
"keyVaultKeyUri": "https://contoso.vault.azure.net/keys/contoso",
45+
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1"
46+
},
47+
"locations": [
48+
{
49+
"name": "westus2",
50+
"role": "Primary"
51+
},
52+
{
53+
"name": "westcentralus",
54+
"role": "Failover"
55+
}
56+
]
57+
}
58+
}
59+
}
60+
}
61+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2023-07-01"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/westus2/operationStatuses/00000000-0000-0000-0000-000000000000*427E3E07F4C0A3DCD66951C42FD7BCD794AEAC5E321728AFBDCAA7C02E9CD4D3?api-version=2023-07-01"
13+
}
14+
},
15+
"204": {}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2023-07-01"
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+
"sku": "Standard",
19+
"locations": [
20+
{
21+
"name": "westus2",
22+
"role": "Primary"
23+
},
24+
{
25+
"name": "westcentralus",
26+
"role": "Failover"
27+
}
28+
],
29+
"privateEndpointConnections": [
30+
{
31+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/privateEndpointConnections/peexample01",
32+
"name": "peexample01",
33+
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnections",
34+
"properties": {
35+
"provisioningState": "Succeeded",
36+
"privateEndpoint": {
37+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01"
38+
},
39+
"privateLinkServiceConnectionState": {
40+
"status": "Approved",
41+
"description": "Auto-Approved",
42+
"actionsRequired": "None"
43+
},
44+
"groupIds": [
45+
"groupId"
46+
]
47+
}
48+
}
49+
]
50+
}
51+
}
52+
}
53+
}
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2023-07-01"
7+
},
8+
"responses": {
9+
"200": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"api-version": "2023-07-01"
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+
"sku": "Standard",
21+
"locations": [
22+
{
23+
"name": "westus2",
24+
"role": "Primary"
25+
},
26+
{
27+
"name": "westcentralus",
28+
"role": "Failover"
29+
}
30+
],
31+
"privateEndpointConnections": [
32+
{
33+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/privateEndpointConnections/peexample01",
34+
"name": "peexample01",
35+
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnections",
36+
"properties": {
37+
"provisioningState": "Succeeded",
38+
"privateEndpoint": {
39+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01"
40+
},
41+
"privateLinkServiceConnectionState": {
42+
"status": "Approved",
43+
"description": "Auto-Approved",
44+
"actionsRequired": "None"
45+
},
46+
"groupIds": [
47+
"groupId"
48+
]
49+
}
50+
}
51+
]
52+
}
53+
}
54+
]
55+
}
56+
}
57+
}
58+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "contoso",
6+
"api-version": "2023-07-01",
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+
"sku": "Standard",
24+
"locations": [
25+
{
26+
"name": "westus2",
27+
"role": "Primary"
28+
},
29+
{
30+
"name": "westcentralus",
31+
"role": "Failover"
32+
}
33+
],
34+
"privateEndpointConnections": [
35+
{
36+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/privateEndpointConnections/peexample01",
37+
"name": "peexample01",
38+
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnections",
39+
"properties": {
40+
"provisioningState": "Succeeded",
41+
"privateEndpoint": {
42+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01"
43+
},
44+
"privateLinkServiceConnectionState": {
45+
"status": "Approved",
46+
"description": "Auto-Approved",
47+
"actionsRequired": "None"
48+
},
49+
"groupIds": [
50+
"groupId"
51+
]
52+
}
53+
}
54+
]
55+
},
56+
"tags": {
57+
"tagKey": "tagValue"
58+
}
59+
}
60+
},
61+
"201": {
62+
"body": {
63+
"name": "contoso",
64+
"location": "westus2",
65+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso",
66+
"type": "Microsoft.DeviceUpdate/accounts",
67+
"identity": {
68+
"principalId": "00000000-0000-0000-0000-000000000000",
69+
"tenantId": "00000000-0000-0000-0000-000000000000",
70+
"type": "SystemAssigned"
71+
},
72+
"properties": {
73+
"provisioningState": "Created",
74+
"hostName": "contoso.api.adu.microsoft.com",
75+
"sku": "Standard",
76+
"locations": [
77+
{
78+
"name": "westus2",
79+
"role": "Primary"
80+
},
81+
{
82+
"name": "westcentralus",
83+
"role": "Failover"
84+
}
85+
],
86+
"privateEndpointConnections": [
87+
{
88+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/privateEndpointConnections/peexample01",
89+
"name": "peexample01",
90+
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnections",
91+
"properties": {
92+
"provisioningState": "Succeeded",
93+
"privateEndpoint": {
94+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01"
95+
},
96+
"privateLinkServiceConnectionState": {
97+
"status": "Approved",
98+
"description": "Auto-Approved",
99+
"actionsRequired": "None"
100+
},
101+
"groupIds": [
102+
"groupId"
103+
]
104+
}
105+
}
106+
]
107+
},
108+
"tags": {
109+
"tagKey": "tagValue"
110+
}
111+
}
112+
}
113+
}
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"api-version": "2023-07-01",
5+
"request": {
6+
"name": "contoso",
7+
"type": "Microsoft.DeviceUpdate/accounts"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": false,
14+
"reason": "AlreadyExists",
15+
"message": "Resource name already exists"
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"api-version": "2023-07-01",
5+
"request": {
6+
"name": "contoso",
7+
"type": "Microsoft.DeviceUpdate/accounts"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": true
14+
}
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)