WhatIfChange Class

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

Constructor

WhatIfChange(*args: Any, **kwargs: Any)

Variables

Name Description
resource_id
str

Resource ID.

deployment_id
str

The resource id of the Deployment responsible for this change.

symbolic_name
str

The symbolic name of the resource responsible for this change.

identifiers
any

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

extension

The extension the resource was deployed with.

change_type

Type of change that will be made to the resource when the deployment is executed. Required. Known values are: "Create", "Delete", "Ignore", "Deploy", "NoChange", "Modify", and "Unsupported".

unsupported_reason
str

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

before
any

The snapshot of the resource before the deployment is executed.

after
any

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

delta

The predicted changes to resource properties.

Attributes

after

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

after: Any | None

before

The snapshot of the resource before the deployment is executed.

before: Any | None

change_type

Type of change that will be made to the resource when the deployment is executed. Required. Known values are: "Create", "Delete", "Ignore", "Deploy", "NoChange", "Modify", and "Unsupported".

change_type: str | _models.ChangeType

delta

The predicted changes to resource properties.

delta: list['_models.WhatIfPropertyChange'] | None

deployment_id

The resource id of the Deployment responsible for this change.

deployment_id: str | None

extension

The extension the resource was deployed with.

extension: _models.DeploymentExtensionDefinition | None

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 | None

resource_id

Resource ID.

resource_id: str | None

symbolic_name

The symbolic name of the resource responsible for this change.

symbolic_name: str | None

unsupported_reason

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

unsupported_reason: str | None