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
- application/json
- application/yaml
Body
required
- Array [
- ]
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[]
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
Body
required
- Array [
- ]
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[]
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
- 200
- 201
- 202
- 401
OK
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
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[]
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
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checksum": "string",
"description": "string",
"displayName": "string",
"pvcName": "string",
"pvcNamespace": "string",
"retry": 0,
"sourceType": "string",
"storageClassParameters": {},
"url": "string"
},
"status": {
"appliedUrl": "string",
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"failed": 0,
"lastFailedTime": "string",
"progress": 0,
"size": 0,
"storageClassName": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
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[]
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
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checksum": "string",
"description": "string",
"displayName": "string",
"pvcName": "string",
"pvcNamespace": "string",
"retry": 0,
"sourceType": "string",
"storageClassParameters": {},
"url": "string"
},
"status": {
"appliedUrl": "string",
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"failed": 0,
"lastFailedTime": "string",
"progress": 0,
"size": 0,
"storageClassName": "string"
}
}
Created
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
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[]
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
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checksum": "string",
"description": "string",
"displayName": "string",
"pvcName": "string",
"pvcNamespace": "string",
"retry": 0,
"sourceType": "string",
"storageClassParameters": {},
"url": "string"
},
"status": {
"appliedUrl": "string",
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"failed": 0,
"lastFailedTime": "string",
"progress": 0,
"size": 0,
"storageClassName": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
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[]
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
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checksum": "string",
"description": "string",
"displayName": "string",
"pvcName": "string",
"pvcNamespace": "string",
"retry": 0,
"sourceType": "string",
"storageClassParameters": {},
"url": "string"
},
"status": {
"appliedUrl": "string",
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"failed": 0,
"lastFailedTime": "string",
"progress": 0,
"size": 0,
"storageClassName": "string"
}
}
Accepted
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
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[]
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
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checksum": "string",
"description": "string",
"displayName": "string",
"pvcName": "string",
"pvcNamespace": "string",
"retry": 0,
"sourceType": "string",
"storageClassParameters": {},
"url": "string"
},
"status": {
"appliedUrl": "string",
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"failed": 0,
"lastFailedTime": "string",
"progress": 0,
"size": 0,
"storageClassName": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
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[]
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
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"checksum": "string",
"description": "string",
"displayName": "string",
"pvcName": "string",
"pvcNamespace": "string",
"retry": 0,
"sourceType": "string",
"storageClassParameters": {},
"url": "string"
},
"status": {
"appliedUrl": "string",
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"failed": 0,
"lastFailedTime": "string",
"progress": 0,
"size": 0,
"storageClassName": "string"
}
}
Unauthorized
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
Loading...