Class SchedulingNodeAffinity
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
Inheritance
System.Object
SchedulingNodeAffinity
Implements
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()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class SchedulingNodeAffinity : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Key
Corresponds to the label key of Node resource.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Operator__
Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
Declaration
[JsonProperty("operator")]
public virtual string Operator__ { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Values
Corresponds to the label values of Node resource.
Declaration
[JsonProperty("values")]
public virtual IList<string> Values { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |