Creates a new Gateway
POST {{baseUrl}}/gateways
Creates a new gateway.
Request Body
{"endpointType"=>"PUBLIC", "subnetId"=>"ocid1.subnet.oc1....", "responseCacheDetails"=>{"type"=>"NONE"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | null | A 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-id | null | The client request id for tracing. | |
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: 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"}}