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.



1123
1124
1125
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1123

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)


1106
1107
1108
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1106

def fqdn
  @fqdn
end

#internal_ipString

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

Returns:

  • (String)


1111
1112
1113
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1111

def internal_ip
  @internal_ip
end

#stateString

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

Returns:

  • (String)


1116
1117
1118
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1116

def state
  @state
end

#versionString

Version of the appliance. Corresponds to the JSON property version

Returns:

  • (String)


1121
1122
1123
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1121

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1128
1129
1130
1131
1132
1133
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1128

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