Interface AssetFiltersClient


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

    • list

      com.azure.core.http.rest.PagedIterable<AssetFilterInner> list(String resourceGroupName, String accountName, String assetName)
      List Asset Filters

      List Asset Filters associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      Returns:
      a collection of AssetFilter 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<AssetFilterInner> list(String resourceGroupName, String accountName, String assetName, com.azure.core.util.Context context)
      List Asset Filters

      List Asset Filters associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      context - The context to associate with this operation.
      Returns:
      a collection of AssetFilter 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<AssetFilterInner> getWithResponse(String resourceGroupName, String accountName, String assetName, String filterName, com.azure.core.util.Context context)
      Get an Asset Filter.

      Get the details of an Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter name.
      context - The context to associate with this operation.
      Returns:
      the details of an Asset Filter associated with the specified Asset 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

      AssetFilterInner get(String resourceGroupName, String accountName, String assetName, String filterName)
      Get an Asset Filter.

      Get the details of an Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter name.
      Returns:
      the details of an Asset Filter associated with the specified Asset.
      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<AssetFilterInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters, com.azure.core.util.Context context)
      Create or update an Asset Filter

      Creates or updates an Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      an Asset Filter 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

      AssetFilterInner createOrUpdate(String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters)
      Create or update an Asset Filter

      Creates or updates an Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter name.
      parameters - The request parameters.
      Returns:
      an Asset Filter.
      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 assetName, String filterName, com.azure.core.util.Context context)
      Delete an Asset Filter.

      Deletes an Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter 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 assetName, String filterName)
      Delete an Asset Filter.

      Deletes an Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter 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<AssetFilterInner> updateWithResponse(String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters, com.azure.core.util.Context context)
      Update an Asset Filter

      Updates an existing Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      an Asset Filter 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

      AssetFilterInner update(String resourceGroupName, String accountName, String assetName, String filterName, AssetFilterInner parameters)
      Update an Asset Filter

      Updates an existing Asset Filter associated with the specified Asset.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      assetName - The Asset name.
      filterName - The Asset Filter name.
      parameters - The request parameters.
      Returns:
      an Asset Filter.
      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.