Creates a new Gateway

POST {{baseUrl}}/gateways

Creates a new gateway.

Request Body

{"endpointType"=>"PUBLIC", "subnetId"=>"ocid1.subnet.oc1....", "responseCacheDetails"=>{"type"=>"NONE"}}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokennullA 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
might be rejected.
opc-request-idnullThe client request id for tracing.
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: Created

{"endpointType":"PRIVATE","hostname":"consectetur enim aute in","ipAddresses":[{"ipAddress":"aute magna nulla"},{"ipAddress":"commodo in adipisicin"}],"lifecycleDetails":"magna nulla exercitation culpa","lifecycleState":"CREATING","responseCacheDetails":{"type":"EXTERNAL_RESP_CACHE"}}