Interface Sections

  • All Superinterfaces:
    SectionsTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    SectionsStub

    public interface Sections
    extends com.vmware.vapi.bindings.Service, SectionsTypes
    • Method Detail

      • create

        @Deprecated
        FirewallSection create​(FirewallSection firewallSection,
                               java.lang.String id,
                               java.lang.String operation)
        Deprecated.
        Creates new empty firewall section in the system.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        Returns:
        com.vmware.nsx.model.FirewallSection
        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
      • create

        @Deprecated
        FirewallSection create​(FirewallSection firewallSection,
                               java.lang.String id,
                               java.lang.String operation,
                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Creates new empty firewall section in the system.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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:
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSection
        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
      • create

        @Deprecated
        void create​(FirewallSection firewallSection,
                    java.lang.String id,
                    java.lang.String operation,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback)
        Deprecated.
        Creates new empty firewall section in the system.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSection

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

        Parameters:
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        @Deprecated
        void create​(FirewallSection firewallSection,
                    java.lang.String id,
                    java.lang.String operation,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Creates new empty firewall section in the system.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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.model.FirewallSection

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

        Parameters:
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • createwithrules

        @Deprecated
        FirewallSectionRuleList createwithrules​(FirewallSectionRuleList firewallSectionRuleList,
                                                java.lang.String id,
                                                java.lang.String operation)
        Deprecated.
        Creates a new firewall section with rules. The limit on the number of rules is defined by maxItems in collection types for FirewallRule (FirewallRuleXXXList types). When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number of rule references is not supported. Instead, to create sections, use: POST /api/v1/firewall/sections To create rules, use: POST /api/v1/firewall/sections//rules

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • createwithrules

        @Deprecated
        FirewallSectionRuleList createwithrules​(FirewallSectionRuleList firewallSectionRuleList,
                                                java.lang.String id,
                                                java.lang.String operation,
                                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Creates a new firewall section with rules. The limit on the number of rules is defined by maxItems in collection types for FirewallRule (FirewallRuleXXXList types). When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number of rule references is not supported. Instead, to create sections, use: POST /api/v1/firewall/sections To create rules, use: POST /api/v1/firewall/sections//rules

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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:
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • createwithrules

        @Deprecated
        void createwithrules​(FirewallSectionRuleList firewallSectionRuleList,
                             java.lang.String id,
                             java.lang.String operation,
                             com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback)
        Deprecated.
        Creates a new firewall section with rules. The limit on the number of rules is defined by maxItems in collection types for FirewallRule (FirewallRuleXXXList types). When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number of rule references is not supported. Instead, to create sections, use: POST /api/v1/firewall/sections To create rules, use: POST /api/v1/firewall/sections//rules

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSectionRuleList

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

        Parameters:
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • createwithrules

        @Deprecated
        void createwithrules​(FirewallSectionRuleList firewallSectionRuleList,
                             java.lang.String id,
                             java.lang.String operation,
                             com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Creates a new firewall section with rules. The limit on the number of rules is defined by maxItems in collection types for FirewallRule (FirewallRuleXXXList types). When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number of rule references is not supported. Instead, to create sections, use: POST /api/v1/firewall/sections To create rules, use: POST /api/v1/firewall/sections//rules

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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.model.FirewallSectionRuleList

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

        Parameters:
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • delete

        @Deprecated
        void delete​(java.lang.String sectionId,
                    java.lang.Boolean cascade)
        Deprecated.
        Removes firewall section from the system. Firewall section with rules can only be deleted by passing \"cascade=true\" parameter.

        Use the following Policy API -
        DELETE /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        cascade - Flag to cascade delete of this object to all it's child objects. (optional, default to false)
        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 sectionId,
                    java.lang.Boolean cascade,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Removes firewall section from the system. Firewall section with rules can only be deleted by passing \"cascade=true\" parameter.

        Use the following Policy API -
        DELETE /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        cascade - Flag to cascade delete of this object to all it's child objects. (optional, default to false)
        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 sectionId,
                    java.lang.Boolean cascade,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        Removes firewall section from the system. Firewall section with rules can only be deleted by passing \"cascade=true\" parameter.

        Use the following Policy API -
        DELETE /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        cascade - Flag to cascade delete of this object to all it's child objects. (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        @Deprecated
        void delete​(java.lang.String sectionId,
                    java.lang.Boolean cascade,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Removes firewall section from the system. Firewall section with rules can only be deleted by passing \"cascade=true\" parameter.

        Use the following Policy API -
        DELETE /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        cascade - Flag to cascade delete of this object to all it's child objects. (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        @Deprecated
        FirewallSection get​(java.lang.String sectionId)
        Deprecated.
        Returns information about firewall section for the identifier.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        Returns:
        com.vmware.nsx.model.FirewallSection
        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
        FirewallSection get​(java.lang.String sectionId,
                            com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Returns information about firewall section for the identifier.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSection
        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 sectionId,
                 com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback)
        Deprecated.
        Returns information about firewall section for the identifier.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSection

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

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

        @Deprecated
        void get​(java.lang.String sectionId,
                 com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Returns information about firewall section for the identifier.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-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.model.FirewallSection

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

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

        @Deprecated
        FirewallSectionListResult list​(java.lang.String appliedTos,
                                       java.lang.String contextProfiles,
                                       java.lang.String cursor,
                                       java.lang.Boolean deepSearch,
                                       java.lang.String destinations,
                                       java.lang.String enforcedOn,
                                       java.lang.String excludeAppliedToType,
                                       java.lang.String extendedSources,
                                       java.lang.String filterType,
                                       java.lang.String includeAppliedToType,
                                       java.lang.String includedFields,
                                       java.lang.Boolean locked,
                                       java.lang.Long pageSize,
                                       java.lang.Boolean searchInvalidReferences,
                                       java.lang.String searchScope,
                                       java.lang.String services,
                                       java.lang.Boolean sortAscending,
                                       java.lang.String sortBy,
                                       java.lang.String sources,
                                       java.lang.String type)
        Deprecated.

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

        Parameters:
        appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules . (optional)
        contextProfiles - Limits results to sections having rules with specific Context Profiles. (optional)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        deepSearch - Toggle to search with direct or indirect references. (optional, default to false)
        destinations - Destinations referenced by this section's Distributed Service Rules . (optional)
        enforcedOn - Type of attachment for logical port; for query only. (optional)
        excludeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        extendedSources - Limits results to sections having rules with specific Extended Sources. (optional)
        filterType - Filter type (optional, default to FILTER)
        includeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        locked - Limit results to sections which are locked/unlocked (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        searchInvalidReferences - Return invalid references in results. (optional, default to false)
        searchScope - Limit result to sections of a specific enforcement point (optional)
        services - NSService referenced by this section's Distributed Service Rules . (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        sources - Sources referenced by this section's Distributed Service Rules . (optional)
        type - Section Type (optional, default to LAYER3)
        Returns:
        com.vmware.nsx.model.FirewallSectionListResult
        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
        FirewallSectionListResult list​(java.lang.String appliedTos,
                                       java.lang.String contextProfiles,
                                       java.lang.String cursor,
                                       java.lang.Boolean deepSearch,
                                       java.lang.String destinations,
                                       java.lang.String enforcedOn,
                                       java.lang.String excludeAppliedToType,
                                       java.lang.String extendedSources,
                                       java.lang.String filterType,
                                       java.lang.String includeAppliedToType,
                                       java.lang.String includedFields,
                                       java.lang.Boolean locked,
                                       java.lang.Long pageSize,
                                       java.lang.Boolean searchInvalidReferences,
                                       java.lang.String searchScope,
                                       java.lang.String services,
                                       java.lang.Boolean sortAscending,
                                       java.lang.String sortBy,
                                       java.lang.String sources,
                                       java.lang.String type,
                                       com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.

        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:
        appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules . (optional)
        contextProfiles - Limits results to sections having rules with specific Context Profiles. (optional)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        deepSearch - Toggle to search with direct or indirect references. (optional, default to false)
        destinations - Destinations referenced by this section's Distributed Service Rules . (optional)
        enforcedOn - Type of attachment for logical port; for query only. (optional)
        excludeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        extendedSources - Limits results to sections having rules with specific Extended Sources. (optional)
        filterType - Filter type (optional, default to FILTER)
        includeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        locked - Limit results to sections which are locked/unlocked (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        searchInvalidReferences - Return invalid references in results. (optional, default to false)
        searchScope - Limit result to sections of a specific enforcement point (optional)
        services - NSService referenced by this section's Distributed Service Rules . (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        sources - Sources referenced by this section's Distributed Service Rules . (optional)
        type - Section Type (optional, default to LAYER3)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSectionListResult
        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 appliedTos,
                  java.lang.String contextProfiles,
                  java.lang.String cursor,
                  java.lang.Boolean deepSearch,
                  java.lang.String destinations,
                  java.lang.String enforcedOn,
                  java.lang.String excludeAppliedToType,
                  java.lang.String extendedSources,
                  java.lang.String filterType,
                  java.lang.String includeAppliedToType,
                  java.lang.String includedFields,
                  java.lang.Boolean locked,
                  java.lang.Long pageSize,
                  java.lang.Boolean searchInvalidReferences,
                  java.lang.String searchScope,
                  java.lang.String services,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  java.lang.String sources,
                  java.lang.String type,
                  com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionListResult> asyncCallback)
        Deprecated.

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSectionListResult

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

        Parameters:
        appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules . (optional)
        contextProfiles - Limits results to sections having rules with specific Context Profiles. (optional)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        deepSearch - Toggle to search with direct or indirect references. (optional, default to false)
        destinations - Destinations referenced by this section's Distributed Service Rules . (optional)
        enforcedOn - Type of attachment for logical port; for query only. (optional)
        excludeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        extendedSources - Limits results to sections having rules with specific Extended Sources. (optional)
        filterType - Filter type (optional, default to FILTER)
        includeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        locked - Limit results to sections which are locked/unlocked (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        searchInvalidReferences - Return invalid references in results. (optional, default to false)
        searchScope - Limit result to sections of a specific enforcement point (optional)
        services - NSService referenced by this section's Distributed Service Rules . (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        sources - Sources referenced by this section's Distributed Service Rules . (optional)
        type - Section Type (optional, default to LAYER3)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        @Deprecated
        void list​(java.lang.String appliedTos,
                  java.lang.String contextProfiles,
                  java.lang.String cursor,
                  java.lang.Boolean deepSearch,
                  java.lang.String destinations,
                  java.lang.String enforcedOn,
                  java.lang.String excludeAppliedToType,
                  java.lang.String extendedSources,
                  java.lang.String filterType,
                  java.lang.String includeAppliedToType,
                  java.lang.String includedFields,
                  java.lang.Boolean locked,
                  java.lang.Long pageSize,
                  java.lang.Boolean searchInvalidReferences,
                  java.lang.String searchScope,
                  java.lang.String services,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  java.lang.String sources,
                  java.lang.String type,
                  com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.

        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.model.FirewallSectionListResult

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

        Parameters:
        appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules . (optional)
        contextProfiles - Limits results to sections having rules with specific Context Profiles. (optional)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        deepSearch - Toggle to search with direct or indirect references. (optional, default to false)
        destinations - Destinations referenced by this section's Distributed Service Rules . (optional)
        enforcedOn - Type of attachment for logical port; for query only. (optional)
        excludeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        extendedSources - Limits results to sections having rules with specific Extended Sources. (optional)
        filterType - Filter type (optional, default to FILTER)
        includeAppliedToType - Resource type valid for use as AppliedTo filter in section API (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        locked - Limit results to sections which are locked/unlocked (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        searchInvalidReferences - Return invalid references in results. (optional, default to false)
        searchScope - Limit result to sections of a specific enforcement point (optional)
        services - NSService referenced by this section's Distributed Service Rules . (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        sources - Sources referenced by this section's Distributed Service Rules . (optional)
        type - Section Type (optional, default to LAYER3)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • listwithrules

        @Deprecated
        FirewallSectionRuleList listwithrules​(java.lang.String sectionId)
        Deprecated.
        Returns firewall section information with rules for a section identifier. When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number rule references is not supported. Instead, to read firewall rules, use: GET /api/v1/firewall/sections//rules with the appropriate page_size.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • listwithrules

        @Deprecated
        FirewallSectionRuleList listwithrules​(java.lang.String sectionId,
                                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Returns firewall section information with rules for a section identifier. When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number rule references is not supported. Instead, to read firewall rules, use: GET /api/v1/firewall/sections//rules with the appropriate page_size.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • listwithrules

        @Deprecated
        void listwithrules​(java.lang.String sectionId,
                           com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback)
        Deprecated.
        Returns firewall section information with rules for a section identifier. When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number rule references is not supported. Instead, to read firewall rules, use: GET /api/v1/firewall/sections//rules with the appropriate page_size.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSectionRuleList

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

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

        @Deprecated
        void listwithrules​(java.lang.String sectionId,
                           com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Returns firewall section information with rules for a section identifier. When invoked on a section with a large number of rules, this API is supported only at low rates of invocation (not more than 4-5 times per minute). The typical latency of this API with about 1024 rules is about 4-5 seconds. This API should not be invoked with large payloads at automation speeds. More than 50 rules with a large number rule references is not supported. Instead, to read firewall rules, use: GET /api/v1/firewall/sections//rules with the appropriate page_size.

        Use the following Policy API -
        GET /policy/api/v1/infra/domains//security-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.model.FirewallSectionRuleList

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

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

        @Deprecated
        FirewallSection lock​(java.lang.String sectionId,
                             FirewallSectionLock firewallSectionLock)
        Deprecated.
        Lock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        firewallSectionLock - (required)
        Returns:
        com.vmware.nsx.model.FirewallSection
        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.ResourceBusy - Locked
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • lock

        @Deprecated
        FirewallSection lock​(java.lang.String sectionId,
                             FirewallSectionLock firewallSectionLock,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Lock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        firewallSectionLock - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSection
        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.ResourceBusy - Locked
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • lock

        @Deprecated
        void lock​(java.lang.String sectionId,
                  FirewallSectionLock firewallSectionLock,
                  com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback)
        Deprecated.
        Lock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSection

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

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

        @Deprecated
        void lock​(java.lang.String sectionId,
                  FirewallSectionLock firewallSectionLock,
                  com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Lock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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.model.FirewallSection

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

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

        @Deprecated
        FirewallSection revise​(java.lang.String sectionId,
                               FirewallSection firewallSection,
                               java.lang.String id,
                               java.lang.String operation)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections in the system. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

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

        Parameters:
        sectionId - (required)
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        Returns:
        com.vmware.nsx.model.FirewallSection
        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
      • revise

        @Deprecated
        FirewallSection revise​(java.lang.String sectionId,
                               FirewallSection firewallSection,
                               java.lang.String id,
                               java.lang.String operation,
                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections in the system. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

        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:
        sectionId - (required)
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSection
        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
      • revise

        @Deprecated
        void revise​(java.lang.String sectionId,
                    FirewallSection firewallSection,
                    java.lang.String id,
                    java.lang.String operation,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections in the system. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSection

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

        Parameters:
        sectionId - (required)
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • revise

        @Deprecated
        void revise​(java.lang.String sectionId,
                    FirewallSection firewallSection,
                    java.lang.String id,
                    java.lang.String operation,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections in the system. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

        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.model.FirewallSection

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

        Parameters:
        sectionId - (required)
        firewallSection - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • revisewithrules

        @Deprecated
        FirewallSectionRuleList revisewithrules​(java.lang.String sectionId,
                                                FirewallSectionRuleList firewallSectionRuleList,
                                                java.lang.String id,
                                                java.lang.String operation)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to move a section above or below another section, use: POST /api/v1/firewall/sections/?action=revise To modify rules, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

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

        Parameters:
        sectionId - (required)
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • revisewithrules

        @Deprecated
        FirewallSectionRuleList revisewithrules​(java.lang.String sectionId,
                                                FirewallSectionRuleList firewallSectionRuleList,
                                                java.lang.String id,
                                                java.lang.String operation,
                                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to move a section above or below another section, use: POST /api/v1/firewall/sections/?action=revise To modify rules, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

        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:
        sectionId - (required)
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • revisewithrules

        @Deprecated
        void revisewithrules​(java.lang.String sectionId,
                             FirewallSectionRuleList firewallSectionRuleList,
                             java.lang.String id,
                             java.lang.String operation,
                             com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to move a section above or below another section, use: POST /api/v1/firewall/sections/?action=revise To modify rules, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSectionRuleList

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

        Parameters:
        sectionId - (required)
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • revisewithrules

        @Deprecated
        void revisewithrules​(java.lang.String sectionId,
                             FirewallSectionRuleList firewallSectionRuleList,
                             java.lang.String id,
                             java.lang.String operation,
                             com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies an existing firewall section along with its relative position among other firewall sections with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to move a section above or below another section, use: POST /api/v1/firewall/sections/?action=revise To modify rules, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        POST /policy/api/v1/infra/domains//security-policies/?action=revise

        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.model.FirewallSectionRuleList

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

        Parameters:
        sectionId - (required)
        firewallSectionRuleList - (required)
        id - Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'. (optional)
        operation - Operation (optional, default to insert_top)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • unlock

        @Deprecated
        FirewallSection unlock​(java.lang.String sectionId,
                               FirewallSectionLock firewallSectionLock)
        Deprecated.
        Unlock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        firewallSectionLock - (required)
        Returns:
        com.vmware.nsx.model.FirewallSection
        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.ResourceBusy - Locked
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • unlock

        @Deprecated
        FirewallSection unlock​(java.lang.String sectionId,
                               FirewallSectionLock firewallSectionLock,
                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Unlock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        firewallSectionLock - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSection
        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.ResourceBusy - Locked
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • unlock

        @Deprecated
        void unlock​(java.lang.String sectionId,
                    FirewallSectionLock firewallSectionLock,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback)
        Deprecated.
        Unlock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSection

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

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

        @Deprecated
        void unlock​(java.lang.String sectionId,
                    FirewallSectionLock firewallSectionLock,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Unlock a section.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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.model.FirewallSection

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

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

        @Deprecated
        FirewallSection update​(java.lang.String sectionId,
                               FirewallSection firewallSection)
        Deprecated.
        Modifies the specified section, but does not modify the section's associated rules. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        firewallSection - (required)
        Returns:
        com.vmware.nsx.model.FirewallSection
        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
        FirewallSection update​(java.lang.String sectionId,
                               FirewallSection firewallSection,
                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies the specified section, but does not modify the section's associated rules. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        firewallSection - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSection
        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 sectionId,
                    FirewallSection firewallSection,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback)
        Deprecated.
        Modifies the specified section, but does not modify the section's associated rules. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSection

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

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

        @Deprecated
        void update​(java.lang.String sectionId,
                    FirewallSection firewallSection,
                    com.vmware.vapi.bindings.client.AsyncCallback<FirewallSection> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies the specified section, but does not modify the section's associated rules. Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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.model.FirewallSection

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

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

        @Deprecated
        FirewallSectionRuleList updatewithrules​(java.lang.String sectionId,
                                                FirewallSectionRuleList firewallSectionRuleList)
        Deprecated.
        Modifies existing firewall section along with its association with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to update rule content, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Parameters:
        sectionId - (required)
        firewallSectionRuleList - (required)
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • updatewithrules

        @Deprecated
        FirewallSectionRuleList updatewithrules​(java.lang.String sectionId,
                                                FirewallSectionRuleList firewallSectionRuleList,
                                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies existing firewall section along with its association with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to update rule content, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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:
        sectionId - (required)
        firewallSectionRuleList - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.FirewallSectionRuleList
        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
      • updatewithrules

        @Deprecated
        void updatewithrules​(java.lang.String sectionId,
                             FirewallSectionRuleList firewallSectionRuleList,
                             com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback)
        Deprecated.
        Modifies existing firewall section along with its association with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to update rule content, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-policies/

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

        Invocation Result:
        com.vmware.nsx.model.FirewallSectionRuleList

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

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

        @Deprecated
        void updatewithrules​(java.lang.String sectionId,
                             FirewallSectionRuleList firewallSectionRuleList,
                             com.vmware.vapi.bindings.client.AsyncCallback<FirewallSectionRuleList> asyncCallback,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Modifies existing firewall section along with its association with rules. When invoked on a large number of rules, this API is supported only at low rates of invocation (not more than 2 times per minute). The typical latency of this API with about 1024 rules is about 15 seconds in a cluster setup. This API should not be invoked with large payloads at automation speeds. Instead, to update rule content, use: PUT /api/v1/firewall/sections//rules/ Simultaneous update (modify) operations on same section are not allowed to prevent overwriting stale contents to firewall section. If a concurrent update is performed, HTTP response code 409 will be returned to the client operating on stale data. That client should retrieve the firewall section again and re-apply its update.

        Use the following Policy API -
        PUT|PATCH /policy/api/v1/infra/domains//security-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.model.FirewallSectionRuleList

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

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