Share via


MediaServicesAccountFilterCollection.GetAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}
  • Operation Id: AccountFilters_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaServicesAccountFilterResource>> GetAsync (string filterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaServicesAccountFilterResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaServicesAccountFilterResource>>
Public Overridable Function GetAsync (filterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MediaServicesAccountFilterResource))

Parameters

filterName
String

The Account Filter name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

filterName is an empty string, and was expected to be non-empty.

filterName is null.

Applies to