Class SchedulingNodeAffinity (1.0.0)

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

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

Inheritance

Object > SchedulingNodeAffinity

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

SchedulingNodeAffinity()

public SchedulingNodeAffinity()

SchedulingNodeAffinity(SchedulingNodeAffinity)

public SchedulingNodeAffinity(SchedulingNodeAffinity other)
Parameter
NameDescription
otherSchedulingNodeAffinity

Properties

Key

public string Key { get; set; }

The label key of Node resource to reference.

Property Value
TypeDescription
String

Operator

public SchedulingNodeAffinity.Types.Operator Operator { get; set; }

The operator to use for the node resources specified in the values parameter.

Property Value
TypeDescription
SchedulingNodeAffinity.Types.Operator

Values

public RepeatedField<string> Values { get; }

Corresponds to the label values of Node resource.

Property Value
TypeDescription
RepeatedField<String>