public interface SystemName extends Service, SystemNameTypes
SystemName
interface provides methods to enumerate system names of
appliance backups. This interface was added in vSphere API 6.7.Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
list(LocationSpec locSpec)
Returns a list of system names for which backup archives exist under
locSpec . |
void |
list(LocationSpec locSpec,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns a list of system names for which backup archives exist under
locSpec . |
void |
list(LocationSpec locSpec,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of system names for which backup archives exist under
locSpec . |
java.util.List<java.lang.String> |
list(LocationSpec locSpec,
InvocationConfig invocationConfig)
Returns a list of system names for which backup archives exist under
locSpec . |
java.util.List<java.lang.String> list(LocationSpec locSpec)
locSpec
. This method was added in vSphere API 6.7.
Synchronous method overload. Result of the invocation will be reported as a method return value.
locSpec
- LocationSpec Structurecom.vmware.appliance.recovery.backup.system_name
.NotFound
- if locSpec
doesn't refer to an existing location on the backup server.Error
- if any error occurs during the execution of the operation.java.util.List<java.lang.String> list(LocationSpec locSpec, InvocationConfig invocationConfig)
locSpec
. 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.
locSpec
- LocationSpec StructureinvocationConfig
- Configuration for the method invocation.com.vmware.appliance.recovery.backup.system_name
.NotFound
- if locSpec
doesn't refer to an existing location on the backup server.Error
- if any error occurs during the execution of the operation.void list(LocationSpec locSpec, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
locSpec
. 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:
list of system names
The return value will contain identifiers for the resource type: com.vmware.appliance.recovery.backup.system_name
.
Operation Errors:
NotFound
- if locSpec
doesn't refer to an existing location on the backup server.
Error
- if any error occurs during the execution of the operation.
locSpec
- LocationSpec StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(LocationSpec locSpec, AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
locSpec
. 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:
list of system names
The return value will contain identifiers for the resource type: com.vmware.appliance.recovery.backup.system_name
.
Operation Errors:
NotFound
- if locSpec
doesn't refer to an existing location on the backup server.
Error
- if any error occurs during the execution of the operation.
locSpec
- LocationSpec StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.