Tags /
Get tag
View details for a given resource tag.
Required permission
Account > Tags > General > Read
Path parameters
resourceTagId
string requiredID of the tag
Response body
- {object}Response object.
data
{object} requiredResult data.useSpotNodes
booleanSchedule workloads to spot nodesuseOnDemandNodes
booleanAlso allow workloads to schedule to on demand nodes. Only relevant if you want workloads to schedule across both spot and on demand nodesnodeAffinities
[array]- {object}
preference
booleanweight
numberThe node affinity weight. Required when `preference` is `true`.min1max100matchExpressions
[array] required- {object}
key
string requiredoperator
string requiredone ofIn, NotInvalues
[array] required- string
color
stringpattern^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$description
stringmax length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$name
string requiredmin length3max length100pattern^[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*$id
string requiredmin length3max length100pattern^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$createdAt
stringtime of creation
API
CLI
JS Client
GET /v1/tags/{resourceTagId}
Example response
200 OK
Data about the resource tag.
JSON
{
"data": {
"useSpotNodes": false,
"useOnDemandNodes": false,
"color": "#57637A",
"name": "Example Tag",
"id": "example-tag",
"createdAt": "2000-01-01T12:00:00.000Z"
}
}