public interface Instances extends Service, InstancesTypes
Instances
interface provides methods to access namespaces for
non-administrative users.InstancesTypes.Summary
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.util.List<InstancesTypes.Summary> |
list()
Returns namespaces that user making the call is authorized to access.
|
void |
list(AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback)
Returns namespaces that user making the call is authorized to access.
|
void |
list(AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns namespaces that user making the call is authorized to access.
|
java.util.List<InstancesTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns namespaces that user making the call is authorized to access.
|
java.util.List<InstancesTypes.Summary> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.java.util.List<InstancesTypes.Summary> list(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.
invocationConfig
- Configuration for the method invocation.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.void list(AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of Namespace identifiers together with the API endpoint for each namespace.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<InstancesTypes.Summary>> 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:
List of Namespace identifiers together with the API endpoint for each namespace.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.