RestorePointsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:restore_points> attribute.

Inheritance
builtins.object
RestorePointsOperations

Constructor

RestorePointsOperations(*args, **kwargs)

Methods

begin_create

The operation to create the restore point. Updating properties of an existing restore point is not allowed.

begin_delete

The operation to delete the restore point.

get

The operation to get the restore point.

begin_create

The operation to create the restore point. Updating properties of an existing restore point is not allowed.

async begin_create(resource_group_name: str, restore_point_collection_name: str, restore_point_name: str, parameters: _models.RestorePoint, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.RestorePoint]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

restore_point_collection_name
Required
str

The name of the restore point collection. Required.

restore_point_name
Required
str

The name of the restore point. Required.

parameters
Required

Parameters supplied to the Create restore point operation. Is either a RestorePoint type or a IO[bytes] type. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either RestorePoint or the result of cls(response)

Exceptions

Type Description

begin_delete

The operation to delete the restore point.

async begin_delete(resource_group_name: str, restore_point_collection_name: str, restore_point_name: str, **kwargs: Any) -> AsyncLROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

restore_point_collection_name
Required
str

The name of the Restore Point Collection. Required.

restore_point_name
Required
str

The name of the restore point. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

The operation to get the restore point.

async get(resource_group_name: str, restore_point_collection_name: str, restore_point_name: str, **kwargs: Any) -> RestorePoint

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

restore_point_collection_name
Required
str

The name of the restore point collection. Required.

restore_point_name
Required
str

The name of the restore point. Required.

Returns

Type Description

RestorePoint or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.compute.v2021_04_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2021_04_01\\models\\__init__.py'>