Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Snapshots

Package version

Interface representing a Snapshots.

Hierarchy

  • Snapshots

Implemented by

Index

Methods

beginCreateOrUpdate

beginCreateOrUpdateAndWait

  • Creates or updates 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: Snapshot

      Snapshot object supplied in the body of the Put disk operation.

    • Optional options: SnapshotsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<SnapshotsCreateOrUpdateResponse>

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

  • Grants 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.

    • grantAccessData: GrantAccessData

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

    • Optional options: SnapshotsGrantAccessOptionalParams

      The options parameters.

    Returns Promise<SnapshotsGrantAccessResponse>

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

  • 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<PollerLike<PollOperationState<SnapshotsUpdateResponse>, SnapshotsUpdateResponse>>

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