LiveOutputsOperations Class

LiveOutputsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
LiveOutputsOperations

Constructor

LiveOutputsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

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.

begin_create(resource_group_name, account_name, live_event_name, live_output_name, parameters, **kwargs)

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 PollingMethod

Pass in True if you'd like the ARMPolling polling method, False for no polling, or 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 LROPoller that returns either LiveOutput or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

begin_delete

Delete Live Output.

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

begin_delete(resource_group_name, account_name, live_event_name, live_output_name, **kwargs)

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 PollingMethod

Pass in True if you'd like the ARMPolling polling method, False for no polling, or 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 LROPoller that returns either None or the result of cls(response)

Return type

Exceptions

~azure.core.exceptions.HttpResponseError

get

Get Live Output.

Gets a live output.

get(resource_group_name, account_name, live_event_name, live_output_name, **kwargs)

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

~azure.core.exceptions.HttpResponseError

list

List Live Outputs.

Lists the live outputs of a live event.

list(resource_group_name, account_name, live_event_name, **kwargs)

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

~azure.core.exceptions.HttpResponseError

Attributes

models

models = <module 'azure.mgmt.media.models' from 'c:\\hostedtoolcache\\windows\\python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\media\\models\\__init__.py'>