Skip to main content
Version: v1.2

Replace a Virtual Machine Restore

PUT 

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

Update a VirtualMachineRestore object.

Request

Path Parameters

    name stringrequired

    Name of the resource

    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
    deletionPolicy string
    newVM boolean
    target objectrequired
    apiGroup string
    kind stringrequired
    name stringrequired
    virtualMachineBackupName stringrequired
    virtualMachineBackupNamespace stringrequired
    status object
    complete boolean
    conditions object[]
  • Array [
  • lastTransitionTime string
    lastUpdateTime string
    message string
    reason string
    status stringrequired
    type stringrequired
  • ]
  • deletedVolumes string[]
    restoreTime string
    restores object[]
  • Array [
  • persistentVolumeClaimSpec object
    metadata object
    name stringrequired
    namespace string
    spec object
    accessModes string[]
    dataSource object
    apiGroup string
    kind stringrequired
    name stringrequired
    dataSourceRef object
    apiGroup string
    kind stringrequired
    name stringrequired
    resources object
    limits object
    property name* string

    Default value: [object Object]

    requests object
    property name* string

    Default value: [object Object]

    selector object
    matchExpressions object[]
  • Array [
  • key stringrequired
    operator stringrequired
    values string[]
  • ]
  • matchLabels object
    property name* string
    storageClassName string
    volumeMode string
    volumeName string
    volumeBackupName string
    volumeName string
  • ]
  • targetUID string

Responses

OK

Schema
    apiVersion stringrequired
    kind stringrequired
    metadata object
    name stringrequired
    namespace string
    spec objectrequired
    deletionPolicy string
    newVM boolean
    target objectrequired
    apiGroup string
    kind stringrequired
    name stringrequired
    virtualMachineBackupName stringrequired
    virtualMachineBackupNamespace stringrequired
    status object
    complete boolean
    conditions object[]
  • Array [
  • lastTransitionTime string
    lastUpdateTime string
    message string
    reason string
    status stringrequired
    type stringrequired
  • ]
  • deletedVolumes string[]
    restoreTime string
    restores object[]
  • Array [
  • persistentVolumeClaimSpec object
    metadata object
    name stringrequired
    namespace string
    spec object
    accessModes string[]
    dataSource object
    apiGroup string
    kind stringrequired
    name stringrequired
    dataSourceRef object
    apiGroup string
    kind stringrequired
    name stringrequired
    resources object
    limits object
    property name* string

    Default value: [object Object]

    requests object
    property name* string

    Default value: [object Object]

    selector object
    matchExpressions object[]
  • Array [
  • key stringrequired
    operator stringrequired
    values string[]
  • ]
  • matchLabels object
    property name* string
    storageClassName string
    volumeMode string
    volumeName string
    volumeBackupName string
    volumeName string
  • ]
  • targetUID string
Loading...