Interface PortMirroringProfiles

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String portMirroringProfileId, java.lang.Boolean override)
      API will delete port mirroring profile.
      void delete​(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      API will delete port mirroring profile.
      void delete​(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API will delete port mirroring profile.
      void delete​(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API will delete port mirroring profile.
      PortMirroringProfile get​(java.lang.String portMirroringProfileId)
      API will return details of port mirroring profile.
      void get​(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
      API will return details of port mirroring profile.
      void get​(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API will return details of port mirroring profile.
      PortMirroringProfile get​(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API will return details of port mirroring profile.
      PortMirroringProfileListResult list​(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      API will list all port mirroring profiles group.
      void list​(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfileListResult> asyncCallback)
      API will list all port mirroring profiles group.
      void list​(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API will list all port mirroring profiles group.
      PortMirroringProfileListResult list​(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API will list all port mirroring profiles group.
      void patch​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)
      Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist.
      void patch​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist.
      void patch​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist.
      void patch​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist.
      PortMirroringProfile update​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)
      Create or Replace port mirroring profile.
      void update​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
      Create or Replace port mirroring profile.
      void update​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or Replace port mirroring profile.
      PortMirroringProfile update​(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or Replace port mirroring profile.
    • Method Detail

      • delete

        void delete​(java.lang.String portMirroringProfileId,
                    java.lang.Boolean override)
        API will delete port mirroring profile. Mirroring from source to destination ports will be stopped.

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        override - Locally override the global object (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

        void delete​(java.lang.String portMirroringProfileId,
                    java.lang.Boolean override,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        API will delete port mirroring profile. Mirroring from source to destination ports will be stopped.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        override - Locally override the global object (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

        void delete​(java.lang.String portMirroringProfileId,
                    java.lang.Boolean override,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        API will delete port mirroring profile. Mirroring from source to destination ports will be stopped.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        override - Locally override the global object (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        void delete​(java.lang.String portMirroringProfileId,
                    java.lang.Boolean override,
                    com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        API will delete port mirroring profile. Mirroring from source to destination ports will be stopped.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        override - Locally override the global object (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        PortMirroringProfile get​(java.lang.String portMirroringProfileId)
        API will return details of port mirroring profile.

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        Returns:
        com.vmware.nsx_policy.model.PortMirroringProfile
        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

        PortMirroringProfile get​(java.lang.String portMirroringProfileId,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        API will return details of port mirroring profile.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PortMirroringProfile
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        void get​(java.lang.String portMirroringProfileId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
        API will return details of port mirroring profile.

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

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

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String portMirroringProfileId,
                 com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        API will return details of port mirroring profile.

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

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

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

        PortMirroringProfileListResult list​(java.lang.String cursor,
                                            java.lang.String includedFields,
                                            java.lang.Long pageSize,
                                            java.lang.Boolean sortAscending,
                                            java.lang.String sortBy)
        API will list all port mirroring profiles group.

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

        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        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.PortMirroringProfileListResult
        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

        PortMirroringProfileListResult list​(java.lang.String cursor,
                                            java.lang.String includedFields,
                                            java.lang.Long pageSize,
                                            java.lang.Boolean sortAscending,
                                            java.lang.String sortBy,
                                            com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        API will list all port mirroring profiles group.

        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:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        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.PortMirroringProfileListResult
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • list

        void list​(java.lang.String cursor,
                  java.lang.String includedFields,
                  java.lang.Long pageSize,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfileListResult> asyncCallback)
        API will list all port mirroring profiles group.

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

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

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

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

        void list​(java.lang.String cursor,
                  java.lang.String includedFields,
                  java.lang.Long pageSize,
                  java.lang.Boolean sortAscending,
                  java.lang.String sortBy,
                  com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfileListResult> asyncCallback,
                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        API will list all port mirroring profiles group.

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

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

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

        void patch​(java.lang.String portMirroringProfileId,
                   PortMirroringProfile portMirroringProfile,
                   java.lang.Boolean override)
        Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist. If the Port Mirroring Profile with the given id already exists, patch with the existing Port Mirroring Profile. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (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
      • patch

        void patch​(java.lang.String portMirroringProfileId,
                   PortMirroringProfile portMirroringProfile,
                   java.lang.Boolean override,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist. If the Port Mirroring Profile with the given id already exists, patch with the existing Port Mirroring Profile. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (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
      • patch

        void patch​(java.lang.String portMirroringProfileId,
                   PortMirroringProfile portMirroringProfile,
                   java.lang.Boolean override,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist. If the Port Mirroring Profile with the given id already exists, patch with the existing Port Mirroring Profile. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        void patch​(java.lang.String portMirroringProfileId,
                   PortMirroringProfile portMirroringProfile,
                   java.lang.Boolean override,
                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create a new Port Mirroring Profile if the Port Mirroring Profile with given id does not already exist. If the Port Mirroring Profile with the given id already exists, patch with the existing Port Mirroring Profile. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

        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:
        portMirroringProfileId - Port Mirroring Profile Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        PortMirroringProfile update​(java.lang.String portMirroringProfileId,
                                    PortMirroringProfile portMirroringProfile,
                                    java.lang.Boolean override)
        Create or Replace port mirroring profile. Packets will be mirrored from source group, segment, port to destination group. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profiles Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (optional, default to false)
        Returns:
        com.vmware.nsx_policy.model.PortMirroringProfile
        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

        PortMirroringProfile update​(java.lang.String portMirroringProfileId,
                                    PortMirroringProfile portMirroringProfile,
                                    java.lang.Boolean override,
                                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create or Replace port mirroring profile. Packets will be mirrored from source group, segment, port to destination group. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

        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:
        portMirroringProfileId - Port Mirroring Profiles Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (optional, default to false)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.PortMirroringProfile
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • update

        void update​(java.lang.String portMirroringProfileId,
                    PortMirroringProfile portMirroringProfile,
                    java.lang.Boolean override,
                    com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)
        Create or Replace port mirroring profile. Packets will be mirrored from source group, segment, port to destination group. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

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

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

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profiles Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(java.lang.String portMirroringProfileId,
                    PortMirroringProfile portMirroringProfile,
                    java.lang.Boolean override,
                    com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Create or Replace port mirroring profile. Packets will be mirrored from source group, segment, port to destination group. Realized entities of this API can be found using the path of monitoring profile binding map that is used to apply this profile.

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

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

        Parameters:
        portMirroringProfileId - Port Mirroring Profiles Id (required)
        portMirroringProfile - (required)
        override - Locally override the global object (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.