Microsoft.Media mediaservices template reference

Template format

To create a Microsoft.Media/mediaservices resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Media/mediaservices",
  "apiVersion": "2018-07-01",
  "tags": {},
  "location": "string",
  "properties": {
    "storageAccounts": [
        "id": "string",
        "type": "string"

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Media/mediaservices object

Name Type Required Value
name string Yes Name of the Media Service.
Min length: 3
Max length: 24
type enum Yes Microsoft.Media/mediaservices
apiVersion enum Yes 2018-07-01
tags object No Resource tags.
location string No The Azure Region of the resource.
properties object Yes The resource properties. - MediaServiceProperties object

MediaServiceProperties object

Name Type Required Value
storageAccounts array No The storage accounts for this resource. - StorageAccount object

StorageAccount object

Name Type Required Value
id string No 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.
type enum Yes The type of the storage account. - Primary or Secondary

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.
Media service with its Primary Key as OUTPUT

Deploy to Azure
Creates a premium storage, a Media Service and returns its Primary Key
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.