Class: Google::Cloud::VMMigration::V1::SchedulingNodeAffinity

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vmmigration/v1/vmmigration.rb

Overview

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

Defined Under Namespace

Modules: Operator

Instance Attribute Summary collapse

Instance Attribute Details

#key::String



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1916

class SchedulingNodeAffinity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible types of node selection operators. Valid operators are IN for
  # affinity and NOT_IN for anti-affinity.
  module Operator
    # An unknown, unexpected behavior.
    OPERATOR_UNSPECIFIED = 0

    # The node resource group should be in these resources affinity.
    IN = 1

    # The node resource group should not be in these resources affinity.
    NOT_IN = 2
  end
end

#operator::Google::Cloud::VMMigration::V1::SchedulingNodeAffinity::Operator



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1916

class SchedulingNodeAffinity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible types of node selection operators. Valid operators are IN for
  # affinity and NOT_IN for anti-affinity.
  module Operator
    # An unknown, unexpected behavior.
    OPERATOR_UNSPECIFIED = 0

    # The node resource group should be in these resources affinity.
    IN = 1

    # The node resource group should not be in these resources affinity.
    NOT_IN = 2
  end
end

#values::Array<::String>



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1916

class SchedulingNodeAffinity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible types of node selection operators. Valid operators are IN for
  # affinity and NOT_IN for anti-affinity.
  module Operator
    # An unknown, unexpected behavior.
    OPERATOR_UNSPECIFIED = 0

    # The node resource group should be in these resources affinity.
    IN = 1

    # The node resource group should not be in these resources affinity.
    NOT_IN = 2
  end
end