Interface ServiceInterfaces

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId)
      Delete service interface
      void delete​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete service interface
      void delete​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete service interface
      void delete​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete service interface
      ServiceInterface get​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId)
      Read service interface
      void get​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)
      Read service interface
      void get​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read service interface
      ServiceInterface get​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read service interface
      ServiceInterfaceListResult list​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      Paginated list of all Service Interfaces
      void list​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback)
      Paginated list of all Service Interfaces
      void list​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Paginated list of all Service Interfaces
      ServiceInterfaceListResult list​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Paginated list of all Service Interfaces
      void patch​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface)
      If an interface with the interface-id is not already present, create a new interface.
      void patch​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      If an interface with the interface-id is not already present, create a new interface.
      void patch​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If an interface with the interface-id is not already present, create a new interface.
      void patch​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If an interface with the interface-id is not already present, create a new interface.
      ServiceInterface update​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface)
      If an interface with the interface-id is not already present, create a new interface.
      void update​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)
      If an interface with the interface-id is not already present, create a new interface.
      void update​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If an interface with the interface-id is not already present, create a new interface.
      ServiceInterface update​(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String interfaceId, ServiceInterface serviceInterface, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If an interface with the interface-id is not already present, create a new interface.
    • Method Detail

      • delete

        void delete​(java.lang.String tier0Id,
                    java.lang.String localeServiceId,
                    java.lang.String interfaceId)
        Delete service interface

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (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
      • delete

        void delete​(java.lang.String tier0Id,
                    java.lang.String localeServiceId,
                    java.lang.String interfaceId,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Delete service interface

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (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
      • delete

        void delete​(java.lang.String tier0Id,
                    java.lang.String localeServiceId,
                    java.lang.String interfaceId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Delete service interface

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        void delete​(java.lang.String tier0Id,
                    java.lang.String localeServiceId,
                    java.lang.String interfaceId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Delete service interface

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        ServiceInterface get​(java.lang.String tier0Id,
                             java.lang.String localeServiceId,
                             java.lang.String interfaceId)
        Read service interface

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        Returns:
        com.vmware.nsx_policy.model.ServiceInterface
        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

        ServiceInterface get​(java.lang.String tier0Id,
                             java.lang.String localeServiceId,
                             java.lang.String interfaceId,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Read service interface

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceInterface
        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 tier0Id,
                 java.lang.String localeServiceId,
                 java.lang.String interfaceId,
                 com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)
        Read service interface

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

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

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

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

        void get​(java.lang.String tier0Id,
                 java.lang.String localeServiceId,
                 java.lang.String interfaceId,
                 com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Read service interface

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

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

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

        ServiceInterfaceListResult list​(java.lang.String tier0Id,
                                        java.lang.String localeServiceId,
                                        java.lang.String cursor,
                                        java.lang.Boolean includeMarkForDeleteObjects,
                                        java.lang.String includedFields,
                                        java.lang.Long pageSize,
                                        java.lang.Boolean sortAscending,
                                        java.lang.String sortBy)
        Paginated list of all Service Interfaces

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        Returns:
        com.vmware.nsx_policy.model.ServiceInterfaceListResult
        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

        ServiceInterfaceListResult list​(java.lang.String tier0Id,
                                        java.lang.String localeServiceId,
                                        java.lang.String cursor,
                                        java.lang.Boolean includeMarkForDeleteObjects,
                                        java.lang.String includedFields,
                                        java.lang.Long pageSize,
                                        java.lang.Boolean sortAscending,
                                        java.lang.String sortBy,
                                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Paginated list of all Service Interfaces

        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:
        tier0Id - (required)
        localeServiceId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceInterfaceListResult
        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​(java.lang.String tier0Id,
                  java.lang.String localeServiceId,
                  java.lang.String cursor,
                  java.lang.Boolean includeMarkForDeleteObjects,
                  java.lang.String includedFields,
                  java.lang.Long pageSize,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback)
        Paginated list of all Service Interfaces

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

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

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        void list​(java.lang.String tier0Id,
                  java.lang.String localeServiceId,
                  java.lang.String cursor,
                  java.lang.Boolean includeMarkForDeleteObjects,
                  java.lang.String includedFields,
                  java.lang.Long pageSize,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterfaceListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Paginated list of all Service Interfaces

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

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        void patch​(java.lang.String tier0Id,
                   java.lang.String localeServiceId,
                   java.lang.String interfaceId,
                   ServiceInterface serviceInterface)
        If an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (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
      • patch

        void patch​(java.lang.String tier0Id,
                   java.lang.String localeServiceId,
                   java.lang.String interfaceId,
                   ServiceInterface serviceInterface,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        If an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (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
      • patch

        void patch​(java.lang.String tier0Id,
                   java.lang.String localeServiceId,
                   java.lang.String interfaceId,
                   ServiceInterface serviceInterface,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        If an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        void patch​(java.lang.String tier0Id,
                   java.lang.String localeServiceId,
                   java.lang.String interfaceId,
                   ServiceInterface serviceInterface,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        If an interface with the interface-id is not already present, create a new interface. If it already exists, update the interface for specified attributes.

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        ServiceInterface update​(java.lang.String tier0Id,
                                java.lang.String localeServiceId,
                                java.lang.String interfaceId,
                                ServiceInterface serviceInterface)
        If an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (required)
        Returns:
        com.vmware.nsx_policy.model.ServiceInterface
        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

        ServiceInterface update​(java.lang.String tier0Id,
                                java.lang.String localeServiceId,
                                java.lang.String interfaceId,
                                ServiceInterface serviceInterface,
                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        If an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.

        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:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceInterface
        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 tier0Id,
                    java.lang.String localeServiceId,
                    java.lang.String interfaceId,
                    ServiceInterface serviceInterface,
                    com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback)
        If an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.

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

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

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(java.lang.String tier0Id,
                    java.lang.String localeServiceId,
                    java.lang.String interfaceId,
                    ServiceInterface serviceInterface,
                    com.vmware.vapi.bindings.client.AsyncCallback<ServiceInterface> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        If an interface with the interface-id is not already present, create a new interface. Modification of service interface is not allowed.

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

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

        Parameters:
        tier0Id - (required)
        localeServiceId - (required)
        interfaceId - (required)
        serviceInterface - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.