azure.mgmt.resource.changes.v2022_05_01.operations module
- class azure.mgmt.resource.changes.v2022_05_01.operations.ChangesOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ChangesClient
’schanges
attribute.- get(resource_group_name: str, resource_provider_namespace: str, resource_type: str, resource_name: str, change_resource_id: str, **kwargs: Any) ChangeResourceResult [source]
Obtains the specified change resource for the target resource.
- Parameters:
resource_group_name (str) – The name of the resource group. Required.
resource_provider_namespace (str) – The name of the resource provider namespace. Required.
resource_type (str) – The name of the resource type. Required.
resource_name (str) – The name of the resource. Required.
change_resource_id (str) – The ID of the change resource. Required.
- Returns:
ChangeResourceResult or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name: str, resource_provider_namespace: str, resource_type: str, resource_name: str, top: int = 100, skip_token: str | None = None, **kwargs: Any) Iterable[ChangeResourceResult] [source]
Obtains a list of change resources from the past 14 days for the target resource.
- Parameters:
resource_group_name (str) – The name of the resource group. Required.
resource_provider_namespace (str) – The name of the resource provider namespace. Required.
resource_type (str) – The name of the resource type. Required.
resource_name (str) – The name of the resource. Required.
top (int) – (Optional) Set the maximum number of results per response. Default value is 100.
skip_token (str) – (Optional) The page-continuation token. Default value is None.
- Returns:
An iterator like instance of either ChangeResourceResult or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.resource.changes.v2022_05_01.models' from '/mnt/vss/_work/1/s/sdk/resources/azure-mgmt-resource/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/resource/changes/v2022_05_01/models/__init__.py'>