public class SshKeysStub extends com.vmware.vapi.internal.bindings.Stub implements SshKeys
SshKeys
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SshKeysStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SshKeysStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| 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
|
public SshKeysStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public SshKeysStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties)
SshKeysSynchronous method overload. Result of the invocation will be reported as a method return value.
public void addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SshKeysSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void addsshkey(java.lang.String userid,
SshKeyProperties sshKeyProperties,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SshKeysAsynchronous 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
public 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)
SshKeysAsynchronous 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
public SshKeyPropertiesListResult list(java.lang.String userid)
SshKeysSynchronous method overload. Result of the invocation will be reported as a method return value.
public SshKeyPropertiesListResult list(java.lang.String userid, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SshKeysSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void list(java.lang.String userid,
com.vmware.vapi.bindings.client.AsyncCallback<SshKeyPropertiesListResult> asyncCallback)
SshKeysAsynchronous 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
public void list(java.lang.String userid,
com.vmware.vapi.bindings.client.AsyncCallback<SshKeyPropertiesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SshKeysAsynchronous 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
public void removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties)
SshKeysSynchronous method overload. Result of the invocation will be reported as a method return value.
removesshkey in interface SshKeysuserid - User id of the user (required)sshKeyBaseProperties - (required)public void removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SshKeysSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
removesshkey in interface SshKeysuserid - User id of the user (required)sshKeyBaseProperties - (required)invocationConfig - Configuration for the method invocation.public void removesshkey(java.lang.String userid,
SshKeyBaseProperties sshKeyBaseProperties,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SshKeysAsynchronous 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
removesshkey in interface SshKeysuserid - User id of the user (required)sshKeyBaseProperties - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public 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)
SshKeysAsynchronous 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
removesshkey in interface SshKeysuserid - 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.