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": "2022-08-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 |
'2022-08-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 |