Command Central 10.3 | 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
Syntax
*Command Central syntax:
sagcc list landscape environments  [env_alias]  [options]        
     
 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
Description
[env_alias]
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.
[options]
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