你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Policy.PolicySetDefinitionsCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
policySetDefinitionName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to