CreateLocalPeeringGateway

POST {{baseUrl}}/localPeeringGateways

Creates a new local peering gateway (LPG) for the specified VCN.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "vcnId"=>"irure esse nostrud", "displayName"=>"ea", "routeTableId"=>"amet mollit Excepteur ad"}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"ea anim officia mollit","displayName":"exercitation culpa elit","id":"quis dolore","peerId":"qui fugiat mollit exercitation adipisicing","isCrossTenancyPeering":false,"lifecycleState":"TERMINATING","peeringStatus":"INVALID","timeCreated":"1976-05-31T07:31:41.310Z","vcnId":"incididunt eu officia","definedTags":{},"freeformTags":{},"peerAdvertisedCidr":"occaecat Excepte","peerAdvertisedCidrDetails":["sit euest dol","Duis exaliqu"],"peeringStatusDetails":"sit consequat dolor ullamco velit","routeTableId":"officia"}