ArmResourcesModelFactory.WhatIfChange 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.
Initializes a new instance of 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
Parameters
- resourceId
- String
Resource ID.
- changeType
- WhatIfChangeType
Type of change that will be made to the resource when the deployment is executed.
- unsupportedReason
- String
The explanation about why the resource is unsupported by What-If.
- before
- BinaryData
The snapshot of the resource before the deployment is executed.
- after
- BinaryData
The predicted snapshot of the resource after the deployment is executed.
- delta
- IEnumerable<WhatIfPropertyChange>
The predicted changes to resource properties.
Returns
A new WhatIfChange instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET