Share via


AccountFiltersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update an Account Filter

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.AccountFilter> CreateOrUpdateAsync (this Microsoft.Azure.Management.Media.IAccountFiltersOperations operations, string resourceGroupName, string accountName, string filterName, Microsoft.Azure.Management.Media.Models.AccountFilter parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Media.IAccountFiltersOperations * string * string * string * Microsoft.Azure.Management.Media.Models.AccountFilter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.AccountFilter>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAccountFiltersOperations, resourceGroupName As String, accountName As String, filterName As String, parameters As AccountFilter, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccountFilter)

Parameters

operations
IAccountFiltersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

filterName
String

The Account Filter name

parameters
AccountFilter

The request parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to