public class ArchiveStub extends com.vmware.vapi.internal.bindings.Stub implements Archive
Archive
API service.
WARNING: Internal class, subject to change in future versions.
ArchiveTypes.FilterSpec, ArchiveTypes.Info, ArchiveTypes.Summary
Constructor and Description |
---|
ArchiveStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ArchiveStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ArchiveTypes.Info |
get(LocationSpec spec,
java.lang.String systemName,
java.lang.String archive)
Returns the information for backup corresponding to given backup location and
system name.
|
void |
get(LocationSpec spec,
java.lang.String systemName,
java.lang.String archive,
AsyncCallback<ArchiveTypes.Info> asyncCallback)
Returns the information for backup corresponding to given backup location and
system name.
|
void |
get(LocationSpec spec,
java.lang.String systemName,
java.lang.String archive,
AsyncCallback<ArchiveTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the information for backup corresponding to given backup location and
system name.
|
ArchiveTypes.Info |
get(LocationSpec spec,
java.lang.String systemName,
java.lang.String archive,
InvocationConfig invocationConfig)
Returns the information for backup corresponding to given backup location and
system name.
|
java.util.List<ArchiveTypes.Summary> |
list(LocationSpec locSpec,
java.lang.String systemName,
ArchiveTypes.FilterSpec filterSpec)
Returns information about backup archives corresponding to given backup location
and system name, which match the
ArchiveTypes.FilterSpec . |
void |
list(LocationSpec locSpec,
java.lang.String systemName,
ArchiveTypes.FilterSpec filterSpec,
AsyncCallback<java.util.List<ArchiveTypes.Summary>> asyncCallback)
Returns information about backup archives corresponding to given backup location
and system name, which match the
ArchiveTypes.FilterSpec . |
void |
list(LocationSpec locSpec,
java.lang.String systemName,
ArchiveTypes.FilterSpec filterSpec,
AsyncCallback<java.util.List<ArchiveTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about backup archives corresponding to given backup location
and system name, which match the
ArchiveTypes.FilterSpec . |
java.util.List<ArchiveTypes.Summary> |
list(LocationSpec locSpec,
java.lang.String systemName,
ArchiveTypes.FilterSpec filterSpec,
InvocationConfig invocationConfig)
Returns information about backup archives corresponding to given backup location
and system name, which match the
ArchiveTypes.FilterSpec . |
public ArchiveStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ArchiveStub(ApiProvider apiProvider, StubConfigurationBase config)
public ArchiveTypes.Info get(LocationSpec spec, java.lang.String systemName, java.lang.String archive)
Archive
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Archive
spec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.archive
- Archive identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name.archive
.public ArchiveTypes.Info get(LocationSpec spec, java.lang.String systemName, java.lang.String archive, InvocationConfig invocationConfig)
Archive
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Archive
spec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.archive
- Archive identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name.archive
.invocationConfig
- Configuration for the method invocation.public void get(LocationSpec spec, java.lang.String systemName, java.lang.String archive, AsyncCallback<ArchiveTypes.Info> asyncCallback)
Archive
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Info Structure.
Operation Errors:
NotFound
- if backup does not exist.
Error
- if any error occurs during the execution of the operation.
get
in interface Archive
spec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.archive
- Archive identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name.archive
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(LocationSpec spec, java.lang.String systemName, java.lang.String archive, AsyncCallback<ArchiveTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Archive
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:
Info Structure.
Operation Errors:
NotFound
- if backup does not exist.
Error
- if any error occurs during the execution of the operation.
get
in interface Archive
spec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.archive
- Archive identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name.archive
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<ArchiveTypes.Summary> list(LocationSpec locSpec, java.lang.String systemName, ArchiveTypes.FilterSpec filterSpec)
Archive
ArchiveTypes.FilterSpec
. This
method was added in vSphere API 6.7.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Archive
locSpec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.filterSpec
- Specification of matching backups for which information should be returned.public java.util.List<ArchiveTypes.Summary> list(LocationSpec locSpec, java.lang.String systemName, ArchiveTypes.FilterSpec filterSpec, InvocationConfig invocationConfig)
Archive
ArchiveTypes.FilterSpec
. This
method was added in vSphere API 6.7.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Archive
locSpec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.filterSpec
- Specification of matching backups for which information should be returned.invocationConfig
- Configuration for the method invocation.public void list(LocationSpec locSpec, java.lang.String systemName, ArchiveTypes.FilterSpec filterSpec, AsyncCallback<java.util.List<ArchiveTypes.Summary>> asyncCallback)
Archive
ArchiveTypes.FilterSpec
. This
method was added in vSphere API 6.7.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Commonly used information about the backup archives.
Operation Errors:
NotFound
- if combination of locSpec
and system name does not refer to an existing
location on the backup server.
Error
- if any error occurs during the execution of the operation.
list
in interface Archive
locSpec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.filterSpec
- Specification of matching backups for which information should be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(LocationSpec locSpec, java.lang.String systemName, ArchiveTypes.FilterSpec filterSpec, AsyncCallback<java.util.List<ArchiveTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Archive
ArchiveTypes.FilterSpec
. This
method was added in vSphere API 6.7.
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:
Commonly used information about the backup archives.
Operation Errors:
NotFound
- if combination of locSpec
and system name does not refer to an existing
location on the backup server.
Error
- if any error occurs during the execution of the operation.
list
in interface Archive
locSpec
- LocationSpec Structure.systemName
- System name identifier.
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.system_name
.filterSpec
- Specification of matching backups for which information should be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.