Hi Sankalp,

We are planning to add additional improvements to APIv2 including storage, 
health, and usage.  We do not presently have a public ETA for this as of 
now, but keep an eye on our APIv2 documentation for future enhancements.  

For the Server Hostname, you will notice the {X} symbol next to the 
setting.  This indicates that the setting supports Global Variable 
Interpolation <https://scalr-wiki.atlassian.net/wiki/x/EIBM>.  You should 
be able to use APIv2 to edit a Farm Role GV 
<https://api-explorer.scalr.com/user/farm-roles/global-variables/patch_globalVariableName.html>
 
and automate the hostname setting. This can also be managed with a 
governance policy for scalr.server.hostname_forma 
<https://scalr-wiki.atlassian.net/wiki/display/docs/Governance+Policy+Types#GovernancePolicyTypes-Hostnameformatpolicy>
t.

Many thanks,
Wm. Marc O'Brien
Scalr Technical Support

On Friday, August 5, 2016 at 12:07:39 AM UTC-6, Sankalp Kale wrote:
>
> Hi, 
> We want to automate create farm , add farm role and all related things for 
> setting in up ec2 instances on AWS using scalr apis v2.
>
> API Doc  : https://api-explorer.scalr.com/
>
> We are able to create farm, add farm role. 
> Two things we didnt found in scalr api v2 , 
> 1. How to increase storage of ec2 instance
> 2. How to provide hostname to instance.
>
> Are there any scalr api`s for the same or any way we can automate above 
> things after adding farm-role , before launching the farm.
>
>
> From Scalr Webportal , we can change the hostname form
> Farms --> Role--> Advance --> Server hostname 
>
> <https://lh3.googleusercontent.com/-aWuMq0Iob2I/V6Qsei1QM7I/AAAAAAAAA6o/VHUTszj4GJE8J8y7bxz-AbU7oK9cY0BDgCLcB/s1600/Hostname.JPG>
>
>
>
>
>
>
>
>
>
>
>
>
> For changing storage space .
> Farms --> Role --> Storage --> Storage Configuration
>
> <https://lh3.googleusercontent.com/-IXjT-yza0Vs/V6Qsp-q13TI/AAAAAAAAA6s/beeww8JKC0wXscvmlm06H5n0dYE4N0UGwCLcB/s1600/Storage.JPG>
>
> Please let us know ,if we can automate this or a manual step is required 
> for changing above parameters.
>
> Thanks,
> Sankalp
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to