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::Vapi::Metadata::Cli::Command Class Reference
Inheritance diagram for Com::Vmware::Vapi::Metadata::Cli::Command:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  FormatterType
 
class  GenericType
 
class  Identity
 
class  Info
 
class  OptionInfo
 
class  OutputFieldInfo
 
class  OutputInfo
 

Avaliable Methods

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

Detailed Description

The Com::Vmware::Vapi::Metadata::Cli::Command interface provides methods to get information about command line interface (CLI) commands.

Member Function Documentation

public method Com::Vmware::Vapi::Metadata::Cli::Command::fingerprint ( )

Returns the aggregate fingerprint of all the command metadata from all the metadata sources.

The fingerprint provides clients an efficient way to check if the metadata for commands has been modified on the server.

Return values
Fingerprintof all the command metadata present on the server. The return type will be String
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Cli::Command::get ( )

Retrieves information about a command including information about how to execute that command.

Parameters
identity[REQUIRED] Identifier of the command for which to retreive information. . The value must be Com::Vmware::Vapi::Metadata::Cli::Command::Identity.
Return values
Informationabout the command including information about how to execute that command. The return type will be Com::Vmware::Vapi::Metadata::Cli::Command::Info
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif a command corresponding to identity doesn't exist.
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Cli::Command::list ( )

Returns the identifiers of all commands, or commands in a specific namespace.

Parameters
path[OPTIONAL] The dot-separated path of the namespace for which command identifiers should be returned. If null identifiers of all commands registered with the infrastructure will be returned. . The value must be String or None.
Return values
Identifiersof the requested commands. The return type will be Array of Com::Vmware::Vapi::Metadata::Cli::Command::Identity
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif a namespace corresponding to path doesn't exist.
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Cli::Command::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: