Patch a Namespaced Virtual Machine Restore

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

Patch 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-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

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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "deletionPolicy": "string",
  10. "keepMacAddress": true,
  11. "newVM": true,
  12. "target": {
  13. "apiGroup": "string",
  14. "kind": "string",
  15. "name": "string"
  16. },
  17. "virtualMachineBackupName": "string",
  18. "virtualMachineBackupNamespace": "string"
  19. },
  20. "status": {
  21. "complete": true,
  22. "conditions": [
  23. {
  24. "lastTransitionTime": "string",
  25. "lastUpdateTime": "string",
  26. "message": "string",
  27. "reason": "string",
  28. "status": "string",
  29. "type": "string"
  30. }
  31. ],
  32. "deletedVolumes": [
  33. "string"
  34. ],
  35. "progress": 0,
  36. "restoreTime": "string",
  37. "restores": [
  38. {
  39. "longhornEngineName": "string",
  40. "persistentVolumeClaimSpec": {
  41. "metadata": {
  42. "name": "string",
  43. "namespace": "string"
  44. },
  45. "spec": {
  46. "accessModes": [
  47. "string"
  48. ],
  49. "dataSource": {
  50. "apiGroup": "string",
  51. "kind": "string",
  52. "name": "string"
  53. },
  54. "dataSourceRef": {
  55. "apiGroup": "string",
  56. "kind": "string",
  57. "name": "string",
  58. "namespace": "string"
  59. },
  60. "resources": {
  61. "claims": [
  62. {
  63. "name": "string"
  64. }
  65. ],
  66. "limits": {},
  67. "requests": {}
  68. },
  69. "selector": {
  70. "matchExpressions": [
  71. {
  72. "key": "string",
  73. "operator": "string",
  74. "values": [
  75. "string"
  76. ]
  77. }
  78. ],
  79. "matchLabels": {}
  80. },
  81. "storageClassName": "string",
  82. "volumeMode": "string",
  83. "volumeName": "string"
  84. }
  85. },
  86. "progress": 0,
  87. "volumeBackupName": "string",
  88. "volumeName": "string",
  89. "volumeSize": 0
  90. }
  91. ],
  92. "targetUID": "string"
  93. }
  94. }

Unauthorized

  • application/json

  • Schema

Schema

string

Loading…