PrivateEnvironmentConfig class
The configuration information for configuring a Private IP Cloud Composer environment.
Constructors
-
PrivateEnvironmentConfig({Input<
String> ? cloudComposerConnectionSubnetwork, Input<String> ? cloudComposerNetworkIpv4CidrBlock, Input<String> ? cloudSqlIpv4CidrBlock, Input<bool> ? enablePrivateEnvironment, Input<bool> ? enablePrivatelyUsedPublicIps, Input<NetworkingConfig> ? networkingConfig, Input<PrivateClusterConfig> ? privateClusterConfig, Input<String> ? webServerIpv4CidrBlock}) -
Creates a new PrivateEnvironmentConfig.
cloudComposerConnectionSubnetworkOptional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.cloudComposerNetworkIpv4CidrBlockOptional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.cloudSqlIpv4CidrBlockOptional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint fromweb_server_ipv4_cidr_block.enablePrivateEnvironmentOptional. Iftrue, a Private IP Cloud Composer environment is created. If this field is set to true,IPAllocationPolicy.use_ip_aliasesmust be set to true for Cloud Composer environments in versions composer-1..-airflow-...enablePrivatelyUsedPublicIpsOptional. When enabled, IPs from public (non-RFC1918) ranges can be used forIPAllocationPolicy.cluster_ipv4_cidr_blockandIPAllocationPolicy.service_ipv4_cidr_block.networkingConfigOptional. Configuration for the network connections configuration in the environment.privateClusterConfigOptional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.webServerIpv4CidrBlockOptional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint fromprivate_cluster_config.master_ipv4_cidr_blockandcloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1..-airflow-...const -
PrivateEnvironmentConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cloudComposerConnectionSubnetwork
→ Input<
String> ? -
Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.
final
-
cloudComposerNetworkIpv4CidrBlock
→ Input<
String> ? -
Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
final
-
cloudSqlIpv4CidrBlock
→ Input<
String> ? -
Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from
web_server_ipv4_cidr_block.final -
enablePrivateEnvironment
→ Input<
bool> ? -
Optional. If
true, a Private IP Cloud Composer environment is created. If this field is set to true,IPAllocationPolicy.use_ip_aliasesmust be set to true for Cloud Composer environments in versions composer-1..-airflow-..*.final -
enablePrivatelyUsedPublicIps
→ Input<
bool> ? -
Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
IPAllocationPolicy.cluster_ipv4_cidr_blockandIPAllocationPolicy.service_ipv4_cidr_block.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
networkingConfig
→ Input<
NetworkingConfig> ? -
Optional. Configuration for the network connections configuration in the environment.
final
-
privateClusterConfig
→ Input<
PrivateClusterConfig> ? -
Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
webServerIpv4CidrBlock
→ Input<
String> ? -
Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from
private_cluster_config.master_ipv4_cidr_blockandcloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.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