Struct google_compute1::api::NodeGroup[][src]

pub struct NodeGroup {
    pub autoscaling_policy: Option<NodeGroupAutoscalingPolicy>,
    pub creation_timestamp: Option<String>,
    pub description: Option<String>,
    pub fingerprint: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub location_hint: Option<String>,
    pub maintenance_policy: Option<String>,
    pub maintenance_window: Option<NodeGroupMaintenanceWindow>,
    pub name: Option<String>,
    pub node_template: Option<String>,
    pub self_link: Option<String>,
    pub size: Option<i32>,
    pub status: Option<String>,
    pub zone: Option<String>,
}

Represent a sole-tenant Node Group resource.

A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes. (== resource_for {$api_version}.nodeGroups ==)

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

autoscaling_policy: Option<NodeGroupAutoscalingPolicy>

Specifies how autoscaling should behave.

creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

description: Option<String>

An optional description of this resource. Provide this property when you create the resource.

fingerprint: Option<String>

no description provided

id: Option<String>

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

kind: Option<String>

[Output Only] The type of the resource. Always compute#nodeGroup for node group.

location_hint: Option<String>

An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.

maintenance_policy: Option<String>

Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.

maintenance_window: Option<NodeGroupMaintenanceWindow>

no description provided

name: Option<String>

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

node_template: Option<String>

URL of the node template to create the node group from.

self_link: Option<String>

[Output Only] Server-defined URL for the resource.

size: Option<i32>

[Output Only] The total number of nodes in the node group.

status: Option<String>

no description provided

zone: Option<String>

[Output Only] The name of the zone where the node group resides, such as us-central1-a.

Trait Implementations

impl Clone for NodeGroup[src]

impl Debug for NodeGroup[src]

impl Default for NodeGroup[src]

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

impl RequestValue for NodeGroup[src]

impl Resource for NodeGroup[src]

impl ResponseResult for NodeGroup[src]

impl Serialize for NodeGroup[src]

Auto Trait Implementations

impl RefUnwindSafe for NodeGroup[src]

impl Send for NodeGroup[src]

impl Sync for NodeGroup[src]

impl Unpin for NodeGroup[src]

impl UnwindSafe for NodeGroup[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.