Share via


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

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.

Properties

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.

ResourceId

Gets or sets resource ID

UnsupportedReason

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

Methods

Validate()

Validate the object.

Applies to