Microsoft.Media mediaservices/liveEvents/liveOutputs 2018-07-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@2018-07-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 The Live Output properties. LiveOutputProperties

LiveOutputProperties

Name Description Value
archiveWindowLength ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content. string (required)
assetName The asset name. string (required)
description The description of the Live Output. string
hls The HLS configuration. Hls
manifestName The manifest file name. If not provided, the service will generate one automatically. string
outputSnapTime The output snapshot time. int

Hls

Name Description Value
fragmentsPerTsSegment The amount of fragments per HTTP Live Streaming (HLS) segment. 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": "2018-07-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 '2018-07-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 The Live Output properties. LiveOutputProperties

LiveOutputProperties

Name Description Value
archiveWindowLength ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content. string (required)
assetName The asset name. string (required)
description The description of the Live Output. string
hls The HLS configuration. Hls
manifestName The manifest file name. If not provided, the service will generate one automatically. string
outputSnapTime The output snapshot time. int

Hls

Name Description Value
fragmentsPerTsSegment The amount of fragments per HTTP Live Streaming (HLS) segment. 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@2018-07-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@2018-07-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 The Live Output properties. LiveOutputProperties

LiveOutputProperties

Name Description Value
archiveWindowLength ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content. string (required)
assetName The asset name. string (required)
description The description of the Live Output. string
hls The HLS configuration. Hls
manifestName The manifest file name. If not provided, the service will generate one automatically. string
outputSnapTime The output snapshot time. int

Hls

Name Description Value
fragmentsPerTsSegment The amount of fragments per HTTP Live Streaming (HLS) segment. int