Compute Engine v1 API - Class NodeGroup (2.14.0)

public sealed class NodeGroup : IMessage<NodeGroup>, IEquatable<NodeGroup>, IDeepCloneable<NodeGroup>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class NodeGroup.

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.

Inheritance

object > NodeGroup

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NodeGroup()

public NodeGroup()

NodeGroup(NodeGroup)

public NodeGroup(NodeGroup other)
Parameter
NameDescription
otherNodeGroup

Properties

AutoscalingPolicy

public NodeGroupAutoscalingPolicy AutoscalingPolicy { get; set; }

Specifies how autoscaling should behave.

Property Value
TypeDescription
NodeGroupAutoscalingPolicy

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
string

Description

public string Description { get; set; }

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

Property Value
TypeDescription
string

Fingerprint

public string Fingerprint { get; set; }
Property Value
TypeDescription
string

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasLocationHint

public bool HasLocationHint { get; }

Gets whether the "location_hint" field is set

Property Value
TypeDescription
bool

HasMaintenancePolicy

public bool HasMaintenancePolicy { get; }

Gets whether the "maintenance_policy" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

HasNodeTemplate

public bool HasNodeTemplate { get; }

Gets whether the "node_template" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

HasSize

public bool HasSize { get; }

Gets whether the "size" field is set

Property Value
TypeDescription
bool

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
bool

HasZone

public bool HasZone { get; }

Gets whether the "zone" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

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

Property Value
TypeDescription
ulong

Kind

public string Kind { get; set; }

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

Property Value
TypeDescription
string

LocationHint

public string LocationHint { get; set; }

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.

Property Value
TypeDescription
string

MaintenancePolicy

public string MaintenancePolicy { get; set; }

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.

Property Value
TypeDescription
string

MaintenanceWindow

public NodeGroupMaintenanceWindow MaintenanceWindow { get; set; }
Property Value
TypeDescription
NodeGroupMaintenanceWindow

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
string

NodeTemplate

public string NodeTemplate { get; set; }

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

Property Value
TypeDescription
string
public string SelfLink { get; set; }

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

Property Value
TypeDescription
string

ShareSettings

public ShareSettings ShareSettings { get; set; }

Share-settings for the node group

Property Value
TypeDescription
ShareSettings

Size

public int Size { get; set; }

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

Property Value
TypeDescription
int

Status

public string Status { get; set; }

Check the Status enum for the list of possible values.

Property Value
TypeDescription
string

Zone

public string Zone { get; set; }

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

Property Value
TypeDescription
string