Class: Google::Apis::VmmigrationV1::VmUtilizationInfo
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::VmUtilizationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
Utilization information of a single VM.
Instance Attribute Summary collapse
-
#utilization ⇒ Google::Apis::VmmigrationV1::VmUtilizationMetrics
Utilization metrics values for a single VM.
-
#vm_id ⇒ String
The VM's ID in the source.
-
#vmware_vm_details ⇒ Google::Apis::VmmigrationV1::VmwareVmDetails
VmwareVmDetails describes a VM in vCenter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmUtilizationInfo
constructor
A new instance of VmUtilizationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmUtilizationInfo
Returns a new instance of VmUtilizationInfo.
4480 4481 4482 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#utilization ⇒ Google::Apis::VmmigrationV1::VmUtilizationMetrics
Utilization metrics values for a single VM.
Corresponds to the JSON property utilization
4468 4469 4470 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4468 def utilization @utilization end |
#vm_id ⇒ String
The VM's ID in the source.
Corresponds to the JSON property vmId
4473 4474 4475 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4473 def vm_id @vm_id end |
#vmware_vm_details ⇒ Google::Apis::VmmigrationV1::VmwareVmDetails
VmwareVmDetails describes a VM in vCenter.
Corresponds to the JSON property vmwareVmDetails
4478 4479 4480 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4478 def vmware_vm_details @vmware_vm_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4485 4486 4487 4488 4489 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4485 def update!(**args) @utilization = args[:utilization] if args.key?(:utilization) @vm_id = args[:vm_id] if args.key?(:vm_id) @vmware_vm_details = args[:vmware_vm_details] if args.key?(:vmware_vm_details) end |