public class ConfigStub extends com.vmware.vapi.internal.bindings.Stub implements Config
Config
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, UPDATE_FRAME_TYPE_GLOBAL_MANAGER, UPDATE_FRAME_TYPE_LOCAL_LOCAL_MANAGER, UPDATE_FRAME_TYPE_LOCAL_MANAGER, UPDATE_FRAME_TYPE_NSX_INTELLIGENCE
Constructor and Description |
---|
ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConfigStub(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 |
---|---|
BackupConfiguration |
get()
Get a configuration of a file server and timers for automated backup.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
Get a configuration of a file server and timers for automated backup.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a configuration of a file server and timers for automated backup.
|
BackupConfiguration |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a configuration of a file server and timers for automated backup.
|
BackupConfiguration |
update(BackupConfiguration backupConfiguration,
java.lang.String frameType,
java.lang.String siteId)
Configure file server and timers for automated backup.
|
void |
update(BackupConfiguration backupConfiguration,
java.lang.String frameType,
java.lang.String siteId,
com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
Configure file server and timers for automated backup.
|
void |
update(BackupConfiguration backupConfiguration,
java.lang.String frameType,
java.lang.String siteId,
com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Configure file server and timers for automated backup.
|
BackupConfiguration |
update(BackupConfiguration backupConfiguration,
java.lang.String frameType,
java.lang.String siteId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Configure file server and timers for automated backup.
|
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public BackupConfiguration get()
Config
Synchronous method overload. Result of the invocation will be reported as a method return value.
public BackupConfiguration get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
Synchronous 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 get(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
Config
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BackupConfiguration
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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.BackupConfiguration
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public BackupConfiguration update(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId)
Config
Synchronous method overload. Result of the invocation will be reported as a method return value.
public BackupConfiguration update(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
Synchronous 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 Config
backupConfiguration
- (required)frameType
- Frame type (optional, default to LOCAL_LOCAL_MANAGER)siteId
- Site ID (optional, default to localhost)invocationConfig
- Configuration for the method invocation.public void update(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
Config
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BackupConfiguration
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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.BackupConfiguration
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Config
backupConfiguration
- (required)frameType
- Frame type (optional, default to LOCAL_LOCAL_MANAGER)siteId
- Site ID (optional, default to localhost)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.