Command Central 10.7 | Using the Command Line Interface | Stacks and Layers Commands | sagcc update stacks layers index
 
sagcc update stacks layers index
Updates the index number of the layer. The index determines the order of positioning of layers in a stack in the Command Central web user interface.
Syntax
*Command Central syntax:
sagcc update stacks stackName layers layerName
index index [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack to which the layer belongs.
layerName
Required. The name of the layer for which to update the index number.
index
Required. The new index number of the layer. Valid values are positive integers equal to or larger than 1.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
The index number of the infrastructure layer is always 0 and you cannot update it. No other layer can have an index number of 0.
Example
To update the index number of the layer with name "layer02" from the stack with name "stack01" to 3:
sagcc update stacks stack01 layer02 index 3