Microsoft.Media mediaservices/liveEvents/liveOutputs 2021-06-01

Bicep resource definition

The mediaservices/liveEvents/liveOutputs resource type can be deployed to:

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-06-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    archiveWindowLength: 'string'
    assetName: 'string'
    description: 'string'
    hls: {
      fragmentsPerTsSegment: int
    }
    manifestName: 'string'
    outputSnapTime: int
  }
}

Property values

mediaservices/liveEvents/liveOutputs

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)

Character limit: 1-256

Valid characters:
Alphanumerics and hyphens.

Start with alphanumeric.
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: liveEvents
properties Live output properties. LiveOutputProperties

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

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

ARM template resource definition

The mediaservices/liveEvents/liveOutputs resource type can be deployed to:

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-06-01",
  "name": "string",
  "properties": {
    "archiveWindowLength": "string",
    "assetName": "string",
    "description": "string",
    "hls": {
      "fragmentsPerTsSegment": "int"
    },
    "manifestName": "string",
    "outputSnapTime": "int"
  }
}

Property values

mediaservices/liveEvents/liveOutputs

Name Description Value
type The resource type 'Microsoft.Media/mediaservices/liveEvents/liveOutputs'
apiVersion The resource api version '2021-06-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)

Character limit: 1-256

Valid characters:
Alphanumerics and hyphens.

Start with alphanumeric.
properties Live output properties. LiveOutputProperties

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

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

Terraform (AzAPI provider) resource definition

The mediaservices/liveEvents/liveOutputs resource type can be deployed to:

  • 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-06-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      archiveWindowLength = "string"
      assetName = "string"
      description = "string"
      hls = {
        fragmentsPerTsSegment = int
      }
      manifestName = "string"
      outputSnapTime = int
    }
  })
}

Property values

mediaservices/liveEvents/liveOutputs

Name Description Value
type The resource type "Microsoft.Media/mediaservices/liveEvents/liveOutputs@2021-06-01"
name The resource name string (required)

Character limit: 1-256

Valid characters:
Alphanumerics and hyphens.

Start with alphanumeric.
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: liveEvents
properties Live output properties. LiveOutputProperties

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

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