你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmResourcesModelFactory.WhatIfChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WhatIfChange 的新实例。
public static Azure.ResourceManager.Resources.Models.WhatIfChange WhatIfChange (string resourceId = default, Azure.ResourceManager.Resources.Models.WhatIfChangeType changeType = Azure.ResourceManager.Resources.Models.WhatIfChangeType.Create, string unsupportedReason = default, BinaryData before = default, BinaryData after = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WhatIfPropertyChange> delta = default);
static member WhatIfChange : string * Azure.ResourceManager.Resources.Models.WhatIfChangeType * string * BinaryData * BinaryData * seq<Azure.ResourceManager.Resources.Models.WhatIfPropertyChange> -> Azure.ResourceManager.Resources.Models.WhatIfChange
Public Shared Function WhatIfChange (Optional resourceId As String = Nothing, Optional changeType As WhatIfChangeType = Azure.ResourceManager.Resources.Models.WhatIfChangeType.Create, Optional unsupportedReason As String = Nothing, Optional before As BinaryData = Nothing, Optional after As BinaryData = Nothing, Optional delta As IEnumerable(Of WhatIfPropertyChange) = Nothing) As WhatIfChange
参数
- resourceId
- String
资源 ID。
- changeType
- WhatIfChangeType
执行部署时对资源进行的更改的类型。
- unsupportedReason
- String
有关 What-If 不支持资源的原因的说明。
- before
- BinaryData
执行部署前的资源快照。
- after
- BinaryData
执行部署后资源的预测快照。
- delta
- IEnumerable<WhatIfPropertyChange>
资源属性的预测更改。
返回
用于模拟的新 WhatIfChange 实例。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈