Compartilhar via


PolicyAssignmentsOperationsExtensions.GetByIdAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyAssignment> GetByIdAsync (this Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyAssignmentsOperations operations, string policyAssignmentId, System.Threading.CancellationToken cancellationToken = default);
static member GetByIdAsync : Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyAssignmentsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyAssignment>
<Extension()>
Public Function GetByIdAsync (operations As IPolicyAssignmentsOperations, policyAssignmentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PolicyAssignment)

Parameters

policyAssignmentId
String
cancellationToken
CancellationToken

Returns

Applies to