Creates a new database instance. Permissions required: bb.instances.create
The ID to use for the instance, which will become the final component of the instance's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
Validate only also tests the data source connection.
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" }