|
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
|
Avaliable Methods | |
| public method | get () |
| public method | new () |
| public method | list () |
The Com::Vmware::Vapi::Metadata::Metamodel::Package interface provides methods* to retrieve metamodel information about a package element in the interface definition language.
A package is a logical grouping of services, structures and enumerations. A package element describes the package. It contains the service elements, structure elements and enumeration elements that are grouped together.
Constant String::RESOURCE_TYPE # Resource type for package.
| public method Com::Vmware::Vapi::Metadata::Metamodel::Package::get | ( | ) |
Retrieves information about the package element corresponding to package_id .
| package_id | [REQUIRED] Identifier of the package element. The value must be an identifier for the resource type getQualifiedName(com.vmware.vapi.package). . The value must be str. |
| The | class Com::Vmware::Vapi::Metadata::Metamodel::PackageInfo instance that corresponds to package_id . The return type will be Com::Vmware::Vapi::Metadata::Metamodel::PackageInfo |
| Com::Vmware::Vapi::Std::Errors::NotFound | if the package element associated with package_id does not exist. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::Package::list | ( | ) |
Returns the identifiers for the packages elements that are contained in all the registered component elements.
| The | list of identifiers for the package elements that are contained in all the registered component elements. The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.package). The return type will be Array of str |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::Package::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code: