Interface AssetFilters


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

    • list

      com.azure.core.http.rest.PagedIterable<AssetFilter> 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<AssetFilter> 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<AssetFilter> 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

      AssetFilter 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.
    • 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.
    • getById

      AssetFilter getById(String id)
      Get an Asset Filter.

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

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AssetFilter> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get an Asset Filter.

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

      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Delete an Asset Filter.

      Deletes an Asset Filter associated with the specified Asset.

      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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete an Asset Filter.

      Deletes an Asset Filter associated with the specified Asset.

      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new AssetFilter resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AssetFilter definition.