PolicyAssignmentsOperationsExtensions.CreateByIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- IPolicyAssignmentsOperations
- policyAssignmentId
- String
- parameters
- PolicyAssignment
- cancellationToken
- CancellationToken