|
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::Structure interface providers methods* to retrieve metamodel information about a structure element in the interface definition language. Constant String::RESOURCE_TYPE # Resource type for structure.
| public method Com::Vmware::Vapi::Metadata::Metamodel::Structure::get | ( | ) |
Retrieves information about the structure element corresponding to structure_id .
The class Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo contains the metamodel information about the structure element. It contains information about all the field elements and enumeration elements contained in this structure element.
| structure_id | [REQUIRED] Identifier of the structure element. The value must be an identifier for the resource type getQualifiedName(com.vmware.vapi.structure). . The value must be str. |
| The | class Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo instance that corresponds to structure_id . The return type will be Com::Vmware::Vapi::Metadata::Metamodel::StructureInfo |
| Com::Vmware::Vapi::Std::Errors::NotFound | if the structure element associated with structure_id is not contained in any of the package elements or service elements. |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::Structure::list | ( | ) |
Returns the identifiers for the structure elements that are contained in all the package elements and service elements.
| The | list of identifiers for the structure elements. The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.structure). The return type will be Array of str |
Code:
| public method Com::Vmware::Vapi::Metadata::Metamodel::Structure::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: