ClusterClusterAutoscalingAutoProvisioningDefaults constructor

const ClusterClusterAutoscalingAutoProvisioningDefaults({
  1. Input<String?>? bootDiskKmsKey,
  2. Input<int?>? diskSize,
  3. Input<String?>? diskType,
  4. Input<String?>? imageType,
  5. Input<ClusterClusterAutoscalingAutoProvisioningDefaultsManagement?>? management,
  6. Input<String?>? minCpuPlatform,
  7. Input<List<String>?>? oauthScopes,
  8. Input<String?>? serviceAccount,
  9. Input<ClusterClusterAutoscalingAutoProvisioningDefaultsShieldedInstanceConfig?>? shieldedInstanceConfig,
  10. Input<ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettings?>? upgradeSettings,
})

Creates a new ClusterClusterAutoscalingAutoProvisioningDefaults. 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 diskSize Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. Defaults to 100 diskType Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd', 'pd-balanced', or 'hyperdisk-balanced'). Defaults to hyperdisk-balanced if hyperdisk-balanced is supported and pd-balanced is not supported for the machine type; otherwise defaults to pd-balanced. imageType The default image type used by NAP once a new node pool is being created. Please note that according to the official documentation the value must be one of the COS_CONTAINERD, COS, UBUNTU_CONTAINERD, UBUNTU. NOTE : COS AND UBUNTU are deprecated as of GKE 1.24 management NodeManagement configuration for this NodePool. Structure is documented below. minCpuPlatform ) 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 serviceAccount to a non-default service account and grant IAM roles to that service account for only the resources that it needs. serviceAccount The email of the Google Cloud Platform Service Account to be used by the node VMs created by GKE Autopilot or NAP. shieldedInstanceConfig Shielded Instance options. Structure is documented below. upgradeSettings Specifies the upgrade settings for NAP created node pools

Implementation

const ClusterClusterAutoscalingAutoProvisioningDefaults({
  this.bootDiskKmsKey,
  this.diskSize,
  this.diskType,
  this.imageType,
  this.management,
  this.minCpuPlatform,
  this.oauthScopes,
  this.serviceAccount,
  this.shieldedInstanceConfig,
  this.upgradeSettings,
});