WhatIfChange Class

Definition

Information about a single resource change predicted by What-If operation.

public class WhatIfChange
type WhatIfChange = class
Public Class WhatIfChange
Inheritance
WhatIfChange

Constructors

Name Description
WhatIfChange()

Initializes a new instance of the WhatIfChange class.

WhatIfChange(String, ChangeType, Object, Object, IList<WhatIfPropertyChange>)
WhatIfChange(String, ChangeType, String, Object, Object, IList<WhatIfPropertyChange>)

Initializes a new instance of the WhatIfChange class.

WhatIfChange(String, ChangeType, String, String, Object, String, Object, Object, IList<WhatIfPropertyChange>)

Initializes a new instance of the WhatIfChange class.

Properties

Name Description
After

Gets or sets the predicted snapshot of the resource after the deployment is executed.

Before

Gets or sets the snapshot of the resource before the deployment is executed.

ChangeType

Gets or sets type of change that will be made to the resource when the deployment is executed. Possible values include: 'Create', 'Delete', 'Ignore', 'Deploy', 'NoChange', 'Modify', 'Unsupported'

Delta

Gets or sets the predicted changes to resource properties.

DeploymentId

Gets or sets the resource id of the Deployment responsible for this change.

Identifiers

Gets or sets a subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has.

ResourceId

Gets or sets resource ID

SymbolicName

Gets or sets the symbolic name of the resource responsible for this change.

UnsupportedReason

Gets or sets the explanation about why the resource is unsupported by What-If.

Methods

Name Description
Validate()

Validate the object.

Applies to