Role object

Example JSON representation

{
  "builtinAutomation": [
    "base"
  ],
  "category": {
    "id": 1
  },
  "deprecated": {
    "deprecated": "2013-01-01T12:34:56.789Z",
    "replacement": {
      "id": 1
    }
  },
  "description": "string",
  "id": 1,
  "name": "string",
  "os": {
    "id": "string"
  },
  "quickStart": true,
  "quickStartGroup": "string",
  "scope": "scalr",
  "tags": [
    "string"
  ],
  "useScalrAgent": true
}

Properties

property attributes valid values description filter option
category
RoleCategoryForeignKey object
required
filterable
Pass the id of the object you are referencing in:
?category=...
name
string
required
filterable

The name of the Role.

?name=...
os
OsForeignKey object
required
create-only
filterable
Pass the id of the object you are referencing in:
?os=...
deprecated
RoleDeprecatedOptions object
read-only

The deprecation options associated with this Role.

id
integer
read-only
filterable
?id=...
scope
string
read-only
filterable
"scalr"
"account"
"environment"
"farm"
"farmrole"
"role"
"server"
?scope=...
builtinAutomation
Array of string
create-only
filterable
?builtinAutomation=...
description
string
optional
quickStart
boolean
optional
filterable

Whether this Role is a QuickStart Role.

?quickStart=...
quickStartGroup
string
optional
filterable

The name of the QuickStart Group.

?quickStartGroup=...
tags
Array of string
optional

The list of tags that should be applied to the Role.

useScalrAgent
boolean
create-only
filterable

Whether this Role uses Scalarizr, the Scalr agent.

?useScalrAgent=...

Endpoints using this object