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.

Inheritance
ResourceChangeData

Constructor

ResourceChangeData(*, change_id: str, before_snapshot: azure.mgmt.resourcegraph.models._models_py3.ResourceChangeDataBeforeSnapshot, after_snapshot: azure.mgmt.resourcegraph.models._models_py3.ResourceChangeDataAfterSnapshot, resource_id: Optional[str] = None, change_type: Optional[Union[str, azure.mgmt.resourcegraph.models._resource_graph_client_enums.ChangeType]] = None, property_changes: Optional[List[azure.mgmt.resourcegraph.models._models_py3.ResourcePropertyChange]] = None, **kwargs)

Parameters

resource_id
str
Required

The resource for a change.

change_id
str
Required

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

before_snapshot
ResourceChangeDataBeforeSnapshot
Required

Required. The snapshot before the change.

after_snapshot
ResourceChangeDataAfterSnapshot
Required

Required. The snapshot after the change.

change_type
str or ChangeType
Required

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

property_changes
list[ResourcePropertyChange]
Required

An array of resource property change.