Class ConfigStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.cluster.restore.ConfigStub
-
- All Implemented Interfaces:
Config,ConfigTypes,com.vmware.vapi.bindings.Service
public class ConfigStub extends com.vmware.vapi.internal.bindings.Stub implements Config
Remote stub implementation of theConfigAPI service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.cluster.restore.ConfigTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreConfigurationget()Get configuration information for the file server used to store backed-up files.voidget(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)Get configuration information for the file server used to store backed-up files.voidget(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get configuration information for the file server used to store backed-up files.RestoreConfigurationget(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get configuration information for the file server used to store backed-up files.RestoreConfigurationupdate(RestoreConfiguration restoreConfiguration)Configure file server where the backed-up files used for the Restore operation are available.voidupdate(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)Configure file server where the backed-up files used for the Restore operation are available.voidupdate(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Configure file server where the backed-up files used for the Restore operation are available.RestoreConfigurationupdate(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Configure file server where the backed-up files used for the Restore operation are available.
-
-
-
Constructor Detail
-
ConfigStub
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ConfigStub
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public RestoreConfiguration get()
Description copied from interface:ConfigGet configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public RestoreConfiguration get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ConfigGet configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
Description copied from interface:ConfigGet configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.RestoreConfigurationOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ConfigGet configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.RestoreConfigurationOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
update
public RestoreConfiguration update(RestoreConfiguration restoreConfiguration)
Description copied from interface:ConfigConfigure file server where the backed-up files used for the Restore operation are available.
Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
update
public RestoreConfiguration update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ConfigConfigure file server where the backed-up files used for the Restore operation are available.
Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
update
public void update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
Description copied from interface:ConfigConfigure file server where the backed-up files used for the Restore operation are available.
Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.RestoreConfigurationOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
update
public void update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ConfigConfigure file server where the backed-up files used for the Restore operation are available.
Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.RestoreConfigurationOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
-