ResourceChangesOperations Class

ResourceChangesOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ResourceChangesOperations

Constructor

ResourceChangesOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

list

List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access.

List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access.

list

List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access.

List the changes of a resource within the specified time range. Customer data will be masked if the user doesn't have access.

list(resource_id: str, start_time: datetime.datetime, end_time: datetime.datetime, skip_token: Optional[str] = None, **kwargs: Any) -> Iterable[_models.ChangeList]

Parameters

resource_id
str
Required

The identifier of the resource.

start_time
datetime
Required

Specifies the start time of the changes request.

end_time
datetime
Required

Specifies the end time of the changes request.

skip_token
str
default value: None

A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

cls
callable

A custom type or function that will be passed the direct response

Returns

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

Return type

ItemPaged[<xref:Microsoft.ChangeAnalysis.models.ChangeList>]

Exceptions

Attributes

models

models = <module 'azure.mgmt.changeanalysis.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\changeanalysis\\models\\__init__.py'>