Class: Google::Apis::VmwareengineV1::Vcenter

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 vCenter Server management appliance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Vcenter

Returns a new instance of Vcenter.



3215
3216
3217
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3215

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)


3198
3199
3200
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3198

def fqdn
  @fqdn
end

#internal_ipString

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

Returns:

  • (String)


3203
3204
3205
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3203

def internal_ip
  @internal_ip
end

#stateString

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

Returns:

  • (String)


3208
3209
3210
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3208

def state
  @state
end

#versionString

Version of the appliance. Corresponds to the JSON property version

Returns:

  • (String)


3213
3214
3215
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3213

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3220
3221
3222
3223
3224
3225
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3220

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