GitHub user YashasAnand closed a discussion: How to call scaleVirtualMachine
api with details parameter
I am trying to call scaleVirtualMachine API using python, but the documentation
is very vague on how to use details parameter
[https://cloudstack.apache.org/api/apidocs-4.19/apis/scaleVirtua
GitHub user YashasAnand added a comment to the discussion: How to call
scaleVirtualMachine api with details parameter
Thank you @bernardodemarco , i tried with cloudmonkey as you suggested, it
threw the proper error that it expects cpu speed as well, I was not passing cpu
speed in details par
GitHub user bernardodemarco edited a comment on the discussion: How to call
scaleVirtualMachine api with details parameter
APIs in CloudStack can be synchronous/blocking, or asynchronous/non-blocking.
Async APIs return a `jobid`, which can be used to poll the result of the API
call.
Since th
GitHub user bernardodemarco added a comment to the discussion: How to call
scaleVirtualMachine api with details parameter
APIs in CloudStack: can be synchronous/blocking, or asynchronous/non-blocking.
Async APIs return a `jobid`, which can be used to poll the result of the API
call.
Since th
GitHub user YashasAnand edited a comment on the discussion: How to call
scaleVirtualMachine api with details parameter
Hi @bernardodemarco @weizhouapache Thank you for your respective responses.
Below is my python code.
def generate_signature(baseurl, request, secretkey):
encoded_reque
GitHub user YashasAnand edited a comment on the discussion: How to call
scaleVirtualMachine api with details parameter
Hi @bernardodemarco @weizhouapache Thank you for your respective responses.
Below is my python code.
`import hashlib
import hmac
import base64
import urllib.parse
import jso
GitHub user YashasAnand edited a comment on the discussion: How to call
scaleVirtualMachine api with details parameter
Hi @bernardodemarco @weizhouapache Thank you for your respective responses.
Below is my python code.
def generate_signature(baseurl, request, secretkey):
en
GitHub user YashasAnand edited a comment on the discussion: How to call
scaleVirtualMachine api with details parameter
Hi @bernardodemarco @weizhouapache Thank you for your respective responses.
Below is my python code.
`
def generate_signature(baseurl, request, secretkey):
encoded_requ
GitHub user YashasAnand added a comment to the discussion: How to call
scaleVirtualMachine api with details parameter
Hi @bernardodemarco @weizhouapache Thank you for your respective responses.
Below is my python code.
`import hashlib
import hmac
import base64
import urllib.parse
import json
GitHub user bernardodemarco added a comment to the discussion: How to call
scaleVirtualMachine api with details parameter
Hello, @YashasAnand
The `details` parameter of the `scaleVirtualMachine` API is a `MAP`. Basically,
the `MAP` parameter type in CloudStack expects the keys and values as:
GitHub user weizhouapache edited a comment on the discussion: How to call
scaleVirtualMachine api with details parameter
Can you try
["memory": "3072", "cpunumber": "2"]
or similar ?
GitHub link:
https://github.com/apache/cloudstack/discussions/9961#discussioncomment-11338433
This is
GitHub user weizhouapache added a comment to the discussion: How to call
scaleVirtualMachine api with details parameter
Can you try
{"memory": "3072", "cpunumber": "2"}
?
GitHub link:
https://github.com/apache/cloudstack/discussions/9961#discussioncomment-11338433
This is an automatic
GitHub user YashasAnand edited a discussion: How to call scaleVirtualMachine
api with details parameter
I am trying to call scaleVirtualMachine API using python, but the documentation
is very vague on how to use details parameter
[https://cloudstack.apache.org/api/apidocs-4.19/apis/scaleVirtua
13 matches
Mail list logo