Retrieve a list of variables defined for the cluster profile
GET/v1/clusterprofiles/:uid/variables
Retrieve a list of variables defined for the cluster profile
Request
Path Parameters
Cluster profile uid
Header Parameters
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
variables
object[]
List of unique variable fields with schema constraints
The default value of the variable
Variable description
Unique display name of the variable
Possible values: [string
, number
, boolean
, ipv4
, ipv4cidr
, ipv6
, version
]
Default value: string
Format type of the variable value
If true, then variable will be hidden for overriding the value. By default the hidden flag will be set to false
If true, then variable value can't be editable. By default the immutable flag will be set to false
If true, then default value will be masked. By default the isSensitive flag will be set to false
Variable name
Regular expression pattern which the variable value must match
Flag to specify if the variable is optional or mandatory. If it is mandatory then default value must be provided
{
"variables": [
{
"defaultValue": "string",
"description": "string",
"displayName": "string",
"format": "string",
"hidden": true,
"immutable": true,
"isSensitive": true,
"name": "string",
"regex": "string",
"required": true
}
]
}