Gets a list of all Gateways in a compartment

GET {{baseUrl}}/gateways?compartmentId={{compartment_ocid}}&lifecycleState=&limit=100&page=&sortOrder=ASC&sortBy=timeCreated

Returns a list of gateways.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The ocid of the compartment in which to list resources.
certificateIdnullFilter gateways by the certificate ocid.
displayNamenullA user-friendly name. Does not have to be unique, and it's changeable.

Example: My new resource | | lifecycleState | null | | A filter to return only resources that match the given lifecycle state.

Example: SUCCEEDED | | limit | number | | The maximum number of items to return. | | page | null | | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. | | sortOrder | string | | The sort order to use, either 'asc' or 'desc'. The default order depends on the sortBy value. | | sortBy | string | | The field to sort by. You can provide one sort order (sortOrder). Default order for timeCreated is descending. Default order for displayName is ascending. The displayName sort order is case sensitive. |

HEADERS

KeyDatatypeRequiredDescription
opc-request-idnullThe client request id for tracing.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

{"items":[{"endpointType":"do magna","hostname":"qui veniam sint","lifecycleDetails":"adipisicing mollit","lifecycleState":"fugiat proident in"},{"endpointType":"in eiusmod eu","hostname":"Ut mollit","lifecycleDetails":"exercitation labore","lifecycleState":"commodo nostrud aliquip"}]}