WhatIfChange interface

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

Properties

after

The predicted snapshot of the resource after the deployment is executed.

before

The snapshot of the resource before the deployment is executed.

changeType

Type of change that will be made to the resource when the deployment is executed.

delta

The predicted changes to resource properties.

deploymentId

The resource id of the Deployment responsible for this change.

identifiers

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

resourceId

Resource ID

symbolicName

The symbolic name of the resource responsible for this change.

unsupportedReason

The explanation about why the resource is unsupported by What-If.

Property Details

after

The predicted snapshot of the resource after the deployment is executed.

after?: Record<string, unknown>

Property Value

Record<string, unknown>

before

The snapshot of the resource before the deployment is executed.

before?: Record<string, unknown>

Property Value

Record<string, unknown>

changeType

Type of change that will be made to the resource when the deployment is executed.

changeType: ChangeType

Property Value

delta

The predicted changes to resource properties.

delta?: WhatIfPropertyChange[]

Property Value

deploymentId

The resource id of the Deployment responsible for this change.

deploymentId?: string

Property Value

string

identifiers

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

identifiers?: Record<string, unknown>

Property Value

Record<string, unknown>

resourceId

Resource ID

resourceId?: string

Property Value

string

symbolicName

The symbolic name of the resource responsible for this change.

symbolicName?: string

Property Value

string

unsupportedReason

The explanation about why the resource is unsupported by What-If.

unsupportedReason?: string

Property Value

string