List all node pools.
GET {{baseUrl}}/nodePools?compartmentId={{compartment_ocid}}&clusterId=ocid1.cluster.oc1....&name=cupidatat&limit=340&sortOrder=DESC&sortBy=ID
List all the node pools in a compartment, and optionally filter by cluster.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment. | |
clusterId | string | The OCID of the cluster. | |
name | string | The name to filter on. | |
limit | number | For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. | |
1 is the minimum, 1000 is the maximum. For important details about how pagination works, | |||
see List Pagination. | |||
page | null | For list pagination. The value of the opc-next-page response header from the previous "List" call. | |
For important details about how pagination works, see List Pagination. | |||
sortOrder | string | The optional order in which to sort the results. | |
sortBy | string | The optional field to sort the results by. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | 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
[{"clusterId":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","compartmentId":"ocid1.compartment.oc1..aaaaaaaafqm2df7ckwmmbtdsl2bgxsw4fcpvkoojytxrqst24yww2tdmtqcq","id":"ocid1.nodepool.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","initialNodeLabels":[{"key":"mykey","value":"myvalue"},{"key":"mykey","value":"myvalue"}],"kubernetesVersion":"v1.9.4","name":"My Node Pool","nodeConfigDetails":{"nsgIds":["commodo sunt","reprehenderit nulla et labore qui"],"placementConfigs":[{"availabilityDomain":"fugiat exercitation","subnetId":"aliqua Duis"},{"availabilityDomain":"sunt in","subnetId":"voluptate aliqua et tempor"}],"size":82271541},"nodeImageId":"ocid1.image.oc1.phx.aaaaaaaanclh465xnfvajjojj5bbjzqytunslgvnyvf3fepiiltalnglekoa","nodeImageName":"Oracle-Linux-7.4","nodeShape":"VM.Standard2.4","nodeShapeConfig":{"memoryInGBs":75901048.520487,"ocpus":67442788.27568614},"nodeSource":{"sourceType":"IMAGE","sourceName":"cupidatat velit pariatur in"},"nodeSourceDetails":{"sourceType":"IMAGE"},"quantityPerSubnet":1,"sshPublicKey":"ssh-rsa AAAAB3NzaC1yc2abc123...","subnetIds":["irure cupidatat","ex"]},{"clusterId":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","compartmentId":"ocid1.compartment.oc1..aaaaaaaafqm2df7ckwmmbtdsl2bgxsw4fcpvkoojytxrqst24yww2tdmtqcq","id":"ocid1.nodepool.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","initialNodeLabels":[{"key":"mykey","value":"myvalue"},{"key":"mykey","value":"myvalue"}],"kubernetesVersion":"v1.9.4","name":"My Node Pool","nodeConfigDetails":{"nsgIds":["dolore","incididunt sit"],"placementConfigs":[{"availabilityDomain":"cillum proident adipisicing","subnetId":"irure ea amet dolore"},{"availabilityDomain":"eu de","subnetId":"mollit anim Lorem"}],"size":18963059},"nodeImageId":"ocid1.image.oc1.phx.aaaaaaaanclh465xnfvajjojj5bbjzqytunslgvnyvf3fepiiltalnglekoa","nodeImageName":"Oracle-Linux-7.4","nodeShape":"VM.Standard2.4","nodeShapeConfig":{"memoryInGBs":55042765.64756514,"ocpus":15749578.075105552},"nodeSource":{"sourceType":"IMAGE","sourceName":"dolore in elit est"},"nodeSourceDetails":{"sourceType":"IMAGE"},"quantityPerSubnet":1,"sshPublicKey":"ssh-rsa AAAAB3NzaC1yc2abc123...","subnetIds":["magna sit velit","fugiat cillum"]}]