Skip to content

Commit 96e52e2

Browse files
authored
[Hub Generated] Review request for Microsoft.Media to add version stable/2021-11-01 (#18435)
* Copy 2021-06-01 Account service files to 2021-11-01 folder with version change. can be ignored for review. * Update account service with the latest 2021-11-01 version with breaking change. * Add missing examples * fix tag name * add type array to the privateEndpointConnections.
1 parent 53b34f4 commit 96e52e2

22 files changed

+4414
-1
lines changed

specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-11-01/Accounts.json

Lines changed: 1821 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"locationName": "japanwest",
6+
"api-version": "2021-11-01",
7+
"parameters": {
8+
"name": "contosotv",
9+
"type": "videoAnalyzers"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"nameAvailable": true,
16+
"reason": "None",
17+
"message": ""
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contososports",
6+
"api-version": "2021-11-01"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contosotv",
6+
"api-version": "2021-11-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"location": "South Central US",
12+
"tags": {
13+
"key1": "value1",
14+
"key2": "value2"
15+
},
16+
"identity": {
17+
"type": "UserAssigned",
18+
"userAssignedIdentities": {
19+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
20+
"principalId": "00000000-0000-0000-0000-000000000000",
21+
"clientId": "00000000-0000-0000-0000-000000000000"
22+
},
23+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {
24+
"principalId": "00000000-0000-0000-0000-000000000000",
25+
"clientId": "00000000-0000-0000-0000-000000000000"
26+
}
27+
}
28+
},
29+
"properties": {
30+
"encryption": {
31+
"type": "CustomerKey",
32+
"keyVaultProperties": {
33+
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1",
34+
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1"
35+
},
36+
"identity": {
37+
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
38+
"useSystemAssignedIdentity": false
39+
}
40+
},
41+
"storageAccounts": [
42+
{
43+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
44+
"type": "Primary",
45+
"identity": {
46+
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
47+
"useSystemAssignedIdentity": false
48+
}
49+
}
50+
],
51+
"storageAuthentication": "ManagedIdentity",
52+
"publicNetworkAccess": "Enabled",
53+
"keyDelivery": {
54+
"accessControl": {
55+
"defaultAction": "Allow"
56+
}
57+
},
58+
"privateEndpointConnections": [
59+
{
60+
"name": "00000000-0000-0000-0000-000000000001",
61+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000001",
62+
"type": "Microsoft.Media/mediaservices/privateEndpointConnections",
63+
"properties": {
64+
"provisioningState": "Succeeded",
65+
"privateLinkServiceConnectionState": {
66+
"status": "Approved",
67+
"description": "test description"
68+
},
69+
"privateEndpoint": {
70+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1"
71+
}
72+
}
73+
},
74+
{
75+
"name": "00000000-0000-0000-0000-000000000002",
76+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000002",
77+
"type": "Microsoft.Media/mediaservices/privateEndpointConnections",
78+
"properties": {
79+
"provisioningState": "Succeeded",
80+
"privateLinkServiceConnectionState": {
81+
"status": "Pending",
82+
"description": "test description"
83+
},
84+
"privateEndpoint": {
85+
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2"
86+
}
87+
}
88+
}
89+
]
90+
}
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"api-version": "2021-11-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"name": "contosotv",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv",
14+
"type": "Microsoft.Media/mediaservices",
15+
"location": "South Central US",
16+
"tags": {
17+
"key1": "value1",
18+
"key2": "value2"
19+
},
20+
"identity": {
21+
"type": "UserAssigned",
22+
"userAssignedIdentities": {
23+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
24+
"principalId": "00000000-0000-0000-0000-000000000000",
25+
"clientId": "00000000-0000-0000-0000-000000000000"
26+
},
27+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {
28+
"principalId": "00000000-0000-0000-0000-000000000000",
29+
"clientId": "00000000-0000-0000-0000-000000000000"
30+
}
31+
}
32+
},
33+
"properties": {
34+
"mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d",
35+
"encryption": {
36+
"type": "CustomerKey",
37+
"keyVaultProperties": {
38+
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1",
39+
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1"
40+
},
41+
"identity": {
42+
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
43+
"useSystemAssignedIdentity": false
44+
}
45+
},
46+
"storageAccounts": [
47+
{
48+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore",
49+
"type": "Primary"
50+
}
51+
],
52+
"storageAuthentication": "ManagedIdentity",
53+
"publicNetworkAccess": "Enabled",
54+
"keyDelivery": {
55+
"accessControl": {
56+
"defaultAction": "Allow"
57+
}
58+
},
59+
"privateEndpointConnections": [
60+
{
61+
"name": "00000000-0000-0000-0000-000000000001",
62+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000001",
63+
"type": "Microsoft.Media/mediaservices/privateEndpointConnections",
64+
"properties": {
65+
"provisioningState": "Succeeded",
66+
"privateLinkServiceConnectionState": {
67+
"status": "Approved",
68+
"description": "test description"
69+
},
70+
"privateEndpoint": {
71+
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1"
72+
}
73+
}
74+
},
75+
{
76+
"name": "00000000-0000-0000-0000-000000000002",
77+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000002",
78+
"type": "Microsoft.Media/mediaservices/privateEndpointConnections",
79+
"properties": {
80+
"provisioningState": "Succeeded",
81+
"privateLinkServiceConnectionState": {
82+
"status": "Pending",
83+
"description": "test description"
84+
},
85+
"privateEndpoint": {
86+
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2"
87+
}
88+
}
89+
}
90+
]
91+
}
92+
},
93+
{
94+
"name": "contosomovies",
95+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies",
96+
"type": "Microsoft.Media/mediaservices",
97+
"location": "South Central US",
98+
"tags": {
99+
"key1": "value1",
100+
"key2": "value2"
101+
},
102+
"identity": {
103+
"type": "UserAssigned",
104+
"userAssignedIdentities": {
105+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
106+
"principalId": "00000000-0000-0000-0000-000000000000",
107+
"clientId": "00000000-0000-0000-0000-000000000000"
108+
},
109+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {
110+
"principalId": "00000000-0000-0000-0000-000000000000",
111+
"clientId": "00000000-0000-0000-0000-000000000000"
112+
}
113+
}
114+
},
115+
"properties": {
116+
"mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee",
117+
"encryption": {
118+
"type": "CustomerKey",
119+
"keyVaultProperties": {
120+
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1",
121+
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1"
122+
},
123+
"identity": {
124+
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
125+
"useSystemAssignedIdentity": false
126+
}
127+
},
128+
"storageAccounts": [
129+
{
130+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore",
131+
"type": "Primary"
132+
}
133+
],
134+
"storageAuthentication": "ManagedIdentity",
135+
"publicNetworkAccess": "Enabled",
136+
"keyDelivery": {
137+
"accessControl": {
138+
"defaultAction": "Allow"
139+
}
140+
},
141+
"privateEndpointConnections": []
142+
}
143+
}
144+
]
145+
}
146+
}
147+
}
148+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contososports",
6+
"api-version": "2021-11-01",
7+
"parameters": {
8+
"deviceId": "contosiothubhost_contosoiotdevice"
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"usageDataCollectionPolicy": {
15+
"dataCollectionFrequency": "PT10M",
16+
"dataReportingFrequency": "PT1H",
17+
"maxAllowedUnreportedUsageDuration": "PT36H",
18+
"eventHubDetails": {
19+
"name": "ams-x",
20+
"namespace": "ams-y-1-1",
21+
"token": "SharedAccessSignature sr=sb%3a%2f%2fams-x.servicebus.windows.net%2fams-y-1-1%2fPublishers%2f96a510a1-0565-492a-a67f-83d1aed1d1f6_SampleDeviceId&sig=signature_value%3d&se=1584073736&skn=EdgeUsageData"
22+
}
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"api-version": "2021-11-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"name": "contosotv",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv",
14+
"type": "Microsoft.Media/mediaservices",
15+
"location": "South Central US",
16+
"tags": {
17+
"key1": "value1",
18+
"key2": "value2"
19+
},
20+
"properties": {
21+
"mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d",
22+
"storageAccounts": [
23+
{
24+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore",
25+
"type": "Primary"
26+
}
27+
],
28+
"privateEndpointConnections": []
29+
}
30+
},
31+
{
32+
"name": "contosomovies",
33+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies",
34+
"type": "Microsoft.Media/mediaservices",
35+
"location": "South Central US",
36+
"tags": {
37+
"key1": "value1",
38+
"key2": "value2"
39+
},
40+
"properties": {
41+
"mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee",
42+
"storageAccounts": [
43+
{
44+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore",
45+
"type": "Primary"
46+
}
47+
],
48+
"privateEndpointConnections": []
49+
}
50+
},
51+
{
52+
"name": "fabrikamnews",
53+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/fabrikamnews",
54+
"type": "Microsoft.Media/mediaservices",
55+
"location": "East US",
56+
"tags": {
57+
"key1": "value1",
58+
"key2": "value2"
59+
},
60+
"properties": {
61+
"mediaServiceId": "d96036f9-4e37-491d-8c29-5bc53a29dfcd",
62+
"storageAccounts": [
63+
{
64+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Storage/storageAccounts/fabrikamnewsstore",
65+
"type": "Primary"
66+
}
67+
],
68+
"privateEndpointConnections": []
69+
}
70+
}
71+
]
72+
}
73+
}
74+
}
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contososports",
6+
"api-version": "2021-11-01",
7+
"parameters": {
8+
"id": "contososportsstore"
9+
}
10+
},
11+
"responses": {
12+
"200": {}
13+
}
14+
}

0 commit comments

Comments
 (0)