Compute Engine v1 API - Class NodeGroup (2.16.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
Name Description
other NodeGroup

Properties

AutoscalingPolicy

public NodeGroupAutoscalingPolicy AutoscalingPolicy { get; set; }

Specifies how autoscaling should behave.

Property Value
Type Description
NodeGroupAutoscalingPolicy

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
Type Description
string

Description

public string Description { get; set; }

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

Property Value
Type Description
string

Fingerprint

public string Fingerprint { get; set; }
Property Value
Type Description
string

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasLocationHint

public bool HasLocationHint { get; }

Gets whether the "location_hint" field is set

Property Value
Type Description
bool

HasMaintenanceInterval

public bool HasMaintenanceInterval { get; }

Gets whether the "maintenance_interval" field is set

Property Value
Type Description
bool

HasMaintenancePolicy

public bool HasMaintenancePolicy { get; }

Gets whether the "maintenance_policy" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasNodeTemplate

public bool HasNodeTemplate { get; }

Gets whether the "node_template" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasSize

public bool HasSize { get; }

Gets whether the "size" field is set

Property Value
Type Description
bool

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
Type Description
bool

HasZone

public bool HasZone { get; }

Gets whether the "zone" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

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

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

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

Property Value
Type Description
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
Type Description
string

MaintenanceInterval

public string MaintenanceInterval { get; set; }

Specifies the frequency of planned maintenance events. The accepted values are: AS_NEEDED and RECURRENT. Check the MaintenanceInterval enum for the list of possible values.

Property Value
Type Description
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
Type Description
string

MaintenanceWindow

public NodeGroupMaintenanceWindow MaintenanceWindow { get; set; }
Property Value
Type Description
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
Type Description
string

NodeTemplate

public string NodeTemplate { get; set; }

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

Property Value
Type Description
string
public string SelfLink { get; set; }

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

Property Value
Type Description
string

ShareSettings

public ShareSettings ShareSettings { get; set; }

Share-settings for the node group

Property Value
Type Description
ShareSettings

Size

public int Size { get; set; }

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

Property Value
Type Description
int

Status

public string Status { get; set; }

Check the Status enum for the list of possible values.

Property Value
Type Description
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
Type Description
string