ListLocalPeeringGateways
GET {{baseUrl}}/localPeeringGateways?compartmentId={{compartment_ocid}}&limit=801&vcnId=amet ut
Lists the local peering gateways (LPGs) for the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the LPGs from all VCNs in the specified compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment. | |
limit | number | For list pagination. The maximum number of results per page, or items to return in a paginated | |
"List" call. For important details about how pagination works, see | |||
List Pagination. |
Example: 50
|
| page
| string | | For list pagination. The value of the opc-next-page
response header from the previous "List"
call. For important details about how pagination works, see
List Pagination.
|
| vcnId
| string | | The OCID of the VCN. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"compartmentId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isCrossTenancyPeering":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lifecycleState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peeringStatus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"vcnId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"definedTags":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"freeformTags":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peerAdvertisedCidr":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peerAdvertisedCidrDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peeringStatusDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"routeTableId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"compartmentId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peerId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isCrossTenancyPeering":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lifecycleState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peeringStatus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"vcnId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"definedTags":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"freeformTags":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peerAdvertisedCidr":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peerAdvertisedCidrDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"peeringStatusDetails":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"routeTableId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]