Use the Db2 Warehouse on Cloud Scaling API to schedule, delete or view the status of a scale operation of your Db2 Warehouse on Cloud instance. Requests require an IBM Cloud UAA token, the space ID of the instance, and the instance ID. The instance and space IDs are available in the URL of the instance on IBM Cloud. The user attempting to make these API calls must also have developer access to the system.
Add a new scale request
Only one open request is allowed per instance. It is impossible to downsize storagegb once you have scaled up. triggertime must be sent in as epoch time in milliseconds and must be within the next 14 days. storagegb and cpucores must conform to the discrete levels allowed by your specific offering model. If no input is given for triggertime then the start time is now. If there is no input given for storagegb or cpucores then no change will be made to that parameter.
Deletes a pending scale request
If a scale request has been started, it cannot be deleted