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
Classes | List of all members
Com::Vmware::Vcenter::Vm::Hardware::Boot Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Vm::Hardware::Boot:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  CreateSpec
 
class  Info
 
class  NetworkProtocol
 
class  Type
 
class  UpdateSpec
 

Avaliable Methods

public method get ()
 
public method new ()
 
public method update ()
 

Detailed Description

The Com::Vmware::Vcenter::Vm::Hardware::Boot interface provides methods for configuring the settings used when booting a virtual machine.

Member Function Documentation

public method Com::Vmware::Vcenter::Vm::Hardware::Boot::get ( )

Returns the boot-related settings of a virtual machine.

Parameters
vm[REQUIRED] Virtual machine identifier. The value must be an identifier for the resource type getQualifiedName(VirtualMachine). . The value must be str.
Return values
Boot-relatedsettings of the virtual machine. The return type will be Com::Vmware::Vcenter::Vm::Hardware::Boot::Info
Exceptions
Com::Vmware::Vapi::Std::Errors::Errorif the system reports an error while responding to the request.
Com::Vmware::Vapi::Std::Errors::NotFoundif the virtual machine is not found.
Com::Vmware::Vapi::Std::Errors::ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
Com::Vmware::Vapi::Std::Errors::ServiceUnavailableif the system is unable to communicate with a service to complete the request.
Com::Vmware::Vapi::Std::Errors::Unauthenticatedif the user can not be authenticated.
Com::Vmware::Vapi::Std::Errors::Unauthorizedif the user doesn't have the required privileges.
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::Boot::new ( )

Constructor to initialize the object

Parameters
api_provider- protocol connection to use with stubs created by this factory
StubConfig- Stub's additional configuration
Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::Boot::update ( )

Updates the boot-related settings of a virtual machine.

Parameters
vm[REQUIRED] Virtual machine identifier. The value must be an identifier for the resource type getQualifiedName(VirtualMachine). . The value must be str.
spec[REQUIRED] Specification for updating the boot-related settings of the virtual machine. . The value must be Com::Vmware::Vcenter::Vm::Hardware::Boot::UpdateSpec.
Exceptions
Com::Vmware::Vapi::Std::Errors::Errorif the system reports an error while responding to the request.
Com::Vmware::Vapi::Std::Errors::NotFoundif the virtual machine is not found.
Com::Vmware::Vapi::Std::Errors::InvalidArgumentif one of the provided settings is not permitted; for example, specifying a negative value for delay .
Com::Vmware::Vapi::Std::Errors::ResourceBusyif the virtual machine is busy performing another operation.
Com::Vmware::Vapi::Std::Errors::ResourceInaccessibleif the virtual machine's configuration state cannot be accessed.
Com::Vmware::Vapi::Std::Errors::ServiceUnavailableif the system is unable to communicate with a service to complete the request.
Com::Vmware::Vapi::Std::Errors::Unauthenticatedif the user can not be authenticated.
Com::Vmware::Vapi::Std::Errors::Unauthorizedif the user doesn't have the required privileges.
Code:
click to view

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