udclient [global-args...] [global-flags...]
setResourceProperty [parameters]
| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | true | Path to the resource, such as /ResourceGroup/Agents/Agent1 |
| template | string | false | Name or ID of the resource template (Optional) |
| blueprintId | string | false | Name or ID of the blueprint (Optional) |
| application | string | false | Name or ID of the application (Required to look up blueprint by name) |
| name | string | true | Name of the property |
| isSecure | boolean | false | Whether the property is secure; the default is the current state of the property, or false if the property is not yet specified |
| value | string | false | New value for the property |
udclient -username jsmith -password passwd
-weburl https://myserver.example.com:8443
setResourceProperty
-resource "/My resource"
-name property1
-value value1
{
"id": "bd20924e-8547-4d41-b9b1-36b41278d224",
"name": "property1",
"value": "value1",
"secure": false
}
Related REST command: Set a property on a resource.