Interface VersionWhitelist

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AcceptableComponentVersion get​(java.lang.String componentType)
      Get whitelist of versions for a component.
      void get​(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
      Get whitelist of versions for a component.
      void get​(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for a component.
      AcceptableComponentVersion get​(java.lang.String componentType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for a component.
      AcceptableComponentVersionList list()
      Get whitelist of versions for different components
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
      Get whitelist of versions for different components
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for different components
      AcceptableComponentVersionList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for different components
      void update​(java.lang.String componentType, VersionList versionList)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      void update​(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      void update​(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      void update​(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
    • Method Detail

      • get

        AcceptableComponentVersion get​(java.lang.String componentType)
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

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

        Parameters:
        componentType - (required)
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersion
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        AcceptableComponentVersion get​(java.lang.String componentType,
                                       com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        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:
        componentType - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersion
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        void get​(java.lang.String componentType,
                 com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Parameters:
        componentType - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String componentType,
                 com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        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.AcceptableComponentVersion

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

        Parameters:
        componentType - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        AcceptableComponentVersionList list()
        Get whitelist of versions for different components

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

        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersionList
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        AcceptableComponentVersionList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get whitelist of versions for different components

        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:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersionList
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
        Get whitelist of versions for different components

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

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

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

        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get whitelist of versions for different components

        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.AcceptableComponentVersionList

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

        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        void update​(java.lang.String componentType,
                    VersionList versionList)
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

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

        Parameters:
        componentType - (required)
        versionList - (required)
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        void update​(java.lang.String componentType,
                    VersionList versionList,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        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:
        componentType - (required)
        versionList - (required)
        invocationConfig - Configuration for the method invocation.
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        void update​(java.lang.String componentType,
                    VersionList versionList,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        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:
        componentType - (required)
        versionList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(java.lang.String componentType,
                    VersionList versionList,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        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

        Parameters:
        componentType - (required)
        versionList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.