public class ServiceInstancesStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceInstances
ServiceInstances
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServiceInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceListResult |
list(java.lang.String deployedTo,
java.lang.String serviceDeploymentId)
Returns all Service-Instance(s) of all Services present in system.
|
void |
list(java.lang.String deployedTo,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback)
Returns all Service-Instance(s) of all Services present in system.
|
void |
list(java.lang.String deployedTo,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all Service-Instance(s) of all Services present in system.
|
ServiceInstanceListResult |
list(java.lang.String deployedTo,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all Service-Instance(s) of all Services present in system.
|
public ServiceInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceInstanceListResult list(java.lang.String deployedTo, java.lang.String serviceDeploymentId)
ServiceInstances
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceInstances
deployedTo
- Deployed_to referenced by service instances present in system (optional)serviceDeploymentId
- Service Deployment Id using which the instances were deployed (optional)public ServiceInstanceListResult list(java.lang.String deployedTo, java.lang.String serviceDeploymentId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceInstances
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 ServiceInstances
deployedTo
- Deployed_to referenced by service instances present in system (optional)serviceDeploymentId
- Service Deployment Id using which the instances were deployed (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String deployedTo, java.lang.String serviceDeploymentId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback)
ServiceInstances
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceInstanceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceInstances
deployedTo
- Deployed_to referenced by service instances present in system (optional)serviceDeploymentId
- Service Deployment Id using which the instances were deployed (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String deployedTo, java.lang.String serviceDeploymentId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceInstances
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:
com.vmware.nsx.model.ServiceInstanceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceInstances
deployedTo
- Deployed_to referenced by service instances present in system (optional)serviceDeploymentId
- Service Deployment Id using which the instances were deployed (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.