[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Get L3VPN
DescriptionRead 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.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l3vpns/{l3vpn-id}
Path Parameters
Path Parameters
string
tier-0-id
Required
string
locale-service-id
Required
string
l3vpn-id
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
L3Vpn
of type(s) application/json
This response body class contains all of the following:
PolicyConfigResource, InlineL3Vpn1
Errors
ApiError
400
Bad Request
ApiError
403
Forbidden
404
Not Found
ApiError
412
Precondition Failed
ApiError
500
Internal Server Error
ApiError
503
Service Unavailable
Code Samples
PowerCLI Client SDK Example
Invoke-ReadL3Vpn -tier0Id "Mytier0Id" -localeServiceId "MylocaleServiceId" -l3vpnId "Myl3vpnId"
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/l3vpns/{l3vpn-id}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-deprecated: null
x-vmw-doc-operation: get-l3vpn
x-vmw-nsx-module: PolicyL3Vpn
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Tier 0s Operations
put
delete
get
patch