CreateRemotePeeringConnection

POST {{baseUrl}}/remotePeeringConnections

Creates a new remote peering connection (RPC) for the specified DRG.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "drgId"=>"in", "displayName"=>"nulla non Ut nostrud"}

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":"qui in proident","displayName":"eu do minim esse","drgId":"dolore non tempor ea nisi","id":"in eiusmod et cupidatat commodo","isCrossTenancyPeering":true,"lifecycleState":"TERMINATED","peeringStatus":"NEW","timeCreated":"1978-05-15T16:41:51.991Z","definedTags":{},"freeformTags":{},"peerId":"sed consequat a","peerRegionName":"reprehenderit commodo","peerTenancyId":"eiusmod deserunt laborum"}