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
| 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. |
| skus |
List StreamingEndpoint skus. List streaming endpoint supported skus. |
begin_create
Create StreamingEndpoint.
Creates a streaming endpoint.
async begin_create(resource_group_name: str, account_name: str, streaming_endpoint_name: str, parameters: azure.mgmt.media.models._models_py3.StreamingEndpoint, auto_start: Optional[bool] = None, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.media.models._models_py3.StreamingEndpoint]
Parameters
- auto_start
- bool
The flag indicates if the resource should be automatically started on creation. Default value is None.
- 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 StreamingEndpoint or the result of cls(response)
Return type
Exceptions
begin_delete
Delete StreamingEndpoint.
Deletes a streaming endpoint.
async begin_delete(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- 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
begin_scale
Scale StreamingEndpoint.
Scales an existing streaming endpoint.
async begin_scale(resource_group_name: str, account_name: str, streaming_endpoint_name: str, parameters: azure.mgmt.media.models._models_py3.StreamingEntityScaleUnit, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- 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
begin_start
Start StreamingEndpoint.
Starts an existing streaming endpoint.
async begin_start(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- 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
begin_stop
Stop StreamingEndpoint.
Stops an existing streaming endpoint.
async begin_stop(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- 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
begin_update
Update StreamingEndpoint.
Updates a existing streaming endpoint.
async begin_update(resource_group_name: str, account_name: str, streaming_endpoint_name: str, parameters: azure.mgmt.media.models._models_py3.StreamingEndpoint, **kwargs: Any) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.media.models._models_py3.StreamingEndpoint]
Parameters
- 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 StreamingEndpoint or the result of cls(response)
Return type
Exceptions
get
Get StreamingEndpoint.
Gets a streaming endpoint.
async get(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> azure.mgmt.media.models._models_py3.StreamingEndpoint
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
StreamingEndpoint, or the result of cls(response)
Return type
Exceptions
list
List StreamingEndpoints.
Lists the streaming endpoints in the account.
list(resource_group_name: str, account_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.media.models._models_py3.StreamingEndpointListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either StreamingEndpointListResult or the result of cls(response)
Return type
Exceptions
skus
List StreamingEndpoint skus.
List streaming endpoint supported skus.
async skus(resource_group_name: str, account_name: str, streaming_endpoint_name: str, **kwargs: Any) -> azure.mgmt.media.models._models_py3.StreamingEndpointSkuInfoListResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
StreamingEndpointSkuInfoListResult, 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'>
Feedback
Submit and view feedback for