共用方式為


MediaServicesAccountResource.GetMediaServicesAccountFilterAsync 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>> GetMediaServicesAccountFilterAsync (string filterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMediaServicesAccountFilterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaServicesAccountFilterResource>>
override this.GetMediaServicesAccountFilterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.MediaServicesAccountFilterResource>>
Public Overridable Function GetMediaServicesAccountFilterAsync (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 null.

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

Applies to