Replace a Namespaced Virtual Machine Restore
PUT/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinerestores/:name
Update a VirtualMachineRestore 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
- application/yaml
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
deletionPolicy string
keepMacAddress boolean
newVM boolean
target objectrequired
apiGroup string
kind stringrequired
name stringrequired
virtualMachineBackupName stringrequired
virtualMachineBackupNamespace stringrequired
status object
complete boolean
conditions object[]
deletedVolumes string[]
progress int32
restoreTime k8s.io.v1.Time (string)
restores object[]
targetUID string
Body
required
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
deletionPolicy string
keepMacAddress boolean
newVM boolean
target objectrequired
apiGroup string
kind stringrequired
name stringrequired
virtualMachineBackupName stringrequired
virtualMachineBackupNamespace stringrequired
status object
complete boolean
conditions object[]
deletedVolumes string[]
progress int32
restoreTime k8s.io.v1.Time (string)
restores object[]
targetUID string
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 objectrequired
deletionPolicy string
keepMacAddress boolean
newVM boolean
target objectrequired
apiGroup string
kind stringrequired
name stringrequired
virtualMachineBackupName stringrequired
virtualMachineBackupNamespace stringrequired
status object
complete boolean
conditions object[]
deletedVolumes string[]
progress int32
restoreTime k8s.io.v1.Time (string)
restores object[]
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"keepMacAddress": true,
"newVM": true,
"target": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"virtualMachineBackupName": "string",
"virtualMachineBackupNamespace": "string"
},
"status": {
"complete": true,
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"deletedVolumes": [
"string"
],
"progress": 0,
"restoreTime": "string",
"restores": [
{
"longhornEngineName": "string",
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"progress": 0,
"volumeBackupName": "string",
"volumeName": "string",
"volumeSize": 0
}
],
"targetUID": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
deletionPolicy string
keepMacAddress boolean
newVM boolean
target objectrequired
apiGroup string
kind stringrequired
name stringrequired
virtualMachineBackupName stringrequired
virtualMachineBackupNamespace stringrequired
status object
complete boolean
conditions object[]
deletedVolumes string[]
progress int32
restoreTime k8s.io.v1.Time (string)
restores object[]
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"keepMacAddress": true,
"newVM": true,
"target": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"virtualMachineBackupName": "string",
"virtualMachineBackupNamespace": "string"
},
"status": {
"complete": true,
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"deletedVolumes": [
"string"
],
"progress": 0,
"restoreTime": "string",
"restores": [
{
"longhornEngineName": "string",
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"progress": 0,
"volumeBackupName": "string",
"volumeName": "string",
"volumeSize": 0
}
],
"targetUID": "string"
}
}
Create
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
deletionPolicy string
keepMacAddress boolean
newVM boolean
target objectrequired
apiGroup string
kind stringrequired
name stringrequired
virtualMachineBackupName stringrequired
virtualMachineBackupNamespace stringrequired
status object
complete boolean
conditions object[]
deletedVolumes string[]
progress int32
restoreTime k8s.io.v1.Time (string)
restores object[]
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"keepMacAddress": true,
"newVM": true,
"target": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"virtualMachineBackupName": "string",
"virtualMachineBackupNamespace": "string"
},
"status": {
"complete": true,
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"deletedVolumes": [
"string"
],
"progress": 0,
"restoreTime": "string",
"restores": [
{
"longhornEngineName": "string",
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"progress": 0,
"volumeBackupName": "string",
"volumeName": "string",
"volumeSize": 0
}
],
"targetUID": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
deletionPolicy string
keepMacAddress boolean
newVM boolean
target objectrequired
apiGroup string
kind stringrequired
name stringrequired
virtualMachineBackupName stringrequired
virtualMachineBackupNamespace stringrequired
status object
complete boolean
conditions object[]
deletedVolumes string[]
progress int32
restoreTime k8s.io.v1.Time (string)
restores object[]
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"keepMacAddress": true,
"newVM": true,
"target": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"virtualMachineBackupName": "string",
"virtualMachineBackupNamespace": "string"
},
"status": {
"complete": true,
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"deletedVolumes": [
"string"
],
"progress": 0,
"restoreTime": "string",
"restores": [
{
"longhornEngineName": "string",
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string",
"namespace": "string"
},
"resources": {
"claims": [
{
"name": "string"
}
],
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"progress": 0,
"volumeBackupName": "string",
"volumeName": "string",
"volumeSize": 0
}
],
"targetUID": "string"
}
}
Unauthorized
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
Loading...