Class: Google::Apis::VmwareengineV1::Nsx

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

Details about a NSX Manager appliance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Nsx

Returns a new instance of Nsx.



2149
2150
2151
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2149

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

Instance Attribute Details

#fqdnString

Fully qualified domain name of the appliance. Corresponds to the JSON property fqdn

Returns:

  • (String)


2132
2133
2134
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2132

def fqdn
  @fqdn
end

#internal_ipString

Internal IP address of the appliance. Corresponds to the JSON property internalIp

Returns:

  • (String)


2137
2138
2139
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2137

def internal_ip
  @internal_ip
end

#stateString

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

Returns:

  • (String)


2142
2143
2144
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2142

def state
  @state
end

#versionString

Version of the appliance. Corresponds to the JSON property version

Returns:

  • (String)


2147
2148
2149
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2147

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2154
2155
2156
2157
2158
2159
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2154

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