public interface ServiceInstances extends com.vmware.vapi.bindings.Service, ServiceInstancesTypes
_VAPI_SERVICE_ID
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)
Deprecated.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
|
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)
Deprecated.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
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)
Deprecated.
|
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)
Deprecated.
|
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)
Deprecated.
|
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)
Deprecated.
|
com.vmware.vapi.bindings.Structure create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.BaseServiceInstance
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundcom.vmware.vapi.bindings.Structure create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance, com.vmware.vapi.bindings.client.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.
serviceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.invocationConfig
- Configuration for the method invocation.BaseServiceInstance
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid create(java.lang.String serviceId, com.vmware.vapi.bindings.Structure baseServiceInstance, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
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
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.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)
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
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.@Deprecated void delete(java.lang.String serviceId, java.lang.String serviceInstanceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)serviceInstanceId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void delete(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.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.
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void delete(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated 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)
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
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.com.vmware.vapi.bindings.Structure get(java.lang.String serviceId, java.lang.String serviceInstanceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)serviceInstanceId
- (required)BaseServiceInstance
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundcom.vmware.vapi.bindings.Structure get(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.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.
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.BaseServiceInstance
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
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
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.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)
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
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ServiceInstanceListResult list(java.lang.String serviceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundServiceInstanceListResult list(java.lang.String serviceId, com.vmware.vapi.bindings.client.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.
serviceId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid list(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback)
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
serviceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInstanceListResult> asyncCallback, com.vmware.vapi.bindings.client.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:
com.vmware.nsx.model.ServiceInstanceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serviceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated com.vmware.vapi.bindings.Structure update(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.Structure baseServiceInstance)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)serviceInstanceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.BaseServiceInstance
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated 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)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
serviceId
- (required)serviceInstanceId
- (required)baseServiceInstance
- (required)
The parameter must contain all the properties defined in BaseServiceInstance
.invocationConfig
- Configuration for the method invocation.BaseServiceInstance
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated 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)
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
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.@Deprecated 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)
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
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.