Microsoft.Media (stable:2023-01-01)

2025/05/26 • 60 deleted methods

Operations_List (removed)
Description Lists all the Media Services operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Media/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties:
{
serviceSpecification:
{
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: enum ,
aggregationType: enum ,
lockAggregationType: enum ,
supportedAggregationTypes:
[
string ,
]
,
dimensions:
[
{
name: string ,
displayName: string ,
toBeExportedForShoebox: boolean ,
}
,
]
,
enableRegionalMdmAccount: boolean ,
sourceMdmAccount: string ,
sourceMdmNamespace: string ,
supportedTimeGrainTypes:
[
string ,
]
,
}
,
]
,
}
,
}
,
isDataAction: boolean ,
actionType: enum ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_List (removed)
Description List Media Services accounts in the resource group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_Get (removed)
Description Get the details of a Media Services account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_CreateOrUpdate (removed)
Description Creates or updates a Media Services account
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
parameters:
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_Delete (removed)
Description Deletes a Media Services account
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_Update (removed)
Description Updates an existing Media Services account
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
parameters:
{
tags: object ,
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
api-version: string ,
}

⚐ Response (202)

{
$headers:
{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_SyncStorageKeys (removed)
Description Synchronizes storage account keys for a storage account associated with the Media Service account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/syncStorageKeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
parameters:
{
id: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_ListEdgePolicies (removed)
Description List all the media edge policies associated with the Media Services account.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/listEdgePolicies
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
parameters:
{
deviceId: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
usageDataCollectionPolicy:
{
dataCollectionFrequency: string ,
dataReportingFrequency: string ,
maxAllowedUnreportedUsageDuration: string ,
eventHubDetails:
{
name: string ,
namespace: string ,
token: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_List (removed)
Description List supported group IDs.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_Get (removed)
Description Get details of a group ID.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateLinkResources/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_List (removed)
Description List all private endpoint connections.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (removed)
Description Get the details of a private endpoint connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (removed)
Description Update an existing private endpoint connection.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
name: string ,
parameters:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Delete (removed)
Description Deletes a private endpoint connection.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/privateEndpointConnections/{name}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
name: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Locations_CheckNameAvailability (removed)
Description Checks whether the Media Service resource name is available.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability
{
subscriptionId: string ,
locationName: string ,
parameters:
{
name: string ,
type: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: string ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MediaServicesOperationStatuses_Get (removed)
Description Get media service operation status.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/mediaServicesOperationStatuses/{operationId}
{
subscriptionId: string ,
locationName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
id: string ,
startTime: string ,
endTime: string ,
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MediaServicesOperationResults_Get (removed)
Description Get media service operation result.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/mediaServicesOperationResults/{operationId}
{
subscriptionId: string ,
locationName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Mediaservices_ListBySubscription (removed)
Description List Media Services accounts in the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
]
,
storageAuthentication: enum ,
encryption:
{
type: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
currentKeyIdentifier: string ,
}
,
identity:
{
userAssignedIdentity: string ,
useSystemAssignedIdentity: boolean ,
}
,
status: string ,
}
,
keyDelivery:
{
accessControl:
{
defaultAction: enum ,
ipAllowList:
[
string ,
]
,
}
,
}
,
publicNetworkAccess: enum ,
provisioningState: enum ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
minimumTlsVersion: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
identity:
{
type: string ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AccountFilters_List (removed)
Description List Account Filters in the Media Services account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AccountFilters_Get (removed)
Description Get the details of an Account Filter in the Media Services account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
filterName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AccountFilters_CreateOrUpdate (removed)
Description Creates or updates an Account Filter in the Media Services account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
filterName: string ,
parameters:
{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AccountFilters_Delete (removed)
Description Deletes an Account Filter in the Media Services account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
filterName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AccountFilters_Update (removed)
Description Updates an existing Account Filter in the Media Services account.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
filterName: string ,
parameters:
{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_List (removed)
Description List Assets in the Media Services account with optional filtering and ordering
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_Get (removed)
Description Get the details of an Asset in the Media Services account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_CreateOrUpdate (removed)
Description Creates or updates an Asset in the Media Services account
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
parameters:
{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_Delete (removed)
Description Deletes an Asset in the Media Services account
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_Update (removed)
Description Updates an existing Asset in the Media Services account
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
parameters:
{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
encryptionScope: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_ListContainerSas (removed)
Description Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listContainerSas
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
parameters:
{
permissions: enum ,
expiryTime: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
assetContainerSasUrls:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_GetEncryptionKey (removed)
Description Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/getEncryptionKey
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
api-version: string ,
}

⚐ Response (200)

{
key: string ,
assetFileEncryptionMetadata:
[
{
initializationVector: string ,
assetFileName: string ,
assetFileId: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Assets_ListStreamingLocators (removed)
Description Lists Streaming Locators which are associated with this asset.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listStreamingLocators
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
api-version: string ,
}

⚐ Response (200)

{
streamingLocators:
[
{
name: string ,
assetName: string ,
created: string ,
startTime: string ,
endTime: string ,
streamingLocatorId: string ,
streamingPolicyName: string ,
defaultContentKeyPolicyName: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssetFilters_List (removed)
Description List Asset Filters associated with the specified Asset.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssetFilters_Get (removed)
Description Get the details of an Asset Filter associated with the specified Asset.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
filterName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssetFilters_CreateOrUpdate (removed)
Description Creates or updates an Asset Filter associated with the specified Asset.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
filterName: string ,
parameters:
{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssetFilters_Delete (removed)
Description Deletes an Asset Filter associated with the specified Asset.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
filterName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssetFilters_Update (removed)
Description Updates an existing Asset Filter associated with the specified Asset.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
filterName: string ,
parameters:
{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
presentationTimeRange:
{
startTimestamp: integer ,
endTimestamp: integer ,
presentationWindowDuration: integer ,
liveBackoffDuration: integer ,
timescale: integer ,
forceEndTimestamp: boolean ,
}
,
firstQuality:
{
bitrate: integer ,
}
,
tracks:
[
{
trackSelections:
[
{
property: enum ,
value: string ,
operation: enum ,
}
,
]
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tracks_List (removed)
Description Lists the Tracks in the asset
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tracks_Get (removed)
Description Get the details of a Track in the Asset
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tracks_CreateOrUpdate (removed)
Description Create or update a Track in the asset
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
parameters:
{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
$headers:
{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tracks_Delete (removed)
Description Deletes a Track in the asset
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
api-version: string ,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tracks_Update (removed)
Description Updates an existing Track in the asset
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
parameters:
{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}
,
api-version: string ,
}

⚐ Response (202)

{
$headers:
{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tracks_UpdateTrackData (removed)
Description Update the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}/updateTrackData
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
api-version: string ,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OperationStatuses_Get (removed)
Description Get asset track operation status.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}/operationStatuses/{operationId}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
id: string ,
startTime: string ,
endTime: string ,
status: string ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OperationResults_Get (removed)
Description Get asset track operation result.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}/operationResults/{operationId}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
assetName: string ,
trackName: string ,
operationId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
track:
{
@odata.type: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ContentKeyPolicies_List (removed)
Description Lists the Content Key Policies in the account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ContentKeyPolicies_Get (removed)
Description Get the details of a Content Key Policy in the Media Services account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
contentKeyPolicyName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ContentKeyPolicies_CreateOrUpdate (removed)
Description Create or update a Content Key Policy in the Media Services account
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
contentKeyPolicyName: string ,
parameters:
{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ContentKeyPolicies_Delete (removed)
Description Deletes a Content Key Policy in the Media Services account
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
contentKeyPolicyName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ContentKeyPolicies_Update (removed)
Description Updates an existing Content Key Policy in the Media Services account
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
contentKeyPolicyName: string ,
parameters:
{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ContentKeyPolicies_GetPolicyPropertiesWithSecrets (removed)
Description Get a Content Key Policy including secret values
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
contentKeyPolicyName: string ,
api-version: string ,
}

⚐ Response (200)

{
policyId: string ,
created: string ,
lastModified: string ,
description: string ,
options:
[
{
policyOptionId: string ,
name: string ,
configuration:
{
@odata.type: string ,
}
,
restriction:
{
@odata.type: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingPolicies_List (removed)
Description Lists the Streaming Policies in the account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
created: string ,
defaultContentKeyPolicyName: string ,
envelopeEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
customKeyAcquisitionUrlTemplate: string ,
}
,
commonEncryptionCenc:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
commonEncryptionCbcs:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
fairPlay:
{
customLicenseAcquisitionUrlTemplate: string ,
allowPersistentLicense: boolean ,
}
,
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingPolicies_Get (removed)
Description Get the details of a Streaming Policy in the Media Services account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingPolicyName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
created: string ,
defaultContentKeyPolicyName: string ,
envelopeEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
customKeyAcquisitionUrlTemplate: string ,
}
,
commonEncryptionCenc:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
commonEncryptionCbcs:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
fairPlay:
{
customLicenseAcquisitionUrlTemplate: string ,
allowPersistentLicense: boolean ,
}
,
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingPolicies_Create (removed)
Description Create a Streaming Policy in the Media Services account
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingPolicyName: string ,
parameters:
{
properties:
{
created: string ,
defaultContentKeyPolicyName: string ,
envelopeEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
customKeyAcquisitionUrlTemplate: string ,
}
,
commonEncryptionCenc:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
commonEncryptionCbcs:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
fairPlay:
{
customLicenseAcquisitionUrlTemplate: string ,
allowPersistentLicense: boolean ,
}
,
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
created: string ,
defaultContentKeyPolicyName: string ,
envelopeEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
customKeyAcquisitionUrlTemplate: string ,
}
,
commonEncryptionCenc:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
commonEncryptionCbcs:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
clearTracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
contentKeys:
{
defaultKey:
{
label: string ,
policyName: string ,
}
,
keyToTrackMappings:
[
{
label: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
drm:
{
fairPlay:
{
customLicenseAcquisitionUrlTemplate: string ,
allowPersistentLicense: boolean ,
}
,
playReady:
{
customLicenseAcquisitionUrlTemplate: string ,
playReadyCustomAttributes: string ,
}
,
widevine:
{
customLicenseAcquisitionUrlTemplate: string ,
}
,
}
,
clearKeyEncryptionConfiguration:
{
customKeysAcquisitionUrlTemplate: string ,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingPolicies_Delete (removed)
Description Deletes a Streaming Policy in the Media Services account
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingPolicyName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingLocators_List (removed)
Description Lists the Streaming Locators in the account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
$filter: string ,
$top: integer ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
assetName: string ,
created: string ,
startTime: string ,
endTime: string ,
streamingLocatorId: string ,
streamingPolicyName: string ,
defaultContentKeyPolicyName: string ,
contentKeys:
[
{
id: string ,
type: enum ,
labelReferenceInStreamingPolicy: string ,
value: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
alternativeMediaId: string ,
filters:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingLocators_Get (removed)
Description Get the details of a Streaming Locator in the Media Services account
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingLocatorName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
assetName: string ,
created: string ,
startTime: string ,
endTime: string ,
streamingLocatorId: string ,
streamingPolicyName: string ,
defaultContentKeyPolicyName: string ,
contentKeys:
[
{
id: string ,
type: enum ,
labelReferenceInStreamingPolicy: string ,
value: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
alternativeMediaId: string ,
filters:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingLocators_Create (removed)
Description Create a Streaming Locator in the Media Services account
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingLocatorName: string ,
parameters:
{
properties:
{
assetName: string ,
created: string ,
startTime: string ,
endTime: string ,
streamingLocatorId: string ,
streamingPolicyName: string ,
defaultContentKeyPolicyName: string ,
contentKeys:
[
{
id: string ,
type: enum ,
labelReferenceInStreamingPolicy: string ,
value: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
alternativeMediaId: string ,
filters:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
assetName: string ,
created: string ,
startTime: string ,
endTime: string ,
streamingLocatorId: string ,
streamingPolicyName: string ,
defaultContentKeyPolicyName: string ,
contentKeys:
[
{
id: string ,
type: enum ,
labelReferenceInStreamingPolicy: string ,
value: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
alternativeMediaId: string ,
filters:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingLocators_Delete (removed)
Description Deletes a Streaming Locator in the Media Services account
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingLocatorName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingLocators_ListContentKeys (removed)
Description List Content Keys used by this Streaming Locator
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingLocatorName: string ,
api-version: string ,
}

⚐ Response (200)

{
contentKeys:
[
{
id: string ,
type: enum ,
labelReferenceInStreamingPolicy: string ,
value: string ,
policyName: string ,
tracks:
[
{
trackSelections:
[
{
property: enum ,
operation: enum ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
StreamingLocators_ListPaths (removed)
Description List Paths supported by this Streaming Locator
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
streamingLocatorName: string ,
api-version: string ,
}

⚐ Response (200)

{
streamingPaths:
[
{
streamingProtocol: enum ,
encryptionScheme: enum ,
paths:
[
string ,
]
,
}
,
]
,
downloadPaths:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}