Interface AccountFiltersClient


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

    • list

      com.azure.core.http.rest.PagedIterable<AccountFilterInner> list(String resourceGroupName, String accountName)
      List Account Filters

      List Account Filters in the Media Services account.

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

      List Account Filters in the Media Services 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:
      a collection of AccountFilter 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<AccountFilterInner> getWithResponse(String resourceGroupName, String accountName, String filterName, com.azure.core.util.Context context)
      Get an Account Filter.

      Get the details of an Account Filter in the Media Services account.

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

      AccountFilterInner get(String resourceGroupName, String accountName, String filterName)
      Get an Account Filter.

      Get the details of an Account Filter in the Media Services account.

      Parameters:
      resourceGroupName - The name of the resource group within the Azure subscription.
      accountName - The Media Services account name.
      filterName - The Account Filter name.
      Returns:
      the details of an Account Filter 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<AccountFilterInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters, com.azure.core.util.Context context)
      Create or update an Account Filter

      Creates or updates an Account Filter in the Media Services account.

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

      AccountFilterInner createOrUpdate(String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters)
      Create or update an Account Filter

      Creates or updates an Account Filter in the Media Services account.

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

      Deletes an Account Filter in the Media Services account.

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

      Deletes an Account Filter in the Media Services account.

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

      Updates an existing Account Filter in the Media Services account.

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

      AccountFilterInner update(String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters)
      Update an Account Filter

      Updates an existing Account Filter in the Media Services account.

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