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
List of all members
Com::Vmware::Vapi::Metadata::Metamodel::Service::Operation Class Reference
Inheritance diagram for Com::Vmware::Vapi::Metadata::Metamodel::Service::Operation:
Com::Vmware::Vapi::Bindings::VapiInterface

Avaliable Methods

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

Detailed Description

The Com::Vmware::Vapi::Metadata::Metamodel::Service::Operation interface provides methods to retrieve metamodel information of an operation element in the interface definition language. Constant String::RESOURCE_TYPE # Resource type for operation element.

Member Function Documentation

public method Com::Vmware::Vapi::Metadata::Metamodel::Service::Operation::get ( )

Retrieves the metamodel information about an operation element corresponding to operation_id contained in the service element corresponding to service_id .

Parameters
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.
operation_id[REQUIRED] Identifier of the operation element. The value must be an identifier for the resource type getQualifiedName(com.vmware.vapi.operation). . The value must be str.
Return values
Theclass Com::Vmware::Vapi::Metadata::Metamodel::OperationInfo instance that corresponds to operation_id defined in scope service_id . The return type will be Com::Vmware::Vapi::Metadata::Metamodel::OperationInfo
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif the service element associated with service_id does not exist in any of the package elements.
Com::Vmware::Vapi::Std::Errors::NotFoundif the operation element associated with operation_id does not exist in the service element.
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::Service::Operation::list ( )

Returns the identifiers for the operation elements that are defined in the scope of service_id .

Parameters
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.
Return values
Thelist of identifiers for the operation elements that are defined in the scope of service_id . The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.operation). The return type will be Array of str
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif the service element associated with service_id does not exist in any of the package elements.
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::Service::Operation::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: