AutoprovisioningNodePoolDefaults class
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
Constructors
-
AutoprovisioningNodePoolDefaults({Input<
String> ? bootDiskKmsKey, Input<int> ? diskSizeGb, Input<String> ? diskType, Input<String> ? imageType, Input<bool> ? insecureKubeletReadonlyPortEnabled, Input<NodeManagement> ? management, Input<String> ? minCpuPlatform, Input<List< ? oauthScopes, Input<String> >String> ? serviceAccount, Input<ShieldedInstanceConfig> ? shieldedInstanceConfig, Input<UpgradeSettings> ? upgradeSettings}) -
Creates a new AutoprovisioningNodePoolDefaults.
bootDiskKmsKeyThe 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-encryptiondiskSizeGbSize of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.diskTypeType of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'imageTypeThe image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.insecureKubeletReadonlyPortEnabledEnable or disable Kubelet read only port.managementSpecifies the node management options for NAP created node-pools.minCpuPlatformDeprecated. 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 minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read how to specify min CPU platform. This field is deprecated, min_cpu_platform should be specified usingcloud.google.com/requested-min-cpu-platformlabel selector on the pod. To unset the min cpu platform field pass "automatic" as field value.oauthScopesScopes that are used by NAP when creating node pools.serviceAccountThe Google Cloud Platform Service Account to be used by the node VMs.shieldedInstanceConfigShielded Instance options.upgradeSettingsSpecifies the upgrade settings for NAP created node poolsconst -
AutoprovisioningNodePoolDefaults.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bootDiskKmsKey
→ Input<
String> ? -
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-encryptionfinal -
diskSizeGb
→ Input<
int> ? -
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
final
-
diskType
→ Input<
String> ? -
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imageType
→ Input<
String> ? -
The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
final
-
insecureKubeletReadonlyPortEnabled
→ Input<
bool> ? -
Enable or disable Kubelet read only port.
final
-
management
→ Input<
NodeManagement> ? -
Specifies the node management options for NAP created node-pools.
final
-
minCpuPlatform
→ Input<
String> ? -
Deprecated. 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 minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read how to specify min CPU platform. This field is deprecated, min_cpu_platform should be specified using
cloud.google.com/requested-min-cpu-platformlabel selector on the pod. To unset the min cpu platform field pass "automatic" as field value.final -
oauthScopes
→ Input<
List< ?String> > -
Scopes that are used by NAP when creating node pools.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
→ Input<
String> ? -
The Google Cloud Platform Service Account to be used by the node VMs.
final
-
shieldedInstanceConfig
→ Input<
ShieldedInstanceConfig> ? -
Shielded Instance options.
final
-
upgradeSettings
→ Input<
UpgradeSettings> ? -
Specifies the upgrade settings for NAP created node pools
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