-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Media to add version sta…
…ble/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.
- Loading branch information
Showing
22 changed files
with
4,414 additions
and
1 deletion.
There are no files selected for viewing
1,821 changes: 1,821 additions & 0 deletions
1,821
specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-11-01/Accounts.json
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...-manager/Microsoft.Media/stable/2021-11-01/examples/accounts-check-name-availability.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,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"locationName": "japanwest", | ||
"api-version": "2021-11-01", | ||
"parameters": { | ||
"name": "contosotv", | ||
"type": "videoAnalyzers" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": "None", | ||
"message": "" | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...services/resource-manager/Microsoft.Media/stable/2021-11-01/examples/accounts-delete.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"accountName": "contososports", | ||
"api-version": "2021-11-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
94 changes: 94 additions & 0 deletions
94
...ces/resource-manager/Microsoft.Media/stable/2021-11-01/examples/accounts-get-by-name.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,94 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"accountName": "contosotv", | ||
"api-version": "2021-11-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "South Central US", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"encryption": { | ||
"type": "CustomerKey", | ||
"keyVaultProperties": { | ||
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1", | ||
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1" | ||
}, | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", | ||
"useSystemAssignedIdentity": false | ||
} | ||
}, | ||
"storageAccounts": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore", | ||
"type": "Primary", | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", | ||
"useSystemAssignedIdentity": false | ||
} | ||
} | ||
], | ||
"storageAuthentication": "ManagedIdentity", | ||
"publicNetworkAccess": "Enabled", | ||
"keyDelivery": { | ||
"accessControl": { | ||
"defaultAction": "Allow" | ||
} | ||
}, | ||
"privateEndpointConnections": [ | ||
{ | ||
"name": "00000000-0000-0000-0000-000000000001", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000001", | ||
"type": "Microsoft.Media/mediaservices/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "test description" | ||
}, | ||
"privateEndpoint": { | ||
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "00000000-0000-0000-0000-000000000002", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000002", | ||
"type": "Microsoft.Media/mediaservices/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "test description" | ||
}, | ||
"privateEndpoint": { | ||
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
148 changes: 148 additions & 0 deletions
148
...source-manager/Microsoft.Media/stable/2021-11-01/examples/accounts-list-all-accounts.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,148 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"api-version": "2021-11-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "contosotv", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv", | ||
"type": "Microsoft.Media/mediaservices", | ||
"location": "South Central US", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d", | ||
"encryption": { | ||
"type": "CustomerKey", | ||
"keyVaultProperties": { | ||
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1", | ||
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1" | ||
}, | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", | ||
"useSystemAssignedIdentity": false | ||
} | ||
}, | ||
"storageAccounts": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore", | ||
"type": "Primary" | ||
} | ||
], | ||
"storageAuthentication": "ManagedIdentity", | ||
"publicNetworkAccess": "Enabled", | ||
"keyDelivery": { | ||
"accessControl": { | ||
"defaultAction": "Allow" | ||
} | ||
}, | ||
"privateEndpointConnections": [ | ||
{ | ||
"name": "00000000-0000-0000-0000-000000000001", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000001", | ||
"type": "Microsoft.Media/mediaservices/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "test description" | ||
}, | ||
"privateEndpoint": { | ||
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "00000000-0000-0000-0000-000000000002", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000002", | ||
"type": "Microsoft.Media/mediaservices/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "test description" | ||
}, | ||
"privateEndpoint": { | ||
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "contosomovies", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies", | ||
"type": "Microsoft.Media/mediaservices", | ||
"location": "South Central US", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { | ||
"principalId": "00000000-0000-0000-0000-000000000000", | ||
"clientId": "00000000-0000-0000-0000-000000000000" | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee", | ||
"encryption": { | ||
"type": "CustomerKey", | ||
"keyVaultProperties": { | ||
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1", | ||
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1" | ||
}, | ||
"identity": { | ||
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", | ||
"useSystemAssignedIdentity": false | ||
} | ||
}, | ||
"storageAccounts": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore", | ||
"type": "Primary" | ||
} | ||
], | ||
"storageAuthentication": "ManagedIdentity", | ||
"publicNetworkAccess": "Enabled", | ||
"keyDelivery": { | ||
"accessControl": { | ||
"defaultAction": "Allow" | ||
} | ||
}, | ||
"privateEndpointConnections": [] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...manager/Microsoft.Media/stable/2021-11-01/examples/accounts-list-media-edge-policies.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"accountName": "contososports", | ||
"api-version": "2021-11-01", | ||
"parameters": { | ||
"deviceId": "contosiothubhost_contosoiotdevice" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"usageDataCollectionPolicy": { | ||
"dataCollectionFrequency": "PT10M", | ||
"dataReportingFrequency": "PT1H", | ||
"maxAllowedUnreportedUsageDuration": "PT36H", | ||
"eventHubDetails": { | ||
"name": "ams-x", | ||
"namespace": "ams-y-1-1", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...r/Microsoft.Media/stable/2021-11-01/examples/accounts-subscription-list-all-accounts.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,75 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"api-version": "2021-11-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "contosotv", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv", | ||
"type": "Microsoft.Media/mediaservices", | ||
"location": "South Central US", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"properties": { | ||
"mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d", | ||
"storageAccounts": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore", | ||
"type": "Primary" | ||
} | ||
], | ||
"privateEndpointConnections": [] | ||
} | ||
}, | ||
{ | ||
"name": "contosomovies", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies", | ||
"type": "Microsoft.Media/mediaservices", | ||
"location": "South Central US", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"properties": { | ||
"mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee", | ||
"storageAccounts": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore", | ||
"type": "Primary" | ||
} | ||
], | ||
"privateEndpointConnections": [] | ||
} | ||
}, | ||
{ | ||
"name": "fabrikamnews", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/fabrikamnews", | ||
"type": "Microsoft.Media/mediaservices", | ||
"location": "East US", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"properties": { | ||
"mediaServiceId": "d96036f9-4e37-491d-8c29-5bc53a29dfcd", | ||
"storageAccounts": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Storage/storageAccounts/fabrikamnewsstore", | ||
"type": "Primary" | ||
} | ||
], | ||
"privateEndpointConnections": [] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...source-manager/Microsoft.Media/stable/2021-11-01/examples/accounts-sync-storage-keys.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": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "contoso", | ||
"accountName": "contososports", | ||
"api-version": "2021-11-01", | ||
"parameters": { | ||
"id": "contososportsstore" | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
Oops, something went wrong.