You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

What is the default limit for the number of instances returned from ListInstances API?

edited Mar 3, 2020 9:15AM in OCI - General 6 comments

Content

We have roughly more than 200 instances in a compartment. We have written scripts to get the instances in a compartment and we are not getting all the instances. Is there a default limit? 

Also, we are receiving opc-next-page header, that means we need to query again the same API to fetch other instances as well.

ListInstances APIhttps://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Instance/ListInstances

If there is a default limit, Please let us know.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!