addEnvironmentProperty#
Create a component environment property
Format#
udclient [\[global-args...\]](../../com.udeploy.reference.doc/topics/cli_command_format.md) [\[global-flags...\]](../../com.udeploy.reference.doc/topics/cli_command_format.md)
addEnvironmentProperty [JSON file]
Parameters#
None.
Template#
This command takes a JSON request string or file. Use the following template for the request:
{
"component": "Name or ID of the component",
"default": "Default value (Optional)",
"description": "Description for the property (Optional)",
"label": "Label of the property (Optional)",
"name": "Name of the property",
"pattern": "A regular expression that specifies valid
values for the property (Optional)",
"required": "Whether the property is required (Optional,
Boolean)",
"secure": "Specify true to create a secure property
(Optional, Boolean)"
}
Example#
udclient -username jsmith -password passwd
-weburl https://myserver.example.com:8443
addEnvironmentProperty
-name MyProperty
-component d2e59ca4-a2f5-4851-9c85-629c1019ba20
-required true
Related REST command: Create a component environment property.
Parent topic: CLI Commands