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

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Files Functions
List of all members
Com::Vmware::Vapi::Std::Errors::NotFound Class Reference
Inheritance diagram for Com::Vmware::Vapi::Std::Errors::NotFound:

## Avaliable Methods
public method | new ()

## Detailed Description

The `Com::Vmware::Vapi::Std::Errors::NotFound` error indicates that a specified element could not be found.

Examples:

- Invoke the method to retrieve information about a virtual machine, passing an id that does not identify an existing virtual machine.
- Invoke the method to modify the configuration of a virtual nic, passing an id that does not identify an existing virtual nic in the specified virtual machine.
- Invoke the method to remove a vswitch, passing an id that does not identify an existing vswitch.

## Member Function Documentation

public method Com::Vmware::Vapi::Std::Errors::NotFound::new | ( |  | ) |

Constructor to initialize the Com::Vmware::Vapi::Std::Errors::NotFound structure

Return values

  Blessed | object

Code:
click to view
# Number of lines of code in new: 14
sub new {
my ($class, %args) = @_;
$class = ref($class) || $class;
my $validatorList = [];
my $self = $class->SUPER::new('validator_list' => $validatorList, %args);
$self->set_binding_class('binding_class' => 'Com::Vmware::Vapi::Std::Errors::NotFound');
$self->set_binding_name('name' => 'com.vmware.vapi.std.errors.not_found');
bless $self, $class;
return $self;
}

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

- Com/Vmware/Vapi/Std/Errors/NotFound.pm