Class PortMirroringInstancesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.domains.groups.PortMirroringInstancesStub
-
- All Implemented Interfaces:
PortMirroringInstances
,PortMirroringInstancesTypes
,com.vmware.vapi.bindings.Service
public class PortMirroringInstancesStub extends com.vmware.vapi.internal.bindings.Stub implements PortMirroringInstances
Remote stub implementation of thePortMirroringInstances
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.domains.groups.PortMirroringInstancesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description PortMirroringInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
PortMirroringInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId)
API will delete port mirroring instance.void
delete(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
API will delete port mirroring instance.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)
API will delete port mirroring instance.void
delete(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will delete port mirroring instance.PortMirroringInstance
get(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId)
API will return details of port mirroring instance.void
get(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
API will return details of port mirroring instance.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)
API will return details of port mirroring instance.PortMirroringInstance
get(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API will return details of port mirroring instance.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)
API will list all port mirroring instances active on current group.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)
API will list all port mirroring instances active on current group.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)
API will list all port mirroring instances active on current group.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)
API will list all port mirroring instances active on current group.void
patch(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance)
Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist.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)
Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist.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)
Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist.void
patch(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new Port Mirroring Instance if the Port Mirroring Instance with given id does not already exist.PortMirroringInstance
update(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance)
Create or Replace port mirroring instance.void
update(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
Create or Replace port mirroring instance.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)
Create or Replace port mirroring instance.PortMirroringInstance
update(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or Replace port mirroring instance.
-
-
-
Constructor Detail
-
PortMirroringInstancesStub
public PortMirroringInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
PortMirroringInstancesStub
public PortMirroringInstancesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId)
Description copied from interface:PortMirroringInstances
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.
- Specified by:
delete
in interfacePortMirroringInstances
- Parameters:
domainId
- Domain ID (required)groupId
- Group ID (required)portMirroringInstanceId
- Port Mirroring Instance Id (required)
-
delete
public void delete(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:PortMirroringInstances
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.- Specified by:
delete
in interfacePortMirroringInstances
- Parameters:
domainId
- Domain ID (required)groupId
- Group ID (required)portMirroringInstanceId
- Port Mirroring Instance Id (required)invocationConfig
- Configuration for the method invocation.
-
delete
public void delete(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:PortMirroringInstances
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
- Specified by:
delete
in interfacePortMirroringInstances
- 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
public 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)
Description copied from interface:PortMirroringInstances
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
. UseinvocationConfig
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
- Specified by:
delete
in interfacePortMirroringInstances
- 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
public PortMirroringInstance get(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId)
Description copied from interface:PortMirroringInstances
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.
- Specified by:
get
in interfacePortMirroringInstances
- Parameters:
domainId
- Domain ID (required)groupId
- Group ID (required)portMirroringInstanceId
- Port Mirroring Instance Id (required)- Returns:
- com.vmware.nsx_policy.model.PortMirroringInstance
-
get
public PortMirroringInstance get(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:PortMirroringInstances
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.- Specified by:
get
in interfacePortMirroringInstances
- 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
-
get
public void get(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
Description copied from interface:PortMirroringInstances
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.PortMirroringInstanceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfacePortMirroringInstances
- 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
public 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)
Description copied from interface:PortMirroringInstances
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
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PortMirroringInstanceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfacePortMirroringInstances
- 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
public 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)
Description copied from interface:PortMirroringInstances
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.
- Specified by:
list
in interfacePortMirroringInstances
- 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
-
list
public 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)
Description copied from interface:PortMirroringInstances
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.- Specified by:
list
in interfacePortMirroringInstances
- 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
-
list
public 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)
Description copied from interface:PortMirroringInstances
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.PortMirroringInstanceListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfacePortMirroringInstances
- 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
public 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)
Description copied from interface:PortMirroringInstances
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
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PortMirroringInstanceListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfacePortMirroringInstances
- 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
public void patch(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance)
Description copied from interface:PortMirroringInstances
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.
- Specified by:
patch
in interfacePortMirroringInstances
- Parameters:
domainId
- Domain ID (required)groupId
- Group ID (required)portMirroringInstanceId
- Port Mirroring Instance Id (required)portMirroringInstance
- (required)
-
patch
public void patch(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:PortMirroringInstances
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.- Specified by:
patch
in interfacePortMirroringInstances
- Parameters:
domainId
- Domain ID (required)groupId
- Group ID (required)portMirroringInstanceId
- Port Mirroring Instance Id (required)portMirroringInstance
- (required)invocationConfig
- Configuration for the method invocation.
-
patch
public 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)
Description copied from interface:PortMirroringInstances
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
- Specified by:
patch
in interfacePortMirroringInstances
- 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
public 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)
Description copied from interface:PortMirroringInstances
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
. UseinvocationConfig
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
- Specified by:
patch
in interfacePortMirroringInstances
- 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
public PortMirroringInstance update(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance)
Description copied from interface:PortMirroringInstances
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.
- Specified by:
update
in interfacePortMirroringInstances
- Parameters:
domainId
- Domain ID (required)groupId
- Group ID (required)portMirroringInstanceId
- Port Mirroring Instance Id (required)portMirroringInstance
- (required)- Returns:
- com.vmware.nsx_policy.model.PortMirroringInstance
-
update
public PortMirroringInstance update(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:PortMirroringInstances
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.- Specified by:
update
in interfacePortMirroringInstances
- 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
-
update
public void update(java.lang.String domainId, java.lang.String groupId, java.lang.String portMirroringInstanceId, PortMirroringInstance portMirroringInstance, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringInstance> asyncCallback)
Description copied from interface:PortMirroringInstances
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.PortMirroringInstanceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfacePortMirroringInstances
- 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
public 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)
Description copied from interface:PortMirroringInstances
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
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PortMirroringInstanceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfacePortMirroringInstances
- 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.
-
-