Share via


MediaAssetFilterResource.UpdateAsync Method

Definition

Updates an existing Asset Filter associated with the specified Asset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}
  • Operation Id: AssetFilters_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaAssetFilterResource>> UpdateAsync (Azure.ResourceManager.Media.MediaAssetFilterData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Media.MediaAssetFilterData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaAssetFilterResource>>
override this.UpdateAsync : Azure.ResourceManager.Media.MediaAssetFilterData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaAssetFilterResource>>
Public Overridable Function UpdateAsync (data As MediaAssetFilterData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MediaAssetFilterResource))

Parameters

data
MediaAssetFilterData

The request parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to