|
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::Service interface provides methods* to retrieve metamodel information about a service element in the interface definition language.
A service is a logical grouping of operations that operate on some entity. A service element describes a service. It contains operation elements that describe the operations grouped in the service. It also contains structure elements and enumeration elements corresponding to the structures and enumerations defined in the service.
Constant String::RESOURCE_TYPE # Resource type for service.
| public method Com::Vmware::Vapi::Metadata::Metamodel::Service::get | ( | ) |
Retrieves information about the service element corresponding to service_id .
The class Com::Vmware::Vapi::Metadata::Metamodel::ServiceInfo contains the metamodel information for the operation elements, structure elements and enumeration elements contained in the service element.
| service_id | [REQUIRED] Identifier of the service element. The value must be an identifier for the resource type getQualifiedName(com.vmware.vapi.service). . The value must be str. |
| The | class Com::Vmware::Vapi::Metadata::Metamodel::ServiceInfo instance that corresponds to service_id The return type will be Com::Vmware::Vapi::Metadata::Metamodel::ServiceInfo |
| Com::Vmware::Vapi::Std::Errors::NotFound | if the service element associated with service_id is not registered with the infrastructure. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::Service::list | ( | ) |
Returns the identifiers for the service elements that are currently registered with the infrastructure.
The list of service elements is an aggregate list of all the service elements contained in all the package elements.
| The | list of identifiers for the service elements that are currently registered with the infrastructure. The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.service). The return type will be Array of str |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::Service::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: