AccessPoliciesOperationsExtensions.GetAsync(IAccessPoliciesOperations, String, String, String, CancellationToken) Method

Definition

Retrieves an 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
System.String

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

accountName
System.String

The Azure Video Analyzer account name.

accessPolicyName
System.String

The name of the access policy to retrieve.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<AccessPolicyEntity>

Remarks

Retrieves an existing access policy resource from an account by name.

Applies to