on 2023 Mar 23 2:48 PM
Hi,
As part of reducing credit consumption of Hana Cloud Service presently performing start and stop manually and looking to automate it, came across AutomationPilot however it' s not available in the region Europe(Netherlands) and provider MS Azure.
As such for Stop and Start of Hana Cloud Service if to automate what is the API which can be used to automate Stop and Start of Hana Cloud service ?
Best Regards,
Vipin.
Request clarification before answering.
cf update-service hana_cloud_yoga -c '{"data":{"serviceStopped":false}}'
cf update-service hana_cloud_yoga -c '{"data":{"serviceStopped":true}}'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
vipin8055
As far as I know, you can use it through cf comands to stop and start HANA Cloud ... Many of the customers have automated through shell scripts and added to cronjob.
--- To Start but change the service instance name -------------
cf update-service hana_cloud_yoga -c '{"data":{"serviceStopped":false}}'
--- To Stop but change the service instance name -------------
cf update-service hana_cloud_yoga -c '{"data":{"serviceStopped":true}}'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can refer to the API in this page: Overview | Service Manager | SAP Business Accelerator Hub
By this API, you can operate hana cloud and any other instances in BTP as your wish ~
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.