ResourceChangeData Class

Data on a specific change, represented by a pair of before and after resource snapshots.

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

Constructor

ResourceChangeData(*, change_id: str, before_snapshot: _models.ResourceChangeDataBeforeSnapshot, after_snapshot: _models.ResourceChangeDataAfterSnapshot, resource_id: str | None = None, change_type: str | _models.ChangeType | None = None, property_changes: List[_models.ResourcePropertyChange] | None = None, **kwargs)

Keyword-Only Parameters

Name Description
resource_id
str

The resource for a change.

Default value: None
change_id
str

The change ID. Valid and unique within the specified resource only. Required.

before_snapshot

The snapshot before the change. Required.

after_snapshot

The snapshot after the change. Required.

change_type

The change type for snapshot. PropertyChanges will be provided in case of Update change type. Known values are: "Create", "Update", and "Delete".

Default value: None
property_changes

An array of resource property change.

Default value: None

Variables

Name Description
resource_id
str

The resource for a change.

change_id
str

The change ID. Valid and unique within the specified resource only. Required.

before_snapshot

The snapshot before the change. Required.

after_snapshot

The snapshot after the change. Required.

change_type

The change type for snapshot. PropertyChanges will be provided in case of Update change type. Known values are: "Create", "Update", and "Delete".

property_changes

An array of resource property change.