get-environment-setting

subtitle

Read a configuration setting from the environment service.

version

0.9.126

Description

Read a configuration setting from the environment service.

Synopsis

  get-environment-setting
--attrs <value>
[--environment-name <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--attrs (array)

List of attributes to query settings for. Non-existant settings will be ignored.

Syntax:

"string" "string" ...

--environment-name (string)

The name or CRN of the environment. Empty to get system wide settings.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

settings -> (map)

Dictionary of settings found.

key -> (string)

value -> (string)

Dictionary of settings found.

Form Factors

private