Language

PolicyClient.PolicyEnrollmentsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyEnrollment> PolicyEnrollmentsCreateOrUpdateWithResult(string scope, string policyEnrollmentName, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyEnrollment body, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.PolicyEnrollmentsCreateOrUpdateWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyEnrollment * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyEnrollment>
Public Function PolicyEnrollmentsCreateOrUpdateWithResult (scope As String, policyEnrollmentName As String, body As IPolicyEnrollment, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IPolicyEnrollment)

Parameters

scope
String
policyEnrollmentName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to