ChangesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<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.
async 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
|
The name of the resource group. Required. |
|
resource_provider_namespace
Required
|
The name of the resource provider namespace. Required. |
|
resource_type
Required
|
The name of the resource type. Required. |
|
resource_name
Required
|
The name of the resource. Required. |
|
change_resource_id
Required
|
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) -> AsyncItemPaged[ChangeResourceResult]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
resource_provider_namespace
Required
|
The name of the resource provider namespace. Required. |
|
resource_type
Required
|
The name of the resource type. Required. |
|
resource_name
Required
|
The name of the resource. Required. |
|
top
|
(Optional) Set the maximum number of results per response. Default value is 100. Default value: 100
|
|
skip_token
|
(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'>