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)
ServiceDeployments
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServiceDeployments
serviceId
- (required)serviceDeployment
- (required)public ServiceDeployment create(java.lang.String serviceId, ServiceDeployment serviceDeployment, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeployments
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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
Asynchronous 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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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.ServiceDeployment
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServiceDeployments
serviceId
- (required)serviceDeploymentId
- (required)public ServiceDeployment get(java.lang.String serviceId, java.lang.String serviceDeploymentId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeployments
Synchronous 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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
Asynchronous 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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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.ServiceDeployment
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceDeployments
serviceId
- (required)public ServiceDeploymentListResult list(java.lang.String serviceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceDeployments
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 ServiceDeployments
serviceId
- (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String serviceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDeploymentListResult> asyncCallback)
ServiceDeployments
Asynchronous 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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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.ServiceDeploymentListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
Synchronous 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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
Asynchronous 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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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.ServiceDeployment
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
Synchronous method overload. Result of the invocation will be reported as a method return value.
upgrade
in interface ServiceDeployments
serviceId
- (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)
ServiceDeployments
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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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 ServiceDeployments
serviceId
- (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)
ServiceDeployments
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 ServiceDeployments
serviceId
- (required)serviceDeploymentId
- (required)deploymentSpecName
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.