Class NodeGroup
Represent 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
System.Object
NodeGroup
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class NodeGroup : IDirectResponseSchema
Properties
AutoscalingPolicy
Specifies how autoscaling should behave.
Declaration
[JsonProperty("autoscalingPolicy")]
public virtual NodeGroupAutoscalingPolicy AutoscalingPolicy { get; set; }
Property Value
CreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Fingerprint
Declaration
[JsonProperty("fingerprint")]
public virtual string Fingerprint { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Id
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.UInt64> |
|
Kind
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type |
Description |
| System.String |
|
LocationHint
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.
Declaration
[JsonProperty("locationHint")]
public virtual string LocationHint { get; set; }
Property Value
| Type |
Description |
| System.String |
|
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.
Declaration
[JsonProperty("maintenancePolicy")]
public virtual string MaintenancePolicy { get; set; }
Property Value
| Type |
Description |
| System.String |
|
MaintenanceWindow
Declaration
[JsonProperty("maintenanceWindow")]
public virtual NodeGroupMaintenanceWindow MaintenanceWindow { get; set; }
Property Value
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
NodeTemplate
URL of the node template to create the node group from.
Declaration
[JsonProperty("nodeTemplate")]
public virtual string NodeTemplate { get; set; }
Property Value
| Type |
Description |
| System.String |
|
SelfLink
[Output Only] Server-defined URL for the resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Size
[Output Only] The total number of nodes in the node group.
Declaration
[JsonProperty("size")]
public virtual int? Size { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
Status
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Zone
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Implements