Policy.PolicyDefinitionsCreateOrUpdateWithResult 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.IPolicyDefinition> PolicyDefinitionsCreateOrUpdateWithResult (string subscriptionId, string policyDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition 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.PolicyDefinitionsCreateOrUpdateWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition * 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.IPolicyDefinition>
Public Function PolicyDefinitionsCreateOrUpdateWithResult (subscriptionId As String, policyDefinitionName As String, body As IPolicyDefinition, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IPolicyDefinition)
Parameters
- subscriptionId
- String
- policyDefinitionName
- String
- body
- IPolicyDefinition
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode