List the stream pools for a given compartment ID.
GET {{baseUrl}}/streampools?compartmentId={{compartment_ocid}}&limit=10&sortBy=TIMECREATED&sortOrder=ASC
List the stream pools for a given compartment ID.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment. | |
id | string | A filter to return only resources that match the given ID exactly. | |
name | string | A filter to return only resources that match the given name exactly. | |
limit | number | The maximum number of items to return. The value must be between 1 and 50. The default is 10. | |
page | string | The page at which to start retrieving results. | |
sortBy | string | The field to sort by. You can provide no more than one sort order. By default, TIMECREATED sorts results in descending order and NAME sorts results in ascending order. | |
sortOrder | string | The sort order to use, either 'asc' or 'desc'. | |
lifecycleState | string | A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"compartmentId":"ocid1.compartment.oc1..aaaaaaaa2byuam5ewxzrcs2iqzh7okx84jae6j4uhkih5wdbrkkwuxv3qgpa","id":"ocid1.streampool.realm.region.mnopqr789","lifecycleState":"CREATING","name":"MyStreamPool","timeCreated":"1983-04-03T05:13:01.377Z","definedTags":{},"freeformTags":{},"isPrivate":false},{"compartmentId":"ocid1.compartment.oc1..aaaaaaaa2byuam5ewxzrcs2iqzh7okx84jae6j4uhkih5wdbrkkwuxv3qgpa","id":"ocid1.streampool.realm.region.mnopqr789","lifecycleState":"UPDATING","name":"MyStreamPool","timeCreated":"1945-06-09T14:19:47.417Z","definedTags":{},"freeformTags":{},"isPrivate":false}]