Class: Google::Apis::VmwareengineV1::Node

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb

Overview

Node in a cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Node

Returns a new instance of Node.



1997
1998
1999
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1997

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_core_countFixnum

Output only. Customized number of cores Corresponds to the JSON property customCoreCount

Returns:

  • (Fixnum)


1960
1961
1962
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1960

def custom_core_count
  @custom_core_count
end

#fqdnString

Output only. Fully qualified domain name of the node. Corresponds to the JSON property fqdn

Returns:

  • (String)


1965
1966
1967
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1965

def fqdn
  @fqdn
end

#internal_ipString

Output only. Internal IP address of the node. Corresponds to the JSON property internalIp

Returns:

  • (String)


1970
1971
1972
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1970

def internal_ip
  @internal_ip
end

#nameString

Output only. The resource name of this node. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/ resource_names. For example: projects/my-project/locations/us-central1-a/ privateClouds/my-cloud/clusters/my-cluster/nodes/my-node Corresponds to the JSON property name

Returns:

  • (String)


1978
1979
1980
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1978

def name
  @name
end

#node_type_idString

Output only. The canonical identifier of the node type (corresponds to the NodeType). For example: standard-72. Corresponds to the JSON property nodeTypeId

Returns:

  • (String)


1984
1985
1986
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1984

def node_type_id
  @node_type_id
end

#stateString

Output only. The state of the appliance. Corresponds to the JSON property state

Returns:

  • (String)


1989
1990
1991
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1989

def state
  @state
end

#versionString

Output only. The version number of the VMware ESXi management component in this cluster. Corresponds to the JSON property version

Returns:

  • (String)


1995
1996
1997
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1995

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2002
2003
2004
2005
2006
2007
2008
2009
2010
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2002

def update!(**args)
  @custom_core_count = args[:custom_core_count] if args.key?(:custom_core_count)
  @fqdn = args[:fqdn] if args.key?(:fqdn)
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
  @name = args[:name] if args.key?(:name)
  @node_type_id = args[:node_type_id] if args.key?(:node_type_id)
  @state = args[:state] if args.key?(:state)
  @version = args[:version] if args.key?(:version)
end