Backup and DR Service v1 API - Class Scheduling.Types.NodeAffinity (2.0.0)

public sealed class Scheduling.Types.NodeAffinity : IMessage<Scheduling.Types.NodeAffinity>, IEquatable<Scheduling.Types.NodeAffinity>, IDeepCloneable<Scheduling.Types.NodeAffinity>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API class Scheduling.Types.NodeAffinity.

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Inheritance

object > Scheduling.Types.NodeAffinity

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

NodeAffinity()

public NodeAffinity()

NodeAffinity(NodeAffinity)

public NodeAffinity(Scheduling.Types.NodeAffinity other)
Parameter
Name Description
other SchedulingTypesNodeAffinity

Properties

HasKey

public bool HasKey { get; }

Gets whether the "key" field is set

Property Value
Type Description
bool

HasOperator

public bool HasOperator { get; }

Gets whether the "operator" field is set

Property Value
Type Description
bool

Key

public string Key { get; set; }

Optional. Corresponds to the label key of Node resource.

Property Value
Type Description
string

Operator

public Scheduling.Types.NodeAffinity.Types.Operator Operator { get; set; }

Optional. Defines the operation of node selection.

Property Value
Type Description
SchedulingTypesNodeAffinityTypesOperator

Values

public RepeatedField<string> Values { get; }

Optional. Corresponds to the label values of Node resource.

Property Value
Type Description
RepeatedFieldstring