pub struct EnvironmentConfig {Show 19 fields
pub airflow_byoid_uri: Option<String>,
pub airflow_uri: Option<String>,
pub dag_gcs_prefix: Option<String>,
pub data_retention_config: Option<DataRetentionConfig>,
pub database_config: Option<DatabaseConfig>,
pub encryption_config: Option<EncryptionConfig>,
pub environment_size: Option<String>,
pub gke_cluster: Option<String>,
pub maintenance_window: Option<MaintenanceWindow>,
pub master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>,
pub node_config: Option<NodeConfig>,
pub node_count: Option<i32>,
pub private_environment_config: Option<PrivateEnvironmentConfig>,
pub recovery_config: Option<RecoveryConfig>,
pub resilience_mode: Option<String>,
pub software_config: Option<SoftwareConfig>,
pub web_server_config: Option<WebServerConfig>,
pub web_server_network_access_control: Option<WebServerNetworkAccessControl>,
pub workloads_config: Option<WorkloadsConfig>,
}
Expand description
Configuration information for an environment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§airflow_byoid_uri: Option<String>
Output only. The ‘bring your own identity’ variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation).
airflow_uri: Option<String>
Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface).
dag_gcs_prefix: Option<String>
Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using “/”-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
data_retention_config: Option<DataRetentionConfig>
Optional. The configuration setting for Airflow database data retention mechanism.
database_config: Option<DatabaseConfig>
Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software.
encryption_config: Option<EncryptionConfig>
Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated.
environment_size: Option<String>
Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
gke_cluster: Option<String>
Output only. The Kubernetes Engine cluster used to run this environment.
maintenance_window: Option<MaintenanceWindow>
Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week.
Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no external networks allowlisted. - in case of public environment: disabled.
node_config: Option<NodeConfig>
The configuration used for the Kubernetes Engine cluster.
node_count: Option<i32>
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.
private_environment_config: Option<PrivateEnvironmentConfig>
The configuration used for the Private IP Cloud Composer environment.
recovery_config: Option<RecoveryConfig>
Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
resilience_mode: Option<String>
Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-..* and newer.
software_config: Option<SoftwareConfig>
The configuration settings for software inside the environment.
web_server_config: Option<WebServerConfig>
Optional. The configuration settings for the Airflow web server App Engine instance.
web_server_network_access_control: Option<WebServerNetworkAccessControl>
Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied.
workloads_config: Option<WorkloadsConfig>
Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
Trait Implementations§
Source§impl Clone for EnvironmentConfig
impl Clone for EnvironmentConfig
Source§fn clone(&self) -> EnvironmentConfig
fn clone(&self) -> EnvironmentConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EnvironmentConfig
impl Debug for EnvironmentConfig
Source§impl Default for EnvironmentConfig
impl Default for EnvironmentConfig
Source§fn default() -> EnvironmentConfig
fn default() -> EnvironmentConfig
Source§impl<'de> Deserialize<'de> for EnvironmentConfig
impl<'de> Deserialize<'de> for EnvironmentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for EnvironmentConfig
impl Serialize for EnvironmentConfig
impl Part for EnvironmentConfig
Auto Trait Implementations§
impl Freeze for EnvironmentConfig
impl RefUnwindSafe for EnvironmentConfig
impl Send for EnvironmentConfig
impl Sync for EnvironmentConfig
impl Unpin for EnvironmentConfig
impl UnwindSafe for EnvironmentConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more