Interface ContainerClusterConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ContainerClusterConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:19.213Z") @Stability(Stable) public interface ContainerClusterConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContainerClusterConfig.BuilderA builder forContainerClusterConfigstatic classContainerClusterConfig.Jsii$ProxyAn implementation forContainerClusterConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ContainerClusterConfig.Builderbuilder()default ContainerClusterAddonsConfiggetAddonsConfig()addons_config block.default ObjectgetAllowNetAdmin()Enable NET_ADMIN for this cluster.default ContainerClusterAuthenticatorGroupsConfiggetAuthenticatorGroupsConfig()authenticator_groups_config block.default ContainerClusterBinaryAuthorizationgetBinaryAuthorization()binary_authorization block.default ContainerClusterClusterAutoscalinggetClusterAutoscaling()cluster_autoscaling block.default StringgetClusterIpv4Cidr()The IP address range of the Kubernetes pods in this cluster in CIDR notation (e.g.default ContainerClusterConfidentialNodesgetConfidentialNodes()confidential_nodes block.default ContainerClusterCostManagementConfiggetCostManagementConfig()cost_management_config block.default ContainerClusterDatabaseEncryptiongetDatabaseEncryption()database_encryption block.default StringgetDatapathProvider()The desired datapath provider for this cluster.default NumbergetDefaultMaxPodsPerNode()The default maximum number of pods per node in this cluster.default ContainerClusterDefaultSnatStatusgetDefaultSnatStatus()default_snat_status block.default ObjectgetDeletionProtection()When the field is set to true or unset in Terraform state, a terraform apply or terraform destroy that would delete the cluster will fail.default StringgetDescription()Description of the cluster.default ContainerClusterDnsConfiggetDnsConfig()dns_config block.default ObjectgetEnableAutopilot()Enable Autopilot for this cluster.default ObjectgetEnableCiliumClusterwideNetworkPolicy()Whether Cilium cluster-wide network policy is enabled on this cluster.default ObjectgetEnableIntranodeVisibility()Whether Intra-node visibility is enabled for this cluster.default ContainerClusterEnableK8SBetaApisgetEnableK8SBetaApis()enable_k8s_beta_apis block.default ObjectgetEnableKubernetesAlpha()Whether to enable Kubernetes Alpha features for this cluster.default ObjectgetEnableL4IlbSubsetting()Whether L4ILB Subsetting is enabled for this cluster.default ObjectgetEnableLegacyAbac()Whether the ABAC authorizer is enabled for this cluster.default ObjectgetEnableMultiNetworking()Whether multi-networking is enabled for this cluster.default ObjectgetEnableShieldedNodes()Enable Shielded Nodes features on all nodes in this cluster.default ObjectgetEnableTpu()Whether to enable Cloud TPU resources in this cluster.default ContainerClusterFleetgetFleet()fleet block.default ContainerClusterGatewayApiConfiggetGatewayApiConfig()gateway_api_config block.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#id ContainerCluster#id}.default ContainerClusterIdentityServiceConfiggetIdentityServiceConfig()identity_service_config block.default NumbergetInitialNodeCount()The number of nodes to create in this cluster's default node pool.default ContainerClusterIpAllocationPolicygetIpAllocationPolicy()ip_allocation_policy block.default StringgetLocation()The location (region or zone) in which the cluster master will be created, as well as the default node location.default ContainerClusterLoggingConfiggetLoggingConfig()logging_config block.default StringgetLoggingService()The logging service that the cluster should write logs to.default ContainerClusterMaintenancePolicygetMaintenancePolicy()maintenance_policy block.default ContainerClusterMasterAuthgetMasterAuth()master_auth block.default ContainerClusterMasterAuthorizedNetworksConfiggetMasterAuthorizedNetworksConfig()master_authorized_networks_config block.default ContainerClusterMeshCertificatesgetMeshCertificates()mesh_certificates block.default StringgetMinMasterVersion()The minimum version of the master.default ContainerClusterMonitoringConfiggetMonitoringConfig()monitoring_config block.default StringgetMonitoringService()The monitoring service that the cluster should write metrics to.StringgetName()The name of the cluster, unique within the project and location.default StringgetNetwork()The name or self_link of the Google Compute Engine network to which the cluster is connected.default StringgetNetworkingMode()Determines whether alias IPs or routes will be used for pod IPs in the cluster.default ContainerClusterNetworkPolicygetNetworkPolicy()network_policy block.default ContainerClusterNodeConfiggetNodeConfig()node_config block.default List<String>getNodeLocations()The list of zones in which the cluster's nodes are located.default ObjectgetNodePool()node_pool block.default ContainerClusterNodePoolAutoConfiggetNodePoolAutoConfig()node_pool_auto_config block.default ContainerClusterNodePoolDefaultsgetNodePoolDefaults()node_pool_defaults block.default StringgetNodeVersion()The Kubernetes version on the nodes.default ContainerClusterNotificationConfiggetNotificationConfig()notification_config block.default ContainerClusterPrivateClusterConfiggetPrivateClusterConfig()private_cluster_config block.default StringgetPrivateIpv6GoogleAccess()The desired state of IPv6 connectivity to Google Services.default StringgetProject()The ID of the project in which the resource belongs.default ContainerClusterReleaseChannelgetReleaseChannel()release_channel block.default ObjectgetRemoveDefaultNodePool()If true, deletes the default node pool upon cluster creation.default Map<String,String>getResourceLabels()The GCE resource labels (a map of key/value pairs) to be applied to the cluster.default ContainerClusterResourceUsageExportConfiggetResourceUsageExportConfig()resource_usage_export_config block.default ContainerClusterSecurityPostureConfiggetSecurityPostureConfig()security_posture_config block.default ContainerClusterServiceExternalIpsConfiggetServiceExternalIpsConfig()service_external_ips_config block.default StringgetSubnetwork()The name or self_link of the Google Compute Engine subnetwork in which the cluster's instances are launched.default ContainerClusterTimeoutsgetTimeouts()timeouts block.default ContainerClusterVerticalPodAutoscalinggetVerticalPodAutoscaling()vertical_pod_autoscaling block.default ContainerClusterWorkloadIdentityConfiggetWorkloadIdentityConfig()workload_identity_config block.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
The name of the cluster, unique within the project and location.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#name ContainerCluster#name}
-
getAddonsConfig
@Stability(Stable) @Nullable default ContainerClusterAddonsConfig getAddonsConfig()
addons_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#addons_config ContainerCluster#addons_config}
-
getAllowNetAdmin
@Stability(Stable) @Nullable default Object getAllowNetAdmin()
Enable NET_ADMIN for this cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#allow_net_admin ContainerCluster#allow_net_admin}
-
getAuthenticatorGroupsConfig
@Stability(Stable) @Nullable default ContainerClusterAuthenticatorGroupsConfig getAuthenticatorGroupsConfig()
authenticator_groups_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#authenticator_groups_config ContainerCluster#authenticator_groups_config}
-
getBinaryAuthorization
@Stability(Stable) @Nullable default ContainerClusterBinaryAuthorization getBinaryAuthorization()
binary_authorization block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#binary_authorization ContainerCluster#binary_authorization}
-
getClusterAutoscaling
@Stability(Stable) @Nullable default ContainerClusterClusterAutoscaling getClusterAutoscaling()
cluster_autoscaling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#cluster_autoscaling ContainerCluster#cluster_autoscaling}
-
getClusterIpv4Cidr
@Stability(Stable) @Nullable default String getClusterIpv4Cidr()
The IP address range of the Kubernetes pods in this cluster in CIDR notation (e.g. 10.96.0.0/14). Leave blank to have one automatically chosen or specify a /14 block in 10.0.0.0/8. This field will only work for routes-based clusters, where ip_allocation_policy is not defined.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#cluster_ipv4_cidr ContainerCluster#cluster_ipv4_cidr}
-
getConfidentialNodes
@Stability(Stable) @Nullable default ContainerClusterConfidentialNodes getConfidentialNodes()
confidential_nodes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#confidential_nodes ContainerCluster#confidential_nodes}
-
getCostManagementConfig
@Stability(Stable) @Nullable default ContainerClusterCostManagementConfig getCostManagementConfig()
cost_management_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#cost_management_config ContainerCluster#cost_management_config}
-
getDatabaseEncryption
@Stability(Stable) @Nullable default ContainerClusterDatabaseEncryption getDatabaseEncryption()
database_encryption block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#database_encryption ContainerCluster#database_encryption}
-
getDatapathProvider
@Stability(Stable) @Nullable default String getDatapathProvider()
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#datapath_provider ContainerCluster#datapath_provider}
-
getDefaultMaxPodsPerNode
@Stability(Stable) @Nullable default Number getDefaultMaxPodsPerNode()
The default maximum number of pods per node in this cluster.This doesn't work on "routes-based" clusters, clusters that don't have IP Aliasing enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#default_max_pods_per_node ContainerCluster#default_max_pods_per_node}
-
getDefaultSnatStatus
@Stability(Stable) @Nullable default ContainerClusterDefaultSnatStatus getDefaultSnatStatus()
default_snat_status block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#default_snat_status ContainerCluster#default_snat_status}
-
getDeletionProtection
@Stability(Stable) @Nullable default Object getDeletionProtection()
When the field is set to true or unset in Terraform state, a terraform apply or terraform destroy that would delete the cluster will fail.When the field is set to false, deleting the cluster is allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#deletion_protection ContainerCluster#deletion_protection}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
Description of the cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#description ContainerCluster#description}
-
getDnsConfig
@Stability(Stable) @Nullable default ContainerClusterDnsConfig getDnsConfig()
dns_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#dns_config ContainerCluster#dns_config}
-
getEnableAutopilot
@Stability(Stable) @Nullable default Object getEnableAutopilot()
Enable Autopilot for this cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_autopilot ContainerCluster#enable_autopilot}
-
getEnableCiliumClusterwideNetworkPolicy
@Stability(Stable) @Nullable default Object getEnableCiliumClusterwideNetworkPolicy()
Whether Cilium cluster-wide network policy is enabled on this cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_cilium_clusterwide_network_policy ContainerCluster#enable_cilium_clusterwide_network_policy}
-
getEnableIntranodeVisibility
@Stability(Stable) @Nullable default Object getEnableIntranodeVisibility()
Whether Intra-node visibility is enabled for this cluster.This makes same node pod to pod traffic visible for VPC network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_intranode_visibility ContainerCluster#enable_intranode_visibility}
-
getEnableK8SBetaApis
@Stability(Stable) @Nullable default ContainerClusterEnableK8SBetaApis getEnableK8SBetaApis()
enable_k8s_beta_apis block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_k8s_beta_apis ContainerCluster#enable_k8s_beta_apis}
-
getEnableKubernetesAlpha
@Stability(Stable) @Nullable default Object getEnableKubernetesAlpha()
Whether to enable Kubernetes Alpha features for this cluster.Note that when this option is enabled, the cluster cannot be upgraded and will be automatically deleted after 30 days. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_kubernetes_alpha ContainerCluster#enable_kubernetes_alpha}
-
getEnableL4IlbSubsetting
@Stability(Stable) @Nullable default Object getEnableL4IlbSubsetting()
Whether L4ILB Subsetting is enabled for this cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_l4_ilb_subsetting ContainerCluster#enable_l4_ilb_subsetting}
-
getEnableLegacyAbac
@Stability(Stable) @Nullable default Object getEnableLegacyAbac()
Whether the ABAC authorizer is enabled for this cluster.When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_legacy_abac ContainerCluster#enable_legacy_abac}
-
getEnableMultiNetworking
@Stability(Stable) @Nullable default Object getEnableMultiNetworking()
Whether multi-networking is enabled for this cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_multi_networking ContainerCluster#enable_multi_networking}
-
getEnableShieldedNodes
@Stability(Stable) @Nullable default Object getEnableShieldedNodes()
Enable Shielded Nodes features on all nodes in this cluster. Defaults to true.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_shielded_nodes ContainerCluster#enable_shielded_nodes}
-
getEnableTpu
@Stability(Stable) @Nullable default Object getEnableTpu()
Whether to enable Cloud TPU resources in this cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_tpu ContainerCluster#enable_tpu}
-
getFleet
@Stability(Stable) @Nullable default ContainerClusterFleet getFleet()
fleet block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#fleet ContainerCluster#fleet}
-
getGatewayApiConfig
@Stability(Stable) @Nullable default ContainerClusterGatewayApiConfig getGatewayApiConfig()
gateway_api_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#gateway_api_config ContainerCluster#gateway_api_config}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#id ContainerCluster#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getIdentityServiceConfig
@Stability(Stable) @Nullable default ContainerClusterIdentityServiceConfig getIdentityServiceConfig()
identity_service_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#identity_service_config ContainerCluster#identity_service_config}
-
getInitialNodeCount
@Stability(Stable) @Nullable default Number getInitialNodeCount()
The number of nodes to create in this cluster's default node pool.In regional or multi-zonal clusters, this is the number of nodes per zone. Must be set if node_pool is not set. If you're using google_container_node_pool objects with no default node pool, you'll need to set this to a value of at least 1, alongside setting remove_default_node_pool to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#initial_node_count ContainerCluster#initial_node_count}
-
getIpAllocationPolicy
@Stability(Stable) @Nullable default ContainerClusterIpAllocationPolicy getIpAllocationPolicy()
ip_allocation_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#ip_allocation_policy ContainerCluster#ip_allocation_policy}
-
getLocation
@Stability(Stable) @Nullable default String getLocation()
The location (region or zone) in which the cluster master will be created, as well as the default node location.If you specify a zone (such as us-central1-a), the cluster will be a zonal cluster with a single cluster master. If you specify a region (such as us-west1), the cluster will be a regional cluster with multiple masters spread across zones in the region, and with default node locations in those zones as well. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#location ContainerCluster#location}
-
getLoggingConfig
@Stability(Stable) @Nullable default ContainerClusterLoggingConfig getLoggingConfig()
logging_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#logging_config ContainerCluster#logging_config}
-
getLoggingService
@Stability(Stable) @Nullable default String getLoggingService()
The logging service that the cluster should write logs to.Available options include logging.googleapis.com(Legacy Stackdriver), logging.googleapis.com/kubernetes(Stackdriver Kubernetes Engine Logging), and none. Defaults to logging.googleapis.com/kubernetes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#logging_service ContainerCluster#logging_service}
-
getMaintenancePolicy
@Stability(Stable) @Nullable default ContainerClusterMaintenancePolicy getMaintenancePolicy()
maintenance_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#maintenance_policy ContainerCluster#maintenance_policy}
-
getMasterAuth
@Stability(Stable) @Nullable default ContainerClusterMasterAuth getMasterAuth()
master_auth block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#master_auth ContainerCluster#master_auth}
-
getMasterAuthorizedNetworksConfig
@Stability(Stable) @Nullable default ContainerClusterMasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig()
master_authorized_networks_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#master_authorized_networks_config ContainerCluster#master_authorized_networks_config}
-
getMeshCertificates
@Stability(Stable) @Nullable default ContainerClusterMeshCertificates getMeshCertificates()
mesh_certificates block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#mesh_certificates ContainerCluster#mesh_certificates}
-
getMinMasterVersion
@Stability(Stable) @Nullable default String getMinMasterVersion()
The minimum version of the master.GKE will auto-update the master to new versions, so this does not guarantee the current master version--use the read-only master_version field to obtain that. If unset, the cluster's version will be set by GKE to the version of the most recent official release (which is not necessarily the latest version). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#min_master_version ContainerCluster#min_master_version}
-
getMonitoringConfig
@Stability(Stable) @Nullable default ContainerClusterMonitoringConfig getMonitoringConfig()
monitoring_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#monitoring_config ContainerCluster#monitoring_config}
-
getMonitoringService
@Stability(Stable) @Nullable default String getMonitoringService()
The monitoring service that the cluster should write metrics to.Automatically send metrics from pods in the cluster to the Google Cloud Monitoring API. VM metrics will be collected by Google Compute Engine regardless of this setting Available options include monitoring.googleapis.com(Legacy Stackdriver), monitoring.googleapis.com/kubernetes(Stackdriver Kubernetes Engine Monitoring), and none. Defaults to monitoring.googleapis.com/kubernetes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#monitoring_service ContainerCluster#monitoring_service}
-
getNetwork
@Stability(Stable) @Nullable default String getNetwork()
The name or self_link of the Google Compute Engine network to which the cluster is connected.For Shared VPC, set this to the self link of the shared network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#network ContainerCluster#network}
-
getNetworkingMode
@Stability(Stable) @Nullable default String getNetworkingMode()
Determines whether alias IPs or routes will be used for pod IPs in the cluster.Defaults to VPC_NATIVE for new clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#networking_mode ContainerCluster#networking_mode}
-
getNetworkPolicy
@Stability(Stable) @Nullable default ContainerClusterNetworkPolicy getNetworkPolicy()
network_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#network_policy ContainerCluster#network_policy}
-
getNodeConfig
@Stability(Stable) @Nullable default ContainerClusterNodeConfig getNodeConfig()
node_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_config ContainerCluster#node_config}
-
getNodeLocations
@Stability(Stable) @Nullable default List<String> getNodeLocations()
The list of zones in which the cluster's nodes are located.Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. If this is specified for a zonal cluster, omit the cluster's zone. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_locations ContainerCluster#node_locations}
-
getNodePool
@Stability(Stable) @Nullable default Object getNodePool()
node_pool block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_pool ContainerCluster#node_pool}
-
getNodePoolAutoConfig
@Stability(Stable) @Nullable default ContainerClusterNodePoolAutoConfig getNodePoolAutoConfig()
node_pool_auto_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_pool_auto_config ContainerCluster#node_pool_auto_config}
-
getNodePoolDefaults
@Stability(Stable) @Nullable default ContainerClusterNodePoolDefaults getNodePoolDefaults()
node_pool_defaults block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_pool_defaults ContainerCluster#node_pool_defaults}
-
getNodeVersion
@Stability(Stable) @Nullable default String getNodeVersion()
The Kubernetes version on the nodes.Must either be unset or set to the same value as min_master_version on create. Defaults to the default version set by GKE which is not necessarily the latest version. This only affects nodes in the default node pool. While a fuzzy version can be specified, it's recommended that you specify explicit versions as Terraform will see spurious diffs when fuzzy versions are used. See the google_container_engine_versions data source's version_prefix field to approximate fuzzy versions in a Terraform-compatible way. To update nodes in other node pools, use the version attribute on the node pool. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_version ContainerCluster#node_version}
-
getNotificationConfig
@Stability(Stable) @Nullable default ContainerClusterNotificationConfig getNotificationConfig()
notification_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#notification_config ContainerCluster#notification_config}
-
getPrivateClusterConfig
@Stability(Stable) @Nullable default ContainerClusterPrivateClusterConfig getPrivateClusterConfig()
private_cluster_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#private_cluster_config ContainerCluster#private_cluster_config}
-
getPrivateIpv6GoogleAccess
@Stability(Stable) @Nullable default String getPrivateIpv6GoogleAccess()
The desired state of IPv6 connectivity to Google Services.By default, no private IPv6 access to or from Google Services (all access will be via IPv4). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#private_ipv6_google_access ContainerCluster#private_ipv6_google_access}
-
getProject
@Stability(Stable) @Nullable default String getProject()
The ID of the project in which the resource belongs.If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#project ContainerCluster#project}
-
getReleaseChannel
@Stability(Stable) @Nullable default ContainerClusterReleaseChannel getReleaseChannel()
release_channel block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#release_channel ContainerCluster#release_channel}
-
getRemoveDefaultNodePool
@Stability(Stable) @Nullable default Object getRemoveDefaultNodePool()
If true, deletes the default node pool upon cluster creation.If you're using google_container_node_pool resources with no default node pool, this should be set to true, alongside setting initial_node_count to at least 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#remove_default_node_pool ContainerCluster#remove_default_node_pool}
-
getResourceLabels
@Stability(Stable) @Nullable default Map<String,String> getResourceLabels()
The GCE resource labels (a map of key/value pairs) to be applied to the cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#resource_labels ContainerCluster#resource_labels}
-
getResourceUsageExportConfig
@Stability(Stable) @Nullable default ContainerClusterResourceUsageExportConfig getResourceUsageExportConfig()
resource_usage_export_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#resource_usage_export_config ContainerCluster#resource_usage_export_config}
-
getSecurityPostureConfig
@Stability(Stable) @Nullable default ContainerClusterSecurityPostureConfig getSecurityPostureConfig()
security_posture_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#security_posture_config ContainerCluster#security_posture_config}
-
getServiceExternalIpsConfig
@Stability(Stable) @Nullable default ContainerClusterServiceExternalIpsConfig getServiceExternalIpsConfig()
service_external_ips_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#service_external_ips_config ContainerCluster#service_external_ips_config}
-
getSubnetwork
@Stability(Stable) @Nullable default String getSubnetwork()
The name or self_link of the Google Compute Engine subnetwork in which the cluster's instances are launched.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#subnetwork ContainerCluster#subnetwork}
-
getTimeouts
@Stability(Stable) @Nullable default ContainerClusterTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#timeouts ContainerCluster#timeouts}
-
getVerticalPodAutoscaling
@Stability(Stable) @Nullable default ContainerClusterVerticalPodAutoscaling getVerticalPodAutoscaling()
vertical_pod_autoscaling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#vertical_pod_autoscaling ContainerCluster#vertical_pod_autoscaling}
-
getWorkloadIdentityConfig
@Stability(Stable) @Nullable default ContainerClusterWorkloadIdentityConfig getWorkloadIdentityConfig()
workload_identity_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#workload_identity_config ContainerCluster#workload_identity_config}
-
builder
@Stability(Stable) static ContainerClusterConfig.Builder builder()
- Returns:
- a
ContainerClusterConfig.BuilderofContainerClusterConfig
-
-