VM Migration v1 API - Class SchedulingNodeAffinity (2.5.0)

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

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
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
SchedulingNodeAffinityTypesOperator

Values

public RepeatedField<string> Values { get; }

Corresponds to the label values of Node resource.

Property Value
Type Description
RepeatedFieldstring