Interface Config
-
- All Superinterfaces:
ConfigTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
ConfigStub
public interface Config extends com.vmware.vapi.bindings.Service, ConfigTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.cluster.restore.ConfigTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RestoreConfiguration
get()
Deprecated.void
get(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
Deprecated.void
get(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.RestoreConfiguration
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.RestoreConfiguration
update(RestoreConfiguration restoreConfiguration)
Deprecated.void
update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
Deprecated.void
update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.RestoreConfiguration
update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
-
-
-
Method Detail
-
get
@Deprecated RestoreConfiguration get()
Deprecated.Get 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.
- Returns:
- com.vmware.nsx_policy.model.RestoreConfiguration
- Throws:
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 Found
-
get
@Deprecated RestoreConfiguration get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Get 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
invocationConfig
to specify configuration for this particular invocation.- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.RestoreConfiguration
- Throws:
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 Found
-
get
@Deprecated void get(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
Deprecated.Get 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
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
@Deprecated void get(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Get 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
. UseinvocationConfig
to 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
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
@Deprecated RestoreConfiguration update(RestoreConfiguration restoreConfiguration)
Deprecated.Configure 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.
- Parameters:
restoreConfiguration
- (required)- Returns:
- com.vmware.nsx_policy.model.RestoreConfiguration
- Throws:
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 Found
-
update
@Deprecated RestoreConfiguration update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Configure 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
invocationConfig
to specify configuration for this particular invocation.- Parameters:
restoreConfiguration
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.RestoreConfiguration
- Throws:
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 Found
-
update
@Deprecated void update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
Deprecated.Configure 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
- Parameters:
restoreConfiguration
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
@Deprecated void update(RestoreConfiguration restoreConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Configure 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
. UseinvocationConfig
to 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
- Parameters:
restoreConfiguration
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-