Class NodeGroup (0.8.0)

NodeGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
autoscaling_policy google.cloud.compute_v1.types.NodeGroupAutoscalingPolicy
Specifies how autoscaling should behave. This field is a member of oneof_ _autoscaling_policy.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format. This field is a member of oneof_ _creation_timestamp.
description str
An optional description of this resource. Provide this property when you create the resource. This field is a member of oneof_ _description.
fingerprint str
This field is a member of oneof_ _fingerprint.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This field is a member of oneof_ _id.
kind str
[Output Only] The type of the resource. Always compute#nodeGroup for node group. This field is a member of oneof_ _kind.
location_hint str
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. This field is a member of oneof_ _location_hint.
maintenance_policy google.cloud.compute_v1.types.NodeGroup.MaintenancePolicy
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. This field is a member of oneof_ _maintenance_policy.
maintenance_window google.cloud.compute_v1.types.NodeGroupMaintenanceWindow
This field is a member of oneof_ _maintenance_window.
name str
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. This field is a member of oneof_ _name.
node_template str
URL of the node template to create the node group from. This field is a member of oneof_ _node_template.
self_link str
[Output Only] Server-defined URL for the resource. This field is a member of oneof_ _self_link.
size int
[Output Only] The total number of nodes in the node group. This field is a member of oneof_ _size.
status google.cloud.compute_v1.types.NodeGroup.Status
This field is a member of oneof_ _status.
zone str
[Output Only] The name of the zone where the node group resides, such as us-central1-a. This field is a member of oneof_ _zone.

Classes

MaintenancePolicy

MaintenancePolicy(value)

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.

Status

Status(value)

API documentation for compute_v1.types.NodeGroup.Status class.