|
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::Authentication::Service interface provides methods* to retrieve authentication information of a service element.
A service element is said to contain authentication information if there is a default authentication assigned to all operation elements contained in a service element or if one of the operation elements contained in this service element has authentication information.
Constant String::RESOURCE_TYPE # Resource type for service.
| public method Com::Vmware::Vapi::Metadata::Authentication::Service::get | ( | ) |
Retrieves authentication information about the service element corresponding to service_id .
| 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::Authentication::ServiceInfo instance that corresponds to service_id The return type will be Com::Vmware::Vapi::Metadata::Authentication::ServiceInfo |
| Com::Vmware::Vapi::Std::Errors::NotFound | if the service element associated with service_id does not have any authentication information. |
Code:
| public method Com::Vmware::Vapi::Metadata::Authentication::Service::list | ( | ) |
Returns the identifiers for the service elements that have authentication information.
| The | list of identifiers for the service elements that have authentication information. 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::Authentication::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: