public class ServiceDeploymentsStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceDeployments
ServiceDeployments
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ServiceDeploymentsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceDeploymentsStub(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 |
|---|---|
ServiceDeployment |
create(java.lang.String serviceId,
ServiceDeployment serviceDeployment)
This will deploy a particular service on a given cluster / host.
|
void |
create(java.lang.String serviceId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback)
This will deploy a particular service on a given cluster / host.
|
void |
create(java.lang.String serviceId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will deploy a particular service on a given cluster / host.
|
ServiceDeployment |
create(java.lang.String serviceId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will deploy a particular service on a given cluster / host.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force)
Remove the service deployment.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Remove the service deployment.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove the service deployment.
|
void |
delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove the service deployment.
|
ServiceDeployment |
get(java.lang.String serviceId,
java.lang.String serviceDeploymentId)
Returns detail of service deployment.
|
void |
get(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback)
Returns detail of service deployment.
|
void |
get(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detail of service deployment.
|
ServiceDeployment |
get(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detail of service deployment.
|
ServiceDeploymentListResult |
list(java.lang.String serviceId)
Returns the list of deployments for the given service
|
void |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeploymentListResult> asyncCallback)
Returns the list of deployments for the given service
|
void |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeploymentListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the list of deployments for the given service
|
ServiceDeploymentListResult |
list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the list of deployments for the given service
|
ServiceDeployment |
update(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
ServiceDeployment serviceDeployment)
Update an existing Service Deployment.
|
void |
update(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback)
Update an existing Service Deployment.
|
void |
update(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update an existing Service Deployment.
|
ServiceDeployment |
update(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update an existing Service Deployment.
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName)
If new deployment spec is provided, the deployment will be moved to the provided
spec provided that current deployment state is either UPGRADE_FAILED or
DEPLOYMENT_SUCCESSFUL If same deployment spec is provided, upgrade will be done
only if current deployment state is UPGRADE_FAILED If the exisiting data store
is upgraded or changed, there is an optional parameter to supply the new storage
Id during upgrade which would perform the deployment upgrade on the new data
store
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If new deployment spec is provided, the deployment will be moved to the provided
spec provided that current deployment state is either UPGRADE_FAILED or
DEPLOYMENT_SUCCESSFUL If same deployment spec is provided, upgrade will be done
only if current deployment state is UPGRADE_FAILED If the exisiting data store
is upgraded or changed, there is an optional parameter to supply the new storage
Id during upgrade which would perform the deployment upgrade on the new data
store
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If new deployment spec is provided, the deployment will be moved to the provided
spec provided that current deployment state is either UPGRADE_FAILED or
DEPLOYMENT_SUCCESSFUL If same deployment spec is provided, upgrade will be done
only if current deployment state is UPGRADE_FAILED If the exisiting data store
is upgraded or changed, there is an optional parameter to supply the new storage
Id during upgrade which would perform the deployment upgrade on the new data
store
|
void |
upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If new deployment spec is provided, the deployment will be moved to the provided
spec provided that current deployment state is either UPGRADE_FAILED or
DEPLOYMENT_SUCCESSFUL If same deployment spec is provided, upgrade will be done
only if current deployment state is UPGRADE_FAILED If the exisiting data store
is upgraded or changed, there is an optional parameter to supply the new storage
Id during upgrade which would perform the deployment upgrade on the new data
store
|
public ServiceDeploymentsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceDeploymentsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceDeployment create(java.lang.String serviceId, ServiceDeployment serviceDeployment)
ServiceDeploymentsSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface ServiceDeploymentsserviceId - (required)serviceDeployment - (required)public ServiceDeployment create(java.lang.String serviceId, ServiceDeployment serviceDeployment, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsSynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeployment - (required)invocationConfig - Configuration for the method invocation.public void create(java.lang.String serviceId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback)
ServiceDeploymentsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDeployment
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface ServiceDeploymentsserviceId - (required)serviceDeployment - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String serviceId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsAsynchronous 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.ServiceDeployment
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface ServiceDeploymentsserviceId - (required)serviceDeployment - (required)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 serviceDeploymentId,
java.lang.Boolean force)
ServiceDeploymentsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)force - Force delete the resource even if it is being used somewhere (optional, default
to false)public void delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsSynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)force - Force delete the resource even if it is being used somewhere (optional, default
to false)invocationConfig - Configuration for the method invocation.public void delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceDeploymentsAsynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)force - Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsAsynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)force - Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceDeployment get(java.lang.String serviceId, java.lang.String serviceDeploymentId)
ServiceDeploymentsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)public ServiceDeployment get(java.lang.String serviceId, java.lang.String serviceDeploymentId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsSynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback)
ServiceDeploymentsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDeployment
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsAsynchronous 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.ServiceDeployment
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceDeploymentListResult list(java.lang.String serviceId)
ServiceDeploymentsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface ServiceDeploymentsserviceId - (required)public ServiceDeploymentListResult list(java.lang.String serviceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsSynchronous 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 ServiceDeploymentsserviceId - (required)invocationConfig - Configuration for the method invocation.public void list(java.lang.String serviceId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeploymentListResult> asyncCallback)
ServiceDeploymentsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDeploymentListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface ServiceDeploymentsserviceId - (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<ServiceDeploymentListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsAsynchronous 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.ServiceDeploymentListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface ServiceDeploymentsserviceId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceDeployment update(java.lang.String serviceId, java.lang.String serviceDeploymentId, ServiceDeployment serviceDeployment)
ServiceDeploymentsSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)serviceDeployment - (required)public ServiceDeployment update(java.lang.String serviceId, java.lang.String serviceDeploymentId, ServiceDeployment serviceDeployment, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsSynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)serviceDeployment - (required)invocationConfig - Configuration for the method invocation.public void update(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback)
ServiceDeploymentsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceDeployment
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)serviceDeployment - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
ServiceDeployment serviceDeployment,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeployment> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsAsynchronous 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.ServiceDeployment
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
update in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)serviceDeployment - (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 serviceDeploymentId,
DeploymentSpecName deploymentSpecName)
ServiceDeploymentsSynchronous method overload. Result of the invocation will be reported as a method return value.
upgrade in interface ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)deploymentSpecName - (required)public void upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsSynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)deploymentSpecName - (required)invocationConfig - Configuration for the method invocation.public void upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceDeploymentsAsynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)deploymentSpecName - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void upgrade(java.lang.String serviceId,
java.lang.String serviceDeploymentId,
DeploymentSpecName deploymentSpecName,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeploymentsAsynchronous 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 ServiceDeploymentsserviceId - (required)serviceDeploymentId - (required)deploymentSpecName - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.