Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az ams live-output

Manage live outputs for an Azure Media Service account.

Commands

Name Description Type Status
az ams live-output create

Create a live output.

Core GA
az ams live-output delete

Delete a live output.

Core GA
az ams live-output list

List all the live outputs in a live event.

Core GA
az ams live-output show

Show the details of a live output.

Core GA

az ams live-output create

Create a live output.

az ams live-output create --account-name
 --archive-window-length
 --asset-name
 --live-event-name
 --name
 --resource-group
 [--acquire-policy-token]
 [--change-reference]
 [--description]
 [--fragments-per-ts-segment]
 [--manifest-name]
 [--output-snap-time]

Examples

Create a live output.

az ams live-output create -a myAMS -n liveoutput -g rg --asset-name asset --live-event-name liveevent --archive-window-length PT5M --manifest-name man

Required Parameters

--account-name -a

The name of the Azure Media Services account.

--archive-window-length

ISO 8601 timespan duration of the archive window length. This is the duration that customer want to retain the recorded content. Minimum window is 5 minutes (PT5M or 00:05:00). Maximum window is 25 hours (PT25H or 25:00:00). For example, to retain the output for 10 minutes, use PT10M or 00:10:00.

--asset-name

The name of the asset.

--live-event-name

The name of the live event.

--name -n

The name of the live output.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--description

The live output description.

--fragments-per-ts-segment

The number of fragments per HLS segment.

--manifest-name

The manifest file name. If not provided, the service will generate one automatically.

--output-snap-time

The output snapshot time.

az ams live-output delete

Delete a live output.

az ams live-output delete [--account-name]
 [--acquire-policy-token]
 [--change-reference]
 [--ids]
 [--live-event-name]
 [--name]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-name -a

The name of the Azure Media Services account.

Property Value
Parameter group: Resource Id Arguments
--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--live-event-name

The name of the live event.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the live output.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

az ams live-output list

List all the live outputs in a live event.

az ams live-output list --account-name
 --live-event-name
 --resource-group

Required Parameters

--account-name -a

The name of the Azure Media Services account.

--live-event-name

The name of the live event.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az ams live-output show

Show the details of a live output.

az ams live-output show [--account-name]
 [--ids]
 [--live-event-name]
 [--name]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-name -a

The name of the Azure Media Services account.

Property Value
Parameter group: Resource Id Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--live-event-name

The name of the live event.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the live output.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

Feedback

Was this page helpful?