Dela via


Policy.PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionVersion> PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupWithResult (string managementGroupName, string policyDefinitionName, string policyDefinitionVersion, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionVersion 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.PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionVersion * 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.IPolicyDefinitionVersion>
Public Function PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupWithResult (managementGroupName As String, policyDefinitionName As String, policyDefinitionVersion As String, body As IPolicyDefinitionVersion, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IPolicyDefinitionVersion)

Parameters

managementGroupName
String
policyDefinitionName
String
policyDefinitionVersion
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to