public interface InstanceRuntimes extends com.vmware.vapi.bindings.Service, InstanceRuntimesTypes
_VAPI_SERVICE_ID, CREATE_ACTION_DISABLE_MAINTENANCE_MODE, CREATE_ACTION_ENABLE_MAINTENANCE_MODE, CREATE_ACTION_IS_HEALTHY, CREATE_ACTION_IS_NOT_RESPONDING, CREATE_ACTION_IS_STOPPED
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String serviceId,
java.lang.String serviceInstanceId,
java.lang.String instanceRuntimeId,
java.lang.String action,
java.lang.String unhealthyReason)
Set service VM either in or out of maintenance mode for maintenance mode, or in
service or out of service for runtime state.
|
void |
create(java.lang.String serviceId,
java.lang.String serviceInstanceId,
java.lang.String instanceRuntimeId,
java.lang.String action,
java.lang.String unhealthyReason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set service VM either in or out of maintenance mode for maintenance mode, or in
service or out of service for runtime state.
|
void |
create(java.lang.String serviceId,
java.lang.String serviceInstanceId,
java.lang.String instanceRuntimeId,
java.lang.String action,
java.lang.String unhealthyReason,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set service VM either in or out of maintenance mode for maintenance mode, or in
service or out of service for runtime state.
|
void |
create(java.lang.String serviceId,
java.lang.String serviceInstanceId,
java.lang.String instanceRuntimeId,
java.lang.String action,
java.lang.String unhealthyReason,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set service VM either in or out of maintenance mode for maintenance mode, or in
service or out of service for runtime state.
|
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.
|
void |
deploy(java.lang.String serviceId,
java.lang.String serviceInstanceId)
Deprecated.
|
void |
deploy(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
|
void |
deploy(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 |
deploy(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
InstanceRuntimeListResult |
list(java.lang.String serviceId,
java.lang.String serviceInstanceId)
Returns list of instance runtimes of service VMs being deployed for a given
service instance id
|
void |
list(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<InstanceRuntimeListResult> asyncCallback)
Returns list of instance runtimes of service VMs being deployed for a given
service instance id
|
void |
list(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<InstanceRuntimeListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns list of instance runtimes of service VMs being deployed for a given
service instance id
|
InstanceRuntimeListResult |
list(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns list of instance runtimes of service VMs being deployed for a given
service instance id
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceInstanceId)
Deprecated.
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
|
void |
upgrade(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 |
upgrade(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
void create(java.lang.String serviceId, java.lang.String serviceInstanceId, java.lang.String instanceRuntimeId, java.lang.String action, java.lang.String unhealthyReason)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId
- (required)serviceInstanceId
- (required)instanceRuntimeId
- (required)action
- (optional)unhealthyReason
- Reason for the unhealthy state (optional)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, java.lang.String serviceInstanceId, java.lang.String instanceRuntimeId, java.lang.String action, java.lang.String unhealthyReason, 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)instanceRuntimeId
- (required)action
- (optional)unhealthyReason
- Reason for the unhealthy state (optional)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 create(java.lang.String serviceId, java.lang.String serviceInstanceId, java.lang.String instanceRuntimeId, java.lang.String action, java.lang.String unhealthyReason, 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)instanceRuntimeId
- (required)action
- (optional)unhealthyReason
- Reason for the unhealthy state (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(java.lang.String serviceId, java.lang.String serviceInstanceId, java.lang.String instanceRuntimeId, java.lang.String action, java.lang.String unhealthyReason, 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)instanceRuntimeId
- (required)action
- (optional)unhealthyReason
- Reason for the unhealthy state (optional)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.@Deprecated void deploy(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 deploy(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 deploy(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 deploy(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.InstanceRuntimeListResult list(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 FoundInstanceRuntimeListResult list(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 Foundvoid list(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<InstanceRuntimeListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.InstanceRuntimeListResult
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 list(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<InstanceRuntimeListResult> 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.InstanceRuntimeListResult
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.@Deprecated void upgrade(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 upgrade(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 upgrade(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 upgrade(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.