Interface AccountFiltersClient
public interface AccountFiltersClient
An instance of this class provides access to all the operations defined in AccountFiltersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters) Create or update an Account Filtercom.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 Filtervoid
Delete an Account Filter.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, String filterName, com.azure.core.util.Context context) Delete an Account Filter.Get an Account Filter.com.azure.core.http.rest.Response<AccountFilterInner>
getWithResponse
(String resourceGroupName, String accountName, String filterName, com.azure.core.util.Context context) Get an Account Filter.com.azure.core.http.rest.PagedIterable<AccountFilterInner>
List Account Filterscom.azure.core.http.rest.PagedIterable<AccountFilterInner>
List Account Filtersupdate
(String resourceGroupName, String accountName, String filterName, AccountFilterInner parameters) Update an Account Filtercom.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
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<AccountFilterInner> list(String resourceGroupName, String accountName) List Account FiltersList 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 FiltersList 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
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 FilterCreates 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 FilterCreates 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
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 FilterUpdates 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 FilterUpdates 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.
-