IPAllocationPolicyComposerV1beta1 class
Configuration for controlling how IPs are allocated in the GKE cluster.
Constructors
-
IPAllocationPolicyComposerV1beta1({Input<
String> ? clusterIpv4CidrBlock, Input<String> ? clusterSecondaryRangeName, Input<String> ? servicesIpv4CidrBlock, Input<String> ? servicesSecondaryRangeName, Input<bool> ? useIpAliases}) -
Creates a new IPAllocationPolicyComposerV1beta1.
clusterIpv4CidrBlockOptional. The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1..-airflow-.., this field is applicable only whenuse_ip_aliasesis 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. Specifycluster_secondary_range_nameorcluster_ipv4_cidr_blockbut not both.clusterSecondaryRangeNameOptional. The name of the cluster's secondary range used to allocate IP addresses to pods. Specify eithercluster_secondary_range_nameorcluster_ipv4_cidr_blockbut not both. For Cloud Composer environments in versions composer-1..-airflow-.., this field is applicable only whenuse_ip_aliasesis true.servicesIpv4CidrBlockOptional. The IP address range of the services IP addresses in this cluster. For Cloud Composer environments in versions composer-1..-airflow-.., this field is applicable only whenuse_ip_aliasesis 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. Specifyservices_secondary_range_nameorservices_ipv4_cidr_blockbut not both.servicesSecondaryRangeNameOptional. The name of the services' secondary range used to allocate IP addresses to the cluster. Specify eitherservices_secondary_range_nameorservices_ipv4_cidr_blockbut not both. For Cloud Composer environments in versions composer-1..-airflow-.., this field is applicable only whenuse_ip_aliasesis true.useIpAliasesOptional. Whether or not to enable Alias IPs in the GKE cluster. Iftrue, 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.const -
IPAllocationPolicyComposerV1beta1.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clusterIpv4CidrBlock
→ Input<
String> ? -
Optional. The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
use_ip_aliasesis 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. Specifycluster_secondary_range_nameorcluster_ipv4_cidr_blockbut not both.final -
clusterSecondaryRangeName
→ Input<
String> ? -
Optional. The name of the cluster's secondary range used to allocate IP addresses to pods. Specify either
cluster_secondary_range_nameorcluster_ipv4_cidr_blockbut not both. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only whenuse_ip_aliasesis true.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
servicesIpv4CidrBlock
→ Input<
String> ? -
Optional. The IP address range of the services IP addresses in this cluster. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only when
use_ip_aliasesis 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. Specifyservices_secondary_range_nameorservices_ipv4_cidr_blockbut not both.final -
servicesSecondaryRangeName
→ Input<
String> ? -
Optional. The name of the services' secondary range used to allocate IP addresses to the cluster. Specify either
services_secondary_range_nameorservices_ipv4_cidr_blockbut not both. For Cloud Composer environments in versions composer-1..-airflow-..*, this field is applicable only whenuse_ip_aliasesis true.final -
useIpAliases
→ Input<
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.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited