Compartilhar via


PolicyAssignmentsOperationsExtensions.CreateByIdAsync Method

Definition

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

Parameters

policyAssignmentId
String
parameters
PolicyAssignment
cancellationToken
CancellationToken

Returns

Applies to