Class NodeGroup (1.0.0)

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

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
Boolean

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
Boolean

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
TypeDescription
Boolean

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasLocationHint

public bool HasLocationHint { get; }

Gets whether the "location_hint" field is set

Property Value
TypeDescription
Boolean

HasMaintenancePolicy

public bool HasMaintenancePolicy { get; }

Gets whether the "maintenance_policy" field is set

Property Value
TypeDescription
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasNodeTemplate

public bool HasNodeTemplate { get; }

Gets whether the "node_template" field is set

Property Value
TypeDescription
Boolean
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
Boolean

HasSize

public bool HasSize { get; }

Gets whether the "size" field is set

Property Value
TypeDescription
Boolean

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
Boolean

HasZone

public bool HasZone { get; }

Gets whether the "zone" field is set

Property Value
TypeDescription
Boolean

Id

public ulong Id { get; set; }

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

Property Value
TypeDescription
UInt64

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

Size

public int Size { get; set; }

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

Property Value
TypeDescription
Int32

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