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.

extension

The extension the resource was deployed with.

identifiers

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

resourceId

The fully-qualified ARM resource ID for this change.

resourceType

The resource type of the resource.

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?: any

Property Value

any

before

The snapshot of the resource before the deployment is executed.

before?: any

Property Value

any

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

extension

The extension the resource was deployed with.

extension?: DeploymentExtensionDefinition

Property Value

identifiers

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

identifiers?: any

Property Value

any

resourceId

The fully-qualified ARM resource ID for this change.

resourceId?: string

Property Value

string

resourceType

The resource type of the resource.

resourceType?: 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