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, string deploymentId = default, string symbolicName = default, BinaryData identifiers = default, Azure.ResourceManager.Resources.Models.ArmDeploymentExtensionDefinition extension = 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 * string * string * BinaryData * Azure.ResourceManager.Resources.Models.ArmDeploymentExtensionDefinition * 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 deploymentId As String = Nothing, Optional symbolicName As String = Nothing, Optional identifiers As BinaryData = Nothing, Optional extension As ArmDeploymentExtensionDefinition = 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.
- deploymentId
- String
The resource id of the Deployment responsible for this change.
- symbolicName
- String
The symbolic name of the resource responsible for this change.
- identifiers
- BinaryData
A subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has.
- extension
- ArmDeploymentExtensionDefinition
The extension the resource was deployed with.
- 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.