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::Appliance::Networking::Interfaces Class Reference
Inheritance diagram for Com::Vmware::Appliance::Networking::Interfaces:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  InterfaceInfo
 
class  InterfaceStatus
 

Avaliable Methods

public method get ()
 
public method new ()
 
public method list ()
 

Detailed Description

Com::Vmware::Appliance::Networking::Interfaces interface provides methods Provides information about network interface.

Member Function Documentation

public method Com::Vmware::Appliance::Networking::Interfaces::get ( )

Get information about a particular network interface.

Parameters
interface_name[REQUIRED] Network interface, for example, "nic0". The value must be an identifier for the resource type getQualifiedName(com.vmware.appliance.networking.interfaces). . The value must be str.
Return values
Networkinterface information. The return type will be Com::Vmware::Appliance::Networking::Interfaces::InterfaceInfo
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Networking::Interfaces::list ( )

Get list of available network interfaces, including those that are not yet configured.

Return values
Listof InterfaceInfo structures. The return type will be Array of Com::Vmware::Appliance::Networking::Interfaces::InterfaceInfo
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Networking::Interfaces::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: