public sealed class SchedulingNodeAffinity : IMessage<SchedulingNodeAffinity>, IEquatable<SchedulingNodeAffinity>, IDeepCloneable<SchedulingNodeAffinity>, IBufferMessage, IMessage
Reference documentation and code samples for the VM Migration v1 API class SchedulingNodeAffinity.
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
Implements
IMessage<SchedulingNodeAffinity>, IEquatable<SchedulingNodeAffinity>, IDeepCloneable<SchedulingNodeAffinity>, IBufferMessage, IMessageNamespace
Google.Cloud.VMMigration.V1Assembly
Google.Cloud.VMMigration.V1.dll
Constructors
SchedulingNodeAffinity()
public SchedulingNodeAffinity()
SchedulingNodeAffinity(SchedulingNodeAffinity)
public SchedulingNodeAffinity(SchedulingNodeAffinity other)
Parameter | |
---|---|
Name | Description |
other | SchedulingNodeAffinity |
Properties
Key
public string Key { get; set; }
The label key of Node resource to reference.
Property Value | |
---|---|
Type | Description |
String |
Operator
public SchedulingNodeAffinity.Types.Operator Operator { get; set; }
The operator to use for the node resources specified in the values
parameter.
Property Value | |
---|---|
Type | Description |
SchedulingNodeAffinity.Types.Operator |
Values
public RepeatedField<string> Values { get; }
Corresponds to the label values of Node resource.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |