GlobalVariable object
Abstract Type
GlobalVariable is an abstract type. When an object of type GlobalVariable is expected, you must pass an object of one of the following types:
Properties
property | attributes | valid values | description | filter option |
---|---|---|---|---|
name string |
required create-only |
|||
type string |
required |
"GlobalVariableJson" "GlobalVariableString" "GlobalVariableList" "GlobalVariableRemoteList" |
The type of Global Variable. |
|
computedValue string |
read-only |
The value computed by Scalr for this Global Variable. |
||
declaredIn string |
read-only |
"scalr" "account" "environment" "farm" "farmrole" "role" "server" |
The Scope in which this Global Variable is declared. |
|
definedIn string |
read-only |
"scalr" "account" "environment" "farm" "farmrole" "role" "server" |
The Scope in which this Global Variable is given a value. |
|
category string |
optional |
The category of this Global Variable. |
||
description string |
optional |
A description that explains what this Global Variable is used for. |
||
hidden boolean |
optional |
Whether this Global Variable is hidden in inner scopes. This is read-only if |
||
locked boolean |
optional |
Whether this Global Variable is locked in inner scopes. This is read-only if |
||
requiredIn string |
optional |
"scalr" "account" "environment" "farm" "farmrole" "role" "server" |
The scope where this Global Variable is required. This is read-only if |
|
value string |
optional |
The value declared in the current scope for this Global Variable. If it is null, the value will be inherited from higher scopes. This field is ignored if |
Endpoints using this object
- Account / Global Variables: List
- Account / Global Variables: Create
- Account / Global Variables: Delete
- Account / Global Variables: Get
- Account / Global Variables: Edit
- Account / Roles / Global Variables: List
- Account / Roles / Global Variables: Create
- Account / Roles / Global Variables: Delete
- Account / Roles / Global Variables: Get
- Account / Roles / Global Variables: Edit
- Global / Global Variables: List
- Global / Global Variables: Create
- Global / Global Variables: Delete
- Global / Global Variables: Get
- Global / Global Variables: Edit
- Global / Roles / Global Variables: List
- Global / Roles / Global Variables: Create
- Global / Roles / Global Variables: Delete
- Global / Roles / Global Variables: Get
- Global / Roles / Global Variables: Edit
- User / Farm Roles / Global Variables: List
- User / Farm Roles / Global Variables: Create
- User / Farm Roles / Global Variables: Delete
- User / Farm Roles / Global Variables: Get
- User / Farm Roles / Global Variables: Edit
- User / Farms / Global Variables: List
- User / Farms / Global Variables: Create
- User / Farms / Global Variables: Delete
- User / Farms / Global Variables: Get
- User / Farms / Global Variables: Edit
- User / Global Variables: List
- User / Global Variables: Create
- User / Global Variables: Delete
- User / Global Variables: Get
- User / Global Variables: Edit
- User / Roles / Global Variables: List
- User / Roles / Global Variables: Create
- User / Roles / Global Variables: Delete
- User / Roles / Global Variables: Get
- User / Roles / Global Variables: Edit
- User / Servers / Global Variables: List
- User / Servers / Global Variables: Create
- User / Servers / Global Variables: Delete
- User / Servers / Global Variables: Get
- User / Servers / Global Variables: Edit