Either make cluster public accessible or accessible only via private VPC.
--config-template-disk-size-gibibytes (int64)
--config-template-disk-type (string)
--config-template-hosts-count (int64)
--config-template-resources-platform (string)
--config-template-resources-preset (string)
--id (string)
Identifier for the resource, unique for its resource type.
--labels (string->string)
Labels associated with the resource.
--labels-add (string->string)
Add values to Labels associated with the resource.
--labels-remove (string array)
Remove values from Labels associated with the resource.
--name (string)
Human readable name for the resource.
--parent-id (string)
Identifier of the parent resource to which the resource belongs.
--resource-version (int64)
Version of the resource for safe concurrent modifications and consistent reads.
Positive and monotonically increases on each resource spec change (but not on each change of the
resource’s container(s) or status).
Service allows zero value or current.
--async (bool)
If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.
--clear-mask (string array)
Reset-mask field paths to clear in patch mode. Can be repeated.
--diff (bool)
Show diff of resource before commiting update.
--full (bool)
Update full resource state. Automatically set to true if the —file or argument provided.
Input file. For ‘update’ commands automatically set —full=true.
-c, --config (string)
Provide path to config file.
--debug (bool)
Enable debug logs.
--color (bool)
Enable colored output.
--no-browser (bool)
Do not open browser automatically on auth.
--insecure (bool)
Disable transport security.
--auth-timeout (duration: 2h30m10s)
Set the timeout for the request including authentication process, default is 15m0s.
--per-retry-timeout (duration: 2h30m10s)
Set the timeout for each retry attempt, default is 20s.
--retries (uint)
Set the number of retry attempts, 1 is disable retries, default is 3.
--timeout (duration: 2h30m10s)
Set the timeout for the main request, default is 1m0s.
--no-check-update (bool)
Suppress check for updates.
--no-progress (bool)
Suppress progress indicators and spinners.
Show Input argument JSON Schema
Full
CopyPaste Friendly
{ "metadata": { // [required] // Metadata associated with the cluster. Must include id of the cluster we are going to update. "id": string, // [identifier] // Identifier for the resource, unique for its resource type. "labels": { // [map] // Labels associated with the resource. string: string }, "name": string, // Human readable name for the resource. "parent_id": string, // [required] // Identifier of the parent resource to which the resource belongs. "resource_version": int64 // Version of the resource for safe concurrent modifications and consistent reads. // Positive and monotonically increases on each resource spec change (but *not* on each change of the // resource's container(s) or status). // Service allows zero value or current. }, "spec": { // Updated specification for the cluster. "bootstrap": { // [required] "user_password": string // [sensitive] [input_only] // Password of the bootstrap PostgreSQL user. }, "config": { // [required] "pooler_config": { // Configuration of the connection pooler. "max_pool_size": int64, // [optional] // Maximum number of connections in the pool for a single user/database pair. "pooling_mode": enum( // Mode that the connection pooler is working in. "POOLING_MODE_UNSPECIFIED", "SESSION", // Session pooling mode. "TRANSACTION" // Transaction pooling mode. ) }, "postgresql_config_16": { // Configuration parameters for postgres. "autovacuum_analyze_scale_factor": double, // [optional] "autovacuum_naptime": int64, // [optional] // In seconds. "autovacuum_vacuum_cost_delay": int64, // [optional] // In milliseconds. "autovacuum_vacuum_cost_limit": int64, // [optional] "autovacuum_vacuum_scale_factor": double, // [optional] "autovacuum_work_mem": int64, // [optional] // In kilobytes. "default_transaction_read_only": bool, // [optional] "idle_in_transaction_session_timeout": int64, // [optional] // In milliseconds. "max_connections": int64, // [optional] "search_path": string, // [optional] "shared_buffers": int64, // [optional] // In kilobytes. "statement_timeout": int64 // [optional] // In milliseconds. }, "public_access": bool, // Either make cluster public accessible or accessible only via private VPC. "template": { // [required] // Resources allocated to PostgreSQL hosts. "disk": { // [required] "size_gibibytes": int64, // [required] "type": string // [required] }, "hosts": { // [required] "count": int64 // [required] }, "resources": { // [required] // Reduced msp.v1alpha1.resource.TemplateSpec. "platform": string, // [required] "preset": string // [required] } } } }}