Struct gapi_grpc::google::container::v1::AutoprovisioningNodePoolDefaults[][src]

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

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Fields

oauth_scopes: Vec<String>

Scopes that are used by NAP when creating node pools.

service_account: String

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

upgrade_settings: Option<UpgradeSettings>

Specifies the upgrade settings for NAP created node pools

management: Option<NodeManagement>

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

min_cpu_platform: 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.

disk_size_gb: 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: 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’

shielded_instance_config: Option<ShieldedInstanceConfig>

Shielded Instance options.

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

Trait Implementations

impl Clone for AutoprovisioningNodePoolDefaults[src]

impl Debug for AutoprovisioningNodePoolDefaults[src]

impl Default for AutoprovisioningNodePoolDefaults[src]

impl Message for AutoprovisioningNodePoolDefaults[src]

impl PartialEq<AutoprovisioningNodePoolDefaults> for AutoprovisioningNodePoolDefaults[src]

impl StructuralPartialEq for AutoprovisioningNodePoolDefaults[src]

Auto Trait Implementations

impl RefUnwindSafe for AutoprovisioningNodePoolDefaults

impl Send for AutoprovisioningNodePoolDefaults

impl Sync for AutoprovisioningNodePoolDefaults

impl Unpin for AutoprovisioningNodePoolDefaults

impl UnwindSafe for AutoprovisioningNodePoolDefaults

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]