Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DbBackupsWaiter

Hierarchy

  • DbBackupsWaiter

Constructors

Properties

Methods

Constructors

constructor

Properties

Private client

Private Optional Readonly config

Methods

forBackup

  • Waits forBackup till it reaches any of the provided states

    Parameters

    • request: GetBackupRequest

      the request to send

    • Rest ...targetStates: LifecycleState[]

      the desired states to wait for. The waiter will return once the resource reaches any of the provided states

    Returns Promise<GetBackupResponse | null>

    response returns GetBackupResponse | null (null in case of 404 response)