Interface StreamingEndpoints


public interface StreamingEndpoints
Resource collection API of StreamingEndpoints.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<StreamingEndpoint> list(String resourceGroupName, String accountName)
      List StreamingEndpoints

      Lists 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 StreamingEndpoints

      Lists 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 StreamingEndpoint

      Gets 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

      StreamingEndpoint get(String resourceGroupName, String accountName, String streamingEndpointName)
      Get StreamingEndpoint

      Gets 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

      void delete(String resourceGroupName, String accountName, String streamingEndpointName)
      Delete StreamingEndpoint

      Deletes 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 StreamingEndpoint

      Deletes 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 skus

      List 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 skus

      List 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

      void start(String resourceGroupName, String accountName, String streamingEndpointName)
      Start StreamingEndpoint

      Starts 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 StreamingEndpoint

      Starts 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

      void stop(String resourceGroupName, String accountName, String streamingEndpointName)
      Stop StreamingEndpoint

      Stops 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 StreamingEndpoint

      Stops 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 StreamingEndpoint

      Scales 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 StreamingEndpoint

      Scales 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 StreamingEndpoint

      Gets 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 StreamingEndpoint

      Gets 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

      void deleteById(String id)
      Delete StreamingEndpoint

      Deletes 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

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete StreamingEndpoint

      Deletes 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.