LiveOutputsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AzureMediaServices's

<xref:live_outputs> attribute.

Inheritance
builtins.object
LiveOutputsOperations

Constructor

LiveOutputsOperations(*args, **kwargs)

Methods

begin_create

Create Live Output.

Creates a new live output.

begin_delete

Delete Live Output.

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

get

Get Live Output.

Gets a live output.

list

List Live Outputs.

Lists the live outputs of a live event.

begin_create

Create Live Output.

Creates a new live output.

async begin_create(resource_group_name: str, account_name: str, live_event_name: str, live_output_name: str, parameters: azure.mgmt.media.models._models_py3.LiveOutput, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.media.models._models_py3.LiveOutput]

Parameters

resource_group_name
str
Required

The name of the resource group within the Azure subscription.

account_name
str
Required

The Media Services account name.

live_event_name
str
Required

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

live_output_name
str
Required

The name of the live output.

parameters
LiveOutput
Required

Live Output properties needed for creation.

cls
callable

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either LiveOutput or the result of cls(response)

Return type

Exceptions

begin_delete

Delete Live Output.

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

async begin_delete(resource_group_name: str, account_name: str, live_event_name: str, live_output_name: str, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]

Parameters

resource_group_name
str
Required

The name of the resource group within the Azure subscription.

account_name
str
Required

The Media Services account name.

live_event_name
str
Required

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

live_output_name
str
Required

The name of the live output.

cls
callable

A custom type or function that will be passed the direct response

continuation_token
str

A continuation token to restart a poller from a saved state.

polling
bool or AsyncPollingMethod

By default, your polling method will be AsyncARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of AsyncLROPoller that returns either None or the result of cls(response)

Return type

Exceptions

get

Get Live Output.

Gets a live output.

async get(resource_group_name: str, account_name: str, live_event_name: str, live_output_name: str, **kwargs: Any) -> azure.mgmt.media.models._models_py3.LiveOutput

Parameters

resource_group_name
str
Required

The name of the resource group within the Azure subscription.

account_name
str
Required

The Media Services account name.

live_event_name
str
Required

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

live_output_name
str
Required

The name of the live output.

cls
callable

A custom type or function that will be passed the direct response

Returns

LiveOutput, or the result of cls(response)

Return type

Exceptions

list

List Live Outputs.

Lists the live outputs of a live event.

list(resource_group_name: str, account_name: str, live_event_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.media.models._models_py3.LiveOutputListResult]

Parameters

resource_group_name
str
Required

The name of the resource group within the Azure subscription.

account_name
str
Required

The Media Services account name.

live_event_name
str
Required

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

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either LiveOutputListResult or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.media.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\media\\models\\__init__.py'>