create-parameter-group¶
- subtitle
Create a parameter group with optional asset upload
- version
0.9.160
Description¶
Create a new parameter group on workload with the specified configuration. Supports uploading assets for parameters of type FILE or FILES. When assetReferences contain local file paths, the assets will be uploaded automatically. This operation is supported for the CLI only.
Synopsis¶
create-parameter-group
--environment-crn <value>
--name <value>
[--project-crn <value>]
[--description <value>]
[--parameters <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--environment-crn (string)
The CRN of an environment to execute the command.
--name (string)
The name of the parameter group.
--project-crn (string)
Optional project CRN that parameter group is assigned to.
--description (string)
The description of the parameter group.
--parameters (array)
Parameters for the parameter group.
Shorthand Syntax:
name=string,value=string,sensitive=boolean,description=string,assetReferences=string,string ... (separate items with spaces)
JSON Syntax:
[
{
"name": "string",
"value": "string",
"sensitive": true|false,
"description": "string",
"assetReferences": ["string", ...]
}
...
]
--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¶
parameterGroup -> (object)
The created parameter group.
crn -> (string)
name -> (string)
id -> (string)
Form Factors¶
public