Set a property on a resource

Request

PUT https://{hostname}:{port}
    /cli/resource/setResourceRoleProperty
Accept: {contentType}
Table 1. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "application": "Name or ID of the application (Required 
  to look up blueprint by name)",
  "blueprint": "Name or ID of the blueprint (optional)",
  "description": "The description of the property 
  (optional)",
  "isSecure": "Whether the property is secure; the default 
  is the current state of the property, or false if the 
  property is not yet specified (optional)",
  "label": "The label of the property (optional)",
  "name": "Name of the property",
  "resource": "ID of resource or Path to the resource, 
  such as /ResourceGroup/Agents/Agent1",
  "template": "Name or ID of the resource template 
  (optional)",
  "value": "New value for the property (optional)"
}

Related CLI command: setResourceRoleProperty.