Interface Rules

  • All Superinterfaces:
    RulesTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    RulesStub

    public interface Rules
    extends com.vmware.vapi.bindings.Service, RulesTypes
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      ForwardingRule get​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId)
      Deprecated.
      void get​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback)
      Deprecated.
      void get​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      ForwardingRule get​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      ForwardingRuleListResult list​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      Deprecated.
      void list​(java.lang.String domainId, java.lang.String forwardingPolicyId, 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<ForwardingRuleListResult> asyncCallback)
      Deprecated.
      void list​(java.lang.String domainId, java.lang.String forwardingPolicyId, 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<ForwardingRuleListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      ForwardingRuleListResult list​(java.lang.String domainId, java.lang.String forwardingPolicyId, 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)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      ForwardingRule update​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule)
      Deprecated.
      void update​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback)
      Deprecated.
      void update​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      ForwardingRule update​(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String ruleId, ForwardingRule forwardingRule, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
    • Method Detail

      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String forwardingPolicyId,
                    java.lang.String ruleId)
        Deprecated.
        Delete ForwardingRule

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

        Parameters:
        domainId - Domain ID (required)
        forwardingPolicyId - Forwarding Map ID (required)
        ruleId - ForwardingRule 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

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String forwardingPolicyId,
                    java.lang.String ruleId,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Delete ForwardingRule

        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:
        domainId - Domain ID (required)
        forwardingPolicyId - Forwarding Map ID (required)
        ruleId - ForwardingRule 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

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String forwardingPolicyId,
                    java.lang.String ruleId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        Delete ForwardingRule

        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:
        domainId - Domain ID (required)
        forwardingPolicyId - Forwarding Map ID (required)
        ruleId - ForwardingRule ID (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String forwardingPolicyId,
                    java.lang.String ruleId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Delete ForwardingRule

        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:
        domainId - Domain ID (required)
        forwardingPolicyId - Forwarding Map ID (required)
        ruleId - ForwardingRule ID (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        @Deprecated
        ForwardingRule get​(java.lang.String domainId,
                           java.lang.String forwardingPolicyId,
                           java.lang.String ruleId)
        Deprecated.
        Read rule

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        Returns:
        com.vmware.nsx_policy.model.ForwardingRule
        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

        @Deprecated
        ForwardingRule get​(java.lang.String domainId,
                           java.lang.String forwardingPolicyId,
                           java.lang.String ruleId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Read rule

        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:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ForwardingRule
        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

        @Deprecated
        void get​(java.lang.String domainId,
                 java.lang.String forwardingPolicyId,
                 java.lang.String ruleId,
                 com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback)
        Deprecated.
        Read rule

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

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

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        @Deprecated
        void get​(java.lang.String domainId,
                 java.lang.String forwardingPolicyId,
                 java.lang.String ruleId,
                 com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Read rule

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

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        @Deprecated
        ForwardingRuleListResult list​(java.lang.String domainId,
                                      java.lang.String forwardingPolicyId,
                                      java.lang.String cursor,
                                      java.lang.Boolean includeMarkForDeleteObjects,
                                      java.lang.String includedFields,
                                      java.lang.Long pageSize,
                                      java.lang.Boolean sortAscending,
                                      java.lang.String sortBy)
        Deprecated.
        List rules

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map 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.ForwardingRuleListResult
        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

        @Deprecated
        ForwardingRuleListResult list​(java.lang.String domainId,
                                      java.lang.String forwardingPolicyId,
                                      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)
        Deprecated.
        List rules

        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:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map 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.ForwardingRuleListResult
        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

        @Deprecated
        void list​(java.lang.String domainId,
                  java.lang.String forwardingPolicyId,
                  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<ForwardingRuleListResult> asyncCallback)
        Deprecated.
        List rules

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

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

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map 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

        @Deprecated
        void list​(java.lang.String domainId,
                  java.lang.String forwardingPolicyId,
                  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<ForwardingRuleListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        List rules

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

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map 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

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String forwardingPolicyId,
                   java.lang.String ruleId,
                   ForwardingRule forwardingRule)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        forwardingRule - (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

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String forwardingPolicyId,
                   java.lang.String ruleId,
                   ForwardingRule forwardingRule,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

        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:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        forwardingRule - (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

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String forwardingPolicyId,
                   java.lang.String ruleId,
                   ForwardingRule forwardingRule,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

        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:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        forwardingRule - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String forwardingPolicyId,
                   java.lang.String ruleId,
                   ForwardingRule forwardingRule,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

        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:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - Rule id (required)
        forwardingRule - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        @Deprecated
        ForwardingRule update​(java.lang.String domainId,
                              java.lang.String forwardingPolicyId,
                              java.lang.String ruleId,
                              ForwardingRule forwardingRule)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - rule id (required)
        forwardingRule - (required)
        Returns:
        com.vmware.nsx_policy.model.ForwardingRule
        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

        @Deprecated
        ForwardingRule update​(java.lang.String domainId,
                              java.lang.String forwardingPolicyId,
                              java.lang.String ruleId,
                              ForwardingRule forwardingRule,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

        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:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - rule id (required)
        forwardingRule - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ForwardingRule
        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

        @Deprecated
        void update​(java.lang.String domainId,
                    java.lang.String forwardingPolicyId,
                    java.lang.String ruleId,
                    ForwardingRule forwardingRule,
                    com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

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

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

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - rule id (required)
        forwardingRule - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        @Deprecated
        void update​(java.lang.String domainId,
                    java.lang.String forwardingPolicyId,
                    java.lang.String ruleId,
                    ForwardingRule forwardingRule,
                    com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRule> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create a rule with the rule-id is not already present, otherwise update the rule. Performance Note: If you want to edit several rules in a forwarding policy, prefer below mentioned API for optimal performance. Pass all the rules which you wish to edit as embedded rules to it. Use this API - PATCH (or PUT) /infra/domains//forwarding-policies/

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

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

        Parameters:
        domainId - Domain id (required)
        forwardingPolicyId - Forwarding map id (required)
        ruleId - rule id (required)
        forwardingRule - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.