public class ServicesStub extends com.vmware.vapi.internal.bindings.Stub implements Services
Services
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServicesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServicesStub(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 |
---|---|
IPSecVPNService |
create(IPSecVPNService ipSecVPNService)
Create VPN service for given logical router.
|
void |
create(IPSecVPNService ipSecVPNService,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback)
Create VPN service for given logical router.
|
void |
create(IPSecVPNService ipSecVPNService,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create VPN service for given logical router.
|
IPSecVPNService |
create(IPSecVPNService ipSecVPNService,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create VPN service for given logical router.
|
void |
delete(java.lang.String ipsecVpnServiceId,
java.lang.Boolean force)
Delete IPSec VPN service for given router.
|
void |
delete(java.lang.String ipsecVpnServiceId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete IPSec VPN service for given router.
|
void |
delete(java.lang.String ipsecVpnServiceId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete IPSec VPN service for given router.
|
void |
delete(java.lang.String ipsecVpnServiceId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete IPSec VPN service for given router.
|
IPSecVPNService |
get(java.lang.String ipsecVpnServiceId)
Get IPSec VPN service for given logical router.
|
void |
get(java.lang.String ipsecVpnServiceId,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback)
Get IPSec VPN service for given logical router.
|
void |
get(java.lang.String ipsecVpnServiceId,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get IPSec VPN service for given logical router.
|
IPSecVPNService |
get(java.lang.String ipsecVpnServiceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get IPSec VPN service for given logical router.
|
IPSecVPNServiceListResult |
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 IPSec VPN services.
|
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<IPSecVPNServiceListResult> asyncCallback)
Get paginated list of all IPSec VPN services.
|
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<IPSecVPNServiceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get paginated list of all IPSec VPN services.
|
IPSecVPNServiceListResult |
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 IPSec VPN services.
|
IPSecVPNService |
update(java.lang.String ipsecVpnServiceId,
IPSecVPNService ipSecVPNService)
Edit IPSec VPN service for given logical router.
|
void |
update(java.lang.String ipsecVpnServiceId,
IPSecVPNService ipSecVPNService,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback)
Edit IPSec VPN service for given logical router.
|
void |
update(java.lang.String ipsecVpnServiceId,
IPSecVPNService ipSecVPNService,
com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Edit IPSec VPN service for given logical router.
|
IPSecVPNService |
update(java.lang.String ipsecVpnServiceId,
IPSecVPNService ipSecVPNService,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Edit IPSec VPN service for given logical router.
|
public ServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServicesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public IPSecVPNService create(IPSecVPNService ipSecVPNService)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IPSecVPNService create(IPSecVPNService ipSecVPNService, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(IPSecVPNService ipSecVPNService, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(IPSecVPNService ipSecVPNService, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.IPSecVPNService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void delete(java.lang.String ipsecVpnServiceId, java.lang.Boolean force)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String ipsecVpnServiceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String ipsecVpnServiceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Services
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
public void delete(java.lang.String ipsecVpnServiceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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 Services
ipsecVpnServiceId
- (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 IPSecVPNService get(java.lang.String ipsecVpnServiceId)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IPSecVPNService get(java.lang.String ipsecVpnServiceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String ipsecVpnServiceId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String ipsecVpnServiceId, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.IPSecVPNService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public IPSecVPNServiceListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Services
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 IPSecVPNServiceListResult 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)
Services
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 Services
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<IPSecVPNServiceListResult> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNServiceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Services
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<IPSecVPNServiceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.IPSecVPNServiceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Services
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 IPSecVPNService update(java.lang.String ipsecVpnServiceId, IPSecVPNService ipSecVPNService)
Services
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IPSecVPNService update(java.lang.String ipsecVpnServiceId, IPSecVPNService ipSecVPNService, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String ipsecVpnServiceId, IPSecVPNService ipSecVPNService, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback)
Services
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IPSecVPNService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String ipsecVpnServiceId, IPSecVPNService ipSecVPNService, com.vmware.vapi.bindings.client.AsyncCallback<IPSecVPNService> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Services
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.IPSecVPNService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found