LiveOutputsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:live_outputs> attribute.
- Inheritance
-
builtins.objectLiveOutputsOperations
Constructor
LiveOutputsOperations(*args, **kwargs)
Methods
async_operation |
Get operation status. Get a Live Output operation status. |
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. |
operation_location |
Get operation status. Get a Live Output operation status. |
async_operation
Get operation status.
Get a Live Output operation status.
async async_operation(resource_group_name: str, account_name: str, operation_id: str, **kwargs: Any) -> AsyncOperationResult
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the Azure subscription. Required. |
account_name
Required
|
The Media Services account name. Required. |
operation_id
Required
|
The ID of an ongoing async operation. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
AsyncOperationResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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: _models.LiveOutput, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.LiveOutput]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the Azure subscription. Required. |
account_name
Required
|
The Media Services account name. Required. |
live_event_name
Required
|
The name of the live event, maximum length is 32. Required. |
live_output_name
Required
|
The name of the live output. Required. |
parameters
Required
|
LiveOutput or
IO
Live Output properties needed for creation. Is either a model type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
Body Parameter content-type. Known values are: 'application/json'. Default value is None. |
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
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
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either LiveOutput or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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) -> AsyncLROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the Azure subscription. Required. |
account_name
Required
|
The Media Services account name. Required. |
live_event_name
Required
|
The name of the live event, maximum length is 32. Required. |
live_output_name
Required
|
The name of the live output. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
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
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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) -> LiveOutput
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the Azure subscription. Required. |
account_name
Required
|
The Media Services account name. Required. |
live_event_name
Required
|
The name of the live event, maximum length is 32. Required. |
live_output_name
Required
|
The name of the live output. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
LiveOutput or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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[LiveOutput]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the Azure subscription. Required. |
account_name
Required
|
The Media Services account name. Required. |
live_event_name
Required
|
The name of the live event, maximum length is 32. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either LiveOutput or the result of cls(response) |
Exceptions
Type | Description |
---|---|
operation_location
Get operation status.
Get a Live Output operation status.
async operation_location(resource_group_name: str, account_name: str, live_event_name: str, live_output_name: str, operation_id: str, **kwargs: Any) -> LiveOutput | None
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group within the Azure subscription. Required. |
account_name
Required
|
The Media Services account name. Required. |
live_event_name
Required
|
The name of the live event, maximum length is 32. Required. |
live_output_name
Required
|
The name of the live output. Required. |
operation_id
Required
|
The ID of an ongoing async operation. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
LiveOutput or None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.media.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\media\\models\\__init__.py'>
Azure SDK for Python