Struct google_compute1::api::NodeGroup
source · pub struct NodeGroup {Show 16 fields
pub autoscaling_policy: Option<NodeGroupAutoscalingPolicy>,
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub fingerprint: Option<Vec<u8>>,
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 share_settings: Option<ShareSettings>,
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.
§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).
- add nodes node groups (none)
- aggregated list node groups (none)
- delete node groups (none)
- delete nodes node groups (none)
- get node groups (response)
- get iam policy node groups (none)
- insert node groups (request)
- list node groups (none)
- list nodes node groups (none)
- patch node groups (request)
- set iam policy node groups (none)
- set node template node groups (none)
- simulate maintenance event node groups (none)
- test iam permissions node groups (none)
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<Vec<u8>>
no description provided
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.
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.
Share-settings for the node group
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.