Interface StreamingEndpointsClient
-
Method Summary
Modifier and TypeMethodDescriptionasyncOperation
(String resourceGroupName, String accountName, String operationId) Get operation status.com.azure.core.http.rest.Response<AsyncOperationResultInner>
asyncOperationWithResponse
(String resourceGroupName, String accountName, String operationId, com.azure.core.util.Context context) Get operation status.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,
StreamingEndpointInner> beginCreate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Create StreamingEndpointcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,
StreamingEndpointInner> beginCreate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create StreamingEndpointbeginDelete
(String resourceGroupName, String accountName, String streamingEndpointName) Delete StreamingEndpointbeginDelete
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Delete StreamingEndpointbeginScale
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters) Scale StreamingEndpointbeginScale
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters, com.azure.core.util.Context context) Scale StreamingEndpointbeginStart
(String resourceGroupName, String accountName, String streamingEndpointName) Start StreamingEndpointbeginStart
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Start StreamingEndpointStop StreamingEndpointbeginStop
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Stop StreamingEndpointcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,
StreamingEndpointInner> beginUpdate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Update StreamingEndpointcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,
StreamingEndpointInner> beginUpdate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, com.azure.core.util.Context context) Update StreamingEndpointcreate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Create StreamingEndpointcreate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create StreamingEndpointvoid
Delete StreamingEndpointvoid
delete
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Delete StreamingEndpointGet StreamingEndpointcom.azure.core.http.rest.Response<StreamingEndpointInner>
getWithResponse
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Get StreamingEndpointcom.azure.core.http.rest.PagedIterable<StreamingEndpointInner>
List StreamingEndpointscom.azure.core.http.rest.PagedIterable<StreamingEndpointInner>
List StreamingEndpointsoperationLocation
(String resourceGroupName, String accountName, String streamingEndpointName, String operationId) Get operation status.com.azure.core.http.rest.Response<StreamingEndpointInner>
operationLocationWithResponse
(String resourceGroupName, String accountName, String streamingEndpointName, String operationId, com.azure.core.util.Context context) Get operation status.void
scale
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters) Scale StreamingEndpointvoid
scale
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters, com.azure.core.util.Context context) Scale StreamingEndpointList StreamingEndpoint skuscom.azure.core.http.rest.Response<StreamingEndpointSkuInfoListResultInner>
skusWithResponse
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) List StreamingEndpoint skusvoid
Start StreamingEndpointvoid
start
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Start StreamingEndpointvoid
Stop StreamingEndpointvoid
stop
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Stop StreamingEndpointupdate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Update StreamingEndpointupdate
(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, com.azure.core.util.Context context) Update StreamingEndpoint
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<StreamingEndpointInner> list(String resourceGroupName, String accountName) List StreamingEndpointsLists the streaming endpoints in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.- Returns:
- streamingEndpointListResult as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<StreamingEndpointInner> list(String resourceGroupName, String accountName, com.azure.core.util.Context context) List StreamingEndpointsLists the streaming endpoints in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.context
- The context to associate with this operation.- Returns:
- streamingEndpointListResult as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<StreamingEndpointInner> getWithResponse(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Get StreamingEndpointGets a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Returns:
- a streaming endpoint along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
StreamingEndpointInner get(String resourceGroupName, String accountName, String streamingEndpointName) Get StreamingEndpointGets a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Returns:
- a streaming endpoint.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,StreamingEndpointInner> beginCreate(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Create StreamingEndpointCreates a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.- Returns:
- the
SyncPoller
for polling of the streaming endpoint. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,StreamingEndpointInner> beginCreate(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create StreamingEndpointCreates a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.autoStart
- The flag indicates if the resource should be automatically started on creation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the streaming endpoint. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
StreamingEndpointInner create(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Create StreamingEndpointCreates a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.- Returns:
- the streaming endpoint.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
StreamingEndpointInner create(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create StreamingEndpointCreates a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.autoStart
- The flag indicates if the resource should be automatically started on creation.context
- The context to associate with this operation.- Returns:
- the streaming endpoint.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,StreamingEndpointInner> beginUpdate(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Update StreamingEndpointUpdates a existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.- Returns:
- the
SyncPoller
for polling of the streaming endpoint. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StreamingEndpointInner>,StreamingEndpointInner> beginUpdate(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, com.azure.core.util.Context context) Update StreamingEndpointUpdates a existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the streaming endpoint. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
StreamingEndpointInner update(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) Update StreamingEndpointUpdates a existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.- Returns:
- the streaming endpoint.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
StreamingEndpointInner update(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters, com.azure.core.util.Context context) Update StreamingEndpointUpdates a existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint properties needed for creation.context
- The context to associate with this operation.- Returns:
- the streaming endpoint.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String streamingEndpointName) Delete StreamingEndpointDeletes a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Delete StreamingEndpointDeletes a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete StreamingEndpointDeletes a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Delete StreamingEndpointDeletes a streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
skusWithResponse
com.azure.core.http.rest.Response<StreamingEndpointSkuInfoListResultInner> skusWithResponse(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) List StreamingEndpoint skusList streaming endpoint supported skus.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Returns:
- the response body along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
skus
StreamingEndpointSkuInfoListResultInner skus(String resourceGroupName, String accountName, String streamingEndpointName) List StreamingEndpoint skusList streaming endpoint supported skus.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String accountName, String streamingEndpointName) Start StreamingEndpointStarts an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Start StreamingEndpointStarts an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
Start StreamingEndpointStarts an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
void start(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Start StreamingEndpointStarts an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String accountName, String streamingEndpointName) Stop StreamingEndpointStops an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Stop StreamingEndpointStops an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stop
Stop StreamingEndpointStops an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stop
void stop(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Stop StreamingEndpointStops an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginScale
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginScale(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters) Scale StreamingEndpointScales an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint scale parameters.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginScale
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginScale(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters, com.azure.core.util.Context context) Scale StreamingEndpointScales an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint scale parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
scale
void scale(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters) Scale StreamingEndpointScales an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint scale parameters.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
scale
void scale(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEntityScaleUnit parameters, com.azure.core.util.Context context) Scale StreamingEndpointScales an existing streaming endpoint.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.parameters
- Streaming endpoint scale parameters.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
asyncOperationWithResponse
com.azure.core.http.rest.Response<AsyncOperationResultInner> asyncOperationWithResponse(String resourceGroupName, String accountName, String operationId, com.azure.core.util.Context context) Get operation status.Get a streaming endpoint operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.operationId
- The ID of an ongoing async operation.context
- The context to associate with this operation.- Returns:
- a streaming endpoint operation status along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
asyncOperation
AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId) Get operation status.Get a streaming endpoint operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.operationId
- The ID of an ongoing async operation.- Returns:
- a streaming endpoint operation status.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
operationLocationWithResponse
com.azure.core.http.rest.Response<StreamingEndpointInner> operationLocationWithResponse(String resourceGroupName, String accountName, String streamingEndpointName, String operationId, com.azure.core.util.Context context) Get operation status.Get a streaming endpoint operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.operationId
- The ID of an ongoing async operation.context
- The context to associate with this operation.- Returns:
- a streaming endpoint operation status along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
operationLocation
StreamingEndpointInner operationLocation(String resourceGroupName, String accountName, String streamingEndpointName, String operationId) Get operation status.Get a streaming endpoint operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.streamingEndpointName
- The name of the streaming endpoint, maximum length is 24.operationId
- The ID of an ongoing async operation.- Returns:
- a streaming endpoint operation status.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-