public class LocalAccountsStub extends com.vmware.vapi.internal.bindings.Stub implements LocalAccounts
LocalAccounts
API service.
WARNING: Internal class, subject to change in future versions.
LocalAccountsTypes.Config, LocalAccountsTypes.Info, LocalAccountsTypes.UpdateConfig| Constructor and Description |
|---|
LocalAccountsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
LocalAccountsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(java.lang.String username,
LocalAccountsTypes.Config config)
Create a new local user account.
|
void |
create(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback)
Create a new local user account.
|
void |
create(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create a new local user account.
|
void |
create(java.lang.String username,
LocalAccountsTypes.Config config,
InvocationConfig invocationConfig)
Create a new local user account.
|
void |
delete(java.lang.String username)
Delete a local user account.
|
void |
delete(java.lang.String username,
AsyncCallback<java.lang.Void> asyncCallback)
Delete a local user account.
|
void |
delete(java.lang.String username,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete a local user account.
|
void |
delete(java.lang.String username,
InvocationConfig invocationConfig)
Delete a local user account.
|
LocalAccountsTypes.Info |
get(java.lang.String username)
Get the local user account information.
|
void |
get(java.lang.String username,
AsyncCallback<LocalAccountsTypes.Info> asyncCallback)
Get the local user account information.
|
void |
get(java.lang.String username,
AsyncCallback<LocalAccountsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the local user account information.
|
LocalAccountsTypes.Info |
get(java.lang.String username,
InvocationConfig invocationConfig)
Get the local user account information.
|
java.util.List<java.lang.String> |
list()
Get a list of the local user accounts.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Get a list of the local user accounts.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Get a list of the local user accounts.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Get a list of the local user accounts.
|
void |
set(java.lang.String username,
LocalAccountsTypes.Config config)
Set local user account properties.
|
void |
set(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback)
Set local user account properties.
|
void |
set(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set local user account properties.
|
void |
set(java.lang.String username,
LocalAccountsTypes.Config config,
InvocationConfig invocationConfig)
Set local user account properties.
|
void |
update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config)
Update selected fields in local user account properties.
|
void |
update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config,
AsyncCallback<java.lang.Void> asyncCallback)
Update selected fields in local user account properties.
|
void |
update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Update selected fields in local user account properties.
|
void |
update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config,
InvocationConfig invocationConfig)
Update selected fields in local user account properties.
|
public LocalAccountsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public LocalAccountsStub(ApiProvider apiProvider, StubConfigurationBase config)
public LocalAccountsTypes.Info get(java.lang.String username)
LocalAccountsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface LocalAccountsusername - User login namepublic LocalAccountsTypes.Info get(java.lang.String username, InvocationConfig invocationConfig)
LocalAccountsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface LocalAccountsusername - User login nameinvocationConfig - Configuration for the method invocation.public void get(java.lang.String username,
AsyncCallback<LocalAccountsTypes.Info> asyncCallback)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Local user account information
Operation Errors:
NotFound - If the account is not found
Error - Generic error
get in interface LocalAccountsusername - User login nameasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String username,
AsyncCallback<LocalAccountsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Local user account information
Operation Errors:
NotFound - If the account is not found
Error - Generic error
get in interface LocalAccountsusername - User login nameasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.util.List<java.lang.String> list()
LocalAccountsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface LocalAccountscom.vmware.appliance.local_accounts.public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
LocalAccountsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface LocalAccountsinvocationConfig - Configuration for the method invocation.com.vmware.appliance.local_accounts.public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
List of identifiers
The return value will contain identifiers for the resource type: com.vmware.appliance.local_accounts.
Operation Errors:
Error - Generic error
list in interface LocalAccountsasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
List of identifiers
The return value will contain identifiers for the resource type: com.vmware.appliance.local_accounts.
Operation Errors:
Error - Generic error
list in interface LocalAccountsasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void create(java.lang.String username,
LocalAccountsTypes.Config config)
LocalAccountsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationpublic void create(java.lang.String username,
LocalAccountsTypes.Config config,
InvocationConfig invocationConfig)
LocalAccountsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
create in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationinvocationConfig - Configuration for the method invocation.public void create(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
AlreadyExists - If an account already exists
InvalidArgument - If a username is invalid (username is validated against
[a-zA-Z0-9][a-zA-Z0-9\-\.@]*[a-zA-Z0-9] pattern)
Error - Generic error
create in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists - If an account already exists
InvalidArgument - If a username is invalid (username is validated against
[a-zA-Z0-9][a-zA-Z0-9\-\.@]*[a-zA-Z0-9] pattern)
Error - Generic error
create in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void set(java.lang.String username,
LocalAccountsTypes.Config config)
LocalAccountsSynchronous method overload. Result of the invocation will be reported as a method return value.
set in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationpublic void set(java.lang.String username,
LocalAccountsTypes.Config config,
InvocationConfig invocationConfig)
LocalAccountsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
set in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationinvocationConfig - Configuration for the method invocation.public void set(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - If the account is not found
Error - Generic error
set in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void set(java.lang.String username,
LocalAccountsTypes.Config config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - If the account is not found
Error - Generic error
set in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config)
LocalAccountsSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationpublic void update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config,
InvocationConfig invocationConfig)
LocalAccountsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationinvocationConfig - Configuration for the method invocation.public void update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config,
AsyncCallback<java.lang.Void> asyncCallback)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - If the account is not found
Error - Generic error
update in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String username,
LocalAccountsTypes.UpdateConfig config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - If the account is not found
Error - Generic error
update in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.config - User configurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String username)
LocalAccountsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.public void delete(java.lang.String username,
InvocationConfig invocationConfig)
LocalAccountsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String username,
AsyncCallback<java.lang.Void> asyncCallback)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - If the account is not found
Error - Generic error
delete in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String username,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
LocalAccountsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - If the account is not found
Error - Generic error
delete in interface LocalAccountsusername - User login name
The parameter must be an identifier for the resource type: com.vmware.appliance.local_accounts.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.