Automating Google Workspace (GWS) & more with Apps Script
Editor's Notes
All looks good.
All looks good, but seems that the column width are all the same.
Little bug in displaying templates.
Why ask for ssh user and password or id file while the option –no-bootstrap is given?
All the commands that are available within version 0.0.13
All the commands that are available within version 0.0.14 (so we have added some, mostly list accounts)
Running commands as user can give an different result as running the command as admin
While showing the name, id, level and path for the domain, you can see that the API returns more information. This info can be used for filters and fields
You can customize the output by specifying the fields that you want to see.
You can customize the output by specifying a filter or combine more filters and separate them by comma. Regex filter are supported and within forward slashes.
You can customize the output by specifying a filter and the fields, this way you are really flexible.
This option will remove the header from the result to make scripting more easy.
On the server list output you can also perform actions like start, stop or destroy and you can suppress the questions with adding --yes
While being admin, you still don’t see all the projects but only your own (if you have some). Therefore you can use the --listall option and you can combine this with the filter option.
Now combine all the options together and you can create any type of output that you want. Example listing all chef servers and the account, instance names…
Creating a instance with the –cloudstack-password option will return the password created by cloudstack. This only works if your template is also password enabled within cloudstack