Deploying VM with custom CPU and RAM
Hello, I have created a customizable service offering in cloudstack and want to deploy VM via deployVirtualMachine() API call. If I specify id of custom service offering, I will need to specify cpu cores and memory, It is not documented how should I fill those parameters I have tried details[0].cpunumber=&details[0].cpuspeed=1000 still I get Invalid cpu cores value. How do I specify cpu cores? Thanks in advance.
Re: Deploying VM with custom CPU and RAM
Hi, why don't you just track RESTful API call sent thru API in Cloudstack UI. Just click F12 in Chrome and trace the call. вс, 9 сент. 2018 г., 16:57 Fariborz Navidan : > Hello, > > I have created a customizable service offering in cloudstack and want to > deploy VM via deployVirtualMachine() API call. If I specify id of custom > service offering, I will need to specify cpu cores and memory, It is not > documented how should I fill those parameters I have tried > details[0].cpunumber=&details[0].cpuspeed=1000 still I get Invalid cpu > cores value. How do I specify cpu cores? > > Thanks in advance. >
Re: Deploying VM with custom CPU and RAM
Thank you, I just cheked apilog.log and found the parameter names. On Sun, Sep 9, 2018 at 2:41 PM Ivan Kudryavtsev wrote: > Hi, why don't you just track RESTful API call sent thru API in Cloudstack > UI. Just click F12 in Chrome and trace the call. > > вс, 9 сент. 2018 г., 16:57 Fariborz Navidan : > > > Hello, > > > > I have created a customizable service offering in cloudstack and want to > > deploy VM via deployVirtualMachine() API call. If I specify id of custom > > service offering, I will need to specify cpu cores and memory, It is not > > documented how should I fill those parameters I have tried > > details[0].cpunumber=&details[0].cpuspeed=1000 still I get Invalid cpu > > cores value. How do I specify cpu cores? > > > > Thanks in advance. > > >