你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmResourcesModelFactory.WhatIfPropertyChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WhatIfPropertyChange 的新实例。
public static Azure.ResourceManager.Resources.Models.WhatIfPropertyChange WhatIfPropertyChange (string path = default, Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType propertyChangeType = Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType.Create, BinaryData before = default, BinaryData after = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WhatIfPropertyChange> children = default);
static member WhatIfPropertyChange : string * Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType * BinaryData * BinaryData * seq<Azure.ResourceManager.Resources.Models.WhatIfPropertyChange> -> Azure.ResourceManager.Resources.Models.WhatIfPropertyChange
Public Shared Function WhatIfPropertyChange (Optional path As String = Nothing, Optional propertyChangeType As WhatIfPropertyChangeType = Azure.ResourceManager.Resources.Models.WhatIfPropertyChangeType.Create, Optional before As BinaryData = Nothing, Optional after As BinaryData = Nothing, Optional children As IEnumerable(Of WhatIfPropertyChange) = Nothing) As WhatIfPropertyChange
参数
- path
- String
属性的路径。
- propertyChangeType
- WhatIfPropertyChangeType
属性的类型更改。
- before
- BinaryData
执行部署之前 属性的值。
- after
- BinaryData
执行部署后 属性的值。
- children
- IEnumerable<WhatIfPropertyChange>
嵌套属性更改。
返回
用于模拟的新 WhatIfPropertyChange 实例。