DiskRestorePointOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:disk_restore_point> attribute.

Inheritance
builtins.object
DiskRestorePointOperations

Constructor

DiskRestorePointOperations(*args, **kwargs)

Methods

get

Get disk restorePoint resource.

list_by_restore_point

Lists diskRestorePoints under a vmRestorePoint.

get

Get disk restorePoint resource.

get(resource_group_name: str, restore_point_collection_name: str, vm_restore_point_name: str, disk_restore_point_name: str, **kwargs: Any) -> DiskRestorePoint

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 that the disk restore point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. Required.

vm_restore_point_name
Required
str

The name of the vm restore point that the disk disk restore point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. Required.

disk_restore_point_name
Required
str

The name of the disk restore point created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. Required.

Returns

Type Description

DiskRestorePoint or the result of cls(response)

Exceptions

Type Description

list_by_restore_point

Lists diskRestorePoints under a vmRestorePoint.

list_by_restore_point(resource_group_name: str, restore_point_collection_name: str, vm_restore_point_name: str, **kwargs: Any) -> Iterable[DiskRestorePoint]

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 that the disk restore point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. Required.

vm_restore_point_name
Required
str

The name of the vm restore point that the disk disk restore point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. Required.

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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