Class PortMirroringProfilesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.PortMirroringProfilesStub
-
- All Implemented Interfaces:
PortMirroringProfiles,PortMirroringProfilesTypes,com.vmware.vapi.bindings.Service
public class PortMirroringProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements PortMirroringProfiles
Remote stub implementation of thePortMirroringProfilesAPI 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.PortMirroringProfilesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description PortMirroringProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)PortMirroringProfilesStub(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 voiddelete(java.lang.String portMirroringProfileId, java.lang.Boolean override)API will delete port mirroring profile.voiddelete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)API will delete port mirroring profile.voiddelete(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.voiddelete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)API will delete port mirroring profile.PortMirroringProfileget(java.lang.String portMirroringProfileId)API will return details of port mirroring profile.voidget(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)API will return details of port mirroring profile.voidget(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.PortMirroringProfileget(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)API will return details of port mirroring profile.PortMirroringProfileListResultlist(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.voidlist(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.voidlist(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.PortMirroringProfileListResultlist(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.voidpatch(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.voidpatch(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.voidpatch(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.voidpatch(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.PortMirroringProfileupdate(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)Create or Replace port mirroring profile.voidupdate(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)Create or Replace port mirroring profile.voidupdate(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.PortMirroringProfileupdate(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Create or Replace port mirroring profile.
-
-
-
Constructor Detail
-
PortMirroringProfilesStub
public PortMirroringProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
PortMirroringProfilesStub
public PortMirroringProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override)Description copied from interface:PortMirroringProfilesAPI 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.
- Specified by:
deletein interfacePortMirroringProfiles- Parameters:
portMirroringProfileId- Port Mirroring Profile Id (required)override- Locally override the global object (optional, default to false)
-
delete
public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:PortMirroringProfilesAPI 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
deletein interfacePortMirroringProfiles- Parameters:
portMirroringProfileId- Port Mirroring Profile Id (required)override- Locally override the global object (optional, default to false)invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String portMirroringProfileId, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:PortMirroringProfilesAPI 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
- Specified by:
deletein interfacePortMirroringProfiles- 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
public 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)Description copied from interface:PortMirroringProfilesAPI 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. UseinvocationConfigto 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:
deletein interfacePortMirroringProfiles- 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
public PortMirroringProfile get(java.lang.String portMirroringProfileId)
Description copied from interface:PortMirroringProfilesAPI will return details of port mirroring profile.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfacePortMirroringProfiles- Parameters:
portMirroringProfileId- Port Mirroring Profile Id (required)- Returns:
- com.vmware.nsx_policy.model.PortMirroringProfile
-
get
public PortMirroringProfile get(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:PortMirroringProfilesAPI will return details of port mirroring profile.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
getin interfacePortMirroringProfiles- Parameters:
portMirroringProfileId- Port Mirroring Profile Id (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PortMirroringProfile
-
get
public void get(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)Description copied from interface:PortMirroringProfilesAPI 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.PortMirroringProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfacePortMirroringProfiles- Parameters:
portMirroringProfileId- Port Mirroring Profile Id (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String portMirroringProfileId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:PortMirroringProfilesAPI will return details of port mirroring profile.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PortMirroringProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfacePortMirroringProfiles- 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
public PortMirroringProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:PortMirroringProfilesAPI will list all port mirroring profiles group.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
listin interfacePortMirroringProfiles- 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
-
list
public 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)
Description copied from interface:PortMirroringProfilesAPI will list all port mirroring profiles group.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
listin interfacePortMirroringProfiles- 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
-
list
public 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)Description copied from interface:PortMirroringProfilesAPI 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.PortMirroringProfileListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfacePortMirroringProfiles- 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
public 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)Description copied from interface:PortMirroringProfilesAPI will list all port mirroring profiles group.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PortMirroringProfileListResultOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
listin interfacePortMirroringProfiles- 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
public void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)Description copied from interface:PortMirroringProfilesCreate 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.
- Specified by:
patchin interfacePortMirroringProfiles- Parameters:
portMirroringProfileId- Port Mirroring Profile Id (required)portMirroringProfile- (required)override- Locally override the global object (optional, default to false)
-
patch
public void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:PortMirroringProfilesCreate 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
patchin interfacePortMirroringProfiles- 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.
-
patch
public void patch(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:PortMirroringProfilesCreate 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
- Specified by:
patchin interfacePortMirroringProfiles- 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
public 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)Description copied from interface:PortMirroringProfilesCreate 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. UseinvocationConfigto 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:
patchin interfacePortMirroringProfiles- 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
public PortMirroringProfile update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override)
Description copied from interface:PortMirroringProfilesCreate 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.
- Specified by:
updatein interfacePortMirroringProfiles- 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
-
update
public PortMirroringProfile update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:PortMirroringProfilesCreate 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
invocationConfigto specify configuration for this particular invocation.- Specified by:
updatein interfacePortMirroringProfiles- 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
-
update
public void update(java.lang.String portMirroringProfileId, PortMirroringProfile portMirroringProfile, java.lang.Boolean override, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringProfile> asyncCallback)Description copied from interface:PortMirroringProfilesCreate 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.PortMirroringProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfacePortMirroringProfiles- 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
public 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)Description copied from interface:PortMirroringProfilesCreate 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. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PortMirroringProfileOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfacePortMirroringProfiles- 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.
-
-