Class SvmDeploymentStub

  • All Implemented Interfaces:
    SvmDeployment, SvmDeploymentTypes, com.vmware.vapi.bindings.Service

    public class SvmDeploymentStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements SvmDeployment
    Remote stub implementation of the SvmDeployment API service.

    WARNING: Internal class, subject to change in future versions.

    • Field Summary

      • Fields inherited from class com.vmware.vapi.internal.bindings.Stub

        apiProvider, converter, ifaceId, retryPolicy, securityContext
    • Constructor Summary

      Constructors 
      Constructor Description
      SvmDeploymentStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      SvmDeploymentStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SvmDeploymentStub

        public SvmDeploymentStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                 com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                                 com.vmware.vapi.bindings.StubConfigurationBase config)
      • SvmDeploymentStub

        public SvmDeploymentStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                 com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • create

        public MpsSvmDeploymentSpec create​(java.lang.String computeCollectionId,
                                           MpsSvmDeploymentSpec mpsSvmDeploymentSpec)
        Description copied from interface: SvmDeployment
        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.

        Specified by:
        create in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        mpsSvmDeploymentSpec - (required)
        Returns:
        com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
      • create

        public MpsSvmDeploymentSpec create​(java.lang.String computeCollectionId,
                                           MpsSvmDeploymentSpec mpsSvmDeploymentSpec,
                                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: SvmDeployment
        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.

        Specified by:
        create in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        mpsSvmDeploymentSpec - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
      • create

        public void create​(java.lang.String computeCollectionId,
                           MpsSvmDeploymentSpec mpsSvmDeploymentSpec,
                           com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback)
        Description copied from interface: SvmDeployment
        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.MpsSvmDeploymentSpec

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        mpsSvmDeploymentSpec - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        public void create​(java.lang.String computeCollectionId,
                           MpsSvmDeploymentSpec mpsSvmDeploymentSpec,
                           com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: SvmDeployment
        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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.MpsSvmDeploymentSpec

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        mpsSvmDeploymentSpec - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String computeCollectionId,
                           java.lang.Boolean force)
        Description copied from interface: SvmDeployment
        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.

        Specified by:
        delete in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        force - Force delete the resource even if it is being used somewhere (optional, default to false)
      • delete

        public void delete​(java.lang.String computeCollectionId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: SvmDeployment
        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.

        Specified by:
        delete in interface SvmDeployment
        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.
      • delete

        public void delete​(java.lang.String computeCollectionId,
                           java.lang.Boolean force,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: SvmDeployment
        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

        Specified by:
        delete in interface SvmDeployment
        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

        public 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)
        Description copied from interface: SvmDeployment
        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. 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

        Specified by:
        delete in interface SvmDeployment
        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

        public MpsSvmDeploymentSpec get​(java.lang.String computeCollectionId)
        Description copied from interface: SvmDeployment
        Returns detail of the Malware Prevention Service deployment.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        Returns:
        com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
      • get

        public MpsSvmDeploymentSpec get​(java.lang.String computeCollectionId,
                                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: SvmDeployment
        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.

        Specified by:
        get in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.MpsSvmDeploymentSpec
      • get

        public void get​(java.lang.String computeCollectionId,
                        com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback)
        Description copied from interface: SvmDeployment
        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.MpsSvmDeploymentSpec

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String computeCollectionId,
                        com.vmware.vapi.bindings.client.AsyncCallback<MpsSvmDeploymentSpec> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: SvmDeployment
        Returns detail of the Malware Prevention Service deployment.

        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_policy.model.MpsSvmDeploymentSpec

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface SvmDeployment
        Parameters:
        computeCollectionId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.