GetPublicIpByIpAddress
POST {{baseUrl}}/publicIps/actions/getByIpAddress
Gets the public IP based on the public IP address (for example, 203.0.113.2).
Note: If you're fetching a reserved public IP that is in the process of being
moved to a different private IP, the service returns the public IP object with
lifecycleState
= ASSIGNING and assignedEntityId
= OCID of the target private IP.
Request Body
{"ipAddress"=>"commodo amet qui"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
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
{"assignedEntityId":"eu reprehenderit aliquip nulla","assignedEntityType":"NAT_GATEWAY","availabilityDomain":"irure commodo","compartmentId":"est dolor proident","definedTags":{},"displayName":"ipsum quis dolore","freeformTags":{},"id":"sint commodo dolor culpa","ipAddress":"dolore quis esse aliqua","lifecycleState":"UNASSIGNED","lifetime":"EPHEMERAL","privateIpId":"non in consectetur laborum nostrud","publicIpPoolId":"quis aliquip anim","scope":"REGION","timeCreated":"1986-03-06T20:25:38.760Z"}