Patch a Namespaced Virtual Machine Image

  1. PATCH /apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachineimages/:name

Patch a VirtualMachineImage 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-patch+json
  • application/merge-patch+json

Body

required

object

Body

required

object

Responses

  • 200
  • 401

OK

  • application/json

  • Schema

  • Example (from schema)

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

Possible values: [download, export-from-volume, upload]

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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "checksum": "string",
  10. "description": "string",
  11. "displayName": "string",
  12. "pvcName": "string",
  13. "pvcNamespace": "string",
  14. "retry": 0,
  15. "sourceType": "download",
  16. "storageClassParameters": {},
  17. "url": "string"
  18. },
  19. "status": {
  20. "appliedUrl": "string",
  21. "conditions": [
  22. {
  23. "lastTransitionTime": "string",
  24. "lastUpdateTime": "string",
  25. "message": "string",
  26. "reason": "string",
  27. "status": "string",
  28. "type": "string"
  29. }
  30. ],
  31. "failed": 0,
  32. "lastFailedTime": "string",
  33. "progress": 0,
  34. "size": 0,
  35. "storageClassName": "string"
  36. }
  37. }

Unauthorized

  • application/json

  • Schema

Schema

string

Loading…