Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The mediaservices/liveEvents/liveOutputs resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Media/mediaservices/liveEvents/liveOutputs resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Media/mediaservices/liveEvents/liveOutputs@2021-11-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
archiveWindowLength: 'string'
assetName: 'string'
description: 'string'
hls: {
fragmentsPerTsSegment: int
}
manifestName: 'string'
outputSnapTime: int
}
}
Property Values
Hls
Name | Description | Value |
---|---|---|
fragmentsPerTsSegment | The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. | int |
LiveOutputProperties
Name | Description | Value |
---|---|---|
archiveWindowLength | ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. | string (required) |
assetName | The asset that the live output will write to. | string (required) |
description | The description of the live output. | string |
hls | HTTP Live Streaming (HLS) packing setting for the live output. | Hls |
manifestName | The manifest file name. If not provided, the service will generate one automatically. | string |
outputSnapTime | The initial timestamp that the live output will start at, any content before this value will not be archived. | int |
Microsoft.Media/mediaservices/liveEvents/liveOutputs
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Min length = 1 Max length = 256 Pattern = ^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$ (required) |
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/liveEvents |
properties | Live output properties. | LiveOutputProperties |
ARM template resource definition
The mediaservices/liveEvents/liveOutputs resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Media/mediaservices/liveEvents/liveOutputs resource, add the following JSON to your template.
{
"type": "Microsoft.Media/mediaservices/liveEvents/liveOutputs",
"apiVersion": "2021-11-01",
"name": "string",
"properties": {
"archiveWindowLength": "string",
"assetName": "string",
"description": "string",
"hls": {
"fragmentsPerTsSegment": "int"
},
"manifestName": "string",
"outputSnapTime": "int"
}
}
Property Values
Hls
Name | Description | Value |
---|---|---|
fragmentsPerTsSegment | The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. | int |
LiveOutputProperties
Name | Description | Value |
---|---|---|
archiveWindowLength | ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. | string (required) |
assetName | The asset that the live output will write to. | string (required) |
description | The description of the live output. | string |
hls | HTTP Live Streaming (HLS) packing setting for the live output. | Hls |
manifestName | The manifest file name. If not provided, the service will generate one automatically. | string |
outputSnapTime | The initial timestamp that the live output will start at, any content before this value will not be archived. | int |
Microsoft.Media/mediaservices/liveEvents/liveOutputs
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-11-01' |
name | The resource name | string Constraints: Min length = 1 Max length = 256 Pattern = ^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$ (required) |
properties | Live output properties. | LiveOutputProperties |
type | The resource type | 'Microsoft.Media/mediaservices/liveEvents/liveOutputs' |
Usage Examples
Terraform (AzAPI provider) resource definition
The mediaservices/liveEvents/liveOutputs resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Media/mediaservices/liveEvents/liveOutputs resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Media/mediaservices/liveEvents/liveOutputs@2021-11-01"
name = "string"
parent_id = "string"
body = {
properties = {
archiveWindowLength = "string"
assetName = "string"
description = "string"
hls = {
fragmentsPerTsSegment = int
}
manifestName = "string"
outputSnapTime = int
}
}
}
Property Values
Hls
Name | Description | Value |
---|---|---|
fragmentsPerTsSegment | The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. | int |
LiveOutputProperties
Name | Description | Value |
---|---|---|
archiveWindowLength | ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. | string (required) |
assetName | The asset that the live output will write to. | string (required) |
description | The description of the live output. | string |
hls | HTTP Live Streaming (HLS) packing setting for the live output. | Hls |
manifestName | The manifest file name. If not provided, the service will generate one automatically. | string |
outputSnapTime | The initial timestamp that the live output will start at, any content before this value will not be archived. | int |
Microsoft.Media/mediaservices/liveEvents/liveOutputs
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Min length = 1 Max length = 256 Pattern = ^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$ (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: mediaservices/liveEvents |
properties | Live output properties. | LiveOutputProperties |
type | The resource type | "Microsoft.Media/mediaservices/liveEvents/liveOutputs@2021-11-01" |