public class InstanceRuntimesStub extends com.vmware.vapi.internal.bindings.Stub implements InstanceRuntimes
InstanceRuntimes
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_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
Constructor and Description |
---|
InstanceRuntimesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
InstanceRuntimesStub(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 |
---|---|
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)
Undeploy one service VM as standalone or two service VMs as HA.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Undeploy one service VM as standalone or two service VMs as HA.
|
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)
Undeploy one service VM as standalone or two service VMs as HA.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Undeploy one service VM as standalone or two service VMs as HA.
|
void |
deploy(java.lang.String serviceId,
java.lang.String serviceInstanceId)
Deploys one service VM as standalone, or two service VMs as HA where one VM is
active and another one is standby.
|
void |
deploy(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deploys one service VM as standalone, or two service VMs as HA where one VM is
active and another one is standby.
|
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)
Deploys one service VM as standalone, or two service VMs as HA where one VM is
active and another one is standby.
|
void |
deploy(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deploys one service VM as standalone, or two service VMs as HA where one VM is
active and another one is standby.
|
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)
Upgrade service VMs using newer version of OVF.
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Upgrade service VMs using newer version of OVF.
|
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)
Upgrade service VMs using newer version of OVF.
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceInstanceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upgrade service VMs using newer version of OVF.
|
public InstanceRuntimesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public InstanceRuntimesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void create(java.lang.String serviceId, java.lang.String serviceInstanceId, java.lang.String instanceRuntimeId, java.lang.String action, java.lang.String unhealthyReason)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)instanceRuntimeId
- (required)action
- (optional)unhealthyReason
- Reason for the unhealthy state (optional)public 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)
InstanceRuntimes
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 InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)instanceRuntimeId
- (required)action
- (optional)unhealthyReason
- Reason for the unhealthy state (optional)invocationConfig
- Configuration for the method invocation.public 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)
InstanceRuntimes
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
create
in interface InstanceRuntimes
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.public 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)
InstanceRuntimes
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
create
in interface InstanceRuntimes
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.public void delete(java.lang.String serviceId, java.lang.String serviceInstanceId)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)public void delete(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InstanceRuntimes
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 InstanceRuntimes
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)
InstanceRuntimes
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 InstanceRuntimes
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)
InstanceRuntimes
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 InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void deploy(java.lang.String serviceId, java.lang.String serviceInstanceId)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be reported as a method return value.
deploy
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)public void deploy(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
deploy
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.public void deploy(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
InstanceRuntimes
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
deploy
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public 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)
InstanceRuntimes
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
deploy
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public InstanceRuntimeListResult list(java.lang.String serviceId, java.lang.String serviceInstanceId)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)public InstanceRuntimeListResult list(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InstanceRuntimes
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 InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<InstanceRuntimeListResult> asyncCallback)
InstanceRuntimes
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
list
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public 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)
InstanceRuntimes
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
list
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void upgrade(java.lang.String serviceId, java.lang.String serviceInstanceId)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be reported as a method return value.
upgrade
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)public void upgrade(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InstanceRuntimes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
upgrade
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)invocationConfig
- Configuration for the method invocation.public void upgrade(java.lang.String serviceId, java.lang.String serviceInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
InstanceRuntimes
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
upgrade
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public 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)
InstanceRuntimes
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
upgrade
in interface InstanceRuntimes
serviceId
- (required)serviceInstanceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.