Attention
This Db2 Warehouse on Cloud Scaling API will be deprecated in June, 2022. You can find the scaling API documentation incorporated into the Db2 Warehouse on Cloud API documentation.
Introduction
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.
Creating a UAA Token
comment: <> (The Db2 Warehouse on Cloud Scaling REST API is an expansion of the Db2 Warehouse on Cloud REST API. See the IBM Db2 Warehouse on Cloud REST API.)
Methods
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.
POST /scale