public interface Sessions extends com.vmware.vapi.bindings.Service, SessionsTypes
_VAPI_SERVICE_ID, LIST_SESSION_TYPE_POLICYBASEDIPSECVPNSESSION, LIST_SESSION_TYPE_ROUTEBASEDIPSECVPNSESSION
Modifier and Type | Method and Description |
---|---|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure ipSecVPNSession)
Deprecated.
|
void |
create(com.vmware.vapi.bindings.Structure ipSecVPNSession,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Deprecated.
|
void |
create(com.vmware.vapi.bindings.Structure ipSecVPNSession,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
com.vmware.vapi.bindings.Structure |
create(com.vmware.vapi.bindings.Structure ipSecVPNSession,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
void |
delete(java.lang.String ipsecVpnSessionId,
java.lang.Boolean force)
Deprecated.
|
void |
delete(java.lang.String ipsecVpnSessionId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
|
void |
delete(java.lang.String ipsecVpnSessionId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
void |
delete(java.lang.String ipsecVpnSessionId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String ipsecVpnSessionId)
Deprecated.
|
void |
get(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Deprecated.
|
void |
get(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
IPSecVPNSessionListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String ipsecVpnServiceId,
java.lang.String logicalRouterId,
java.lang.Long pageSize,
java.lang.String sessionType,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Deprecated.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String ipsecVpnServiceId,
java.lang.String logicalRouterId,
java.lang.Long pageSize,
java.lang.String sessionType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNSessionListResult> asyncCallback)
Deprecated.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String ipsecVpnServiceId,
java.lang.String logicalRouterId,
java.lang.Long pageSize,
java.lang.String sessionType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNSessionListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
IPSecVPNSessionListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String ipsecVpnServiceId,
java.lang.String logicalRouterId,
java.lang.Long pageSize,
java.lang.String sessionType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.Structure ipSecVPNSession)
Deprecated.
|
void |
update(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.Structure ipSecVPNSession,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Deprecated.
|
void |
update(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.Structure ipSecVPNSession,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
com.vmware.vapi.bindings.Structure |
update(java.lang.String ipsecVpnSessionId,
com.vmware.vapi.bindings.Structure ipSecVPNSession,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
@Deprecated com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure ipSecVPNSession)
Synchronous method overload. Result of the invocation will be reported as a method return value.
ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.IPSecVPNSession
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated com.vmware.vapi.bindings.Structure create(com.vmware.vapi.bindings.Structure ipSecVPNSession, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.invocationConfig
- Configuration for the method invocation.IPSecVPNSession
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void create(com.vmware.vapi.bindings.Structure ipSecVPNSession, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNSession
The return value will contain all the properties defined in IPSecVPNSession
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void create(com.vmware.vapi.bindings.Structure ipSecVPNSession, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.IPSecVPNSession
The return value will contain all the properties defined in IPSecVPNSession
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated void delete(java.lang.String ipsecVpnSessionId, java.lang.Boolean force)
Synchronous method overload. Result of the invocation will be reported as a method return value.
ipsecVpnSessionId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void delete(java.lang.String ipsecVpnSessionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
ipsecVpnSessionId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void delete(java.lang.String ipsecVpnSessionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
ipsecVpnSessionId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void delete(java.lang.String ipsecVpnSessionId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
ipsecVpnSessionId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated com.vmware.vapi.bindings.Structure get(java.lang.String ipsecVpnSessionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
ipsecVpnSessionId
- (required)IPSecVPNSession
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated com.vmware.vapi.bindings.Structure get(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
ipsecVpnSessionId
- (required)invocationConfig
- Configuration for the method invocation.IPSecVPNSession
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void get(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNSession
The return value will contain all the properties defined in IPSecVPNSession
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipsecVpnSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void get(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.IPSecVPNSession
The return value will contain all the properties defined in IPSecVPNSession
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipsecVpnSessionId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated IPSecVPNSessionListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String ipsecVpnServiceId, java.lang.String logicalRouterId, java.lang.Long pageSize, java.lang.String sessionType, java.lang.Boolean sortAscending, java.lang.String sortBy)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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)ipsecVpnServiceId
- Id of the IPSec VPN service (optional)logicalRouterId
- Id of logical router (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sessionType
- Resource types of IPsec VPN session (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated IPSecVPNSessionListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String ipsecVpnServiceId, java.lang.String logicalRouterId, java.lang.Long pageSize, java.lang.String sessionType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
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)ipsecVpnServiceId
- Id of the IPSec VPN service (optional)logicalRouterId
- Id of logical router (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sessionType
- Resource types of IPsec VPN session (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void list(java.lang.String cursor, java.lang.String includedFields, java.lang.String ipsecVpnServiceId, java.lang.String logicalRouterId, java.lang.Long pageSize, java.lang.String sessionType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNSessionListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNSessionListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
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)ipsecVpnServiceId
- Id of the IPSec VPN service (optional)logicalRouterId
- Id of logical router (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sessionType
- Resource types of IPsec VPN session (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void list(java.lang.String cursor, java.lang.String includedFields, java.lang.String ipsecVpnServiceId, java.lang.String logicalRouterId, java.lang.Long pageSize, java.lang.String sessionType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNSessionListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.IPSecVPNSessionListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
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)ipsecVpnServiceId
- Id of the IPSec VPN service (optional)logicalRouterId
- Id of logical router (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sessionType
- Resource types of IPsec VPN session (optional)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.@Deprecated com.vmware.vapi.bindings.Structure update(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.Structure ipSecVPNSession)
Synchronous method overload. Result of the invocation will be reported as a method return value.
ipsecVpnSessionId
- (required)ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.IPSecVPNSession
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated com.vmware.vapi.bindings.Structure update(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.Structure ipSecVPNSession, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
ipsecVpnSessionId
- (required)ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.invocationConfig
- Configuration for the method invocation.IPSecVPNSession
.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void update(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.Structure ipSecVPNSession, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNSession
The return value will contain all the properties defined in IPSecVPNSession
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipsecVpnSessionId
- (required)ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void update(java.lang.String ipsecVpnSessionId, com.vmware.vapi.bindings.Structure ipSecVPNSession, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.IPSecVPNSession
The return value will contain all the properties defined in IPSecVPNSession
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipsecVpnSessionId
- (required)ipSecVPNSession
- (required)
The parameter must contain all the properties defined in IPSecVPNSession
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.