Skip to main content
Version: v1.4 (latest)

Create a Namespaced Virtual Machine Template

POST 

/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplates

Create a VirtualMachineTemplate object.

Request

Path Parameters

    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

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

OK

Schema
    apiVersion stringrequired
    kind stringrequired
    metadata object
    name stringrequired
    namespace string
    spec object
    defaultVersionId string
    description string
    status object
    defaultVersion int32
    latestVersion int32
Loading...