你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

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