Class SchedulingNodeAffinity
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class SchedulingNodeAffinity : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
Corresponds to the label key of Node resource.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
string |
Values
Corresponds to the label values of Node resource.
Declaration
[JsonProperty("values")]
public virtual IList<string> Values { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |