BootstrapService_GetBootstrapAgentTemplate
GET/v2/sentry/bootstrap/template/{metadata.name}
BootstrapService_GetBootstrapAgentTemplate
Request
Path Parameters
name of the resource
Query Parameters
Default value: infra.k8smgmt.io/v3
API Version
API Version of the resource
Default value: BootstrapAgentTemplate
Kind
Kind of the resource
Display Name
display name of the resource
Description
description of the resource
Labels
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
Annotations
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
Project
Project of the resource
Organization
Organization to which the resource belongs
Partner
Partner to which the resource belongs
Possible values: [TemplateTypeNotSet
, Client
, Server
, Mixed
]
Default value: TemplateTypeNotSet
Responses
- 200
- 403
- 404
- 500
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: BootstrapAgentTemplate
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: [TemplateTypeNotSet
, Client
, Server
, Mixed
]
Default value: TemplateTypeNotSet
hosts object[]
Possible values: [HostTypeNotSet
, HostTypeInternal
, HostTypeExternal
]
Default value: HostTypeNotSet
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentTemplate",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"infraRef": "string",
"autoRegister": true,
"ignoreMultipleRegister": true,
"autoApprove": true,
"templateType": "TemplateTypeNotSet",
"token": "string",
"hosts": [
{
"host": "string",
"type": "HostTypeNotSet"
}
],
"inClusterTemplate": "string",
"outOfClusterTemplate": "string"
},
"status": {}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: BootstrapAgentTemplate
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: [TemplateTypeNotSet
, Client
, Server
, Mixed
]
Default value: TemplateTypeNotSet
hosts object[]
Possible values: [HostTypeNotSet
, HostTypeInternal
, HostTypeExternal
]
Default value: HostTypeNotSet
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "BootstrapAgentTemplate",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"infraRef": "string",
"autoRegister": true,
"ignoreMultipleRegister": true,
"autoApprove": true,
"templateType": "TemplateTypeNotSet",
"token": "string",
"hosts": [
{
"host": "string",
"type": "HostTypeNotSet"
}
],
"inClusterTemplate": "string",
"outOfClusterTemplate": "string"
},
"status": {}
}
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"
}
]
}