Skip to main content
Version: v1.2 (EOL)

Create a Virtual Machine Image

POST 

/apis/harvesterhci.io/v1beta1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/virtualmachineimages

Create a VirtualMachineImage object.

Request

Path Parameters

    namespace stringrequired

    Object name and auth scope, such as for teams and projects

Body

required
    apiVersion stringrequired
    kind stringrequired
    metadata object
    name stringrequired
    namespace string
    spec objectrequired
    checksum string
    description string
    displayName stringrequired
    pvcName string
    pvcNamespace string
    retry int32

    Default value: 0

    sourceType stringrequired
    storageClassParameters object
    property name* string
    url string
    status object
    appliedUrl string
    conditions object[]
  • Array [
  • lastTransitionTime string
    lastUpdateTime string
    message string
    reason string
    status stringrequired
    type stringrequired
  • ]
  • failed int32

    Default value: 0

    lastFailedTime string
    progress int32
    size int64
    storageClassName string

Responses

OK

Schema
    apiVersion stringrequired
    kind stringrequired
    metadata object
    name stringrequired
    namespace string
    spec objectrequired
    checksum string
    description string
    displayName stringrequired
    pvcName string
    pvcNamespace string
    retry int32

    Default value: 0

    sourceType stringrequired
    storageClassParameters object
    property name* string
    url string
    status object
    appliedUrl string
    conditions object[]
  • Array [
  • lastTransitionTime string
    lastUpdateTime string
    message string
    reason string
    status stringrequired
    type stringrequired
  • ]
  • failed int32

    Default value: 0

    lastFailedTime string
    progress int32
    size int64
    storageClassName string
Loading...