public class ServicesStub extends com.vmware.vapi.internal.bindings.Stub implements Services
Services
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServicesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServicesStub(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 |
---|---|
ServiceDefinition |
create(ServiceDefinition serviceDefinition)
Creates new Service-Insertion Service in the system.
|
void |
create(ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Creates new Service-Insertion Service in the system.
|
void |
create(ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates new Service-Insertion Service in the system.
|
ServiceDefinition |
create(ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates new Service-Insertion Service in the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade)
Removes Service-Insertion Service from the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Removes Service-Insertion Service from the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes Service-Insertion Service from the system.
|
void |
delete(java.lang.String serviceId,
java.lang.Boolean cascade,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Removes Service-Insertion Service from the system.
|
ServiceDefinition |
get(java.lang.String serviceId)
Returns information about Service-Insertion Service with the given identifier.
|
void |
get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Returns information about Service-Insertion Service with the given identifier.
|
void |
get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about Service-Insertion Service with the given identifier.
|
ServiceDefinition |
get(java.lang.String serviceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about Service-Insertion Service with the given identifier.
|
ServiceInsertionServiceListResult |
list()
List all Service-Insertion Service Definitions.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
List all Service-Insertion Service Definitions.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service-Insertion Service Definitions.
|
ServiceInsertionServiceListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Service-Insertion Service Definitions.
|
ServiceDefinition |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition)
Modifies the specified Service.
|
void |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Modifies the specified Service.
|
void |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified Service.
|
ServiceDefinition |
update(java.lang.String serviceId,
ServiceDefinition serviceDefinition,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified Service.
|
public ServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceDefinition create(ServiceDefinition serviceDefinition)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ServiceDefinition create(ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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 create(ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceDefinition
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.ServiceDefinition
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void delete(java.lang.String serviceId, java.lang.Boolean cascade)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String serviceId, java.lang.Boolean cascade, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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 delete(java.lang.String serviceId, java.lang.Boolean cascade, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Services
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
public void delete(java.lang.String serviceId, java.lang.Boolean cascade, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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 Services
serviceId
- (required)cascade
- Flag to cascade delete all the child objects, associated with it. (optional,
default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceDefinition get(java.lang.String serviceId)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ServiceDefinition get(java.lang.String serviceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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 get(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceDefinition
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.ServiceDefinition
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public ServiceInsertionServiceListResult list()
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ServiceInsertionServiceListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionServiceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.ServiceInsertionServiceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public ServiceDefinition update(java.lang.String serviceId, ServiceDefinition serviceDefinition)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ServiceDefinition update(java.lang.String serviceId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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 update(java.lang.String serviceId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceDefinition
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String serviceId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.ServiceDefinition
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found