Struct googapis::google::cloud::compute::v1::NodeGroup[][src]

pub struct NodeGroup {
Show 15 fields pub autoscaling_policy: Option<NodeGroupAutoscalingPolicy>, pub creation_timestamp: Option<String>, pub description: Option<String>, pub fingerprint: Option<String>, pub id: Option<u64>, 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>,
}
Expand description

Represents 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.

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>id: Option<u64>

[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. Check the MaintenancePolicy enum for the list of possible values.

maintenance_window: Option<NodeGroupMaintenanceWindow>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>

Check the Status enum for the list of possible values.

zone: Option<String>

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

Implementations

Returns the value of id, or the default value if id is unset.

Returns the value of kind, or the default value if kind is unset.

Returns the value of name, or the default value if name is unset.

Returns the value of size, or the default value if size is unset.

Returns the value of zone, or the default value if zone is unset.

Returns the value of creation_timestamp, or the default value if creation_timestamp is unset.

Returns the value of status, or the default value if status is unset.

Returns the value of fingerprint, or the default value if fingerprint is unset.

Returns the value of node_template, or the default value if node_template is unset.

Returns the value of location_hint, or the default value if location_hint is unset.

Returns the value of description, or the default value if description is unset.

Returns the value of self_link, or the default value if self_link is unset.

Returns the value of maintenance_policy, or the default value if maintenance_policy is unset.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more