Microsoft.Media mediaservices/streamingEndpoints 2019-05-01-preview

The mediaservices/streamingEndpoints resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Media/mediaservices/streamingEndpoints resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Media/mediaservices/streamingEndpoints@2019-05-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    accessControl: {
      akamai: {
        akamaiSignatureHeaderAuthenticationKeyList: [
          {
            base64Key: 'string'
            expiration: 'string'
            identifier: 'string'
          }
        ]
      }
      ip: {
        allow: [
          {
            address: 'string'
            name: 'string'
            subnetPrefixLength: int
          }
        ]
      }
    }
    availabilitySetName: 'string'
    cdnEnabled: bool
    cdnProfile: 'string'
    cdnProvider: 'string'
    crossSiteAccessPolicies: {
      clientAccessPolicy: 'string'
      crossDomainPolicy: 'string'
    }
    customHostNames: [ 'string' ]
    description: 'string'
    maxCacheAge: int
    scaleUnits: int
  }
}

Property values

mediaservices/streamingEndpoints

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Media/mediaservices/streamingEndpoints'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2019-05-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
location The Azure Region of the resource. string
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties The StreamingEndpoint properties. StreamingEndpointProperties

StreamingEndpointProperties

Name Description Value
accessControl StreamingEndpoint access control definition. StreamingEndpointAccessControl
availabilitySetName The name of the AvailabilitySet used with this StreamingEndpoint for high availability streaming. This value can only be set at creation time. string
cdnEnabled The CDN enabled flag. bool
cdnProfile The CDN profile name. string
cdnProvider The CDN provider name. string
crossSiteAccessPolicies The client access policy. CrossSiteAccessPolicies
customHostNames The custom host names of the StreamingEndpoint string[]
description The StreamingEndpoint description. string
maxCacheAge Max cache age int
scaleUnits The number of scale units. Use the Scale operation to adjust this value. int (required)

StreamingEndpointAccessControl

Name Description Value
akamai Akamai access control AkamaiAccessControl
ip The IP access control. IPAccessControl

AkamaiAccessControl

Name Description Value
akamaiSignatureHeaderAuthenticationKeyList authentication key list AkamaiSignatureHeaderAuthenticationKey[]

AkamaiSignatureHeaderAuthenticationKey

Name Description Value
base64Key authentication key string
expiration The expiration time of the authentication key. string
identifier identifier of the key string

IPAccessControl

Name Description Value
allow The IP allow list. IPRange[]

IPRange

Name Description Value
address The IP address. string
name The friendly name for the IP address range. string
subnetPrefixLength The subnet mask prefix length (see CIDR notation). int

CrossSiteAccessPolicies

Name Description Value
clientAccessPolicy The content of clientaccesspolicy.xml used by Silverlight. string
crossDomainPolicy The content of crossdomain.xml used by Silverlight. string