Policy.PolicyAssignmentsCreateViaJsonStringWithResult 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 System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment> PolicyAssignmentsCreateViaJsonStringWithResult (string scope, string policyAssignmentName, string jsonString, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync sender);
member this.PolicyAssignmentsCreateViaJsonStringWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment>
Public Function PolicyAssignmentsCreateViaJsonStringWithResult (scope As String, policyAssignmentName As String, jsonString As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IPolicyAssignment)
Parameters
- scope
- String
- policyAssignmentName
- String
- jsonString
- String
- eventListener
- IEventListener
- sender
- ISendAsync