Share via


PolicyAssignmentsOperationsExtensions.CreateByIdAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment> CreateByIdAsync (this Microsoft.Azure.Management.Internal.Resources.IPolicyAssignmentsOperations operations, string policyAssignmentId, Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateByIdAsync : Microsoft.Azure.Management.Internal.Resources.IPolicyAssignmentsOperations * string * Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.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