Command Central 10.5 | Using the Command Line Interface | Landscape Commands | sagcc update landscape nodes
 
sagcc update landscape nodes
Updates the properties assigned to an installation, for example, the display name or description.
Syntax
*Command Central syntax:
*To specify the updated data for the landscape on the command line:
sagcc update landscape nodes  node_alias [name=name]    
[description=description]  [options]
*To specify the updated data for the landscape in an input data file:
sagcc create landscape nodes  node_alias     
{--input | -i} filename{.xml|.json}  [options]
     
 options:        
[{--debug | -d}]        
[{--error | -r} file]        
[{--log | -l} file]        
[{--media-type | -m} content-type]        
[{--password | -p} password]        
[{--quiet | -q}]        
[{--server | -s} url]        
[{--username | -u} user_name]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
node_alias
Required. Specifies the alias name of the installation whose description you want to update.
You can view a list of installations and their aliases using sagcc list landscape nodes.
[name=name]
Optional. Specifies the updated display name for the installation.
If you use a value that includes spaces, place quotes around the value, for example:
name="My installation"
[description=description]
Optional. Specifies the updated description for the installation.
If you use a value that includes spaces, place quotes around the value, for example:
description="A description with spaces"
[installationType={Production|Development|Test}]
Optional. The type of installation for which to retrieve license key information. Values are:
*Production
*Development
*Test

[{--input | -i}
filename{.xml|.json}]
Optional. Identifies an input file that contains the updated data for the landscape. For more information, see input.
Tip:
To determine how to specify the data in the input file, use the sagcc get landscape nodes to retrieve data for the node you want to update. For example, if you want to use an XML input file, use sagcc get landscape nodes with the --format xml option to retrieve the data in XML format.
[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
*You must specify at least one of the name or description arguments to indicate the item that you want to update for the installation.
Example When Executing on Command Central
To update the installation with alias name “sag01” to use the description, “updated version”:
sagcc update landscape nodes sag01 description="updated version"    
--password "secret"
Because the {--server | -s} and {--username | -u} options are not specified, the command uses the default server and user name. For more information, see server and username. The command specifies “secret” for the user’s password.