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::Hardware::Disk::VmdkCreateSpec Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec:

Avaliable Methods

public method set_capacity ()
 
public method get_capacity ()
 
public method set_name ()
 
public method new ()
 
public method get_name ()
 

Detailed Description

The Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec class provides a specification for creating a new VMDK file to be used as a backing for a virtual disk. The virtual disk will be stored in the same directory as the virtual machine's configuration file.

Member Function Documentation

public method Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec::get_capacity ( )

Gets the value of 'capacity' property.

Return values
capacity- The current value of the field. Capacity of the virtual disk backing in bytes. Optional#
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec::get_name ( )

Gets the value of 'name' property.

Return values
name- The current value of the field. Base name of the VMDK file. The name should not include the '.vmdk' file extension. Optional#
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec::new ( )

Constructor to initialize the Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec::set_capacity ( )

Sets the given value for 'capacity' property.

Parameters
capacity- New value for the field. Capacity of the virtual disk backing in bytes.
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::Disk::VmdkCreateSpec::set_name ( )

Sets the given value for 'name' property.

Parameters
name- New value for the field. Base name of the VMDK file. The name should not include the '.vmdk' file extension.
Code:
click to view

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