RecoveryPointsOperations Class

RecoveryPointsOperations async 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
RecoveryPointsOperations

Constructor

RecoveryPointsOperations(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

get

Gets a Recovery Point using recoveryPointId for a Datasource.

list

Returns a list of Recovery Points for a DataSource in a vault.

get

Gets a Recovery Point using recoveryPointId for a Datasource.

async get(vault_name: str, resource_group_name: str, backup_instance_name: str, recovery_point_id: str, **kwargs: Any) -> azure.mgmt.dataprotection.models._models_py3.AzureBackupRecoveryPointResource

Parameters

vault_name
str
Required

The name of the backup vault.

resource_group_name
str
Required

The name of the resource group where the backup vault is present.

backup_instance_name
str
Required

The name of the backup instance.

recovery_point_id
str
Required
cls
callable

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

Returns

AzureBackupRecoveryPointResource, or the result of cls(response)

Return type

Exceptions

list

Returns a list of Recovery Points for a DataSource in a vault.

list(vault_name: str, resource_group_name: str, backup_instance_name: str, filter: Optional[str] = None, skip_token: Optional[str] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.dataprotection.models._models_py3.AzureBackupRecoveryPointResourceList]

Parameters

vault_name
str
Required

The name of the backup vault.

resource_group_name
str
Required

The name of the resource group where the backup vault is present.

backup_instance_name
str
Required

The name of the backup instance.

filter
str
default value: None

OData filter options.

skip_token
str
default value: None

skipToken Filter.

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

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