Interface AccountFilters


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

    • list

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

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

      AccountFilter getById(String id)
      Get an Account Filter.

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

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

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

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

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

      void deleteById(String id)
      Delete an Account Filter.

      Deletes an Account Filter in the Media Services account.

      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 Account Filter.

      Deletes an Account Filter in the Media Services account.

      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 AccountFilter resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AccountFilter definition.