Class ClusterClusterAutoscalingAutoProvisioningDefaultsArgs.Builder

    • 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
      • 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
      • 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
      • 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