Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SnapshotsImpl

Package version

Class containing Snapshots operations.

Hierarchy

  • SnapshotsImpl

Implements

Index

Constructors

constructor

Methods

beginCreateOrUpdate

beginCreateOrUpdateAndWait

beginDelete

  • beginDelete(resourceGroupName: string, snapshotName: string, options?: SnapshotsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
  • Deletes a snapshot.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • snapshotName: string

      The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

    • Optional options: SnapshotsDeleteOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginDeleteAndWait

  • Deletes a snapshot.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • snapshotName: string

      The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

    • Optional options: SnapshotsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

beginGrantAccess

beginGrantAccessAndWait

beginRevokeAccess

  • Revokes access to a snapshot.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • snapshotName: string

      The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

    • Optional options: SnapshotsRevokeAccessOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginRevokeAccessAndWait

  • Revokes access to a snapshot.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • snapshotName: string

      The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

    • Optional options: SnapshotsRevokeAccessOptionalParams

      The options parameters.

    Returns Promise<void>

beginUpdate

beginUpdateAndWait

  • Updates (patches) a snapshot.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • snapshotName: string

      The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

    • snapshot: SnapshotUpdate

      Snapshot object supplied in the body of the Patch snapshot operation.

    • Optional options: SnapshotsUpdateOptionalParams

      The options parameters.

    Returns Promise<SnapshotsUpdateResponse>

get

  • Gets information about a snapshot.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • snapshotName: string

      The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

    • Optional options: SnapshotsGetOptionalParams

      The options parameters.

    Returns Promise<SnapshotsGetResponse>

list

listByResourceGroup

Generated using TypeDoc