RecoveryPointsOperations Class

RecoveryPointsOperations 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

Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. To know the status of the operation, call the GetProtectedItemOperationResult API.

get_access_token

Returns the Access token for communication between BMS and Protection service.

Returns the Access token for communication between BMS and Protection service.

list

Lists the backup copies for the backed up item.

get

Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. To know the status of the operation, call the GetProtectedItemOperationResult API.

get(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, **kwargs)

Parameters

vault_name
str
Required

The name of the recovery services vault.

resource_group_name
str
Required

The name of the resource group where the recovery services vault is present.

fabric_name
str
Required

Fabric name associated with backed up item.

container_name
str
Required

Container name associated with backed up item.

protected_item_name
str
Required

Backed up item name whose backup data needs to be fetched.

recovery_point_id
str
Required

RecoveryPointID represents the backed up data to be fetched.

cls
callable

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

Returns

RecoveryPointResource, or the result of cls(response)

Return type

get_access_token

Returns the Access token for communication between BMS and Protection service.

Returns the Access token for communication between BMS and Protection service.

get_access_token(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, parameters, **kwargs)

Parameters

vault_name
str
Required

The name of the recovery services vault.

resource_group_name
str
Required

The name of the resource group where the recovery services vault is present.

fabric_name
str
Required

Fabric name associated with the container.

container_name
str
Required

Name of the container.

protected_item_name
str
Required

Name of the Protected Item.

recovery_point_id
str
Required

Recovery Point Id.

parameters
AADPropertiesResource
Required

Get Access Token request.

cls
callable

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

Returns

CrrAccessTokenResource, or the result of cls(response)

Return type

list

Lists the backup copies for the backed up item.

list(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter=None, **kwargs)

Parameters

vault_name
str
Required

The name of the recovery services vault.

resource_group_name
str
Required

The name of the resource group where the recovery services vault is present.

fabric_name
str
Required

Fabric name associated with the backed up item.

container_name
str
Required

Container name associated with the backed up item.

protected_item_name
str
Required

Backed up item whose backup copies are to be fetched.

filter
str
default value: None

OData filter options.

cls
callable

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

Returns

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

Return type

Attributes

models

models = <module 'azure.mgmt.recoveryservicesbackup.models' from 'c:\\hostedtoolcache\\windows\\python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\recoveryservicesbackup\\models\\__init__.py'>