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 |
---|---|
com.vmware.vapi.bindings.Structure |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceInstance)
Adds a new Service-Instance under the specified Service.
|
void |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceInstance,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Adds a new Service-Instance under the specified Service.
|
void |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceInstance,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new Service-Instance under the specified Service.
|
com.vmware.vapi.bindings.Structure |
create(java.lang.String serviceId,
com.vmware.vapi.bindings.Structure baseServiceInstance,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new Service-Instance under the specified Service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId)
Delete existing Service-Instance for a given Service-Insertion Service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete existing Service-Instance for a given Service-Insertion Service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete existing Service-Instance for a given Service-Insertion Service.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete existing Service-Instance for a given Service-Insertion Service.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String serviceId,
java.lang.String serviceInstanceId)
Returns Service-Instance information for a given Service-Insertion Service.
|
void |
get(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns Service-Instance information for a given Service-Insertion Service.
|
void |
get(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Service-Instance information for a given Service-Insertion Service.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Service-Instance information for a given Service-Insertion Service.
|
ServiceInstanceListResult |
list(java.lang.String serviceId)
Returns all Service-Instance(s) for a given Service-Insertion Service.
|
void |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback)
Returns all Service-Instance(s) for a given Service-Insertion Service.
|
void |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all Service-Instance(s) for a given Service-Insertion Service.
|
ServiceInstanceListResult |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns all Service-Instance(s) for a given Service-Insertion Service.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.Structure baseServiceInstance)
Modifies an existing Service-Instance for a given Service-Insertion Service.
|
void |
update(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.Structure baseServiceInstance,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Modifies an existing Service-Instance for a given Service-Insertion Service.
|
void |
update(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.Structure baseServiceInstance,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies an existing Service-Instance for a given Service-Insertion Service.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.Structure baseServiceInstance,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies an existing Service-Instance for a given Service-Insertion Service.
|
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 com.vmware.vapi.bindings.Structure create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance)
ServiceInstances
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServiceInstances
serviceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.BaseServiceInstance
.public com.vmware.vapi.bindings.Structure create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance, 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.
create
in interface ServiceInstances
serviceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.invocationConfig
- Configuration for the method invocation.BaseServiceInstance
.public void create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
ServiceInstances
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseServiceInstance
The return value will contain all the properties defined in BaseServiceInstance
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceInstances
serviceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> 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.BaseServiceInstance
The return value will contain all the properties defined in BaseServiceInstance
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceInstances
serviceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceId, java.lang.String serviceInstanceId)
ServiceInstances
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)public void delete(java.lang.String serviceId, java.lang.String serviceInstanceId, 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.
delete
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceInstances
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> 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.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public com.vmware.vapi.bindings.Structure get(java.lang.String serviceId, java.lang.String serviceInstanceId)
ServiceInstances
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)BaseServiceInstance
.public com.vmware.vapi.bindings.Structure get(java.lang.String serviceId, java.lang.String serviceInstanceId, 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.
get
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.BaseServiceInstance
.public void get(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
ServiceInstances
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseServiceInstance
The return value will contain all the properties defined in BaseServiceInstance
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> 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.BaseServiceInstance
The return value will contain all the properties defined in BaseServiceInstance
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceInstanceListResult list(java.lang.String serviceId)
ServiceInstances
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceInstances
serviceId
- (required)public ServiceInstanceListResult list(java.lang.String serviceId, 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
serviceId
- (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String serviceId, 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
serviceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String serviceId, 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
serviceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public com.vmware.vapi.bindings.Structure update(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.Structure baseServiceInstance)
ServiceInstances
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.BaseServiceInstance
.public com.vmware.vapi.bindings.Structure update(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.Structure baseServiceInstance, 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.
update
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.invocationConfig
- Configuration for the method invocation.BaseServiceInstance
.public void update(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.Structure baseServiceInstance, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
ServiceInstances
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.BaseServiceInstance
The return value will contain all the properties defined in BaseServiceInstance
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.Structure baseServiceInstance, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> 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.BaseServiceInstance
The return value will contain all the properties defined in BaseServiceInstance
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServiceInstances
serviceId
- (required)serviceInstanceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.