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.

Inheritance
azure.mgmt.resource.resources._serialization.Model
WhatIfChange

Constructor

WhatIfChange(*, resource_id: str, change_type: str | _models.ChangeType, unsupported_reason: str | None = None, 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", "Modify", and "Unsupported".

unsupported_reason
str

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

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.

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

unsupported_reason
str

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

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.