Package version:

Interface DiskRestorePointOperations

Interface representing a DiskRestorePointOperations.

interface DiskRestorePointOperations {
    beginGrantAccess(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, grantAccessData: GrantAccessData, options?: DiskRestorePointGrantAccessOptionalParams): Promise<SimplePollerLike<OperationState<AccessUri>, AccessUri>>;
    beginGrantAccessAndWait(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, grantAccessData: GrantAccessData, options?: DiskRestorePointGrantAccessOptionalParams): Promise<AccessUri>;
    beginRevokeAccess(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: DiskRestorePointRevokeAccessOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
    beginRevokeAccessAndWait(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: DiskRestorePointRevokeAccessOptionalParams): Promise<void>;
    get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, options?: DiskRestorePointGetOptionalParams): Promise<DiskRestorePoint>;
    listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, options?: DiskRestorePointListByRestorePointOptionalParams): PagedAsyncIterableIterator<DiskRestorePoint>;
}

Methods

  • Grants access to a 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.

    • grantAccessData: GrantAccessData

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

    • Optionaloptions: DiskRestorePointGrantAccessOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<AccessUri>, AccessUri>>

  • Grants access to a 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.

    • grantAccessData: GrantAccessData

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

    • Optionaloptions: DiskRestorePointGrantAccessOptionalParams

      The options parameters.

    Returns Promise<AccessUri>

  • Revokes access to a 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.

    • Optionaloptions: DiskRestorePointRevokeAccessOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<void>, void>>

  • Revokes access to a 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.

    • Optionaloptions: DiskRestorePointRevokeAccessOptionalParams

      The options parameters.

    Returns Promise<void>

  • Get disk restorePoint resource

    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.

    • Optionaloptions: DiskRestorePointGetOptionalParams

      The options parameters.

    Returns Promise<DiskRestorePoint>

  • Lists diskRestorePoints under a vmRestorePoint.

    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.

    • Optionaloptions: DiskRestorePointListByRestorePointOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<DiskRestorePoint>