Updates a database instance. Permissions required: bb.instances.update
The instance id.
The list of fields to update.
If set to true, and the instance is not found, a new instance will be created.
In this situation, update_mask is ignored.
The name of the instance. Format: instances/{instance}
The lifecycle state of the instance.
STATE_UNSPECIFIED, ACTIVE, DELETED The display title of the instance.
The database engine type.
ENGINE_UNSPECIFIED, CLICKHOUSE, MYSQL, POSTGRES, SNOWFLAKE, SQLITE, TIDB, MONGODB, REDIS, ORACLE, SPANNER, MSSQL, REDSHIFT, MARIADB, OCEANBASE, STARROCKS, DORIS, HIVE, ELASTICSEARCH, BIGQUERY, DYNAMODB, DATABRICKS, COCKROACHDB, COSMOSDB, TRINO, CASSANDRA External URL to the database instance console.
Data source configurations for connecting to the instance.
The environment resource. Format: environments/prod where prod is the environment resource ID.
Whether the instance is activated for use.
How often the instance is synced.
The maximum number of connections. The default is 10 if the value is unset or zero.
Enable sync for following databases. Default empty, means sync all schemas & databases.
Labels are key-value pairs that can be attached to the instance. For example, { "org_group": "infrastructure", "environment": "production" }
OK
The name of the instance. Format: instances/{instance}
The lifecycle state of the instance.
STATE_UNSPECIFIED, ACTIVE, DELETED The display title of the instance.
The database engine type.
ENGINE_UNSPECIFIED, CLICKHOUSE, MYSQL, POSTGRES, SNOWFLAKE, SQLITE, TIDB, MONGODB, REDIS, ORACLE, SPANNER, MSSQL, REDSHIFT, MARIADB, OCEANBASE, STARROCKS, DORIS, HIVE, ELASTICSEARCH, BIGQUERY, DYNAMODB, DATABRICKS, COCKROACHDB, COSMOSDB, TRINO, CASSANDRA The version of the database engine.
External URL to the database instance console.
Data source configurations for connecting to the instance.
The environment resource. Format: environments/prod where prod is the environment resource ID.
Whether the instance is activated for use.
Database roles available in this instance.
How often the instance is synced.
The maximum number of connections. The default is 10 if the value is unset or zero.
Enable sync for following databases. Default empty, means sync all schemas & databases.
The last time the instance was synced.
Labels are key-value pairs that can be attached to the instance. For example, { "org_group": "infrastructure", "environment": "production" }