你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Policy.PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupViaJsonStringWithResult 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.IPolicyDefinitionVersion> PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupViaJsonStringWithResult (string managementGroupName, string policyDefinitionName, string policyDefinitionVersion, string jsonString, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync sender);
member this.PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupViaJsonStringWithResult : string * 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.IPolicyDefinitionVersion>
Public Function PolicyDefinitionVersionsCreateOrUpdateAtManagementGroupViaJsonStringWithResult (managementGroupName As String, policyDefinitionName As String, policyDefinitionVersion As String, jsonString As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IPolicyDefinitionVersion)
Parameters
- managementGroupName
- String
- policyDefinitionName
- String
- policyDefinitionVersion
- String
- jsonString
- String
- eventListener
- IEventListener
- sender
- ISendAsync