ChangesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ChangesClient's

<xref:changes> attribute.

Constructor

ChangesOperations(*args, **kwargs)

Methods

get

Obtains the specified change resource for the target resource.

list

Obtains a list of change resources from the past 14 days for the target resource.

get

Obtains the specified change resource for the target resource.

get(resource_group_name: str, resource_provider_namespace: str, resource_type: str, resource_name: str, change_resource_id: str, **kwargs: Any) -> ChangeResourceResult

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

resource_provider_namespace
Required
str

The name of the resource provider namespace. Required.

resource_type
Required
str

The name of the resource type. Required.

resource_name
Required
str

The name of the resource. Required.

change_resource_id
Required
str

The ID of the change resource. Required.

Returns

Type Description

ChangeResourceResult or the result of cls(response)

Exceptions

Type Description

list

Obtains a list of change resources from the past 14 days for the target resource.

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) -> ItemPaged[ChangeResourceResult]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

resource_provider_namespace
Required
str

The name of the resource provider namespace. Required.

resource_type
Required
str

The name of the resource type. Required.

resource_name
Required
str

The name of the resource. Required.

top
int

(Optional) Set the maximum number of results per response. Default value is 100.

Default value: 100
skip_token
str

(Optional) The page-continuation token. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of either ChangeResourceResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.resource.changes.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv282\\Lib\\site-packages\\azure\\mgmt\\resource\\changes\\models\\__init__.py'>