Microsoft.Media (preview:2018-07-01)

2025/05/26 • 55 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:
{
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: enum ,
aggregationType: enum ,
dimensions:
[
{
name: string ,
displayName: string ,
toBeExportedForShoebox: boolean ,
}
,
]
,
}
,
]
,
}
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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:
{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
mediaServiceId: string ,
storageAccounts:
[
{
id: string ,
type: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Transforms_List (removed)
Description Lists the Transforms in the account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Transforms_Get (removed)
Description Gets a Transform.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Transforms_CreateOrUpdate (removed)
Description Creates or updates a new Transform.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
parameters:
{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Transforms_Delete (removed)
Description Deletes a Transform.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Transforms_Update (removed)
Description Updates a Transform.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
parameters:
{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
created: string ,
description: string ,
lastModified: string ,
outputs:
[
{
onError: enum ,
relativePriority: enum ,
preset:
{
@odata.type: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Jobs_List (removed)
Description Lists all of the Jobs for the Transform.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
api-version: string ,
$filter: string ,
$orderby: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
created: string ,
state: enum ,
description: string ,
input:
{
@odata.type: string ,
}
,
lastModified: string ,
outputs:
[
{
@odata.type: string ,
error:
{
code: enum ,
message: string ,
category: enum ,
retry: enum ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
state: enum ,
progress: integer ,
label: string ,
}
,
]
,
priority: enum ,
correlationData: object ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Jobs_Get (removed)
Description Gets a Job.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
created: string ,
state: enum ,
description: string ,
input:
{
@odata.type: string ,
}
,
lastModified: string ,
outputs:
[
{
@odata.type: string ,
error:
{
code: enum ,
message: string ,
category: enum ,
retry: enum ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
state: enum ,
progress: integer ,
label: string ,
}
,
]
,
priority: enum ,
correlationData: object ,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Jobs_Create (removed)
Description Creates a Job.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
jobName: string ,
parameters:
{
properties:
{
created: string ,
state: enum ,
description: string ,
input:
{
@odata.type: string ,
}
,
lastModified: string ,
outputs:
[
{
@odata.type: string ,
error:
{
code: enum ,
message: string ,
category: enum ,
retry: enum ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
state: enum ,
progress: integer ,
label: string ,
}
,
]
,
priority: enum ,
correlationData: object ,
}
,
}
,
api-version: string ,
}

⚐ Response (201)

{
properties:
{
created: string ,
state: enum ,
description: string ,
input:
{
@odata.type: string ,
}
,
lastModified: string ,
outputs:
[
{
@odata.type: string ,
error:
{
code: enum ,
message: string ,
category: enum ,
retry: enum ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
state: enum ,
progress: integer ,
label: string ,
}
,
]
,
priority: enum ,
correlationData: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Jobs_Delete (removed)
Description Deletes a Job.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
jobName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Jobs_Update (removed)
Description Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
jobName: string ,
parameters:
{
properties:
{
created: string ,
state: enum ,
description: string ,
input:
{
@odata.type: string ,
}
,
lastModified: string ,
outputs:
[
{
@odata.type: string ,
error:
{
code: enum ,
message: string ,
category: enum ,
retry: enum ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
state: enum ,
progress: integer ,
label: string ,
}
,
]
,
priority: enum ,
correlationData: object ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
created: string ,
state: enum ,
description: string ,
input:
{
@odata.type: string ,
}
,
lastModified: string ,
outputs:
[
{
@odata.type: string ,
error:
{
code: enum ,
message: string ,
category: enum ,
retry: enum ,
details:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
state: enum ,
progress: integer ,
label: string ,
}
,
]
,
priority: enum ,
correlationData: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Jobs_CancelJob (removed)
Description Cancel a Job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
transformName: string ,
jobName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
assetId: string ,
created: string ,
lastModified: string ,
alternateId: string ,
description: string ,
container: string ,
storageAccountName: string ,
storageEncryptionFormat: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
}
,
]
,
}
,
]
,
}
,
}
,
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 ,
}
,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
]
,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
]
,
}
,
}
,
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 ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
}
,
}
,
]
,
}
,
}
,
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 ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
noEncryption:
{
enabledProtocols:
{
download: boolean ,
dash: boolean ,
hls: boolean ,
smoothStreaming: boolean ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
,
]
,
@odata.nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
,
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 ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}