Interface ServiceProfiles

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId)
      This API can be used to delete service profile with given service-profile-id
      void delete​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      This API can be used to delete service profile with given service-profile-id
      void delete​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API can be used to delete service profile with given service-profile-id
      void delete​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API can be used to delete service profile with given service-profile-id
      PolicyServiceProfile get​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId)
      This API can be used to read service profile with given service-profile-id
      void get​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback)
      This API can be used to read service profile with given service-profile-id
      void get​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API can be used to read service profile with given service-profile-id
      PolicyServiceProfile get​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API can be used to read service profile with given service-profile-id
      PolicyServiceProfileListResult list​(java.lang.String serviceReferenceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      List all the service profiles available for given service reference
      void list​(java.lang.String serviceReferenceId, 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<PolicyServiceProfileListResult> asyncCallback)
      List all the service profiles available for given service reference
      void list​(java.lang.String serviceReferenceId, 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<PolicyServiceProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      List all the service profiles available for given service reference
      PolicyServiceProfileListResult list​(java.lang.String serviceReferenceId, 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)
      List all the service profiles available for given service reference
      void patch​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile)
      Create Service profile to specify vendor template attri- butes for a given 3rd party service.
      void patch​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Create Service profile to specify vendor template attri- butes for a given 3rd party service.
      void patch​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create Service profile to specify vendor template attri- butes for a given 3rd party service.
      void patch​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create Service profile to specify vendor template attri- butes for a given 3rd party service.
      PolicyServiceProfile update​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile)
      Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.
      void update​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile, com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback)
      Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.
      void update​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile, com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.
      PolicyServiceProfile update​(java.lang.String serviceReferenceId, java.lang.String serviceProfileId, PolicyServiceProfile policyServiceProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.
    • Method Detail

      • delete

        void delete​(java.lang.String serviceReferenceId,
                    java.lang.String serviceProfileId)
        This API can be used to delete service profile with given service-profile-id

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

        Parameters:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (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 serviceReferenceId,
                    java.lang.String serviceProfileId,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        This API can be used to delete service profile with given service-profile-id

        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:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (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 serviceReferenceId,
                    java.lang.String serviceProfileId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        This API can be used to delete service profile with given service-profile-id

        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:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        void delete​(java.lang.String serviceReferenceId,
                    java.lang.String serviceProfileId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        This API can be used to delete service profile with given service-profile-id

        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:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        PolicyServiceProfile get​(java.lang.String serviceReferenceId,
                                 java.lang.String serviceProfileId)
        This API can be used to read service profile with given service-profile-id

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

        Parameters:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (required)
        Returns:
        com.vmware.nsx_policy.model.PolicyServiceProfile
        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

        PolicyServiceProfile get​(java.lang.String serviceReferenceId,
                                 java.lang.String serviceProfileId,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        This API can be used to read service profile with given service-profile-id

        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:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyServiceProfile
        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 serviceReferenceId,
                 java.lang.String serviceProfileId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback)
        This API can be used to read service profile with given service-profile-id

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

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

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

        Parameters:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String serviceReferenceId,
                 java.lang.String serviceProfileId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        This API can be used to read service profile with given service-profile-id

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

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

        Parameters:
        serviceReferenceId - Id of Service Reference (required)
        serviceProfileId - Service profile id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        PolicyServiceProfileListResult list​(java.lang.String serviceReferenceId,
                                            java.lang.String cursor,
                                            java.lang.Boolean includeMarkForDeleteObjects,
                                            java.lang.String includedFields,
                                            java.lang.Long pageSize,
                                            java.lang.Boolean sortAscending,
                                            java.lang.String sortBy)
        List all the service profiles available for given service reference

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

        Parameters:
        serviceReferenceId - Service reference id (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.PolicyServiceProfileListResult
        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

        PolicyServiceProfileListResult list​(java.lang.String serviceReferenceId,
                                            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)
        List all the service profiles available for given service reference

        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:
        serviceReferenceId - Service reference id (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.PolicyServiceProfileListResult
        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 serviceReferenceId,
                  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<PolicyServiceProfileListResult> asyncCallback)
        List all the service profiles available for given service reference

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

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

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

        Parameters:
        serviceReferenceId - Service reference id (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 serviceReferenceId,
                  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<PolicyServiceProfileListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        List all the service profiles available for given service reference

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

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

        Parameters:
        serviceReferenceId - Service reference id (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 serviceReferenceId,
                   java.lang.String serviceProfileId,
                   PolicyServiceProfile policyServiceProfile)
        Create Service profile to specify vendor template attri- butes for a given 3rd party service.

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

        Parameters:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (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 serviceReferenceId,
                   java.lang.String serviceProfileId,
                   PolicyServiceProfile policyServiceProfile,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create Service profile to specify vendor template attri- butes for a given 3rd party service.

        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:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (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 serviceReferenceId,
                   java.lang.String serviceProfileId,
                   PolicyServiceProfile policyServiceProfile,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Create Service profile to specify vendor template attri- butes for a given 3rd party service.

        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:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        void patch​(java.lang.String serviceReferenceId,
                   java.lang.String serviceProfileId,
                   PolicyServiceProfile policyServiceProfile,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create Service profile to specify vendor template attri- butes for a given 3rd party service.

        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:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        PolicyServiceProfile update​(java.lang.String serviceReferenceId,
                                    java.lang.String serviceProfileId,
                                    PolicyServiceProfile policyServiceProfile)
        Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.

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

        Parameters:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (required)
        Returns:
        com.vmware.nsx_policy.model.PolicyServiceProfile
        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

        PolicyServiceProfile update​(java.lang.String serviceReferenceId,
                                    java.lang.String serviceProfileId,
                                    PolicyServiceProfile policyServiceProfile,
                                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.

        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:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PolicyServiceProfile
        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 serviceReferenceId,
                    java.lang.String serviceProfileId,
                    PolicyServiceProfile policyServiceProfile,
                    com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback)
        Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.

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

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

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

        Parameters:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(java.lang.String serviceReferenceId,
                    java.lang.String serviceProfileId,
                    PolicyServiceProfile policyServiceProfile,
                    com.vmware.vapi.bindings.client.AsyncCallback<PolicyServiceProfile> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service.

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

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

        Parameters:
        serviceReferenceId - Service reference id (required)
        serviceProfileId - Service profile id (required)
        policyServiceProfile - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.