Interface TransformsClient


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

    • list

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

      Lists the Transforms 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 Transform 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<TransformInner> list(String resourceGroupName, String accountName, String filter, String orderby, com.azure.core.util.Context context)
      List Transforms

      Lists the Transforms 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.
      orderby - Specifies the key by which the result collection should be ordered.
      context - The context to associate with this operation.
      Returns:
      a collection of Transform 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<TransformInner> getWithResponse(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context)
      Get Transform

      Gets a Transform.

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

      TransformInner get(String resourceGroupName, String accountName, String transformName)
      Get Transform

      Gets a Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      Returns:
      a Transform.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<TransformInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String transformName, TransformInner parameters, com.azure.core.util.Context context)
      Create or Update Transform

      Creates or updates a new Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      a Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights 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.
    • createOrUpdate

      TransformInner createOrUpdate(String resourceGroupName, String accountName, String transformName, TransformInner parameters)
      Create or Update Transform

      Creates or updates a new Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      parameters - The request parameters.
      Returns:
      a Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights.
      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 transformName, com.azure.core.util.Context context)
      Delete Transform

      Deletes a Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform 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 transformName)
      Delete Transform

      Deletes a Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<TransformInner> updateWithResponse(String resourceGroupName, String accountName, String transformName, TransformInner parameters, com.azure.core.util.Context context)
      Update Transform

      Updates a Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      a Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights 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.
    • update

      TransformInner update(String resourceGroupName, String accountName, String transformName, TransformInner parameters)
      Update Transform

      Updates a Transform.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      transformName - The Transform name.
      parameters - The request parameters.
      Returns:
      a Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights.
      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.