public class TunnelProfilesStub extends com.vmware.vapi.internal.bindings.Stub implements TunnelProfiles
TunnelProfiles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TunnelProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TunnelProfilesStub(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 |
---|---|
IPSecVPNTunnelProfile |
create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile)
Create custom IPSec tunnel profile.
|
void |
create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback)
Create custom IPSec tunnel profile.
|
void |
create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create custom IPSec tunnel profile.
|
IPSecVPNTunnelProfile |
create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create custom IPSec tunnel profile.
|
void |
delete(java.lang.String ipsecVpnTunnelProfileId,
java.lang.Boolean force)
Delete custom IPSec Tunnel Profile.
|
void |
delete(java.lang.String ipsecVpnTunnelProfileId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete custom IPSec Tunnel Profile.
|
void |
delete(java.lang.String ipsecVpnTunnelProfileId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete custom IPSec Tunnel Profile.
|
void |
delete(java.lang.String ipsecVpnTunnelProfileId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete custom IPSec Tunnel Profile.
|
IPSecVPNTunnelProfile |
get(java.lang.String ipsecVpnTunnelProfileId)
Get custom IPSec Tunnel Profile.
|
void |
get(java.lang.String ipsecVpnTunnelProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback)
Get custom IPSec Tunnel Profile.
|
void |
get(java.lang.String ipsecVpnTunnelProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get custom IPSec Tunnel Profile.
|
IPSecVPNTunnelProfile |
get(java.lang.String ipsecVpnTunnelProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get custom IPSec Tunnel Profile.
|
IPSecVPNTunnelProfileListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Get paginated list of all IPSecTunnelProfiles.
|
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<IPSecVPNTunnelProfileListResult> asyncCallback)
Get paginated list of all IPSecTunnelProfiles.
|
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<IPSecVPNTunnelProfileListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get paginated list of all IPSecTunnelProfiles.
|
IPSecVPNTunnelProfileListResult |
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)
Get paginated list of all IPSecTunnelProfiles.
|
IPSecVPNTunnelProfile |
update(java.lang.String ipsecVpnTunnelProfileId,
IPSecVPNTunnelProfile ipSecVPNTunnelProfile)
Edit custom IPSec Tunnel Profile.
|
void |
update(java.lang.String ipsecVpnTunnelProfileId,
IPSecVPNTunnelProfile ipSecVPNTunnelProfile,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback)
Edit custom IPSec Tunnel Profile.
|
void |
update(java.lang.String ipsecVpnTunnelProfileId,
IPSecVPNTunnelProfile ipSecVPNTunnelProfile,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Edit custom IPSec Tunnel Profile.
|
IPSecVPNTunnelProfile |
update(java.lang.String ipsecVpnTunnelProfileId,
IPSecVPNTunnelProfile ipSecVPNTunnelProfile,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Edit custom IPSec Tunnel Profile.
|
public TunnelProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public TunnelProfilesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public IPSecVPNTunnelProfile create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile)
TunnelProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface TunnelProfiles
ipSecVPNTunnelProfile
- (required)public IPSecVPNTunnelProfile create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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 TunnelProfiles
ipSecVPNTunnelProfile
- (required)invocationConfig
- Configuration for the method invocation.public void create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback)
TunnelProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNTunnelProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface TunnelProfiles
ipSecVPNTunnelProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(IPSecVPNTunnelProfile ipSecVPNTunnelProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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.IPSecVPNTunnelProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface TunnelProfiles
ipSecVPNTunnelProfile
- (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 ipsecVpnTunnelProfileId, java.lang.Boolean force)
TunnelProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)public void delete(java.lang.String ipsecVpnTunnelProfileId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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 TunnelProfiles
ipsecVpnTunnelProfileId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String ipsecVpnTunnelProfileId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
TunnelProfiles
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 TunnelProfiles
ipsecVpnTunnelProfileId
- (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.public void delete(java.lang.String ipsecVpnTunnelProfileId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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 TunnelProfiles
ipsecVpnTunnelProfileId
- (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.public IPSecVPNTunnelProfile get(java.lang.String ipsecVpnTunnelProfileId)
TunnelProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)public IPSecVPNTunnelProfile get(java.lang.String ipsecVpnTunnelProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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 TunnelProfiles
ipsecVpnTunnelProfileId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String ipsecVpnTunnelProfileId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback)
TunnelProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNTunnelProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String ipsecVpnTunnelProfileId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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.IPSecVPNTunnelProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public IPSecVPNTunnelProfileListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
TunnelProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface TunnelProfiles
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 IPSecVPNTunnelProfileListResult 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)
TunnelProfiles
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 TunnelProfiles
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<IPSecVPNTunnelProfileListResult> asyncCallback)
TunnelProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNTunnelProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface TunnelProfiles
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<IPSecVPNTunnelProfileListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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.IPSecVPNTunnelProfileListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface TunnelProfiles
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 IPSecVPNTunnelProfile update(java.lang.String ipsecVpnTunnelProfileId, IPSecVPNTunnelProfile ipSecVPNTunnelProfile)
TunnelProfiles
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)ipSecVPNTunnelProfile
- (required)public IPSecVPNTunnelProfile update(java.lang.String ipsecVpnTunnelProfileId, IPSecVPNTunnelProfile ipSecVPNTunnelProfile, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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 TunnelProfiles
ipsecVpnTunnelProfileId
- (required)ipSecVPNTunnelProfile
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String ipsecVpnTunnelProfileId, IPSecVPNTunnelProfile ipSecVPNTunnelProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback)
TunnelProfiles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNTunnelProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)ipSecVPNTunnelProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String ipsecVpnTunnelProfileId, IPSecVPNTunnelProfile ipSecVPNTunnelProfile, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNTunnelProfile> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TunnelProfiles
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.IPSecVPNTunnelProfile
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface TunnelProfiles
ipsecVpnTunnelProfileId
- (required)ipSecVPNTunnelProfile
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.