WhatIfChange Class

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

All required parameters must be populated in order to send to server.

Constructor

WhatIfChange(*, resource_id: str, change_type: str | _models.ChangeType, before: MutableMapping[str, Any] | None = None, after: MutableMapping[str, Any] | None = None, delta: List[_models.WhatIfPropertyChange] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
resource_id
str

Resource ID. Required.

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", and "Modify".

before

The snapshot of the resource before the deployment is executed.

after

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

delta

The predicted changes to resource properties.

Variables

Name Description
resource_id
str

Resource ID. Required.

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", and "Modify".

before
<xref:JSON>

The snapshot of the resource before the deployment is executed.

after
<xref:JSON>

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

delta

The predicted changes to resource properties.