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