Package com.pulumi.gcp.container.inputs
Class ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.container.inputs.ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder
-
- Enclosing class:
- ClusterClusterAutoscalingAutoProvisioningDefaultsArgs
public static final class ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterClusterAutoscalingAutoProvisioningDefaultsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterClusterAutoscalingAutoProvisioningDefaultsArgs defaults)
-
-
Method Detail
-
bootDiskKmsKey
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder bootDiskKmsKey(@Nullable com.pulumi.core.Output<java.lang.String> bootDiskKmsKey)
- Parameters:
bootDiskKmsKey
- The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption- Returns:
- builder
-
bootDiskKmsKey
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder bootDiskKmsKey(java.lang.String bootDiskKmsKey)
- Parameters:
bootDiskKmsKey
- The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption- Returns:
- builder
-
diskSize
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder diskSize(@Nullable com.pulumi.core.Output<java.lang.Integer> diskSize)
- Parameters:
diskSize
- Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. Defaults to `100`- Returns:
- builder
-
diskSize
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder diskSize(java.lang.Integer diskSize)
- Parameters:
diskSize
- Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. Defaults to `100`- Returns:
- builder
-
diskType
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder diskType(@Nullable com.pulumi.core.Output<java.lang.String> diskType)
- Parameters:
diskType
- Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced'). Defaults to `pd-standard`- Returns:
- builder
-
diskType
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder diskType(java.lang.String diskType)
- Parameters:
diskType
- Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced'). Defaults to `pd-standard`- Returns:
- builder
-
imageType
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder imageType(@Nullable com.pulumi.core.Output<java.lang.String> imageType)
- Parameters:
imageType
- The default image type used by NAP once a new node pool is being created. Please note that according to the [official documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning#default-image-type) the value must be one of the [COS_CONTAINERD, COS, UBUNTU_CONTAINERD, UBUNTU]. __NOTE__ : COS AND UBUNTU are deprecated as of `GKE 1.24`- Returns:
- builder
-
imageType
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder imageType(java.lang.String imageType)
- Parameters:
imageType
- The default image type used by NAP once a new node pool is being created. Please note that according to the [official documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning#default-image-type) the value must be one of the [COS_CONTAINERD, COS, UBUNTU_CONTAINERD, UBUNTU]. __NOTE__ : COS AND UBUNTU are deprecated as of `GKE 1.24`- Returns:
- builder
-
management
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder management(@Nullable com.pulumi.core.Output<ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs> management)
- Parameters:
management
- NodeManagement configuration for this NodePool. Structure is documented below.- Returns:
- builder
-
management
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder management(ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs management)
- Parameters:
management
- NodeManagement configuration for this NodePool. Structure is documented below.- Returns:
- builder
-
minCpuPlatform
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder minCpuPlatform(@Nullable com.pulumi.core.Output<java.lang.String> minCpuPlatform)
- Parameters:
minCpuPlatform
- Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as "Intel Haswell" or "Intel Sandy Bridge".- Returns:
- builder
-
minCpuPlatform
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder minCpuPlatform(java.lang.String minCpuPlatform)
- Parameters:
minCpuPlatform
- Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as "Intel Haswell" or "Intel Sandy Bridge".- Returns:
- builder
-
oauthScopes
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder oauthScopes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> oauthScopes)
- Parameters:
oauthScopes
- Scopes that are used by NAP and GKE Autopilot when creating node pools. Use the "https://www.googleapis.com/auth/cloud-platform" scope to grant access to all APIs. It is recommended that you set `service_account` to a non-default service account and grant IAM roles to that service account for only the resources that it needs. > `monitoring.write` is always enabled regardless of user input. `monitoring` and `logging.write` may also be enabled depending on the values for `monitoring_service` and `logging_service`.- Returns:
- builder
-
oauthScopes
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder oauthScopes(java.util.List<java.lang.String> oauthScopes)
- Parameters:
oauthScopes
- Scopes that are used by NAP and GKE Autopilot when creating node pools. Use the "https://www.googleapis.com/auth/cloud-platform" scope to grant access to all APIs. It is recommended that you set `service_account` to a non-default service account and grant IAM roles to that service account for only the resources that it needs. > `monitoring.write` is always enabled regardless of user input. `monitoring` and `logging.write` may also be enabled depending on the values for `monitoring_service` and `logging_service`.- Returns:
- builder
-
oauthScopes
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder oauthScopes(java.lang.String... oauthScopes)
- Parameters:
oauthScopes
- Scopes that are used by NAP and GKE Autopilot when creating node pools. Use the "https://www.googleapis.com/auth/cloud-platform" scope to grant access to all APIs. It is recommended that you set `service_account` to a non-default service account and grant IAM roles to that service account for only the resources that it needs. > `monitoring.write` is always enabled regardless of user input. `monitoring` and `logging.write` may also be enabled depending on the values for `monitoring_service` and `logging_service`.- Returns:
- builder
-
serviceAccount
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder serviceAccount(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccount)
- Parameters:
serviceAccount
- The Google Cloud Platform Service Account to be used by the node VMs created by GKE Autopilot or NAP.- Returns:
- builder
-
serviceAccount
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder serviceAccount(java.lang.String serviceAccount)
- Parameters:
serviceAccount
- The Google Cloud Platform Service Account to be used by the node VMs created by GKE Autopilot or NAP.- Returns:
- builder
-
shieldedInstanceConfig
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder shieldedInstanceConfig(@Nullable com.pulumi.core.Output<ClusterClusterAutoscalingAutoProvisioningDefaultsShieldedInstanceConfigArgs> shieldedInstanceConfig)
- Parameters:
shieldedInstanceConfig
- Shielded Instance options. Structure is documented below.- Returns:
- builder
-
shieldedInstanceConfig
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder shieldedInstanceConfig(ClusterClusterAutoscalingAutoProvisioningDefaultsShieldedInstanceConfigArgs shieldedInstanceConfig)
- Parameters:
shieldedInstanceConfig
- Shielded Instance options. Structure is documented below.- Returns:
- builder
-
upgradeSettings
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder upgradeSettings(@Nullable com.pulumi.core.Output<ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsArgs> upgradeSettings)
- Parameters:
upgradeSettings
- Specifies the upgrade settings for NAP created node pools. Structure is documented below.- Returns:
- builder
-
upgradeSettings
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder upgradeSettings(ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsArgs upgradeSettings)
- Parameters:
upgradeSettings
- Specifies the upgrade settings for NAP created node pools. Structure is documented below.- Returns:
- builder
-
build
public ClusterClusterAutoscalingAutoProvisioningDefaultsArgs build()
-
-