public class InstancesStub extends com.vmware.vapi.internal.bindings.Stub implements Instances
Instances
API service.
WARNING: Internal class, subject to change in future versions.
InstancesTypes.Summary
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
InstancesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
InstancesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public InstancesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public InstancesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<InstancesTypes.Summary> list()
Instances
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<InstancesTypes.Summary> list(InvocationConfig invocationConfig)
Instances
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 list(AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback)
Instances
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.
public void list(AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Instances
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.