UpdateLocalPeeringGateway
PUT {{baseUrl}}/localPeeringGateways/:localPeeringGatewayId
Updates the specified local peering gateway (LPG).
Request Body
{"displayName"=>"dolor minim sunt", "routeTableId"=>"repr"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"compartmentId":"dolore tempor ","displayName":"amet sit","id":"adipisicing nulla esse","peerId":"incididunt dolor commodo ex do","isCrossTenancyPeering":true,"lifecycleState":"TERMINATED","peeringStatus":"PEERED","timeCreated":"1961-11-06T04:30:14.685Z","vcnId":"reprehenderit enim in nisi sit","definedTags":{},"freeformTags":{},"peerAdvertisedCidr":"ex pariatur","peerAdvertisedCidrDetails":["utpariatur d","consequat quis "],"peeringStatusDetails":"sunt veniam dolo","routeTableId":"commodo"}