StreamingEndpointsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:streaming_endpoints> attribute.
- Inheritance
-
builtins.objectStreamingEndpointsOperations
Constructor
StreamingEndpointsOperations(*args, **kwargs)
Methods
async_operation |
Get operation status. Get a streaming endpoint operation status. |
begin_create |
Create StreamingEndpoint. Creates a streaming endpoint. |
begin_delete |
Delete StreamingEndpoint. Deletes a streaming endpoint. |
begin_scale |
Scale StreamingEndpoint. Scales an existing streaming endpoint. |
begin_start |
Start StreamingEndpoint. Starts an existing streaming endpoint. |
begin_stop |
Stop StreamingEndpoint. Stops an existing streaming endpoint. |
begin_update |
Update StreamingEndpoint. Updates a existing streaming endpoint. |
get |
Get StreamingEndpoint. Gets a streaming endpoint. |
list |
List StreamingEndpoints. Lists the streaming endpoints in the account. |
operation_location |
Get operation status. Get a streaming endpoint operation status. |
skus |
List StreamingEndpoint skus. List streaming endpoint supported skus. |
async_operation
Get operation status.
Get a streaming endpoint operation status.
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 StreamingEndpoint.
Creates a streaming endpoint.
begin_create(resource_group_name: str, account_name: str, streaming_endpoint_name: str, parameters: _models.StreamingEndpoint, auto_start: bool | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.StreamingEndpoint]
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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. Required. |
parameters
Required
|
Streaming endpoint properties needed for creation. Is either a model type or a IO type. Required. |
auto_start
Required
|
The flag indicates if the resource should be automatically started on creation. Default value is None. |
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 ARMPolling. 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 LROPoller that returns either StreamingEndpoint or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete StreamingEndpoint.
Deletes a streaming endpoint.
begin_delete(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> LROPoller[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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. 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 ARMPolling. 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 LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_scale
Scale StreamingEndpoint.
Scales an existing streaming endpoint.
begin_scale(resource_group_name: str, account_name: str, streaming_endpoint_name: str, parameters: _models.StreamingEntityScaleUnit, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. Required. |
parameters
Required
|
Streaming endpoint scale parameters. 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 ARMPolling. 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 LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_start
Start StreamingEndpoint.
Starts an existing streaming endpoint.
begin_start(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> LROPoller[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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. 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 ARMPolling. 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 LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_stop
Stop StreamingEndpoint.
Stops an existing streaming endpoint.
begin_stop(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> LROPoller[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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. 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 ARMPolling. 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 LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update
Update StreamingEndpoint.
Updates a existing streaming endpoint.
begin_update(resource_group_name: str, account_name: str, streaming_endpoint_name: str, parameters: _models.StreamingEndpoint, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.StreamingEndpoint]
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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. Required. |
parameters
Required
|
Streaming endpoint 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 ARMPolling. 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 LROPoller that returns either StreamingEndpoint or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get StreamingEndpoint.
Gets a streaming endpoint.
get(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> StreamingEndpoint
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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
StreamingEndpoint or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
List StreamingEndpoints.
Lists the streaming endpoints in the account.
list(resource_group_name: str, account_name: str, **kwargs: Any) -> Iterable[StreamingEndpoint]
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. |
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 StreamingEndpoint or the result of cls(response) |
Exceptions
Type | Description |
---|---|
operation_location
Get operation status.
Get a streaming endpoint operation status.
operation_location(resource_group_name: str, account_name: str, streaming_endpoint_name: str, operation_id: str, **kwargs: Any) -> StreamingEndpoint | 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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. 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 |
---|---|
StreamingEndpoint or None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
skus
List StreamingEndpoint skus.
List streaming endpoint supported skus.
skus(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> StreamingEndpointSkuInfoListResult
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. |
streaming_endpoint_name
Required
|
The name of the streaming endpoint, maximum length is 24. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
StreamingEndpointSkuInfoListResult 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