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

Avaliable Methods

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

Detailed Description

The Com::Vmware::Vapi::Metadata::Privilege::Package interface provides methods* to retrieve privilege information of a package element.

A package element is said to contain privilege information if there is a default privilege assigned to all service elements contained in the package element or if one of the operation elements contained in one of the service elements in this package element has privilege information.

Constant String::RESOURCE_TYPE # Resource type for package.

Member Function Documentation

public method Com::Vmware::Vapi::Metadata::Privilege::Package::get ( )

Retrieves privilege information about the package element corresponding to package_id

Parameters
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.
Return values
Theclass Com::Vmware::Vapi::Metadata::Privilege::PackageInfo instance that corresponds to package_id The return type will be Com::Vmware::Vapi::Metadata::Privilege::PackageInfo
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif the package element associated with package_id does not have any privilege information.
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Privilege::Package::list ( )

Returns the identifiers for the package elements that have privilege information.

Return values
Thelist of identifiers for the package elements that have privilege information. The value will be an identifier for the resource type getQualifiedName(com.vmware.vapi.package). The return type will be Array of str
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Privilege::Package::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: