Interface CommunicationMaps

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String domainId, java.lang.String communicationMapId)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String communicationMapId, 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 communicationMapId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMap get​(java.lang.String domainId, java.lang.String communicationMapId)
      Deprecated.
      void get​(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
      Deprecated.
      void get​(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMap get​(java.lang.String domainId, java.lang.String communicationMapId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMapListResult list​(java.lang.String domainId, 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 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<CommunicationMapListResult> asyncCallback)
      Deprecated.
      void list​(java.lang.String domainId, 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<CommunicationMapListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMapListResult list​(java.lang.String domainId, 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 communicationMapId, CommunicationMap communicationMap)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, 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 communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMap revise​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation)
      Deprecated.
      void revise​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
      Deprecated.
      void revise​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMap revise​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, java.lang.String anchorPath, java.lang.String operation, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMap update​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap)
      Deprecated.
      void update​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
      Deprecated.
      void update​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      CommunicationMap update​(java.lang.String domainId, java.lang.String communicationMapId, CommunicationMap communicationMap, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
    • Method Detail

      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String communicationMapId)
        Deprecated.
        Deletes the communication map along with all the communication entries
        This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-id

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

        Parameters:
        domainId - (required)
        communicationMapId - (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 communicationMapId,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Deletes the communication map along with all the communication entries
        This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-id

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        domainId - (required)
        communicationMapId - (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 communicationMapId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        Deletes the communication map along with all the communication entries
        This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-id

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

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

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

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String communicationMapId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Deletes the communication map along with all the communication entries
        This API is deprecated. Please use the following API instead. DELETE /infra/domains/domain-id/security-policies/security-policy-id

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

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

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

        @Deprecated
        CommunicationMap get​(java.lang.String domainId,
                             java.lang.String communicationMapId)
        Deprecated.
        Read communication-map for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-id

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        Returns:
        com.vmware.nsx_policy.model.CommunicationMap
        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
        CommunicationMap get​(java.lang.String domainId,
                             java.lang.String communicationMapId,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Read communication-map for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-id

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CommunicationMap
        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 communicationMapId,
                 com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
        Deprecated.
        Read communication-map for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-id

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

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

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

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

        @Deprecated
        void get​(java.lang.String domainId,
                 java.lang.String communicationMapId,
                 com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Read communication-map for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies/security-policy-id

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

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

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

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

        @Deprecated
        CommunicationMapListResult list​(java.lang.String domainId,
                                        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 all communication maps for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies

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

        Parameters:
        domainId - (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.CommunicationMapListResult
        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
        CommunicationMapListResult list​(java.lang.String domainId,
                                        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 all communication maps for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/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:
        domainId - (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.CommunicationMapListResult
        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 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<CommunicationMapListResult> asyncCallback)
        Deprecated.
        List all communication maps for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/security-policies

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

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

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

        Parameters:
        domainId - (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 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<CommunicationMapListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        List all communication maps for a domain.
        This API is deprecated. Please use the following API instead. GET /infra/domains/domain-id/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_policy.model.CommunicationMapListResult

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

        Parameters:
        domainId - (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 communicationMapId,
                   CommunicationMap communicationMap)
        Deprecated.
        Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
        This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-id

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (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 communicationMapId,
                   CommunicationMap communicationMap,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
        This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-id

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (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 communicationMapId,
                   CommunicationMap communicationMap,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
        This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-id

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

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String communicationMapId,
                   CommunicationMap communicationMap,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Patch the communication map for a domain. If a communication map for the given communication-map-id is not present, the object will get created and if it is present it will be updated. This is a full replace
        This API is deprecated. Please use the following API instead. PATCH /infra/domains/domain-id/security-policies/security-policy-id

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

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

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

        @Deprecated
        CommunicationMap revise​(java.lang.String domainId,
                                java.lang.String communicationMapId,
                                CommunicationMap communicationMap,
                                java.lang.String anchorPath,
                                java.lang.String operation)
        Deprecated.
        This is used to set a precedence of a communication map w.r.t others.
        This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?action=revise

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        anchorPath - The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (optional)
        operation - Operation (optional, default to insert_top)
        Returns:
        com.vmware.nsx_policy.model.CommunicationMap
        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
        CommunicationMap revise​(java.lang.String domainId,
                                java.lang.String communicationMapId,
                                CommunicationMap communicationMap,
                                java.lang.String anchorPath,
                                java.lang.String operation,
                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        This is used to set a precedence of a communication map w.r.t others.
        This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?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:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        anchorPath - The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (optional)
        operation - Operation (optional, default to insert_top)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CommunicationMap
        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 domainId,
                    java.lang.String communicationMapId,
                    CommunicationMap communicationMap,
                    java.lang.String anchorPath,
                    java.lang.String operation,
                    com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
        Deprecated.
        This is used to set a precedence of a communication map w.r.t others.
        This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?action=revise

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

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

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        anchorPath - The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (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 domainId,
                    java.lang.String communicationMapId,
                    CommunicationMap communicationMap,
                    java.lang.String anchorPath,
                    java.lang.String operation,
                    com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        This is used to set a precedence of a communication map w.r.t others.
        This API is deprecated. Please use the following API instead. POST /infra/domains/domain-id/security-policies/security-policy-id?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_policy.model.CommunicationMap

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        anchorPath - The communication map/communication entry path if operation is 'insert_after' or 'insert_before' (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.
      • update

        @Deprecated
        CommunicationMap update​(java.lang.String domainId,
                                java.lang.String communicationMapId,
                                CommunicationMap communicationMap)
        Deprecated.
        Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
        This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-id

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

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        Returns:
        com.vmware.nsx_policy.model.CommunicationMap
        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
        CommunicationMap update​(java.lang.String domainId,
                                java.lang.String communicationMapId,
                                CommunicationMap communicationMap,
                                com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
        This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-id

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        domainId - (required)
        communicationMapId - (required)
        communicationMap - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CommunicationMap
        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 communicationMapId,
                    CommunicationMap communicationMap,
                    com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback)
        Deprecated.
        Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
        This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-id

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

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

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

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

        @Deprecated
        void update​(java.lang.String domainId,
                    java.lang.String communicationMapId,
                    CommunicationMap communicationMap,
                    com.vmware.vapi.bindings.client.AsyncCallback<CommunicationMap> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create or Update the communication map for a domain. This is a full replace. All the CommunicationEntries are replaced.
        This API is deprecated. Please use the following API instead. PUT /infra/domains/domain-id/security-policies/security-policy-id

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

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

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

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