Article 12/28/2022
1 contributor
Feedback
In this article
Bicep resource definition
The mediaservices/streamingEndpoints resource type can be deployed to:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Media/mediaservices/streamingEndpoints resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Media/mediaservices/streamingEndpoints@2021-11-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
capacity: int
}
parent: resourceSymbolicName
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
Name
Description
Value
name
The resource name See how to set names and types for child resources in Bicep .
string (required) Character limit: 1-24 Valid characters: Alphanumerics and hyphens. Start with alphanumeric.
location
The geo-location where the resource lives
string (required)
tags
Resource tags.
Dictionary of tag names and values. See Tags in templates
sku
The streaming endpoint sku.
ArmStreamingEndpointCurrentSku
parent
In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource .
Symbolic name for resource of type: mediaservices
properties
The streaming endpoint properties.
StreamingEndpointProperties
StreamingEndpointProperties
Name
Description
Value
accessControl
The access control definition of the streaming endpoint.
StreamingEndpointAccessControl
availabilitySetName
This feature is deprecated, do not set a value for this property.
string
cdnEnabled
The CDN enabled flag.
bool
cdnProfile
The CDN profile name.
string
cdnProvider
The CDN provider name.
string
crossSiteAccessPolicies
The streaming endpoint access policies.
CrossSiteAccessPolicies
customHostNames
The custom host names of the streaming endpoint
string[]
description
The streaming endpoint description.
string
maxCacheAge
Max cache age
int
scaleUnits
The number of scale units. Use the Scale operation to adjust this value.
int (required)
StreamingEndpointAccessControl
AkamaiAccessControl
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
ArmStreamingEndpointCurrentSku
Name
Description
Value
capacity
The streaming endpoint sku capacity.
int
ARM template resource definition
The mediaservices/streamingEndpoints resource type can be deployed to:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Media/mediaservices/streamingEndpoints resource, add the following JSON to your template.
{
"type": "Microsoft.Media/mediaservices/streamingEndpoints",
"apiVersion": "2021-11-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"sku": {
"capacity": "int"
},
"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
Name
Description
Value
type
The resource type
'Microsoft.Media/mediaservices/streamingEndpoints'
apiVersion
The resource api version
'2021-11-01'
name
The resource name See how to set names and types for child resources in JSON ARM templates .
string (required) Character limit: 1-24 Valid characters: Alphanumerics and hyphens. Start with alphanumeric.
location
The geo-location where the resource lives
string (required)
tags
Resource tags.
Dictionary of tag names and values. See Tags in templates
sku
The streaming endpoint sku.
ArmStreamingEndpointCurrentSku
properties
The streaming endpoint properties.
StreamingEndpointProperties
StreamingEndpointProperties
Name
Description
Value
accessControl
The access control definition of the streaming endpoint.
StreamingEndpointAccessControl
availabilitySetName
This feature is deprecated, do not set a value for this property.
string
cdnEnabled
The CDN enabled flag.
bool
cdnProfile
The CDN profile name.
string
cdnProvider
The CDN provider name.
string
crossSiteAccessPolicies
The streaming endpoint access policies.
CrossSiteAccessPolicies
customHostNames
The custom host names of the streaming endpoint
string[]
description
The streaming endpoint description.
string
maxCacheAge
Max cache age
int
scaleUnits
The number of scale units. Use the Scale operation to adjust this value.
int (required)
StreamingEndpointAccessControl
AkamaiAccessControl
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
ArmStreamingEndpointCurrentSku
Name
Description
Value
capacity
The streaming endpoint sku capacity.
int
The mediaservices/streamingEndpoints resource type can be deployed to:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Media/mediaservices/streamingEndpoints resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Media/mediaservices/streamingEndpoints@2021-11-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
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
}
sku = {
capacity = int
}
})
}
Property values
Name
Description
Value
type
The resource type
"Microsoft.Media/mediaservices/streamingEndpoints@2021-11-01"
name
The resource name
string (required) Character limit: 1-24 Valid characters: Alphanumerics and hyphens. Start with alphanumeric.
location
The geo-location where the resource lives
string (required)
parent_id
The ID of the resource that is the parent for this resource.
ID for resource of type: mediaservices
tags
Resource tags.
Dictionary of tag names and values.
sku
The streaming endpoint sku.
ArmStreamingEndpointCurrentSku
properties
The streaming endpoint properties.
StreamingEndpointProperties
StreamingEndpointProperties
Name
Description
Value
accessControl
The access control definition of the streaming endpoint.
StreamingEndpointAccessControl
availabilitySetName
This feature is deprecated, do not set a value for this property.
string
cdnEnabled
The CDN enabled flag.
bool
cdnProfile
The CDN profile name.
string
cdnProvider
The CDN provider name.
string
crossSiteAccessPolicies
The streaming endpoint access policies.
CrossSiteAccessPolicies
customHostNames
The custom host names of the streaming endpoint
string[]
description
The streaming endpoint description.
string
maxCacheAge
Max cache age
int
scaleUnits
The number of scale units. Use the Scale operation to adjust this value.
int (required)
StreamingEndpointAccessControl
AkamaiAccessControl
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
ArmStreamingEndpointCurrentSku
Name
Description
Value
capacity
The streaming endpoint sku capacity.
int