Interface SvmDeployment
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,SvmDeploymentTypes
- All Known Implementing Classes:
SvmDeploymentStub
public interface SvmDeployment extends com.vmware.vapi.bindings.Service, SvmDeploymentTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.malware_prevention.compute_collection.SvmDeploymentTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MpsSvmDeploymentSpec
create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec)
This will deploy the Malware Prevention Service on a given cluster.void
create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback)
This will deploy the Malware Prevention Service on a given cluster.void
create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will deploy the Malware Prevention Service on a given cluster.MpsSvmDeploymentSpec
create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will deploy the Malware Prevention Service on a given cluster.void
delete(java.lang.String computeCollectionId, java.lang.Boolean force)
Remove the service deployment.void
delete(java.lang.String computeCollectionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Remove the service deployment.void
delete(java.lang.String computeCollectionId, 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 computeCollectionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove the service deployment.MpsSvmDeploymentSpec
get(java.lang.String computeCollectionId)
Returns detail of the Malware Prevention Service deployment.void
get(java.lang.String computeCollectionId, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback)
Returns detail of the Malware Prevention Service deployment.void
get(java.lang.String computeCollectionId, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detail of the Malware Prevention Service deployment.MpsSvmDeploymentSpec
get(java.lang.String computeCollectionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detail of the Malware Prevention Service deployment.
-
-
-
Method Detail
-
create
MpsSvmDeploymentSpec create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec)
This will deploy the Malware Prevention Service on a given cluster. Internally OVF will be deployed on each host that is part of the cluster. If there are no issues in the parameters, the call returns immediately, and the service VMs will be deployed asynchronously. To get the overall status of the deployment or to get the status of individual service vm, please use the MPS deployment status APIs.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
computeCollectionId
- (required)mpsSvmDeploymentSpec
- (required)- Returns:
- com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
- Throws:
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
-
create
MpsSvmDeploymentSpec create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will deploy the Malware Prevention Service on a given cluster. Internally OVF will be deployed on each host that is part of the cluster. If there are no issues in the parameters, the call returns immediately, and the service VMs will be deployed asynchronously. To get the overall status of the deployment or to get the status of individual service vm, please use the MPS deployment status APIs.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
computeCollectionId
- (required)mpsSvmDeploymentSpec
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
- Throws:
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
-
create
void create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback)
This will deploy the Malware Prevention Service on a given cluster. Internally OVF will be deployed on each host that is part of the cluster. If there are no issues in the parameters, the call returns immediately, and the service VMs will be deployed asynchronously. To get the overall status of the deployment or to get the status of individual service vm, please use the MPS deployment status APIs.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.MpsSvmDeploymentSpecOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
computeCollectionId
- (required)mpsSvmDeploymentSpec
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(java.lang.String computeCollectionId, MpsSvmDeploymentSpec mpsSvmDeploymentSpec, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will deploy the Malware Prevention Service on a given cluster. Internally OVF will be deployed on each host that is part of the cluster. If there are no issues in the parameters, the call returns immediately, and the service VMs will be deployed asynchronously. To get the overall status of the deployment or to get the status of individual service vm, please use the MPS deployment status APIs.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.MpsSvmDeploymentSpecOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
computeCollectionId
- (required)mpsSvmDeploymentSpec
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
delete
void delete(java.lang.String computeCollectionId, java.lang.Boolean force)
Remove the service deployment. This will remove all the Service VMs that were created as part of this deployment on the specified cluster. User can optionally set force delete option which will force remove the deployment, but should be used only when the regular delete is not working. Regular delete will ensure proper cleanup of Service VMs and related objects. Directly calling this API without trying regular undeploy will result in unexpected results, and orphan objects.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
computeCollectionId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default to false)- Throws:
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
-
delete
void delete(java.lang.String computeCollectionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remove the service deployment. This will remove all the Service VMs that were created as part of this deployment on the specified cluster. User can optionally set force delete option which will force remove the deployment, but should be used only when the regular delete is not working. Regular delete will ensure proper cleanup of Service VMs and related objects. Directly calling this API without trying regular undeploy will result in unexpected results, and orphan objects.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
computeCollectionId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default to false)invocationConfig
- Configuration for the method invocation.- Throws:
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
-
delete
void delete(java.lang.String computeCollectionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Remove the service deployment. This will remove all the Service VMs that were created as part of this deployment on the specified cluster. User can optionally set force delete option which will force remove the deployment, but should be used only when the regular delete is not working. Regular delete will ensure proper cleanup of Service VMs and related objects. Directly calling this API without trying regular undeploy will result in unexpected results, and orphan objects.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
- Parameters:
computeCollectionId
- (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.
-
delete
void delete(java.lang.String computeCollectionId, 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. This will remove all the Service VMs that were created as part of this deployment on the specified cluster. User can optionally set force delete option which will force remove the deployment, but should be used only when the regular delete is not working. Regular delete will ensure proper cleanup of Service VMs and related objects. Directly calling this API without trying regular undeploy will result in unexpected results, and orphan objects.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
computeCollectionId
- (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.
-
get
MpsSvmDeploymentSpec get(java.lang.String computeCollectionId)
Returns detail of the Malware Prevention Service deployment.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
computeCollectionId
- (required)- Returns:
- com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
- Throws:
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
-
get
MpsSvmDeploymentSpec get(java.lang.String computeCollectionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detail of the Malware Prevention Service deployment.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
computeCollectionId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
- Throws:
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
-
get
void get(java.lang.String computeCollectionId, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback)
Returns detail of the Malware Prevention Service deployment.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.MpsSvmDeploymentSpecOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
computeCollectionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String computeCollectionId, com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detail of the Malware Prevention Service deployment.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.MpsSvmDeploymentSpecOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
computeCollectionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-