WhatIfChange Class

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

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

Inheritance
WhatIfChange

Constructor

WhatIfChange(*, resource_id: str, change_type: Union[str, azure.mgmt.resource.resources.v2020_06_01.models._resource_management_client_enums.ChangeType], before: Optional[Any] = None, after: Optional[Any] = None, delta: Optional[List[azure.mgmt.resource.resources.v2020_06_01.models._models_py3.WhatIfPropertyChange]] = None, **kwargs)

Variables

resource_id
str

Required. Resource ID.

change_type
str or ChangeType

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

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
list[WhatIfPropertyChange]

The predicted changes to resource properties.