azure.mgmt.resource.changes.v2022_05_01.models module
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeAttributes(**kwargs: Any)[source]
Bases:
Model
Details about the change resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
correlation_id (str) – The ARM correlation ID of the change resource.
timestamp (str) – The time the change(s) on the target resource ocurred.
changes_count (int) – The number of changes this resource captures.
previous_resource_snapshot_id (str) – The GUID of the previous snapshot.
new_resource_snapshot_id (str) – The GUID of the new snapshot.
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeBase(**kwargs: Any)[source]
Bases:
Model
An individual change on the target resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
property_change_type (str or PropertyChangeType) – The type of change that occurred. Known values are: “Update”, “Insert”, and “Remove”.
change_category (str or ChangeCategory) – The entity that made the change. Known values are: “User” and “System”.
previous_value (str) – The target resource property value before the change.
new_value (str) – The target resource property value after the change.
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeCategory(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
The entity that made the change.
- SYSTEM = 'System'
System initiated change
- USER = 'User'
User initiated change
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeProperties(*, change_attributes: _models.ChangeAttributes | None = None, changes: Dict[str, _models.ChangeBase] | None = None, **kwargs: Any)[source]
Bases:
Model
The properties of a change.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
target_resource_id (str) – The fully qualified ID of the target resource that was changed.
target_resource_type (str) – The namespace and type of the resource.
change_type (str or ChangeType) – The type of change that was captured in the resource. Known values are: “Update”, “Delete”, and “Create”.
change_attributes (ChangeAttributes) – Details about the change resource.
changes (dict[str, ChangeBase]) – A dictionary with changed property name as a key and the change details as the value.
- Keyword Arguments:
change_attributes (ChangeAttributes) – Details about the change resource.
changes (dict[str, ChangeBase]) – A dictionary with changed property name as a key and the change details as the value.
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeResourceListResult(*, next_link: str | None = None, value: List[_models.ChangeResourceResult] | None = None, **kwargs: Any)[source]
Bases:
Model
The list of resources.
- Variables:
next_link (str) – The link used to get the next page of Change Resources.
value (list[ChangeResourceResult]) – The list of resources.
- Keyword Arguments:
next_link (str) – The link used to get the next page of Change Resources.
value (list[ChangeResourceResult]) – The list of resources.
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeResourceResult(*, properties: _models.ChangeProperties | None = None, **kwargs: Any)[source]
Bases:
Resource
Change Resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
properties (ChangeProperties) – The properties of a change.
- Keyword Arguments:
properties (ChangeProperties) – The properties of a change.
- class azure.mgmt.resource.changes.v2022_05_01.models.ChangeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
The type of change that was captured in the resource.
- CREATE = 'Create'
A newly created resource
- DELETE = 'Delete'
An existing resource was deleted
- UPDATE = 'Update'
An existing resource underwent a change
- class azure.mgmt.resource.changes.v2022_05_01.models.ErrorAdditionalInfo(**kwargs: Any)[source]
Bases:
Model
The resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
type (str) – The additional info type.
info (JSON) – The additional info.
- class azure.mgmt.resource.changes.v2022_05_01.models.ErrorDetail(**kwargs: Any)[source]
Bases:
Model
The error detail.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – The error code.
message (str) – The error message.
target (str) – The error target.
details (list[ErrorDetail]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
- class azure.mgmt.resource.changes.v2022_05_01.models.ErrorResponse(*, error: _models.ErrorDetail | None = None, **kwargs: Any)[source]
Bases:
Model
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
- Variables:
error (ErrorDetail) – The error object.
- Keyword Arguments:
error (ErrorDetail) – The error object.
- class azure.mgmt.resource.changes.v2022_05_01.models.PropertyChangeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
The type of change that occurred.
- INSERT = 'Insert'
A property was newly created
- REMOVE = 'Remove'
An existing property was deleted
- UPDATE = 'Update'
An existing property underwent a change
- class azure.mgmt.resource.changes.v2022_05_01.models.Resource(**kwargs: Any)[source]
Bases:
Model
Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.