Patch a Namespaced Virtual Machine Template
PATCH/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplates/:name
Patch a VirtualMachineTemplate object.
Request
Path Parameters
name stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
namespace stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
- application/json-patch+json
- application/merge-patch+json
Body
required
object
Body
required
object
Responses
- 200
- 401
OK
- application/json
- 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
- Schema
Schema
string
Loading...