Microsoft.Media mediaservices 2018-07-01

Bicep resource definition

The mediaservices resource type can be deployed with operations that target:

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@2018-07-01' = {
  location: 'string'
  name: 'string'
  properties: {
    storageAccounts: [
      {
        id: 'string'
        type: 'string'
      }
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

MediaServiceProperties

Name Description Value
storageAccounts The storage accounts for this resource. StorageAccount[]

Microsoft.Media/mediaservices

Name Description Value
location The Azure Region of the resource. string
name The resource name string (required)
properties The resource properties. MediaServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

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. string
type The type of the storage account. 'Primary'
'Secondary' (required)

TrackedResourceTags

Name Description Value

Quickstart samples

The following quickstart samples deploy this resource type.

Bicep File Description
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 with operations that target:

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": "2018-07-01",
  "name": "string",
  "location": "string",
  "properties": {
    "storageAccounts": [
      {
        "id": "string",
        "type": "string"
      }
    ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

MediaServiceProperties

Name Description Value
storageAccounts The storage accounts for this resource. StorageAccount[]

Microsoft.Media/mediaservices

Name Description Value
apiVersion The api version '2018-07-01'
location The Azure Region of the resource. string
name The resource name string (required)
properties The resource properties. MediaServiceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Media/mediaservices'

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. string
type The type of the storage account. 'Primary'
'Secondary' (required)

TrackedResourceTags

Name Description Value

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a Media Services Account using a template

Deploy to Azure
This template creates an Azure Media Services Account with its Storage account.
Orchard CMS Video Portal Web App

Deploy to Azure
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.

Terraform (AzAPI provider) resource definition

The mediaservices resource type can be deployed with operations that target:

  • Subscription* 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@2018-07-01"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      storageAccounts = [
        {
          id = "string"
          type = "string"
        }
      ]
    }
  })
}

Property values

MediaServiceProperties

Name Description Value
storageAccounts The storage accounts for this resource. StorageAccount[]

Microsoft.Media/mediaservices

Name Description Value
location The Azure Region of the resource. string
name The resource name string (required)
properties The resource properties. MediaServiceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Media/mediaservices@2018-07-01"

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. string
type The type of the storage account. 'Primary'
'Secondary' (required)

TrackedResourceTags

Name Description Value