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.
4462 4463 4464 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4462 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
4450 4451 4452 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4450 def utilization @utilization end |
#vm_id ⇒ String
The VM's ID in the source.
Corresponds to the JSON property vmId
4455 4456 4457 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4455 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
4460 4461 4462 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4460 def vmware_vm_details @vmware_vm_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4467 4468 4469 4470 4471 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4467 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 |