Create a Virtual Machine Restore
POST/apis/harvesterhci.io/v1beta1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/virtualmachinerestores
Create a VirtualMachineRestore object.
Request
Path Parameters
namespace stringrequired
Object name and auth scope, such as for teams and projects
- application/json
- application/yaml
Body
required
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
Body
required
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
Responses
- 200
- 201
- 202
- 401
OK
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"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"
],
"restoreTime": "string",
"restores": [
{
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"volumeBackupName": "string",
"volumeName": "string"
}
],
"targetUID": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"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"
],
"restoreTime": "string",
"restores": [
{
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"volumeBackupName": "string",
"volumeName": "string"
}
],
"targetUID": "string"
}
}
Created
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"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"
],
"restoreTime": "string",
"restores": [
{
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"volumeBackupName": "string",
"volumeName": "string"
}
],
"targetUID": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"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"
],
"restoreTime": "string",
"restores": [
{
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"volumeBackupName": "string",
"volumeName": "string"
}
],
"targetUID": "string"
}
}
Accepted
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"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"
],
"restoreTime": "string",
"restores": [
{
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"volumeBackupName": "string",
"volumeName": "string"
}
],
"targetUID": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
deletedVolumes string[]
restoreTime string
restores object[]
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[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
volumeBackupName string
volumeName string
targetUID string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"deletionPolicy": "string",
"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"
],
"restoreTime": "string",
"restores": [
{
"persistentVolumeClaimSpec": {
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
}
},
"volumeBackupName": "string",
"volumeName": "string"
}
],
"targetUID": "string"
}
}
Unauthorized
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
Loading...