Dela via


AccessPoliciesOperationsExtensions.GetAsync Method

Definition

Retrieves an existing access policy resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyEntity> GetAsync (this Microsoft.Azure.Management.VideoAnalyzer.IAccessPoliciesOperations operations, string resourceGroupName, string accountName, string accessPolicyName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.VideoAnalyzer.IAccessPoliciesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyEntity>
<Extension()>
Public Function GetAsync (operations As IAccessPoliciesOperations, resourceGroupName As String, accountName As String, accessPolicyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccessPolicyEntity)

Parameters

operations
IAccessPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The Azure Video Analyzer account name.

accessPolicyName
String

The Access Policy name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Retrieves an existing access policy resource with the given name.

Applies to