public class MirrorSessionsStub extends com.vmware.vapi.internal.bindings.Stub implements MirrorSessions
MirrorSessions
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
MirrorSessionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
MirrorSessionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
PortMirroringSession |
create(PortMirroringSession portMirroringSession)
Create a mirror session
|
void |
create(PortMirroringSession portMirroringSession,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback)
Create a mirror session
|
void |
create(PortMirroringSession portMirroringSession,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a mirror session
|
PortMirroringSession |
create(PortMirroringSession portMirroringSession,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a mirror session
|
void |
delete(java.lang.String mirrorSessionId)
Delete the mirror session
|
void |
delete(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the mirror session
|
void |
delete(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the mirror session
|
void |
delete(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the mirror session
|
PortMirroringSession |
get(java.lang.String mirrorSessionId)
Get the mirror session
|
void |
get(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback)
Get the mirror session
|
void |
get(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the mirror session
|
PortMirroringSession |
get(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the mirror session
|
PortMirroringSessionListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List all mirror sessions
|
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<PortMirroringSessionListResult> asyncCallback)
List all mirror sessions
|
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<PortMirroringSessionListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all mirror sessions
|
PortMirroringSessionListResult |
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)
List all mirror sessions
|
PortMirroringSession |
update(java.lang.String mirrorSessionId,
PortMirroringSession portMirroringSession)
Update the mirror session
|
void |
update(java.lang.String mirrorSessionId,
PortMirroringSession portMirroringSession,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback)
Update the mirror session
|
void |
update(java.lang.String mirrorSessionId,
PortMirroringSession portMirroringSession,
com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the mirror session
|
PortMirroringSession |
update(java.lang.String mirrorSessionId,
PortMirroringSession portMirroringSession,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the mirror session
|
void |
verify(java.lang.String mirrorSessionId)
Verify whether all participants are on the same transport node
|
void |
verify(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Verify whether all participants are on the same transport node
|
void |
verify(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Verify whether all participants are on the same transport node
|
void |
verify(java.lang.String mirrorSessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Verify whether all participants are on the same transport node
|
public MirrorSessionsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public MirrorSessionsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public PortMirroringSession create(PortMirroringSession portMirroringSession)
MirrorSessions
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface MirrorSessions
portMirroringSession
- (required)public PortMirroringSession create(PortMirroringSession portMirroringSession, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface MirrorSessions
portMirroringSession
- (required)invocationConfig
- Configuration for the method invocation.public void create(PortMirroringSession portMirroringSession, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback)
MirrorSessions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PortMirroringSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface MirrorSessions
portMirroringSession
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(PortMirroringSession portMirroringSession, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
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.model.PortMirroringSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface MirrorSessions
portMirroringSession
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String mirrorSessionId)
MirrorSessions
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface MirrorSessions
mirrorSessionId
- (required)public void delete(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface MirrorSessions
mirrorSessionId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
MirrorSessions
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
delete
in interface MirrorSessions
mirrorSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
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
delete
in interface MirrorSessions
mirrorSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public PortMirroringSession get(java.lang.String mirrorSessionId)
MirrorSessions
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface MirrorSessions
mirrorSessionId
- (required)public PortMirroringSession get(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface MirrorSessions
mirrorSessionId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback)
MirrorSessions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PortMirroringSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface MirrorSessions
mirrorSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
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.model.PortMirroringSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface MirrorSessions
mirrorSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public PortMirroringSessionListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
MirrorSessions
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface MirrorSessions
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)public PortMirroringSessionListResult 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)
MirrorSessions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface MirrorSessions
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.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<PortMirroringSessionListResult> asyncCallback)
MirrorSessions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PortMirroringSessionListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface MirrorSessions
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.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<PortMirroringSessionListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
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.model.PortMirroringSessionListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface MirrorSessions
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.public PortMirroringSession update(java.lang.String mirrorSessionId, PortMirroringSession portMirroringSession)
MirrorSessions
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface MirrorSessions
mirrorSessionId
- (required)portMirroringSession
- (required)public PortMirroringSession update(java.lang.String mirrorSessionId, PortMirroringSession portMirroringSession, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface MirrorSessions
mirrorSessionId
- (required)portMirroringSession
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String mirrorSessionId, PortMirroringSession portMirroringSession, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback)
MirrorSessions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PortMirroringSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface MirrorSessions
mirrorSessionId
- (required)portMirroringSession
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String mirrorSessionId, PortMirroringSession portMirroringSession, com.vmware.vapi.bindings.client.AsyncCallback<PortMirroringSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
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.model.PortMirroringSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface MirrorSessions
mirrorSessionId
- (required)portMirroringSession
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void verify(java.lang.String mirrorSessionId)
MirrorSessions
Synchronous method overload. Result of the invocation will be reported as a method return value.
verify
in interface MirrorSessions
mirrorSessionId
- (required)public void verify(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
verify
in interface MirrorSessions
mirrorSessionId
- (required)invocationConfig
- Configuration for the method invocation.public void verify(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
MirrorSessions
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
verify
in interface MirrorSessions
mirrorSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void verify(java.lang.String mirrorSessionId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
MirrorSessions
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
verify
in interface MirrorSessions
mirrorSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.