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::Inventory::Network Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Inventory::Network:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  Info
 

Avaliable Methods

public method new ()
 
public method find ()
 

Detailed Description

The Com::Vmware::Vcenter::Inventory::Network interface provides methods to retrieve information about vCenter Server networks.

Member Function Documentation

public method Com::Vmware::Vcenter::Inventory::Network::find ( )

Returns network information for the specified vCenter Server networks. The key in the result* map is the network identifier and the value in the map is the network information. Note: Privileges required for this operation are System.Read.

Parameters
networks[REQUIRED] Identifiers of the vCenter Server networks for which information will be returned. The value must be an identifier for the resource type getQualifiedName(Network). . The value must be Array of str.
Return values
Networkinformation for the specified vCenter Server networks. The key in the result* map is the network identifier and the value in the map is the network information. The value will be an identifier for the resource type getQualifiedName(Network). The return type will be Dictionary of str and Com::Vmware::Vcenter::Inventory::Network::Info or None
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif no datastore can be found for one or more of the vCenter Server network identifiers in networks
Com::Vmware::Vapi::Std::Errors::Unauthorizedif you do not have all of the privileges described as follows:
  • Method execution requires System.Read .
  • The resource Network referenced by the parameter networks requires System.Read .
Code:
click to view
public method Com::Vmware::Vcenter::Inventory::Network::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

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