public class BackupStub extends com.vmware.vapi.internal.bindings.Stub implements Backup
Backup
API service.
WARNING: Internal class, subject to change in future versions.
BackupTypes.BackupRequest, BackupTypes.LocalizableMessage, BackupTypes.LocationType, BackupTypes.ReturnResult, BackupTypes.ReturnStatus
Constructor and Description |
---|
BackupStub(ApiProvider apiProvider,
StubConfigurationBase config) |
BackupStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public BackupStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public BackupStub(ApiProvider apiProvider, StubConfigurationBase config)
public BackupTypes.ReturnResult validate(BackupTypes.BackupRequest piece)
Backup
Synchronous method overload. Result of the invocation will be reported as a method return value.
public BackupTypes.ReturnResult validate(BackupTypes.BackupRequest piece, InvocationConfig invocationConfig)
Backup
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 validate(BackupTypes.BackupRequest piece, AsyncCallback<BackupTypes.ReturnResult> asyncCallback)
Backup
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
ReturnResult Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress
Error
- Generic error
public void validate(BackupTypes.BackupRequest piece, AsyncCallback<BackupTypes.ReturnResult> asyncCallback, InvocationConfig invocationConfig)
Backup
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
ReturnResult Structure
Operation Errors:
FeatureInUse
- A backup or restore is already in progress
Error
- Generic error