|
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
|
Classes | |
| class | NewUserConfig |
| class | UserAccountStatus |
| class | UserConfig |
| class | UserConfigGet |
| class | UserPasswordStatus |
| class | UserRole |
Avaliable Methods | |
| public method | add () |
| public method | get () |
| public method | delete () |
| public method | new () |
| public method | list () |
| public method | set () |
Com::Vmware::Appliance::Techpreview::Localaccounts::User interface provides methods* Perform operations on local user account.
| public method Com::Vmware::Appliance::Techpreview::Localaccounts::User::add | ( | ) |
Create a new local user account.
| config | [REQUIRED] User configuration. . The value must be Com::Vmware::Appliance::Techpreview::Localaccounts::User::NewUserConfig. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Localaccounts::User::delete | ( | ) |
Delete a local user account.
| username | [REQUIRED] User login name. . The value must be String. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Localaccounts::User::get | ( | ) |
Get the local user account information.
| username | [REQUIRED] User login name. . The value must be String. |
| local | user account information The return type will be Com::Vmware::Appliance::Techpreview::Localaccounts::User::UserConfigGet |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Localaccounts::User::list | ( | ) |
List of local accounts
| User | configuration. The return type will be Array of Com::Vmware::Appliance::Techpreview::Localaccounts::User::UserConfigGet |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Localaccounts::User::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:
| public method Com::Vmware::Appliance::Techpreview::Localaccounts::User::set | ( | ) |
Update local user account properties role, full name, enabled status and password
| config | [REQUIRED] User configuration. . The value must be Com::Vmware::Appliance::Techpreview::Localaccounts::User::UserConfig. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: