yc ydb database update
Update the specified YDB database.
Command Usage
Syntax:
yc ydb database update <DATABASE-NAME>|<DATABASE-ID> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
A new name of the database. |
|
|
Allows deletion of a database. |
|
|
Description of the database. |
|
|
Database resource preset ID. |
|
|
A list of label KEY=VALUE pairs to add. For example, to add two labels named 'foo' and 'bar', both with the value 'baz', use '--labels foo=baz,bar=baz'. |
|
|
Assign public ips for the database. |
|
|
Inhibits deletion of a database. |
|
|
Network id. |
|
|
Network name. |
|
|
Adds subnet by Name for the database. |
|
|
Adds subnet by ID for the database. |
|
|
Adds security-group by Name for the database. |
|
|
Adds security-group by ID for the database. |
|
|
YDB database storage options. Possible property names:
|
|
|
Specifies fixed scale policy size. |
|
|
Specifies database type - zonal. |
|
|
Specifies database type - regional. |
|
|
Specifies database location. |
|
|
Specifies database type - dedicated. |
|
|
Enable RU/s throttling limit for a serverless database, true/false. |
|
|
Throttling limit for a serverless database, RU/s. Use sls-enable-throttling-rcu flag to trigger throttling on/off. |
|
|
Provisioned capacity limit for a serverless database, RU/s. Set to zero to disable provisioned capacity hourly billing. |
|
|
Maximum size for a serverless database. Example: 10GB, 100GB. Units are in GB if not specified. Default value for a new database is 50GB. |
|
|
Specifies database type - serverless. |
|
|
YDB database backup config options. Possible property names:
|
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
ID of the YDB database. |
|
|
Name of the YDB database. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |