Interface StreamingEndpoints
-
Method Summary
Modifier and TypeMethodDescriptionasyncOperation
(String resourceGroupName, String accountName, String operationId) Get operation status.com.azure.core.http.rest.Response<AsyncOperationResult>
asyncOperationWithResponse
(String resourceGroupName, String accountName, String operationId, com.azure.core.util.Context context) Get operation status.Begins definition for a new StreamingEndpoint resource.void
Delete StreamingEndpointvoid
delete
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Delete StreamingEndpointvoid
deleteById
(String id) Delete StreamingEndpointvoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete StreamingEndpointGet StreamingEndpointGet StreamingEndpointcom.azure.core.http.rest.Response<StreamingEndpoint>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get StreamingEndpointcom.azure.core.http.rest.Response<StreamingEndpoint>
getWithResponse
(String resourceGroupName, String accountName, String streamingEndpointName, com.azure.core.util.Context context) Get StreamingEndpointcom.azure.core.http.rest.PagedIterable<StreamingEndpoint>
List StreamingEndpointscom.azure.core.http.rest.PagedIterable<StreamingEndpoint>
List StreamingEndpointsoperationLocation
(String resourceGroupName, String accountName, String streamingEndpointName, String operationId) Get operation status.com.azure.core.http.rest.Response<StreamingEndpoint>
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<StreamingEndpointSkuInfoListResult>
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 StreamingEndpoint
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<StreamingEndpoint> 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<StreamingEndpoint> 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<StreamingEndpoint> 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
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.
-
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<StreamingEndpointSkuInfoListResult> 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
StreamingEndpointSkuInfoListResult 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.
-
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.
-
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.
-
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<AsyncOperationResult> 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
AsyncOperationResult 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<StreamingEndpoint> 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
StreamingEndpoint 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.
-
getById
Get StreamingEndpointGets a streaming endpoint.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<StreamingEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context) Get StreamingEndpointGets a streaming endpoint.
- Parameters:
id
- the resource ID.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.
-
deleteById
Delete StreamingEndpointDeletes a streaming endpoint.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Delete StreamingEndpointDeletes a streaming endpoint.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new StreamingEndpoint resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new StreamingEndpoint definition.
-