Delen via


LiveOutputs interface

Interface representing a LiveOutputs.

Methods

asyncOperation(string, string, string, LiveOutputsAsyncOperationOptionalParams)

Get a Live Output operation status.

beginCreate(string, string, string, string, LiveOutput, LiveOutputsCreateOptionalParams)

Creates a new live output.

beginCreateAndWait(string, string, string, string, LiveOutput, LiveOutputsCreateOptionalParams)

Creates a new live output.

beginDelete(string, string, string, string, LiveOutputsDeleteOptionalParams)

Deletes a live output. Deleting a live output does not delete the asset the live output is writing to.

beginDeleteAndWait(string, string, string, string, LiveOutputsDeleteOptionalParams)

Deletes a live output. Deleting a live output does not delete the asset the live output is writing to.

get(string, string, string, string, LiveOutputsGetOptionalParams)

Gets a live output.

list(string, string, string, LiveOutputsListOptionalParams)

Lists the live outputs of a live event.

operationLocation(string, string, string, string, string, LiveOutputsOperationLocationOptionalParams)

Get a Live Output operation status.

Method Details

asyncOperation(string, string, string, LiveOutputsAsyncOperationOptionalParams)

Get a Live Output operation status.

function asyncOperation(resourceGroupName: string, accountName: string, operationId: string, options?: LiveOutputsAsyncOperationOptionalParams): Promise<AsyncOperationResult>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

operationId

string

The ID of an ongoing async operation.

options
LiveOutputsAsyncOperationOptionalParams

The options parameters.

Returns

beginCreate(string, string, string, string, LiveOutput, LiveOutputsCreateOptionalParams)

Creates a new live output.

function beginCreate(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, parameters: LiveOutput, options?: LiveOutputsCreateOptionalParams): Promise<PollerLike<PollOperationState<LiveOutput>, LiveOutput>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

liveOutputName

string

The name of the live output.

parameters
LiveOutput

Live Output properties needed for creation.

options
LiveOutputsCreateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<LiveOutput>, LiveOutput>>

beginCreateAndWait(string, string, string, string, LiveOutput, LiveOutputsCreateOptionalParams)

Creates a new live output.

function beginCreateAndWait(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, parameters: LiveOutput, options?: LiveOutputsCreateOptionalParams): Promise<LiveOutput>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

liveOutputName

string

The name of the live output.

parameters
LiveOutput

Live Output properties needed for creation.

options
LiveOutputsCreateOptionalParams

The options parameters.

Returns

Promise<LiveOutput>

beginDelete(string, string, string, string, LiveOutputsDeleteOptionalParams)

Deletes a live output. Deleting a live output does not delete the asset the live output is writing to.

function beginDelete(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, options?: LiveOutputsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

liveOutputName

string

The name of the live output.

options
LiveOutputsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, LiveOutputsDeleteOptionalParams)

Deletes a live output. Deleting a live output does not delete the asset the live output is writing to.

function beginDeleteAndWait(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, options?: LiveOutputsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

liveOutputName

string

The name of the live output.

options
LiveOutputsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, LiveOutputsGetOptionalParams)

Gets a live output.

function get(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, options?: LiveOutputsGetOptionalParams): Promise<LiveOutput>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

liveOutputName

string

The name of the live output.

options
LiveOutputsGetOptionalParams

The options parameters.

Returns

Promise<LiveOutput>

list(string, string, string, LiveOutputsListOptionalParams)

Lists the live outputs of a live event.

function list(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveOutputsListOptionalParams): PagedAsyncIterableIterator<LiveOutput, LiveOutput[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

options
LiveOutputsListOptionalParams

The options parameters.

Returns

operationLocation(string, string, string, string, string, LiveOutputsOperationLocationOptionalParams)

Get a Live Output operation status.

function operationLocation(resourceGroupName: string, accountName: string, liveEventName: string, liveOutputName: string, operationId: string, options?: LiveOutputsOperationLocationOptionalParams): Promise<LiveOutput>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

liveEventName

string

The name of the live event, maximum length is 32.

liveOutputName

string

The name of the live output.

operationId

string

The ID of an ongoing async operation.

options
LiveOutputsOperationLocationOptionalParams

The options parameters.

Returns

Promise<LiveOutput>