VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Vcenter::VM::Summary Class Reference
Inheritance diagram for Com::Vmware::Vcenter::VM::Summary:

Avaliable Methods

public method set_cpu_count ()
 
public method set_vm ()
 
public method get_power_state ()
 
public method set_name ()
 
public method set_power_state ()
 
public method get_cpu_count ()
 
public method get_memory_size_MiB ()
 
public method get_vm ()
 
public method new ()
 
public method get_name ()
 
public method set_memory_size_MiB ()
 

Detailed Description

The Com::Vmware::Vcenter::VM::Summary class contains commonly used information about a virtual machine.

Member Function Documentation

public method Com::Vmware::Vcenter::VM::Summary::get_cpu_count ( )

Gets the value of 'cpu_count' property.

Return values
cpu_count- The current value of the field. Number of CPU cores. Optional#
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::get_memory_size_MiB ( )

Gets the value of 'memory_size_MiB' property.

Return values
memory_size_MiB- The current value of the field. Memory size in mebibytes. Optional#
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::get_name ( )

Gets the value of 'name' property.

Return values
name- The current value of the field. Name of the Virtual machine. String#
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::get_power_state ( )

Gets the value of 'power_state' property.

Return values
power_state- The current value of the field. Power state of the virtual machine. State#
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::get_vm ( )

Gets the value of 'vm' property.

Return values
vm- The current value of the field. Identifier of the virtual machine. ID#
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::new ( )

Constructor to initialize the Com::Vmware::Vcenter::VM::Summary structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::set_cpu_count ( )

Sets the given value for 'cpu_count' property.

Parameters
cpu_count- New value for the field. Number of CPU cores.
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::set_memory_size_MiB ( )

Sets the given value for 'memory_size_MiB' property.

Parameters
memory_size_MiB- New value for the field. Memory size in mebibytes.
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::set_name ( )

Sets the given value for 'name' property.

Parameters
name- New value for the field. Name of the Virtual machine.
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::set_power_state ( )

Sets the given value for 'power_state' property.

Parameters
power_state- New value for the field. Power state of the virtual machine.
Code:
click to view
public method Com::Vmware::Vcenter::VM::Summary::set_vm ( )

Sets the given value for 'vm' property.

Parameters
vm- New value for the field. Identifier of the virtual machine.
Code:
click to view

The documentation for this class was generated from the following file: