Microsoft.Media mediaservices 2015-10-01
Bicep resource definition
The mediaservices resource type can be deployed to:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Media/mediaservices resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Media/mediaservices@2015-10-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
properties: {
storageAccounts: [
{
id: 'string'
isPrimary: bool
}
]
}
}
Property values
mediaservices
Name | Description | Value |
---|---|---|
name | The resource name | string (required) Character limit: 3-24 Valid characters: Lowercase letters and numbers. |
location | The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). | string |
tags | Tags to help categorize the resource in the Azure portal. | Dictionary of tag names and values. See Tags in templates |
properties | The additional properties of a Media Service resource. | MediaServiceProperties |
MediaServiceProperties
Name | Description | Value |
---|---|---|
storageAccounts | The storage accounts for this resource. | StorageAccount[] |
StorageAccount
Name | Description | Value |
---|---|---|
id | The id of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts (isPrimary false). | string (required) |
isPrimary | Is this storage account resource the primary storage account for the Media Service resource. Blob only storage must set this to false. | bool (required) |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Orchard CMS Video Portal Web App |
This template provides a easy way to deploy Orchard CMS on Azure App Service Web Apps with the Azure Media Services module enabled and configured. |
Create a Media Services Account using a template |
This template creates an Azure Media Services Account with its Storage account. |
ARM template resource definition
The mediaservices resource type can be deployed to:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Media/mediaservices resource, add the following JSON to your template.
{
"type": "Microsoft.Media/mediaservices",
"apiVersion": "2015-10-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"storageAccounts": [
{
"id": "string",
"isPrimary": "bool"
}
]
}
}
Property values
mediaservices
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Media/mediaservices' |
apiVersion | The resource api version | '2015-10-01' |
name | The resource name | string (required) Character limit: 3-24 Valid characters: Lowercase letters and numbers. |
location | The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). | string |
tags | Tags to help categorize the resource in the Azure portal. | Dictionary of tag names and values. See Tags in templates |
properties | The additional properties of a Media Service resource. | MediaServiceProperties |
MediaServiceProperties
Name | Description | Value |
---|---|---|
storageAccounts | The storage accounts for this resource. | StorageAccount[] |
StorageAccount
Name | Description | Value |
---|---|---|
id | The id of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts (isPrimary false). | string (required) |
isPrimary | Is this storage account resource the primary storage account for the Media Service resource. Blob only storage must set this to false. | bool (required) |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Orchard CMS Video Portal Web App |
This template provides a easy way to deploy Orchard CMS on Azure App Service Web Apps with the Azure Media Services module enabled and configured. |
Create a Media Services Account using a template |
This template creates an Azure Media Services Account with its Storage account. |
Terraform (AzAPI provider) resource definition
The mediaservices resource type can be deployed to:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Media/mediaservices resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Media/mediaservices@2015-10-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
storageAccounts = [
{
id = "string"
isPrimary = bool
}
]
}
})
}
Property values
mediaservices
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Media/mediaservices@2015-10-01" |
name | The resource name | string (required) Character limit: 3-24 Valid characters: Lowercase letters and numbers. |
location | The geographic location of the resource. This must be one of the supported and registered Azure Geo Regions (for example, West US, East US, Southeast Asia, and so forth). | string |
parent_id | To deploy to a resource group, use the ID of that resource group. | string (required) |
tags | Tags to help categorize the resource in the Azure portal. | Dictionary of tag names and values. |
properties | The additional properties of a Media Service resource. | MediaServiceProperties |
MediaServiceProperties
Name | Description | Value |
---|---|---|
storageAccounts | The storage accounts for this resource. | StorageAccount[] |
StorageAccount
Name | Description | Value |
---|---|---|
id | The id of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts (isPrimary false). | string (required) |
isPrimary | Is this storage account resource the primary storage account for the Media Service resource. Blob only storage must set this to false. | bool (required) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for