Adi Roiban
Adi Roiban

Reputation: 1302

Is there an API for IBM Cloud PowerPC Virtual server instances - power-iaas?

I am looking to implement support for legacy AIX services that can scale.

What I would like is to create an AIX VM or at least start a VM programatically.

Is there an API for this.

I have found CLI at

https://cloud.ibm.com/docs/power-iaas-cli-plugin?topic=power-iaas-cli-plugin-power-iaas-cli-reference

I have checked https://cloud.ibm.com/docs?tab=api-docs

I have checked the requests made by the web page. I see it uses cloud.ibm.com/graphql/doServer

with payload like

{"operationName":"doServer",
"variables":{"serverId":"SOME-ID","action":"start"}
"query":"mutation doServer($serverId: String!, $action: String!)
{\n  PowerDoServer(serverId: $serverId, action: $action)
{\n    success\n    __typename\n  }\n}\n"}

Thanks!

Upvotes: 0

Views: 112

Answers (1)

Related Questions