Complete Installation and Upgrade Information for Software AG Products : Command Central : Command Central Developer Reference : Using the Command Line Interface : Landscape Commands : sagcc list landscape environments
sagcc list landscape environments
Lists environments in the landscape. Information about an environment can include:
*Alias name
*Display name if one is assigned; otherwise null
*Description if one is assigned; otherwise null
*List of installation aliases that belong to the environment
*Command Central syntax:
sagcc list landscape environments  [env_alias]  [options]        
[{--accept | -a} content_type]        
[{--debug | -d}]        
[{--error | -r} file]        
[{--format | -f} {tsv args | text | xml | csv args | json}]        
[{--log | -l} file]        
[{--output | -o} file]        
[{--password | -p} password]        
[{--quiet | -q}]        
[{--server | -s} url]        
[{--username | -u} user_name]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Optional. Specifies the alias name of the environment whose information you want to retrieve. If you do not specify an alias name, the command lists information for all environments.
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Example When Executing on Command Central
To list all environments that the Command Central with host name “rubicon” and port “8090” manages, using the authorization of the user with user name “Administrator” and password “manage”, and have the information returned to the output file “environlist” in XML format:
sagcc list landscape environments --format xml --output environlist    
--server http://rubicon:8090/cce --username Administrator --password manage
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback