pub struct IPAllocationPolicy {
pub cluster_ipv4_cidr_block: Option<String>,
pub cluster_secondary_range_name: Option<String>,
pub services_ipv4_cidr_block: Option<String>,
pub services_secondary_range_name: Option<String>,
pub use_ip_aliases: Option<bool>,
}
Expand description
Configuration for controlling how IPs are allocated in the GKE cluster running the Apache Airflow software.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cluster_ipv4_cidr_block: Option<String>
Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when use_ip_aliases
is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14
) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14
) from the RFC-1918 private networks (e.g. 10.0.0.0/8
, 172.16.0.0/12
, 192.168.0.0/16
) to pick a specific range to use.
cluster_secondary_range_name: Option<String>
Optional. The name of the GKE cluster’s secondary range used to allocate IP addresses to pods. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when use_ip_aliases
is true.
services_ipv4_cidr_block: Option<String>
Optional. The IP address range of the services IP addresses in this GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when use_ip_aliases
is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. /14
) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14
) from the RFC-1918 private networks (e.g. 10.0.0.0/8
, 172.16.0.0/12
, 192.168.0.0/16
) to pick a specific range to use.
services_secondary_range_name: Option<String>
Optional. The name of the services’ secondary range used to allocate IP addresses to the GKE cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when use_ip_aliases
is true.
use_ip_aliases: Option<bool>
Optional. Whether or not to enable Alias IPs in the GKE cluster. If true
, a VPC-native cluster is created. This field is only supported for Cloud Composer environments in versions composer-1..-airflow-..*. Environments in newer versions always use VPC-native GKE clusters.
Trait Implementations§
Source§impl Clone for IPAllocationPolicy
impl Clone for IPAllocationPolicy
Source§fn clone(&self) -> IPAllocationPolicy
fn clone(&self) -> IPAllocationPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for IPAllocationPolicy
impl Debug for IPAllocationPolicy
Source§impl Default for IPAllocationPolicy
impl Default for IPAllocationPolicy
Source§fn default() -> IPAllocationPolicy
fn default() -> IPAllocationPolicy
Source§impl<'de> Deserialize<'de> for IPAllocationPolicy
impl<'de> Deserialize<'de> for IPAllocationPolicy
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 IPAllocationPolicy
impl Serialize for IPAllocationPolicy
impl Part for IPAllocationPolicy
Auto Trait Implementations§
impl Freeze for IPAllocationPolicy
impl RefUnwindSafe for IPAllocationPolicy
impl Send for IPAllocationPolicy
impl Sync for IPAllocationPolicy
impl Unpin for IPAllocationPolicy
impl UnwindSafe for IPAllocationPolicy
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