Interface PortMirroringInstances

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deprecated.
      void delete​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, 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 groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      PortMirroringInstance get​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId)
      Deprecated.
      void get​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
      Deprecated.
      void get​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      PortMirroringInstance get​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      PortMirroringInstanceListResult list​(java.lang.String domainId, java.lang.String groupId, 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 groupId, 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<PortMirroringInstanceListResult> asyncCallback)
      Deprecated.
      void list​(java.lang.String domainId, java.lang.String groupId, 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<PortMirroringInstanceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      PortMirroringInstanceListResult list​(java.lang.String domainId, java.lang.String groupId, 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 groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deprecated.
      void patch​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, 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 groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      PortMirroringInstance update​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance)
      Deprecated.
      void update​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
      Deprecated.
      void update​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      PortMirroringInstance update​(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
    • Method Detail

      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String groupId,
                    java.lang.String portMirroringInstanceId)
        Deprecated.
        API will delete port mirroring instance. Mirroring from source to destination ports will be stopped. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String groupId,
                    java.lang.String portMirroringInstanceId,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        API will delete port mirroring instance. Mirroring from source to destination ports will be stopped. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        invocationConfig - Configuration for the method invocation.
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String groupId,
                    java.lang.String portMirroringInstanceId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        API will delete port mirroring instance. Mirroring from source to destination ports will be stopped. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        @Deprecated
        void delete​(java.lang.String domainId,
                    java.lang.String groupId,
                    java.lang.String portMirroringInstanceId,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        API will delete port mirroring instance. Mirroring from source to destination ports will be stopped. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        @Deprecated
        PortMirroringInstance get​(java.lang.String domainId,
                                  java.lang.String groupId,
                                  java.lang.String portMirroringInstanceId)
        Deprecated.
        API will return details of port mirroring instance. If instance does not exist, it will return 404. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        Returns:
        com.vmware.nsx_policy.model.PortMirroringInstance
        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
        PortMirroringInstance get​(java.lang.String domainId,
                                  java.lang.String groupId,
                                  java.lang.String portMirroringInstanceId,
                                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        API will return details of port mirroring instance. If instance does not exist, it will return 404. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PortMirroringInstance
        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 groupId,
                 java.lang.String portMirroringInstanceId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
        Deprecated.
        API will return details of port mirroring instance. If instance does not exist, it will return 404. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        @Deprecated
        void get​(java.lang.String domainId,
                 java.lang.String groupId,
                 java.lang.String portMirroringInstanceId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        API will return details of port mirroring instance. If instance does not exist, it will return 404. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        @Deprecated
        PortMirroringInstanceListResult list​(java.lang.String domainId,
                                             java.lang.String groupId,
                                             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.
        API will list all port mirroring instances active on current group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        Returns:
        com.vmware.nsx_policy.model.PortMirroringInstanceListResult
        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
        PortMirroringInstanceListResult list​(java.lang.String domainId,
                                             java.lang.String groupId,
                                             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.
        API will list all port mirroring instances active on current group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PortMirroringInstanceListResult
        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 groupId,
                  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<PortMirroringInstanceListResult> asyncCallback)
        Deprecated.
        API will list all port mirroring instances active on current group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

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

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

        @Deprecated
        void list​(java.lang.String domainId,
                  java.lang.String groupId,
                  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<PortMirroringInstanceListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        API will list all port mirroring instances active on current group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

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

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String groupId,
                   java.lang.String portMirroringInstanceId,
                   PortMirroringInstance portMirroringInstance)
        Deprecated.
        Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist. If the Port Mirroring Instance with the given id already exists, patch with the existing Port Mirroring Instance. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (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 groupId,
                   java.lang.String portMirroringInstanceId,
                   PortMirroringInstance portMirroringInstance,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist. If the Port Mirroring Instance with the given id already exists, patch with the existing Port Mirroring Instance. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (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 groupId,
                   java.lang.String portMirroringInstanceId,
                   PortMirroringInstance portMirroringInstance,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Deprecated.
        Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist. If the Port Mirroring Instance with the given id already exists, patch with the existing Port Mirroring Instance. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        @Deprecated
        void patch​(java.lang.String domainId,
                   java.lang.String groupId,
                   java.lang.String portMirroringInstanceId,
                   PortMirroringInstance portMirroringInstance,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist. If the Port Mirroring Instance with the given id already exists, patch with the existing Port Mirroring Instance. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        @Deprecated
        PortMirroringInstance update​(java.lang.String domainId,
                                     java.lang.String groupId,
                                     java.lang.String portMirroringInstanceId,
                                     PortMirroringInstance portMirroringInstance)
        Deprecated.
        Create or Replace port mirroring instance. Packets will be mirrored from source group to destination group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (required)
        Returns:
        com.vmware.nsx_policy.model.PortMirroringInstance
        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
        PortMirroringInstance update​(java.lang.String domainId,
                                     java.lang.String groupId,
                                     java.lang.String portMirroringInstanceId,
                                     PortMirroringInstance portMirroringInstance,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create or Replace port mirroring instance. Packets will be mirrored from source group to destination group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PortMirroringInstance
        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 groupId,
                    java.lang.String portMirroringInstanceId,
                    PortMirroringInstance portMirroringInstance,
                    com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
        Deprecated.
        Create or Replace port mirroring instance. Packets will be mirrored from source group to destination group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        @Deprecated
        void update​(java.lang.String domainId,
                    java.lang.String groupId,
                    java.lang.String portMirroringInstanceId,
                    PortMirroringInstance portMirroringInstance,
                    com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Create or Replace port mirroring instance. Packets will be mirrored from source group to destination group. This API is deprecated. Please use the following API: https:///policy/api/v1/infra/port-mirroring-profiles

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

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

        Parameters:
        domainId - Domain ID (required)
        groupId - Group ID (required)
        portMirroringInstanceId - Port Mirroring Instance Id (required)
        portMirroringInstance - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.