Skip to content

mhawari/scalr-reporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scalr-reporting

This tool lists all the servers in a given environment and outputs a CSV file.

Usage scalr-reporting.py [-h] [-f field [field ...]] credentials

credentials is the path to a JSON file containing the credentials for Scalr

optional arguments:

  • -h, --help Show usage
  • -f field [field ...], --fieldsToGet field [field...] List of all the fields to get.

The following example describes the syntax of a field. Example: 'farmRole.role.os.name' gets the field 'name' field of the 'os' object of the 'role' object of the 'farmRoleObject' of the server

Available objects are Roles, Farm Roles and OS. Please consult the API documentation here for more information about the available fields in these objects.

See credentials-sample.json for an example of JSON credential file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages