Struct google_composer1::api::DatabaseConfig
source · pub struct DatabaseConfig {
pub machine_type: Option<String>,
pub zone: Option<String>,
}
Expand description
The configuration of Cloud SQL instance that is used by the Apache Airflow software.
This type is not used in any activity, and only used as part of another schema.
Fields§
§machine_type: Option<String>
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1..-airflow-..*.
zone: Option<String>
Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2..-airflow-..*.
Trait Implementations§
source§impl Clone for DatabaseConfig
impl Clone for DatabaseConfig
source§fn clone(&self) -> DatabaseConfig
fn clone(&self) -> DatabaseConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more