BootstrapService_CreateBootstrapAgent
POST/v2/sentry/bootstrap/{spec.templateRef}/agent
BootstrapService_CreateBootstrapAgent
Request
Path Parameters
Possible values: Value must match regular expression template/[^/]+
- application/json
- application/yaml
Body
required
metadata object
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec object
Possible values: [InCluster
, OutOfCluster
]
Default value: InCluster
status object
Possible values: [NotSet
, NotRegistered
, NotApproved
, Approved
]
Default value: NotSet
Body
required
metadata object
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec object
Possible values: [InCluster
, OutOfCluster
]
Default value: InCluster
status object
Possible values: [NotSet
, NotRegistered
, NotApproved
, Approved
]
Default value: NotSet
Responses
- 200
- 403
- 404
- 500
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: BootstrapAgent
Kind of the resource
metadata object
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec object
Possible values: [InCluster
, OutOfCluster
]
Default value: InCluster
status object
Possible values: [NotSet
, NotRegistered
, NotApproved
, Approved
]
Default value: NotSet
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgent",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"token": "string",
"templateRef": "string",
"agentMode": "InCluster"
},
"status": {
"tokenState": "NotSet",
"ipAddress": "string",
"lastCheckedIn": "2024-02-15T00:40:10.375Z",
"fingerprint": "string"
}
}
- Schema
- Example (from schema)
Schema
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: BootstrapAgent
Kind of the resource
metadata object
Metadata of the resource
name of the resource
display name of the resource
description of the resource
labels object
labels of the resource
annotations object
annotations of the resource
Project of the resource
Organization to which the resource belongs
Partner to which the resource belongs
spec object
Possible values: [InCluster
, OutOfCluster
]
Default value: InCluster
status object
Possible values: [NotSet
, NotRegistered
, NotApproved
, Approved
]
Default value: NotSet
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgent",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"token": "string",
"templateRef": "string",
"agentMode": "InCluster"
},
"status": {
"tokenState": "NotSet",
"ipAddress": "string",
"lastCheckedIn": "2024-02-15T00:40:10.375Z",
"fingerprint": "string"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the resource does not exist.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned for internal server error
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
An unexpected error response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}