public interface Backup extends Service, BackupTypes
Backup
interface provides methods Performs backup restore operationsBackupTypes.BackupRequest, BackupTypes.LocalizableMessage, BackupTypes.LocationType, BackupTypes.ReturnResult, BackupTypes.ReturnStatus
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
BackupTypes.ReturnResult |
validate(BackupTypes.BackupRequest piece)
Check for backup errors without starting backup.
|
void |
validate(BackupTypes.BackupRequest piece,
AsyncCallback<BackupTypes.ReturnResult> asyncCallback)
Check for backup errors without starting backup.
|
void |
validate(BackupTypes.BackupRequest piece,
AsyncCallback<BackupTypes.ReturnResult> asyncCallback,
InvocationConfig invocationConfig)
Check for backup errors without starting backup.
|
BackupTypes.ReturnResult |
validate(BackupTypes.BackupRequest piece,
InvocationConfig invocationConfig)
Check for backup errors without starting backup.
|
BackupTypes.ReturnResult validate(BackupTypes.BackupRequest piece)
Synchronous method overload. Result of the invocation will be reported as a method return value.
piece
- BackupRequest StructureFeatureInUse
- A backup or restore is already in progressError
- Generic errorBackupTypes.ReturnResult validate(BackupTypes.BackupRequest piece, 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.
piece
- BackupRequest StructureinvocationConfig
- Configuration for the method invocation.FeatureInUse
- A backup or restore is already in progressError
- Generic errorvoid validate(BackupTypes.BackupRequest piece, AsyncCallback<BackupTypes.ReturnResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
ReturnResult Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress
Error
- Generic error
piece
- BackupRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void validate(BackupTypes.BackupRequest piece, AsyncCallback<BackupTypes.ReturnResult> asyncCallback, 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:
ReturnResult Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress
Error
- Generic error
piece
- BackupRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.