ControlTier > controltier-core
 

setting-set

Command Reference

Description

Define setting data

Define a Setting and its properties.

static: This command can be run outside of an object context.

Usage

ctl -m modelutil -c setting-set -depot <> [-description <>] [-encryptvalue] -name <> [-settingType <>] -settingValue <> -type <Setting>

Options

Option Description Type Default
depot project depot name string ${context.depot}
description the setting description string
encryptvalue Encrypt the value upon storage boolean
name the setting name string
settingType the setting value type string
settingValue the setting value string
type the setting type string Setting

Examples

Define the data for a setting not yet defined in the model.

ctl -p demo -m modelutil -c setting-set -- -name connector-port -type ServiceSetting\
		-settingValue 80 -description 'the container connector port'