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.

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) -> LROPoller[_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 LROPoller that returns either RestorePoint or the result of cls(response)

Exceptions

Type Description

begin_delete

The operation to delete the restore point.

begin_delete(resource_group_name: str, restore_point_collection_name: str, restore_point_name: str, **kwargs: Any) -> LROPoller[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 LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

The operation to get the restore point.

get(resource_group_name: str, restore_point_collection_name: str, restore_point_name: str, *, expand: str | RestorePointExpandOptions | None = None, **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.

Keyword-Only Parameters

Name Description
expand

The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point. "instanceView" Default value is None.

Returns

Type Description

RestorePoint or the result of cls(response)

Exceptions

Type Description

Attributes

models

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