Struct gapi_grpc::google::container::v1beta1::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>

The set of Google API scopes to be made available on all of the node VMs under the “default” service account.

The following scopes are recommended, but not required, and by default are not included:

If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.

service_account: String

The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the “default” service account is used.

upgrade_settings: Option<UpgradeSettings>

Upgrade settings control disruption and speed of the upgrade.

management: Option<NodeManagement>

NodeManagement configuration for this NodePool.

min_cpu_platform: String

Minimum CPU platform to be used by this instance. 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]