{
  "description": "MigrationPolicy holds migration policy (i.e. configurations) to apply to a VM or group of VMs",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "allowAutoConverge": {
          "type": "boolean"
        },
        "allowPostCopy": {
          "type": "boolean"
        },
        "allowWorkloadDisruption": {
          "type": "boolean"
        },
        "bandwidthPerMigration": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "string"
            }
          ],
          "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
          "x-kubernetes-int-or-string": true
        },
        "completionTimeoutPerGiB": {
          "format": "int64",
          "type": "integer"
        },
        "selectors": {
          "properties": {
            "namespaceSelector": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "virtualMachineInstanceSelector": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "required": [
        "selectors"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "nullable": true,
      "type": "object"
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
