public interface SshKeys extends com.vmware.vapi.bindings.Service, SshKeysTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties)
Add SSH public key to authorized_keys file for node user
|
void |
addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Add SSH public key to authorized_keys file for node user
|
void |
addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add SSH public key to authorized_keys file for node user
|
void |
addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add SSH public key to authorized_keys file for node user
|
SshKeyPropertiesListResult |
list(java.lang.String userid)
Returns a list of all SSH keys from authorized_keys file for node user
|
void |
list(java.lang.String userid,
com.vmware.vapi.bindings.client.AsyncCallback<SshKeyPropertiesListResult> asyncCallback)
Returns a list of all SSH keys from authorized_keys file for node user
|
void |
list(java.lang.String userid,
com.vmware.vapi.bindings.client.AsyncCallback<SshKeyPropertiesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of all SSH keys from authorized_keys file for node user
|
SshKeyPropertiesListResult |
list(java.lang.String userid,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of all SSH keys from authorized_keys file for node user
|
void |
removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties)
Remove SSH public key from authorized_keys file for node user
|
void |
removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Remove SSH public key from authorized_keys file for node user
|
void |
removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove SSH public key from authorized_keys file for node user
|
void |
removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove SSH public key from authorized_keys file for node user
|
void addsshkey(java.lang.String userid, SshKeyProperties sshKeyProperties)
Synchronous method overload. Result of the invocation will be reported as a method return value.
userid
- User id of the user (required)sshKeyProperties
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid addsshkey(java.lang.String userid, SshKeyProperties sshKeyProperties, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
userid
- User id of the user (required)sshKeyProperties
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid addsshkey(java.lang.String userid, SshKeyProperties sshKeyProperties, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
userid
- User id of the user (required)sshKeyProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void addsshkey(java.lang.String userid, SshKeyProperties sshKeyProperties, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
userid
- User id of the user (required)sshKeyProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.SshKeyPropertiesListResult list(java.lang.String userid)
Synchronous method overload. Result of the invocation will be reported as a method return value.
userid
- User id of the user (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundSshKeyPropertiesListResult list(java.lang.String userid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
userid
- User id of the user (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(java.lang.String userid, com.vmware.vapi.bindings.client.AsyncCallback<SshKeyPropertiesListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.SshKeyPropertiesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
userid
- User id of the user (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String userid, com.vmware.vapi.bindings.client.AsyncCallback<SshKeyPropertiesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.SshKeyPropertiesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
userid
- User id of the user (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void removesshkey(java.lang.String userid, SshKeyBaseProperties sshKeyBaseProperties)
Synchronous method overload. Result of the invocation will be reported as a method return value.
userid
- User id of the user (required)sshKeyBaseProperties
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid removesshkey(java.lang.String userid, SshKeyBaseProperties sshKeyBaseProperties, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
userid
- User id of the user (required)sshKeyBaseProperties
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid removesshkey(java.lang.String userid, SshKeyBaseProperties sshKeyBaseProperties, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
userid
- User id of the user (required)sshKeyBaseProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void removesshkey(java.lang.String userid, SshKeyBaseProperties sshKeyBaseProperties, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
userid
- User id of the user (required)sshKeyBaseProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.