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.



2264
2265
2266
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2264

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)


2247
2248
2249
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2247

def fqdn
  @fqdn
end

#internal_ipString

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

Returns:

  • (String)


2252
2253
2254
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2252

def internal_ip
  @internal_ip
end

#stateString

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

Returns:

  • (String)


2257
2258
2259
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2257

def state
  @state
end

#versionString

Version of the appliance. Corresponds to the JSON property version

Returns:

  • (String)


2262
2263
2264
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2262

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2269
2270
2271
2272
2273
2274
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 2269

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