|
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 | new () |
The Com::Vmware::Vapi::Std::Errors::Unauthorized error indicates that the user is not authorized to perform the method .
API requests may include a security context containing user credentials. For example, the user credentials could be a SAML token, a user name and password, or the session identifier for a previously established session. Invoking the method may require that the user identified by those credentials has particular privileges on the method* or on one or more resource identifiers passed to the method .
Examples:
Counterexamples:
For security reasons, the :attr:Com::Vmware::Vapi::Std::Errors::Error.data field* in this error is null , and the :attr:Com::Vmware::Vapi::Std::Errors::Error.messages field in this error does not disclose why the user is not authorized to perform the method . For example the messages would not disclose which privilege the user did not have or which resource identifier the user did not have the required privilege to access. The API documentation should indicate what privileges are required.
| public method Com::Vmware::Vapi::Std::Errors::Unauthorized::new | ( | ) |
Constructor to initialize the Com::Vmware::Vapi::Std::Errors::Unauthorized structure
| Blessed | object |
Code: