addEnvironmentProperty

Create a component environment property

Format

udclient [global-args...] [global-flags...]
  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.