Software AG Command Central 10.2 | Command Central Developer Reference | Using the Command Line Interface | Configuration Commands | sagcc get configuration types
 
sagcc get configuration types
Retrieves information for a specified configuration type associated with a specified run-time component. Information about a configuration type can include:
*Type ID
*Display name if one is assigned; otherwise null
*Description if one is assigned; otherwise null
*Content type of the data
Syntax
*Command Central syntax:
sagcc get configuration types  node_alias componentid  typeid  [options]
*Platform Manager syntax:
sagcc get configuration types  componentid typeid  [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]
Arguments and Options
Argument or Option
Description
node_alias
Command Central only.
Required. Specifies the alias name of the installation in which the run-time component is installed.
You can view a list of installations and their aliases using sagcc list landscape nodes.
componentid
Required. Specifies the ID of the run-time component for which you want to retrieve a configuration type.
You can determine the IDs for run-time components using sagcc list inventory components.
typeid
Required. Specifies the ID of the configuration type for which you want to retrieve information.
You can determine the IDs for configuration types using sagcc list configuration types.
[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.
Usage Notes
*Run-time components support a set of configuration types. Use sagcc list configuration types to learn what configuration types that a run-time component supports.
Example When Executing on Command Central
To execute a command on the Command Central server with host name “rubicon” and port “8090” to retrieve information about the configuration type with ID “COMMON-PORTS” that is associated with run-time component that has the ID “OSGI-SPM” and runs in the installation with alias name “sag01”, using the authorization of the user with user name “Administrator” and password “manage”, and have the information displayed on the console in XML format:
sagcc get configuration types sag01 OSGI-SPM COMMON-PORTS --format xml            
--server http://rubicon:8090/cce --username Administrator            
--password manage
Example When Executing on Platform Manager
To retrieve information about the configuration type with ID “COMMON-PORTS” that is associated with run-time component that has the ID “OSGI-SPM” and is managed by the Platform Manager with host name “rubicon2” and port “8092”, and have the output displayed on the console using the default format:
sagcc get configuration types OSGI-SPM COMMON-PORTS --server              
http://rubicon2:8092/spm --password secret
Because the {--username | -u} option is not specified, the command uses the default user name. For more information, see username. The command specifies “secret” for the user’s password.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release