Class L3vpnsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.tier_0s.locale_services.L3vpnsStub
-
- All Implemented Interfaces:
L3vpns
,L3vpnsTypes
,com.vmware.vapi.bindings.Service
public class L3vpnsStub extends com.vmware.vapi.internal.bindings.Stub implements L3vpns
Remote stub implementation of theL3vpns
API 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.tier_0s.locale_services.L3vpnsTypes
_VAPI_SERVICE_ID, LIST_L3VPN_SESSION_POLICYBASEDL3VPNSESSION, LIST_L3VPN_SESSION_ROUTEBASEDL3VPNSESSION
-
-
Constructor Summary
Constructors Constructor Description L3vpnsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
L3vpnsStub(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 void
delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId)
Delete the L3Vpn with the given id.void
delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the L3Vpn with the given id.void
delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the L3Vpn with the given id.void
delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the L3Vpn with the given id.L3Vpn
get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId)
Read the L3Vpn with the given id.void
get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback)
Read the L3Vpn with the given id.void
get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the L3Vpn with the given id.L3Vpn
get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the L3Vpn with the given id.L3VpnListResult
list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Paginated list of L3Vpns.void
list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<L3VpnListResult> asyncCallback)
Paginated list of L3Vpns.void
list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<L3VpnListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of L3Vpns.L3VpnListResult
list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of L3Vpns.void
patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn)
Create the new L3Vpn if it does not exist.void
patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create the new L3Vpn if it does not exist.void
patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create the new L3Vpn if it does not exist.void
patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create the new L3Vpn if it does not exist.L3Vpn
showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId)
Read the L3Vpn with the given id.void
showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback)
Read the L3Vpn with the given id.void
showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the L3Vpn with the given id.L3Vpn
showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the L3Vpn with the given id.L3Vpn
update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn)
Create a new L3Vpn if the L3Vpn with given id does not already exist.void
update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback)
Create a new L3Vpn if the L3Vpn with given id does not already exist.void
update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new L3Vpn if the L3Vpn with given id does not already exist.L3Vpn
update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a new L3Vpn if the L3Vpn with given id does not already exist.
-
-
-
Constructor Detail
-
L3vpnsStub
public L3vpnsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
L3vpnsStub
public L3vpnsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId)
Description copied from interface:L3vpns
Delete the L3Vpn with the given id. This API is deprecated. Please use the following APIs instead: - DELETE /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to delete the associated IPSecVpnSession. - DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to delete the associated IPSecVpnLocalEndpoint. - DELETE /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to delete the associated IPSecVpnTunnelProfile. - DELETE /infra/ipsec-vpn-ike-profiles/L3VPN_ to delete the associated IPSecVpnIkeProfile. - DELETE /infra/ipsec-vpn-dpd-profiles/L3VPN_ to delete the associated IPSecVpnDpdProfile. If used, this deprecated API will result in the following objects being internally deleted: - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ when not used by other IPSecVpnSessions. - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . Synchronous method overload. Result of the invocation will be reported as a method return value.
-
delete
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Delete the L3Vpn with the given id. This API is deprecated. Please use the following APIs instead: - DELETE /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to delete the associated IPSecVpnSession. - DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to delete the associated IPSecVpnLocalEndpoint. - DELETE /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to delete the associated IPSecVpnTunnelProfile. - DELETE /infra/ipsec-vpn-ike-profiles/L3VPN_ to delete the associated IPSecVpnIkeProfile. - DELETE /infra/ipsec-vpn-dpd-profiles/L3VPN_ to delete the associated IPSecVpnDpdProfile. If used, this deprecated API will result in the following objects being internally deleted: - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ when not used by other IPSecVpnSessions. - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . 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
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:L3vpns
Delete the L3Vpn with the given id. This API is deprecated. Please use the following APIs instead: - DELETE /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to delete the associated IPSecVpnSession. - DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to delete the associated IPSecVpnLocalEndpoint. - DELETE /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to delete the associated IPSecVpnTunnelProfile. - DELETE /infra/ipsec-vpn-ike-profiles/L3VPN_ to delete the associated IPSecVpnIkeProfile. - DELETE /infra/ipsec-vpn-dpd-profiles/L3VPN_ to delete the associated IPSecVpnDpdProfile. If used, this deprecated API will result in the following objects being internally deleted: - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ when not used by other IPSecVpnSessions. - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . 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
public void delete(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Delete the L3Vpn with the given id. This API is deprecated. Please use the following APIs instead: - DELETE /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to delete the associated IPSecVpnSession. - DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to delete the associated IPSecVpnLocalEndpoint. - DELETE /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to delete the associated IPSecVpnTunnelProfile. - DELETE /infra/ipsec-vpn-ike-profiles/L3VPN_ to delete the associated IPSecVpnIkeProfile. - DELETE /infra/ipsec-vpn-dpd-profiles/L3VPN_ to delete the associated IPSecVpnDpdProfile. If used, this deprecated API will result in the following objects being internally deleted: - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ when not used by other IPSecVpnSessions. - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
-
get
public L3Vpn get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. No sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public L3Vpn get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. No sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. 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
public void get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. No sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.L3VpnOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public void get(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. No sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.L3VpnOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
list
public L3VpnListResult list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Description copied from interface:L3vpns
Paginated list of L3Vpns. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions to list all IPSecVpnSessions. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints to list all IPSecVpnLocalEndpoints. - GET /infra/ipsec-vpn-tunnel-profiles to list all IPSecVpnTunnelProfiles. - GET /infra/ipsec-vpn-ike-profiles to list all IPSecVpnIkeProfiles. - GET /infra/ipsec-vpn-dpd-profiles to list all IPSecVpnDpdProfiles. If used, this deprecated API will only return L3Vpns that were created through the deprecated PATCH and PUT /infra/tier-0s/ /locale-services/ /l3vpns/ APIs. Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)l3vpnSession
- Resource type of L3Vpn Session (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.L3VpnListResult
-
list
public L3VpnListResult list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Paginated list of L3Vpns. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions to list all IPSecVpnSessions. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints to list all IPSecVpnLocalEndpoints. - GET /infra/ipsec-vpn-tunnel-profiles to list all IPSecVpnTunnelProfiles. - GET /infra/ipsec-vpn-ike-profiles to list all IPSecVpnIkeProfiles. - GET /infra/ipsec-vpn-dpd-profiles to list all IPSecVpnDpdProfiles. If used, this deprecated API will only return L3Vpns that were created through the deprecated PATCH and PUT /infra/tier-0s/ /locale-services/ /l3vpns/ APIs. Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
list
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)l3vpnSession
- Resource type of L3Vpn Session (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.L3VpnListResult
-
list
public void list(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<L3VpnListResult> asyncCallback)
Description copied from interface:L3vpns
Paginated list of L3Vpns. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions to list all IPSecVpnSessions. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints to list all IPSecVpnLocalEndpoints. - GET /infra/ipsec-vpn-tunnel-profiles to list all IPSecVpnTunnelProfiles. - GET /infra/ipsec-vpn-ike-profiles to list all IPSecVpnIkeProfiles. - GET /infra/ipsec-vpn-dpd-profiles to list all IPSecVpnDpdProfiles. If used, this deprecated API will only return L3Vpns that were created through the deprecated PATCH and PUT /infra/tier-0s/ /locale-services/ /l3vpns/ APIs. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.L3VpnListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)l3vpnSession
- Resource type of L3Vpn Session (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 tier0Id, java.lang.String localeServiceId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String l3vpnSession, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<L3VpnListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Paginated list of L3Vpns. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions to list all IPSecVpnSessions. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints to list all IPSecVpnLocalEndpoints. - GET /infra/ipsec-vpn-tunnel-profiles to list all IPSecVpnTunnelProfiles. - GET /infra/ipsec-vpn-ike-profiles to list all IPSecVpnIkeProfiles. - GET /infra/ipsec-vpn-dpd-profiles to list all IPSecVpnDpdProfiles. If used, this deprecated API will only return L3Vpns that were created through the deprecated PATCH and PUT /infra/tier-0s/ /locale-services/ /l3vpns/ APIs. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.L3VpnListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)includedFields
- Comma separated list of fields that should be included in query result (optional)l3vpnSession
- Resource type of L3Vpn Session (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 tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn)
Description copied from interface:L3vpns
Create the new L3Vpn if it does not exist. If the L3Vpn already exists, merge with the the existing one. This is a patch. - If the passed L3Vpn is a policy-based one and has new L3VpnRules, add them to the existing L3VpnRules. - If the passed L3Vpn is a policy-based one and also has existing L3VpnRules, update the existing L3VpnRules. This API is deprecated. Please use the following APIs instead: - PATCH /infra/ipsec-vpn-tunnel-profiles/to patch the IPSecVpnTunnelProfile. - PATCH /infra/ipsec-vpn-ike-profiles/ to patch the IPSecVpnIkeProfile. - PATCH /infra/ipsec-vpn-dpd-profiles/ to patch the IPSecVpnDpdProfile. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to patch the IPSecVpnLocalEndpoint. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to patch the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/patched: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . Synchronous method overload. Result of the invocation will be reported as a method return value.
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Create the new L3Vpn if it does not exist. If the L3Vpn already exists, merge with the the existing one. This is a patch. - If the passed L3Vpn is a policy-based one and has new L3VpnRules, add them to the existing L3VpnRules. - If the passed L3Vpn is a policy-based one and also has existing L3VpnRules, update the existing L3VpnRules. This API is deprecated. Please use the following APIs instead: - PATCH /infra/ipsec-vpn-tunnel-profiles/to patch the IPSecVpnTunnelProfile. - PATCH /infra/ipsec-vpn-ike-profiles/ to patch the IPSecVpnIkeProfile. - PATCH /infra/ipsec-vpn-dpd-profiles/ to patch the IPSecVpnDpdProfile. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to patch the IPSecVpnLocalEndpoint. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to patch the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/patched: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:L3vpns
Create the new L3Vpn if it does not exist. If the L3Vpn already exists, merge with the the existing one. This is a patch. - If the passed L3Vpn is a policy-based one and has new L3VpnRules, add them to the existing L3VpnRules. - If the passed L3Vpn is a policy-based one and also has existing L3VpnRules, update the existing L3VpnRules. This API is deprecated. Please use the following APIs instead: - PATCH /infra/ipsec-vpn-tunnel-profiles/to patch the IPSecVpnTunnelProfile. - PATCH /infra/ipsec-vpn-ike-profiles/ to patch the IPSecVpnIkeProfile. - PATCH /infra/ipsec-vpn-dpd-profiles/ to patch the IPSecVpnDpdProfile. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to patch the IPSecVpnLocalEndpoint. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to patch the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/patched: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . 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
-
patch
public void patch(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Create the new L3Vpn if it does not exist. If the L3Vpn already exists, merge with the the existing one. This is a patch. - If the passed L3Vpn is a policy-based one and has new L3VpnRules, add them to the existing L3VpnRules. - If the passed L3Vpn is a policy-based one and also has existing L3VpnRules, update the existing L3VpnRules. This API is deprecated. Please use the following APIs instead: - PATCH /infra/ipsec-vpn-tunnel-profiles/to patch the IPSecVpnTunnelProfile. - PATCH /infra/ipsec-vpn-ike-profiles/ to patch the IPSecVpnIkeProfile. - PATCH /infra/ipsec-vpn-dpd-profiles/ to patch the IPSecVpnDpdProfile. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to patch the IPSecVpnLocalEndpoint. - PATCH /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to patch the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/patched: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
-
showsensitivedata
public L3Vpn showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. Sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ ?action=show_sensitive_data to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
showsensitivedata
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)l3vpnId
- (required)- Returns:
- com.vmware.nsx_policy.model.L3Vpn
-
showsensitivedata
public L3Vpn showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. Sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ ?action=show_sensitive_data to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
showsensitivedata
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)l3vpnId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.L3Vpn
-
showsensitivedata
public void showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. Sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ ?action=show_sensitive_data to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.L3VpnOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
showsensitivedata
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)l3vpnId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
showsensitivedata
public void showsensitivedata(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Read the L3Vpn with the given id. Sensitive data is returned as part of the response. This API is deprecated. Please use the following APIs instead: - GET /infra/tier-0s//locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ ?action=show_sensitive_data to get the associated IPSecVpnSession. - GET /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to get the associated IPSecVpnLocalEndpoint. - GET /infra/ipsec-vpn-tunnel-profiles/L3VPN_ to get the associated IPSecVpnTunnelProfile. - GET /infra/ipsec-vpn-ike-profiles/L3VPN_ to get the associated IPSecVpnIkeProfile. - GET /infra/ipsec-vpn-dpd-profiles/L3VPN_ to get the associated IPSecVpnDpdProfile. If used, this deprecated API will not return L3Vpn with id unless the associated IPSecVpnSession with L3VPN_ id exists. For example, if the IPSecVpnSession gets deleted using DELETE /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/L3VPN_ , the deprecated API will throw an ObjectNotFoundException. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.L3VpnOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
showsensitivedata
in interfaceL3vpns
- Parameters:
tier0Id
- (required)localeServiceId
- (required)l3vpnId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public L3Vpn update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn)
Description copied from interface:L3vpns
Create a new L3Vpn if the L3Vpn with given id does not already exist. If the L3Vpn with the given id already exists, replace the existing L3Vpn. This a full replace. This API is deprecated. Please use the following APIs instead: - PUT /infra/ipsec-vpn-tunnel-profiles/to update the IPSecVpnTunnelProfile. - PUT /infra/ipsec-vpn-ike-profiles/ to update the IPSecVpnIkeProfile. - PUT /infra/ipsec-vpn-dpd-profiles/ to update the IPSecVpnDpdProfile. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to update the IPSecVpnLocalEndpoint. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to update the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/updated: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . Synchronous method overload. Result of the invocation will be reported as a method return value.
-
update
public L3Vpn update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Create a new L3Vpn if the L3Vpn with given id does not already exist. If the L3Vpn with the given id already exists, replace the existing L3Vpn. This a full replace. This API is deprecated. Please use the following APIs instead: - PUT /infra/ipsec-vpn-tunnel-profiles/to update the IPSecVpnTunnelProfile. - PUT /infra/ipsec-vpn-ike-profiles/ to update the IPSecVpnIkeProfile. - PUT /infra/ipsec-vpn-dpd-profiles/ to update the IPSecVpnDpdProfile. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to update the IPSecVpnLocalEndpoint. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to update the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/updated: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . 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
public void update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback)
Description copied from interface:L3vpns
Create a new L3Vpn if the L3Vpn with given id does not already exist. If the L3Vpn with the given id already exists, replace the existing L3Vpn. This a full replace. This API is deprecated. Please use the following APIs instead: - PUT /infra/ipsec-vpn-tunnel-profiles/to update the IPSecVpnTunnelProfile. - PUT /infra/ipsec-vpn-ike-profiles/ to update the IPSecVpnIkeProfile. - PUT /infra/ipsec-vpn-dpd-profiles/ to update the IPSecVpnDpdProfile. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to update the IPSecVpnLocalEndpoint. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to update the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/updated: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.L3VpnOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
update
public void update(java.lang.String tier0Id, java.lang.String localeServiceId, java.lang.String l3vpnId, L3Vpn l3Vpn, com.vmware.vapi.bindings.client.AsyncCallback<L3Vpn> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:L3vpns
Create a new L3Vpn if the L3Vpn with given id does not already exist. If the L3Vpn with the given id already exists, replace the existing L3Vpn. This a full replace. This API is deprecated. Please use the following APIs instead: - PUT /infra/ipsec-vpn-tunnel-profiles/to update the IPSecVpnTunnelProfile. - PUT /infra/ipsec-vpn-ike-profiles/ to update the IPSecVpnIkeProfile. - PUT /infra/ipsec-vpn-dpd-profiles/ to update the IPSecVpnDpdProfile. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/local-endpoints/ to update the IPSecVpnLocalEndpoint. - PUT /infra/tier-0s/ /locale-services/ /ipsec-vpn-services/ default/sessions/ to update the IPSecVpnSession. If used, this deprecated API will result in the following objects being internally created/updated: - IPSecVpnTunnelProfile: /infra/ipsec-vpn-tunnel-profiles/L3VPN_ . - IPSecVpnIkeProfile: /infra/ipsec-vpn-ike-profiles/L3VPN_ . - IPSecVpnDpdProfile: /infra/ipsec-vpn-dpd-profiles/L3VPN_ . - IPSecVpnLocalEndpoint: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/local-endpoints/ . If an object with the same \"local_address\" already exists, then it will be re-used. - IPSecVpnSession: /infra/tier-0s/ /locale-services/ / ipsec-vpn-services/default/sessions/L3VPN_ . Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.L3VpnOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
-