Class: Google::Apis::VmwareengineV1::Node
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::Node
- 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
-
#custom_core_count ⇒ Fixnum
Output only.
-
#fqdn ⇒ String
Output only.
-
#internal_ip ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#node_type_id ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Node
constructor
A new instance of Node.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Node
Returns a new instance of Node.
2112 2113 2114 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_core_count ⇒ Fixnum
Output only. Customized number of cores
Corresponds to the JSON property customCoreCount
2075 2076 2077 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2075 def custom_core_count @custom_core_count end |
#fqdn ⇒ String
Output only. Fully qualified domain name of the node.
Corresponds to the JSON property fqdn
2080 2081 2082 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2080 def fqdn @fqdn end |
#internal_ip ⇒ String
Output only. Internal IP address of the node.
Corresponds to the JSON property internalIp
2085 2086 2087 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2085 def internal_ip @internal_ip end |
#name ⇒ String
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
2093 2094 2095 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2093 def name @name end |
#node_type_id ⇒ String
Output only. The canonical identifier of the node type (corresponds to the
NodeType
). For example: standard-72.
Corresponds to the JSON property nodeTypeId
2099 2100 2101 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2099 def node_type_id @node_type_id end |
#state ⇒ String
Output only. The state of the appliance.
Corresponds to the JSON property state
2104 2105 2106 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2104 def state @state end |
#version ⇒ String
Output only. The version number of the VMware ESXi management component in
this cluster.
Corresponds to the JSON property version
2110 2111 2112 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2110 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2117 2118 2119 2120 2121 2122 2123 2124 2125 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2117 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 |