Read a Namespaced Virtual Machine Template
GET/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplates/:name
Get a VirtualMachineTemplate object.
Request
Path Parameters
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
Query Parameters
Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
Should this value be exported. Export strips fields that a user can not specify.
Responses
- 200
- 401
OK
- application/json
- application/json;stream=watch
- application/yaml
- Schema
- Example (auto)
Schema
metadata object
spec object
status object
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
- Schema
- Example (auto)
Schema
metadata object
spec object
status object
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
- Schema
- Example (auto)
Schema
metadata object
spec object
status object
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
Unauthorized
- application/json
- application/json;stream=watch
- application/yaml
- Schema
- Example (auto)
Schema
"string"
- Schema
- Example (auto)
Schema
"string"
- Schema
- Example (auto)
Schema
"string"
- curl
- python
- go
- nodejs
- CURL
curl -L 'https://699c5de8cd2250875530e216--harvester-preview.netlify.app/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplates/:name' \
-H 'Accept: application/json'
