DiskRestorePointOperations interface

Interface representing a DiskRestorePointOperations.

Methods

beginGrantAccess(string, string, string, string, GrantAccessData, DiskRestorePointGrantAccessOptionalParams)

Grants access to a diskRestorePoint.

beginGrantAccessAndWait(string, string, string, string, GrantAccessData, DiskRestorePointGrantAccessOptionalParams)

Grants access to a diskRestorePoint.

beginRevokeAccess(string, string, string, string, DiskRestorePointRevokeAccessOptionalParams)

Revokes access to a diskRestorePoint.

beginRevokeAccessAndWait(string, string, string, string, DiskRestorePointRevokeAccessOptionalParams)

Revokes access to a diskRestorePoint.

get(string, string, string, string, DiskRestorePointGetOptionalParams)

Get disk restorePoint resource

listByRestorePoint(string, string, string, DiskRestorePointListByRestorePointOptionalParams)

Lists diskRestorePoints under a vmRestorePoint.

Method Details

beginGrantAccess(string, string, string, string, GrantAccessData, DiskRestorePointGrantAccessOptionalParams)

Grants access to a diskRestorePoint.

function beginGrantAccess(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, grantAccessData: GrantAccessData, options?: DiskRestorePointGrantAccessOptionalParams): Promise<SimplePollerLike<OperationState<AccessUri>, AccessUri>>

Parameters

resourceGroupName

string

The name of the resource group.

restorePointCollectionName

string

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName

string

The name of the vm restore point that the disk disk restore point belongs.

diskRestorePointName

string

The name of the disk restore point created.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get disk access operation.

options
DiskRestorePointGrantAccessOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AccessUri>, AccessUri>>

beginGrantAccessAndWait(string, string, string, string, GrantAccessData, DiskRestorePointGrantAccessOptionalParams)

Grants access to a diskRestorePoint.

function beginGrantAccessAndWait(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, grantAccessData: GrantAccessData, options?: DiskRestorePointGrantAccessOptionalParams): Promise<AccessUri>

Parameters

resourceGroupName

string

The name of the resource group.

restorePointCollectionName

string

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName

string

The name of the vm restore point that the disk disk restore point belongs.

diskRestorePointName

string

The name of the disk restore point created.

grantAccessData
GrantAccessData

Access data object supplied in the body of the get disk access operation.

options
DiskRestorePointGrantAccessOptionalParams

The options parameters.

Returns

Promise<AccessUri>

beginRevokeAccess(string, string, string, string, DiskRestorePointRevokeAccessOptionalParams)

Revokes access to a diskRestorePoint.

function beginRevokeAccess(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: DiskRestorePointRevokeAccessOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

restorePointCollectionName

string

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName

string

The name of the vm restore point that the disk disk restore point belongs.

diskRestorePointName

string

The name of the disk restore point created.

options
DiskRestorePointRevokeAccessOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginRevokeAccessAndWait(string, string, string, string, DiskRestorePointRevokeAccessOptionalParams)

Revokes access to a diskRestorePoint.

function beginRevokeAccessAndWait(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: DiskRestorePointRevokeAccessOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

restorePointCollectionName

string

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName

string

The name of the vm restore point that the disk disk restore point belongs.

diskRestorePointName

string

The name of the disk restore point created.

options
DiskRestorePointRevokeAccessOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, DiskRestorePointGetOptionalParams)

Get disk restorePoint resource

function get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: DiskRestorePointGetOptionalParams): Promise<DiskRestorePoint>

Parameters

resourceGroupName

string

The name of the resource group.

restorePointCollectionName

string

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName

string

The name of the vm restore point that the disk disk restore point belongs.

diskRestorePointName

string

The name of the disk restore point created.

options
DiskRestorePointGetOptionalParams

The options parameters.

Returns

Promise<DiskRestorePoint>

listByRestorePoint(string, string, string, DiskRestorePointListByRestorePointOptionalParams)

Lists diskRestorePoints under a vmRestorePoint.

function listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options?: DiskRestorePointListByRestorePointOptionalParams): PagedAsyncIterableIterator<DiskRestorePoint, DiskRestorePoint[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

restorePointCollectionName

string

The name of the restore point collection that the disk restore point belongs.

vmRestorePointName

string

The name of the vm restore point that the disk disk restore point belongs.

options
DiskRestorePointListByRestorePointOptionalParams

The options parameters.

Returns