Struct google_container1::api::AutoprovisioningNodePoolDefaults[][src]

pub struct AutoprovisioningNodePoolDefaults {
    pub boot_disk_kms_key: Option<String>,
    pub disk_size_gb: Option<i32>,
    pub disk_type: Option<String>,
    pub management: Option<NodeManagement>,
    pub min_cpu_platform: Option<String>,
    pub oauth_scopes: Option<Vec<String>>,
    pub service_account: Option<String>,
    pub shielded_instance_config: Option<ShieldedInstanceConfig>,
    pub upgrade_settings: Option<UpgradeSettings>,
}

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

This type is not used in any activity, and only used as part of another schema.

Fields

boot_disk_kms_key: Option<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-encryption

disk_size_gb: Option<i32>

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.

disk_type: Option<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'

management: Option<NodeManagement>

Specifies the node management options for NAP created node-pools.

min_cpu_platform: Option<String>

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 To unset the min cpu platform field pass "automatic" as field value.

oauth_scopes: Option<Vec<String>>

Scopes that are used by NAP when creating node pools.

service_account: Option<String>

The Google Cloud Platform Service Account to be used by the node VMs.

shielded_instance_config: Option<ShieldedInstanceConfig>

Shielded Instance options.

upgrade_settings: Option<UpgradeSettings>

Specifies the upgrade settings for NAP created node pools

Trait Implementations

impl Clone for AutoprovisioningNodePoolDefaults[src]

impl Debug for AutoprovisioningNodePoolDefaults[src]

impl Default for AutoprovisioningNodePoolDefaults[src]

impl<'de> Deserialize<'de> for AutoprovisioningNodePoolDefaults[src]

impl Part for AutoprovisioningNodePoolDefaults[src]

impl Serialize for AutoprovisioningNodePoolDefaults[src]

Auto Trait Implementations

impl RefUnwindSafe for AutoprovisioningNodePoolDefaults[src]

impl Send for AutoprovisioningNodePoolDefaults[src]

impl Sync for AutoprovisioningNodePoolDefaults[src]

impl Unpin for AutoprovisioningNodePoolDefaults[src]

impl UnwindSafe for AutoprovisioningNodePoolDefaults[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.