cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Eskandari <astro.alir...@gmail.com>
Subject Re: Details parameters in deployVirtualMachine API
Date Sun, 20 Dec 2020 07:48:38 GMT
Just for clarification, you can also use details to specify the amount of
resources you need when using dynamic service offering. For example:

deployVirtualmachine details[0].memory=1024 details[0].cpuSpeed=2000
details[0].cpuNumber=1
serviceofferingid=188a8d30-ac07-4093-9435-d2eaa4d20776
zoneid=d1a23d3c-fa65-4a30-a0b0-67fba098cc5c
templateid=23e396c9-d3f8-4670-af6e-b577212ace95
networkids=e382f3d7-5e8d-436b-aa9c-f1bae90a00c5

On Fri, Dec 18, 2020 at 5:57 PM Daan Hoogland <daan.hoogland@gmail.com>
wrote:

> Vivek, I'm not clear on what you are trying to achieve, but tags would be
> matched from the service offering to the host or storage. As far as i can
> tell from the code only min/maxIops are sent in the details.
> regards,
>
> On Wed, Dec 16, 2020 at 7:02 PM Vivek Kumar <vivek.kumar@indiqus.com
> .invalid>
> wrote:
>
> > Hello Guys,
> >
> > So we have a parameters called - “Details” in deployVirtualmachine API ,
> > As per the doc it’s used to specify the custom parameters. So what would
> be
> > the syntax for that ? I mean what value can we pass. i.e I m deploying
> the
> > VM via cloudmonkey and I need to specify some custom parameters.
> >
> > deploy virtualmachine zoneid=b7396b8c-f3fe-4763-b953-17a97b408d
> > templateid=ca67fba0-19bd-11eb-9555-0056961200
> > serviceofferingid=74d84241-3a45-46db-b126-a467ae0c3f3d
> > networkids=524397-236a-4d08-99c0-f60794c997a1 name=vivek details=????
> >
> >
> > So basically I m trying to  create  custom tags while deploying the
> > virtual machine, However we can create tag by calling createTags api,
> but I
> > am exploring if we can create custom tags while deploying VM.
> >
> > Regards
> > Vivek Kumar
> >
> >
>
> --
> Daan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message