Перейти к содержанию

exordos_dbaas_databases_update#

Update database

Usage#

 Usage: exordos dbaas databases update [OPTIONS] UUID

Options#

  • output:
    • Type: choice
    • Default: table
    • Usage: --output -o

Output format; JSON prints one resource object (an array for bulk creation).

  • uuid (REQUIRED):

    • Type: text
    • Default: sentinel.unset
    • Usage: uuid
  • instance_uuid (REQUIRED):

    • Type: text
    • Default: sentinel.unset
    • Usage: -i --instance-uuid

UUID of the instance the database belongs to

  • name:
    • Type: text
    • Default: sentinel.unset
    • Usage: -n --name

Name of the database

  • description:
    • Type: text
    • Default: sentinel.unset
    • Usage: --description

Description of the database

  • owner:
    • Type: text
    • Default: sentinel.unset
    • Usage: --owner

UUID or name of the user owning the database

  • help:
    • Type: boolean
    • Default: false
    • Usage: --help

Show this message and exit.

CLI Help#

 Usage: exordos dbaas databases update [OPTIONS] UUID

 Update database

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│    --output         -o  [json|html|table|yaml]  Output format; JSON prints one resource object (an array for bulk creation).                                                                                                                                                                             │
│ *  --instance-uuid  -i  TEXT                    UUID of the instance the database belongs to [required]                                                                                                                                                                                                  │
│    --name           -n  TEXT                    Name of the database                                                                                                                                                                                                                                     │
│    --description        TEXT                    Description of the database                                                                                                                                                                                                                              │
│    --owner              TEXT                    UUID or name of the user owning the database                                                                                                                                                                                                             │
│    --help                                       Show this message and exit.                                                                                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯