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.FilterSpec, InstancesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, 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(InstancesTypes.FilterSpec filter)
Returns namespaces matching the
InstancesTypes.FilterSpec . |
void |
list(InstancesTypes.FilterSpec filter,
AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback)
Returns namespaces matching the
InstancesTypes.FilterSpec . |
void |
list(InstancesTypes.FilterSpec filter,
AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns namespaces matching the
InstancesTypes.FilterSpec . |
java.util.List<InstancesTypes.Summary> |
list(InstancesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns namespaces matching the
InstancesTypes.FilterSpec . |
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(InstancesTypes.FilterSpec filter)
Instances
InstancesTypes.FilterSpec
.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Instances
filter
- Specification of matching principals for which namespaces should be returned.
This parameter was added in vSphere API 8.0.0.1.
If null
, the behavior is equivalent to a FilterSpec with all properties
null
, and this method will return the namespaces that user making the
call is authorized to access.public java.util.List<InstancesTypes.Summary> list(InstancesTypes.FilterSpec filter, InvocationConfig invocationConfig)
Instances
InstancesTypes.FilterSpec
.
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 Instances
filter
- Specification of matching principals for which namespaces should be returned.
This parameter was added in vSphere API 8.0.0.1.
If null
, the behavior is equivalent to a FilterSpec with all properties
null
, and this method will return the namespaces that user making the
call is authorized to access.invocationConfig
- Configuration for the method invocation.public void list(InstancesTypes.FilterSpec filter, AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback)
Instances
InstancesTypes.FilterSpec
.
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.
Unauthorized
- If the user does not have Namespaces.ListAccess privilege to perform this
operation.
list
in interface Instances
filter
- Specification of matching principals for which namespaces should be returned.
This parameter was added in vSphere API 8.0.0.1.
If null
, the behavior is equivalent to a FilterSpec with all properties
null
, and this method will return the namespaces that user making the
call is authorized to access.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(InstancesTypes.FilterSpec filter, AsyncCallback<java.util.List<InstancesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Instances
InstancesTypes.FilterSpec
.
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.
Unauthorized
- If the user does not have Namespaces.ListAccess privilege to perform this
operation.
list
in interface Instances
filter
- Specification of matching principals for which namespaces should be returned.
This parameter was added in vSphere API 8.0.0.1.
If null
, the behavior is equivalent to a FilterSpec with all properties
null
, and this method will return the namespaces that user making the
call is authorized to access.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.