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.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
- operations
- IPolicyAssignmentsOperations
- policyAssignmentId
- String
- parameters
- PolicyAssignment
- cancellationToken
- CancellationToken