Patch a Namespaced Virtual Machine Instance Migration

  1. PATCH /apis/kubevirt.io/v1/namespaces/:namespace/virtualmachineinstancemigrations/:name

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

vmiName string

status object

conditions object[]

  • Array [

lastProbeTime k8s.io.v1.Time (string)

Default value: [object Object]

lastTransitionTime k8s.io.v1.Time (string)

Default value: [object Object]

message string

reason string

status stringrequired

type stringrequired

  • ]

migrationState object

abortRequested boolean

abortStatus string

completed boolean

endTimestamp k8s.io.v1.Time (string)

failed boolean

migrationConfiguration object

allowAutoConverge boolean

allowPostCopy boolean

bandwidthPerMigration k8s.io.apimachinery.pkg.api.resource.Quantity (string)

completionTimeoutPerGiB int64

disableTLS boolean

matchSELinuxLevelOnMigration boolean

network string

nodeDrainTaintKey string

parallelMigrationsPerCluster int64

parallelOutboundMigrationsPerNode int64

progressTimeout int64

unsafeMigrationOverride boolean

migrationPolicyName string

migrationUid string

mode string

sourceNode string

startTimestamp k8s.io.v1.Time (string)

targetAttachmentPodUID string

targetCPUSet int32[]

targetDirectMigrationNodePorts object

property name* int32

Default value: 0

targetNode string

targetNodeAddress string

targetNodeDomainDetected boolean

targetNodeDomainReadyTimestamp k8s.io.v1.Time (string)

targetNodeTopology string

targetPod string

phase string

phaseTransitionTimestamps object[]

  • Array [

phase string

phaseTransitionTimestamp k8s.io.v1.Time (string)

Default value: [object Object]

  • ]
  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "vmiName": "string"
  10. },
  11. "status": {
  12. "conditions": [
  13. {
  14. "lastProbeTime": {},
  15. "lastTransitionTime": {},
  16. "message": "string",
  17. "reason": "string",
  18. "status": "string",
  19. "type": "string"
  20. }
  21. ],
  22. "migrationState": {
  23. "abortRequested": true,
  24. "abortStatus": "string",
  25. "completed": true,
  26. "endTimestamp": "string",
  27. "failed": true,
  28. "migrationConfiguration": {
  29. "allowAutoConverge": true,
  30. "allowPostCopy": true,
  31. "bandwidthPerMigration": "string",
  32. "completionTimeoutPerGiB": 0,
  33. "disableTLS": true,
  34. "matchSELinuxLevelOnMigration": true,
  35. "network": "string",
  36. "nodeDrainTaintKey": "string",
  37. "parallelMigrationsPerCluster": 0,
  38. "parallelOutboundMigrationsPerNode": 0,
  39. "progressTimeout": 0,
  40. "unsafeMigrationOverride": true
  41. },
  42. "migrationPolicyName": "string",
  43. "migrationUid": "string",
  44. "mode": "string",
  45. "sourceNode": "string",
  46. "startTimestamp": "string",
  47. "targetAttachmentPodUID": "string",
  48. "targetCPUSet": [
  49. 0
  50. ],
  51. "targetDirectMigrationNodePorts": {},
  52. "targetNode": "string",
  53. "targetNodeAddress": "string",
  54. "targetNodeDomainDetected": true,
  55. "targetNodeDomainReadyTimestamp": "string",
  56. "targetNodeTopology": "string",
  57. "targetPod": "string"
  58. },
  59. "phase": "string",
  60. "phaseTransitionTimestamps": [
  61. {
  62. "phase": "string",
  63. "phaseTransitionTimestamp": {}
  64. }
  65. ]
  66. }
  67. }

Unauthorized

  • application/json

  • Schema

Schema

string

Loading…