Interface StreamingLocatorsClient


public interface StreamingLocatorsClient
An instance of this class provides access to all the operations defined in StreamingLocatorsClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<StreamingLocatorInner> list(String resourceGroupName, String accountName)
      List Streaming Locators

      Lists the Streaming Locators in the account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      Returns:
      a collection of StreamingLocator items 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<StreamingLocatorInner> list(String resourceGroupName, String accountName, String filter, Integer top, String orderby, com.azure.core.util.Context context)
      List Streaming Locators

      Lists the Streaming Locators in the account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      filter - Restricts the set of items returned.
      top - Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.
      orderby - Specifies the key by which the result collection should be ordered.
      context - The context to associate with this operation.
      Returns:
      a collection of StreamingLocator items 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<StreamingLocatorInner> getWithResponse(String resourceGroupName, String accountName, String streamingLocatorName, com.azure.core.util.Context context)
      Get a Streaming Locator

      Get the details of a Streaming Locator in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      context - The context to associate with this operation.
      Returns:
      the details of a Streaming Locator in the Media Services account 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

      StreamingLocatorInner get(String resourceGroupName, String accountName, String streamingLocatorName)
      Get a Streaming Locator

      Get the details of a Streaming Locator in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      Returns:
      the details of a Streaming Locator in the Media Services account.
      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.
    • createWithResponse

      com.azure.core.http.rest.Response<StreamingLocatorInner> createWithResponse(String resourceGroupName, String accountName, String streamingLocatorName, StreamingLocatorInner parameters, com.azure.core.util.Context context)
      Create a Streaming Locator

      Create a Streaming Locator in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      a Streaming Locator resource 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.
    • create

      StreamingLocatorInner create(String resourceGroupName, String accountName, String streamingLocatorName, StreamingLocatorInner parameters)
      Create a Streaming Locator

      Create a Streaming Locator in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      parameters - The request parameters.
      Returns:
      a Streaming Locator resource.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String streamingLocatorName, com.azure.core.util.Context context)
      Delete a Streaming Locator

      Deletes a Streaming Locator in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      context - The context to associate with this operation.
      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.
    • delete

      void delete(String resourceGroupName, String accountName, String streamingLocatorName)
      Delete a Streaming Locator

      Deletes a Streaming Locator in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      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.
    • listContentKeysWithResponse

      com.azure.core.http.rest.Response<ListContentKeysResponseInner> listContentKeysWithResponse(String resourceGroupName, String accountName, String streamingLocatorName, com.azure.core.util.Context context)
      List Content Keys

      List Content Keys used by this Streaming Locator.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      context - The context to associate with this operation.
      Returns:
      class of response for listContentKeys action 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.
    • listContentKeys

      ListContentKeysResponseInner listContentKeys(String resourceGroupName, String accountName, String streamingLocatorName)
      List Content Keys

      List Content Keys used by this Streaming Locator.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      Returns:
      class of response for listContentKeys action.
      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.
    • listPathsWithResponse

      com.azure.core.http.rest.Response<ListPathsResponseInner> listPathsWithResponse(String resourceGroupName, String accountName, String streamingLocatorName, com.azure.core.util.Context context)
      List Paths

      List Paths supported by this Streaming Locator.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      context - The context to associate with this operation.
      Returns:
      class of response for listPaths action 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.
    • listPaths

      ListPathsResponseInner listPaths(String resourceGroupName, String accountName, String streamingLocatorName)
      List Paths

      List Paths supported by this Streaming Locator.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      streamingLocatorName - The Streaming Locator name.
      Returns:
      class of response for listPaths action.
      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.