Replace a Virtual Machine Template
PUT/apis/harvesterhci.io/v1beta1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/virtualmachinetemplates/{name:[a-z0-9][a-z0-9\-]*}
Update a VirtualMachineTemplate object.
Request
Path Parameters
name stringrequired
Name of the resource
namespace stringrequired
Object name and auth scope, such as for teams and projects
- application/json
- application/yaml
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
defaultVersionId string
description string
status object
defaultVersion int32
latestVersion int32
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
defaultVersionId string
description string
status object
defaultVersion int32
latestVersion int32
Responses
- 200
- 201
- 401
OK
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
defaultVersionId string
description string
status object
defaultVersion int32
latestVersion int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "string",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
defaultVersionId string
description string
status object
defaultVersion int32
latestVersion int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "string",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
Create
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
defaultVersionId string
description string
status object
defaultVersion int32
latestVersion int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "string",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
defaultVersionId string
description string
status object
defaultVersion int32
latestVersion int32
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "string",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
Unauthorized
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
Loading...