getResourceProperty#

Get a resource 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)
  getResourceProperty [parameters]

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

Example#

udclient -username jsmith -password passwd 
  -weburl https://myserver.example.com:8443
  getResourceProperty
  -resource "/My resource"
  -name property1

Related REST command: Get a resource property.

Parent topic: CLI Commands