List Virtual Machine Template Versions For All Namespaces

  1. GET /apis/harvesterhci.io/v1beta1/virtualmachinetemplateversions

Get a list of all VirtualMachineTemplateVersion objects.

Request

Query Parameters

continue string

The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.

fieldSelector string

A selector to restrict the list of returned objects by their fields. Defaults to everything.

includeUninitialized boolean

If true, partially initialized resources are included in the response.

labelSelector string

A selector to restrict the list of returned objects by their labels. Defaults to everything

limit integer

limit is a maximum number of responses to return for a list call. If more items exist, the server will set the continue field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.

The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.

resourceVersion string

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

timeoutSeconds integer

TimeoutSeconds for the list/watch call.

watch boolean

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

Responses

  • 200
  • 401

OK

  • application/json
  • application/json;stream=watch
  • application/yaml

  • Schema

  • Example (from schema)

Schema

apiVersion stringrequired

items object[]required

kind stringrequired

metadata objectrequired

continue string

remainingItemCount int64

resourceVersion string

selfLink string

  1. {
  2. "apiVersion": "string",
  3. "items": [
  4. {
  5. "apiVersion": "string",
  6. "kind": "string",
  7. "metadata": {
  8. "name": "string",
  9. "namespace": "string"
  10. },
  11. "spec": {
  12. "description": "string",
  13. "imageId": "string",
  14. "keyPairIds": [
  15. "string"
  16. ],
  17. "templateId": "string",
  18. "vm": {
  19. "metadata": {
  20. "name": "string",
  21. "namespace": "string"
  22. },
  23. "spec": {
  24. "dataVolumeTemplates": [
  25. {
  26. "apiVersion": "string",
  27. "kind": "string",
  28. "metadata": {
  29. "name": "string",
  30. "namespace": "string"
  31. },
  32. "spec": {
  33. "checkpoints": [
  34. {
  35. "current": "string",
  36. "previous": "string"
  37. }
  38. ],
  39. "contentType": "string",
  40. "finalCheckpoint": true,
  41. "preallocation": true,
  42. "priorityClassName": "string",
  43. "pvc": {
  44. "accessModes": [
  45. "string"
  46. ],
  47. "dataSource": {
  48. "apiGroup": "string",
  49. "kind": "string",
  50. "name": "string"
  51. },
  52. "dataSourceRef": {
  53. "apiGroup": "string",
  54. "kind": "string",
  55. "name": "string",
  56. "namespace": "string"
  57. },
  58. "resources": {
  59. "claims": [
  60. {
  61. "name": "string"
  62. }
  63. ],
  64. "limits": {},
  65. "requests": {}
  66. },
  67. "selector": {
  68. "matchExpressions": [
  69. {
  70. "key": "string",
  71. "operator": "string",
  72. "values": [
  73. "string"
  74. ]
  75. }
  76. ],
  77. "matchLabels": {}
  78. },
  79. "storageClassName": "string",
  80. "volumeMode": "string",
  81. "volumeName": "string"
  82. },
  83. "source": {
  84. "blank": {},
  85. "gcs": {
  86. "secretRef": "string",
  87. "url": "string"
  88. },
  89. "http": {
  90. "certConfigMap": "string",
  91. "extraHeaders": [
  92. "string"
  93. ],
  94. "secretExtraHeaders": [
  95. "string"
  96. ],
  97. "secretRef": "string",
  98. "url": "string"
  99. },
  100. "imageio": {
  101. "certConfigMap": "string",
  102. "diskId": "string",
  103. "secretRef": "string",
  104. "url": "string"
  105. },
  106. "pvc": {
  107. "name": "string",
  108. "namespace": "string"
  109. },
  110. "registry": {
  111. "certConfigMap": "string",
  112. "imageStream": "string",
  113. "pullMethod": "string",
  114. "secretRef": "string",
  115. "url": "string"
  116. },
  117. "s3": {
  118. "certConfigMap": "string",
  119. "secretRef": "string",
  120. "url": "string"
  121. },
  122. "snapshot": {
  123. "name": "string",
  124. "namespace": "string"
  125. },
  126. "upload": {},
  127. "vddk": {
  128. "backingFile": "string",
  129. "initImageURL": "string",
  130. "secretRef": "string",
  131. "thumbprint": "string",
  132. "url": "string",
  133. "uuid": "string"
  134. }
  135. },
  136. "sourceRef": {
  137. "kind": "string",
  138. "name": "string",
  139. "namespace": "string"
  140. },
  141. "storage": {
  142. "accessModes": [
  143. "string"
  144. ],
  145. "dataSource": {
  146. "apiGroup": "string",
  147. "kind": "string",
  148. "name": "string"
  149. },
  150. "dataSourceRef": {
  151. "apiGroup": "string",
  152. "kind": "string",
  153. "name": "string",
  154. "namespace": "string"
  155. },
  156. "resources": {
  157. "claims": [
  158. {
  159. "name": "string"
  160. }
  161. ],
  162. "limits": {},
  163. "requests": {}
  164. },
  165. "selector": {
  166. "matchExpressions": [
  167. {
  168. "key": "string",
  169. "operator": "string",
  170. "values": [
  171. "string"
  172. ]
  173. }
  174. ],
  175. "matchLabels": {}
  176. },
  177. "storageClassName": "string",
  178. "volumeMode": "string",
  179. "volumeName": "string"
  180. }
  181. },
  182. "status": {}
  183. }
  184. ],
  185. "instancetype": {
  186. "inferFromVolume": "string",
  187. "inferFromVolumeFailurePolicy": "string",
  188. "kind": "string",
  189. "name": "string",
  190. "revisionName": "string"
  191. },
  192. "liveUpdateFeatures": {
  193. "affinity": {},
  194. "cpu": {
  195. "maxSockets": 0
  196. },
  197. "memory": {
  198. "maxGuest": "string"
  199. }
  200. },
  201. "preference": {
  202. "inferFromVolume": "string",
  203. "inferFromVolumeFailurePolicy": "string",
  204. "kind": "string",
  205. "name": "string",
  206. "revisionName": "string"
  207. },
  208. "runStrategy": "string",
  209. "running": true,
  210. "template": {
  211. "metadata": {
  212. "name": "string",
  213. "namespace": "string"
  214. },
  215. "spec": {
  216. "accessCredentials": [
  217. {
  218. "sshPublicKey": {
  219. "propagationMethod": {
  220. "configDrive": {},
  221. "noCloud": {},
  222. "qemuGuestAgent": {
  223. "users": [
  224. "string"
  225. ]
  226. }
  227. },
  228. "source": {
  229. "secret": {
  230. "secretName": "string"
  231. }
  232. }
  233. },
  234. "userPassword": {
  235. "propagationMethod": {
  236. "qemuGuestAgent": {}
  237. },
  238. "source": {
  239. "secret": {
  240. "secretName": "string"
  241. }
  242. }
  243. }
  244. }
  245. ],
  246. "affinity": {
  247. "nodeAffinity": {
  248. "preferredDuringSchedulingIgnoredDuringExecution": [
  249. {
  250. "preference": {
  251. "matchExpressions": [
  252. {
  253. "key": "string",
  254. "operator": "DoesNotExist",
  255. "values": [
  256. "string"
  257. ]
  258. }
  259. ],
  260. "matchFields": [
  261. {
  262. "key": "string",
  263. "operator": "DoesNotExist",
  264. "values": [
  265. "string"
  266. ]
  267. }
  268. ]
  269. },
  270. "weight": 0
  271. }
  272. ],
  273. "requiredDuringSchedulingIgnoredDuringExecution": {
  274. "nodeSelectorTerms": [
  275. {
  276. "matchExpressions": [
  277. {
  278. "key": "string",
  279. "operator": "DoesNotExist",
  280. "values": [
  281. "string"
  282. ]
  283. }
  284. ],
  285. "matchFields": [
  286. {
  287. "key": "string",
  288. "operator": "DoesNotExist",
  289. "values": [
  290. "string"
  291. ]
  292. }
  293. ]
  294. }
  295. ]
  296. }
  297. },
  298. "podAffinity": {
  299. "preferredDuringSchedulingIgnoredDuringExecution": [
  300. {
  301. "podAffinityTerm": {
  302. "labelSelector": {
  303. "matchExpressions": [
  304. {
  305. "key": "string",
  306. "operator": "string",
  307. "values": [
  308. "string"
  309. ]
  310. }
  311. ],
  312. "matchLabels": {}
  313. },
  314. "namespaceSelector": {
  315. "matchExpressions": [
  316. {
  317. "key": "string",
  318. "operator": "string",
  319. "values": [
  320. "string"
  321. ]
  322. }
  323. ],
  324. "matchLabels": {}
  325. },
  326. "namespaces": [
  327. "string"
  328. ],
  329. "topologyKey": "string"
  330. },
  331. "weight": 0
  332. }
  333. ],
  334. "requiredDuringSchedulingIgnoredDuringExecution": [
  335. {
  336. "labelSelector": {
  337. "matchExpressions": [
  338. {
  339. "key": "string",
  340. "operator": "string",
  341. "values": [
  342. "string"
  343. ]
  344. }
  345. ],
  346. "matchLabels": {}
  347. },
  348. "namespaceSelector": {
  349. "matchExpressions": [
  350. {
  351. "key": "string",
  352. "operator": "string",
  353. "values": [
  354. "string"
  355. ]
  356. }
  357. ],
  358. "matchLabels": {}
  359. },
  360. "namespaces": [
  361. "string"
  362. ],
  363. "topologyKey": "string"
  364. }
  365. ]
  366. },
  367. "podAntiAffinity": {
  368. "preferredDuringSchedulingIgnoredDuringExecution": [
  369. {
  370. "podAffinityTerm": {
  371. "labelSelector": {
  372. "matchExpressions": [
  373. {
  374. "key": "string",
  375. "operator": "string",
  376. "values": [
  377. "string"
  378. ]
  379. }
  380. ],
  381. "matchLabels": {}
  382. },
  383. "namespaceSelector": {
  384. "matchExpressions": [
  385. {
  386. "key": "string",
  387. "operator": "string",
  388. "values": [
  389. "string"
  390. ]
  391. }
  392. ],
  393. "matchLabels": {}
  394. },
  395. "namespaces": [
  396. "string"
  397. ],
  398. "topologyKey": "string"
  399. },
  400. "weight": 0
  401. }
  402. ],
  403. "requiredDuringSchedulingIgnoredDuringExecution": [
  404. {
  405. "labelSelector": {
  406. "matchExpressions": [
  407. {
  408. "key": "string",
  409. "operator": "string",
  410. "values": [
  411. "string"
  412. ]
  413. }
  414. ],
  415. "matchLabels": {}
  416. },
  417. "namespaceSelector": {
  418. "matchExpressions": [
  419. {
  420. "key": "string",
  421. "operator": "string",
  422. "values": [
  423. "string"
  424. ]
  425. }
  426. ],
  427. "matchLabels": {}
  428. },
  429. "namespaces": [
  430. "string"
  431. ],
  432. "topologyKey": "string"
  433. }
  434. ]
  435. }
  436. },
  437. "architecture": "string",
  438. "dnsConfig": {
  439. "nameservers": [
  440. "string"
  441. ],
  442. "options": [
  443. {
  444. "name": "string",
  445. "value": "string"
  446. }
  447. ],
  448. "searches": [
  449. "string"
  450. ]
  451. },
  452. "dnsPolicy": "ClusterFirst",
  453. "domain": {
  454. "chassis": {
  455. "asset": "string",
  456. "manufacturer": "string",
  457. "serial": "string",
  458. "sku": "string",
  459. "version": "string"
  460. },
  461. "clock": {
  462. "timer": {
  463. "hpet": {
  464. "present": true,
  465. "tickPolicy": "string"
  466. },
  467. "hyperv": {
  468. "present": true
  469. },
  470. "kvm": {
  471. "present": true
  472. },
  473. "pit": {
  474. "present": true,
  475. "tickPolicy": "string"
  476. },
  477. "rtc": {
  478. "present": true,
  479. "tickPolicy": "string",
  480. "track": "string"
  481. }
  482. },
  483. "timezone": "string",
  484. "utc": {
  485. "offsetSeconds": 0
  486. }
  487. },
  488. "cpu": {
  489. "cores": 0,
  490. "dedicatedCpuPlacement": true,
  491. "features": [
  492. {
  493. "name": "string",
  494. "policy": "string"
  495. }
  496. ],
  497. "isolateEmulatorThread": true,
  498. "maxSockets": 0,
  499. "model": "string",
  500. "numa": {
  501. "guestMappingPassthrough": {}
  502. },
  503. "realtime": {
  504. "mask": "string"
  505. },
  506. "sockets": 0,
  507. "threads": 0
  508. },
  509. "devices": {
  510. "autoattachGraphicsDevice": true,
  511. "autoattachInputDevice": true,
  512. "autoattachMemBalloon": true,
  513. "autoattachPodInterface": true,
  514. "autoattachSerialConsole": true,
  515. "autoattachVSOCK": true,
  516. "blockMultiQueue": true,
  517. "clientPassthrough": {},
  518. "disableHotplug": true,
  519. "disks": [
  520. {
  521. "blockSize": {
  522. "custom": {
  523. "logical": 0,
  524. "physical": 0
  525. },
  526. "matchVolume": {
  527. "enabled": true
  528. }
  529. },
  530. "bootOrder": 0,
  531. "cache": "string",
  532. "cdrom": {
  533. "bus": "string",
  534. "readonly": true,
  535. "tray": "string"
  536. },
  537. "dedicatedIOThread": true,
  538. "disk": {
  539. "bus": "string",
  540. "pciAddress": "string",
  541. "readonly": true
  542. },
  543. "errorPolicy": "string",
  544. "io": "string",
  545. "lun": {
  546. "bus": "string",
  547. "readonly": true,
  548. "reservation": true
  549. },
  550. "name": "string",
  551. "serial": "string",
  552. "shareable": true,
  553. "tag": "string"
  554. }
  555. ],
  556. "downwardMetrics": {},
  557. "filesystems": [
  558. {
  559. "name": "string",
  560. "virtiofs": {}
  561. }
  562. ],
  563. "gpus": [
  564. {
  565. "deviceName": "string",
  566. "name": "string",
  567. "tag": "string",
  568. "virtualGPUOptions": {
  569. "display": {
  570. "enabled": true,
  571. "ramFB": {
  572. "enabled": true
  573. }
  574. }
  575. }
  576. }
  577. ],
  578. "hostDevices": [
  579. {
  580. "deviceName": "string",
  581. "name": "string",
  582. "tag": "string"
  583. }
  584. ],
  585. "inputs": [
  586. {
  587. "bus": "string",
  588. "name": "string",
  589. "type": "string"
  590. }
  591. ],
  592. "interfaces": [
  593. {
  594. "acpiIndex": 0,
  595. "binding": {
  596. "name": "string"
  597. },
  598. "bootOrder": 0,
  599. "bridge": {},
  600. "dhcpOptions": {
  601. "bootFileName": "string",
  602. "ntpServers": [
  603. "string"
  604. ],
  605. "privateOptions": [
  606. {
  607. "option": 0,
  608. "value": "string"
  609. }
  610. ],
  611. "tftpServerName": "string"
  612. },
  613. "macAddress": "string",
  614. "macvtap": {},
  615. "masquerade": {},
  616. "model": "string",
  617. "name": "string",
  618. "passt": {},
  619. "pciAddress": "string",
  620. "ports": [
  621. {
  622. "name": "string",
  623. "port": 0,
  624. "protocol": "string"
  625. }
  626. ],
  627. "slirp": {},
  628. "sriov": {},
  629. "state": "string",
  630. "tag": "string"
  631. }
  632. ],
  633. "logSerialConsole": true,
  634. "networkInterfaceMultiqueue": true,
  635. "rng": {},
  636. "sound": {
  637. "model": "string",
  638. "name": "string"
  639. },
  640. "tpm": {
  641. "persistent": true
  642. },
  643. "useVirtioTransitional": true,
  644. "watchdog": {
  645. "i6300esb": {
  646. "action": "string"
  647. },
  648. "name": "string"
  649. }
  650. },
  651. "features": {
  652. "acpi": {
  653. "enabled": true
  654. },
  655. "apic": {
  656. "enabled": true,
  657. "endOfInterrupt": true
  658. },
  659. "hyperv": {
  660. "evmcs": {
  661. "enabled": true
  662. },
  663. "frequencies": {
  664. "enabled": true
  665. },
  666. "ipi": {
  667. "enabled": true
  668. },
  669. "reenlightenment": {
  670. "enabled": true
  671. },
  672. "relaxed": {
  673. "enabled": true
  674. },
  675. "reset": {
  676. "enabled": true
  677. },
  678. "runtime": {
  679. "enabled": true
  680. },
  681. "spinlocks": {
  682. "enabled": true,
  683. "spinlocks": 0
  684. },
  685. "synic": {
  686. "enabled": true
  687. },
  688. "synictimer": {
  689. "direct": {
  690. "enabled": true
  691. },
  692. "enabled": true
  693. },
  694. "tlbflush": {
  695. "enabled": true
  696. },
  697. "vapic": {
  698. "enabled": true
  699. },
  700. "vendorid": {
  701. "enabled": true,
  702. "vendorid": "string"
  703. },
  704. "vpindex": {
  705. "enabled": true
  706. }
  707. },
  708. "kvm": {
  709. "hidden": true
  710. },
  711. "pvspinlock": {
  712. "enabled": true
  713. },
  714. "smm": {
  715. "enabled": true
  716. }
  717. },
  718. "firmware": {
  719. "bootloader": {
  720. "bios": {
  721. "useSerial": true
  722. },
  723. "efi": {
  724. "persistent": true,
  725. "secureBoot": true
  726. }
  727. },
  728. "kernelBoot": {
  729. "container": {
  730. "image": "string",
  731. "imagePullPolicy": "Always",
  732. "imagePullSecret": "string",
  733. "initrdPath": "string",
  734. "kernelPath": "string"
  735. },
  736. "kernelArgs": "string"
  737. },
  738. "serial": "string",
  739. "uuid": "string"
  740. },
  741. "ioThreadsPolicy": "string",
  742. "launchSecurity": {
  743. "sev": {
  744. "attestation": {},
  745. "dhCert": "string",
  746. "policy": {
  747. "encryptedState": true
  748. },
  749. "session": "string"
  750. }
  751. },
  752. "machine": {
  753. "type": "string"
  754. },
  755. "memory": {
  756. "guest": "string",
  757. "hugepages": {
  758. "pageSize": "string"
  759. },
  760. "maxGuest": "string"
  761. },
  762. "resources": {
  763. "limits": {},
  764. "overcommitGuestOverhead": true,
  765. "requests": {}
  766. }
  767. },
  768. "evictionStrategy": "string",
  769. "hostname": "string",
  770. "livenessProbe": {
  771. "exec": {
  772. "command": [
  773. "string"
  774. ]
  775. },
  776. "failureThreshold": 0,
  777. "guestAgentPing": {},
  778. "httpGet": {
  779. "host": "string",
  780. "httpHeaders": [
  781. {
  782. "name": "string",
  783. "value": "string"
  784. }
  785. ],
  786. "path": "string",
  787. "port": {},
  788. "scheme": "HTTP"
  789. },
  790. "initialDelaySeconds": 0,
  791. "periodSeconds": 0,
  792. "successThreshold": 0,
  793. "tcpSocket": {
  794. "host": "string",
  795. "port": {}
  796. },
  797. "timeoutSeconds": 0
  798. },
  799. "networks": [
  800. {
  801. "multus": {
  802. "default": true,
  803. "networkName": "string"
  804. },
  805. "name": "string",
  806. "pod": {
  807. "vmIPv6NetworkCIDR": "string",
  808. "vmNetworkCIDR": "string"
  809. }
  810. }
  811. ],
  812. "nodeSelector": {},
  813. "priorityClassName": "string",
  814. "readinessProbe": {
  815. "exec": {
  816. "command": [
  817. "string"
  818. ]
  819. },
  820. "failureThreshold": 0,
  821. "guestAgentPing": {},
  822. "httpGet": {
  823. "host": "string",
  824. "httpHeaders": [
  825. {
  826. "name": "string",
  827. "value": "string"
  828. }
  829. ],
  830. "path": "string",
  831. "port": {},
  832. "scheme": "HTTP"
  833. },
  834. "initialDelaySeconds": 0,
  835. "periodSeconds": 0,
  836. "successThreshold": 0,
  837. "tcpSocket": {
  838. "host": "string",
  839. "port": {}
  840. },
  841. "timeoutSeconds": 0
  842. },
  843. "schedulerName": "string",
  844. "startStrategy": "string",
  845. "subdomain": "string",
  846. "terminationGracePeriodSeconds": 0,
  847. "tolerations": [
  848. {
  849. "effect": "NoExecute",
  850. "key": "string",
  851. "operator": "Equal",
  852. "tolerationSeconds": 0,
  853. "value": "string"
  854. }
  855. ],
  856. "topologySpreadConstraints": [
  857. {
  858. "labelSelector": {
  859. "matchExpressions": [
  860. {
  861. "key": "string",
  862. "operator": "string",
  863. "values": [
  864. "string"
  865. ]
  866. }
  867. ],
  868. "matchLabels": {}
  869. },
  870. "matchLabelKeys": [
  871. "string"
  872. ],
  873. "maxSkew": 0,
  874. "minDomains": 0,
  875. "nodeAffinityPolicy": "string",
  876. "nodeTaintsPolicy": "string",
  877. "topologyKey": "string",
  878. "whenUnsatisfiable": "DoNotSchedule"
  879. }
  880. ],
  881. "volumes": [
  882. {
  883. "cloudInitConfigDrive": {
  884. "networkData": "string",
  885. "networkDataBase64": "string",
  886. "networkDataSecretRef": {
  887. "name": "string"
  888. },
  889. "secretRef": {
  890. "name": "string"
  891. },
  892. "userData": "string",
  893. "userDataBase64": "string"
  894. },
  895. "cloudInitNoCloud": {
  896. "networkData": "string",
  897. "networkDataBase64": "string",
  898. "networkDataSecretRef": {
  899. "name": "string"
  900. },
  901. "secretRef": {
  902. "name": "string"
  903. },
  904. "userData": "string",
  905. "userDataBase64": "string"
  906. },
  907. "configMap": {
  908. "name": "string",
  909. "optional": true,
  910. "volumeLabel": "string"
  911. },
  912. "containerDisk": {
  913. "image": "string",
  914. "imagePullPolicy": "Always",
  915. "imagePullSecret": "string",
  916. "path": "string"
  917. },
  918. "dataVolume": {
  919. "hotpluggable": true,
  920. "name": "string"
  921. },
  922. "downwardAPI": {
  923. "fields": [
  924. {
  925. "fieldRef": {
  926. "apiVersion": "string",
  927. "fieldPath": "string"
  928. },
  929. "mode": 0,
  930. "path": "string",
  931. "resourceFieldRef": {
  932. "containerName": "string",
  933. "divisor": {},
  934. "resource": "string"
  935. }
  936. }
  937. ],
  938. "volumeLabel": "string"
  939. },
  940. "downwardMetrics": {},
  941. "emptyDisk": {
  942. "capacity": {}
  943. },
  944. "ephemeral": {
  945. "persistentVolumeClaim": {
  946. "claimName": "string",
  947. "readOnly": true
  948. }
  949. },
  950. "hostDisk": {
  951. "capacity": {},
  952. "path": "string",
  953. "shared": true,
  954. "type": "string"
  955. },
  956. "memoryDump": {
  957. "claimName": "string",
  958. "hotpluggable": true,
  959. "readOnly": true
  960. },
  961. "name": "string",
  962. "persistentVolumeClaim": {
  963. "claimName": "string",
  964. "hotpluggable": true,
  965. "readOnly": true
  966. },
  967. "secret": {
  968. "optional": true,
  969. "secretName": "string",
  970. "volumeLabel": "string"
  971. },
  972. "serviceAccount": {
  973. "serviceAccountName": "string"
  974. },
  975. "sysprep": {
  976. "configMap": {
  977. "name": "string"
  978. },
  979. "secret": {
  980. "name": "string"
  981. }
  982. }
  983. }
  984. ]
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "status": {
  991. "conditions": [
  992. {
  993. "lastTransitionTime": "string",
  994. "lastUpdateTime": "string",
  995. "message": "string",
  996. "reason": "string",
  997. "status": "string",
  998. "type": "string"
  999. }
  1000. ],
  1001. "version": 0
  1002. }
  1003. }
  1004. ],
  1005. "kind": "string",
  1006. "metadata": {
  1007. "continue": "string",
  1008. "remainingItemCount": 0,
  1009. "resourceVersion": "string",
  1010. "selfLink": "string"
  1011. }
  1012. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

items object[]required

kind stringrequired

metadata objectrequired

continue string

remainingItemCount int64

resourceVersion string

selfLink string

  1. {
  2. "apiVersion": "string",
  3. "items": [
  4. {
  5. "apiVersion": "string",
  6. "kind": "string",
  7. "metadata": {
  8. "name": "string",
  9. "namespace": "string"
  10. },
  11. "spec": {
  12. "description": "string",
  13. "imageId": "string",
  14. "keyPairIds": [
  15. "string"
  16. ],
  17. "templateId": "string",
  18. "vm": {
  19. "metadata": {
  20. "name": "string",
  21. "namespace": "string"
  22. },
  23. "spec": {
  24. "dataVolumeTemplates": [
  25. {
  26. "apiVersion": "string",
  27. "kind": "string",
  28. "metadata": {
  29. "name": "string",
  30. "namespace": "string"
  31. },
  32. "spec": {
  33. "checkpoints": [
  34. {
  35. "current": "string",
  36. "previous": "string"
  37. }
  38. ],
  39. "contentType": "string",
  40. "finalCheckpoint": true,
  41. "preallocation": true,
  42. "priorityClassName": "string",
  43. "pvc": {
  44. "accessModes": [
  45. "string"
  46. ],
  47. "dataSource": {
  48. "apiGroup": "string",
  49. "kind": "string",
  50. "name": "string"
  51. },
  52. "dataSourceRef": {
  53. "apiGroup": "string",
  54. "kind": "string",
  55. "name": "string",
  56. "namespace": "string"
  57. },
  58. "resources": {
  59. "claims": [
  60. {
  61. "name": "string"
  62. }
  63. ],
  64. "limits": {},
  65. "requests": {}
  66. },
  67. "selector": {
  68. "matchExpressions": [
  69. {
  70. "key": "string",
  71. "operator": "string",
  72. "values": [
  73. "string"
  74. ]
  75. }
  76. ],
  77. "matchLabels": {}
  78. },
  79. "storageClassName": "string",
  80. "volumeMode": "string",
  81. "volumeName": "string"
  82. },
  83. "source": {
  84. "blank": {},
  85. "gcs": {
  86. "secretRef": "string",
  87. "url": "string"
  88. },
  89. "http": {
  90. "certConfigMap": "string",
  91. "extraHeaders": [
  92. "string"
  93. ],
  94. "secretExtraHeaders": [
  95. "string"
  96. ],
  97. "secretRef": "string",
  98. "url": "string"
  99. },
  100. "imageio": {
  101. "certConfigMap": "string",
  102. "diskId": "string",
  103. "secretRef": "string",
  104. "url": "string"
  105. },
  106. "pvc": {
  107. "name": "string",
  108. "namespace": "string"
  109. },
  110. "registry": {
  111. "certConfigMap": "string",
  112. "imageStream": "string",
  113. "pullMethod": "string",
  114. "secretRef": "string",
  115. "url": "string"
  116. },
  117. "s3": {
  118. "certConfigMap": "string",
  119. "secretRef": "string",
  120. "url": "string"
  121. },
  122. "snapshot": {
  123. "name": "string",
  124. "namespace": "string"
  125. },
  126. "upload": {},
  127. "vddk": {
  128. "backingFile": "string",
  129. "initImageURL": "string",
  130. "secretRef": "string",
  131. "thumbprint": "string",
  132. "url": "string",
  133. "uuid": "string"
  134. }
  135. },
  136. "sourceRef": {
  137. "kind": "string",
  138. "name": "string",
  139. "namespace": "string"
  140. },
  141. "storage": {
  142. "accessModes": [
  143. "string"
  144. ],
  145. "dataSource": {
  146. "apiGroup": "string",
  147. "kind": "string",
  148. "name": "string"
  149. },
  150. "dataSourceRef": {
  151. "apiGroup": "string",
  152. "kind": "string",
  153. "name": "string",
  154. "namespace": "string"
  155. },
  156. "resources": {
  157. "claims": [
  158. {
  159. "name": "string"
  160. }
  161. ],
  162. "limits": {},
  163. "requests": {}
  164. },
  165. "selector": {
  166. "matchExpressions": [
  167. {
  168. "key": "string",
  169. "operator": "string",
  170. "values": [
  171. "string"
  172. ]
  173. }
  174. ],
  175. "matchLabels": {}
  176. },
  177. "storageClassName": "string",
  178. "volumeMode": "string",
  179. "volumeName": "string"
  180. }
  181. },
  182. "status": {}
  183. }
  184. ],
  185. "instancetype": {
  186. "inferFromVolume": "string",
  187. "inferFromVolumeFailurePolicy": "string",
  188. "kind": "string",
  189. "name": "string",
  190. "revisionName": "string"
  191. },
  192. "liveUpdateFeatures": {
  193. "affinity": {},
  194. "cpu": {
  195. "maxSockets": 0
  196. },
  197. "memory": {
  198. "maxGuest": "string"
  199. }
  200. },
  201. "preference": {
  202. "inferFromVolume": "string",
  203. "inferFromVolumeFailurePolicy": "string",
  204. "kind": "string",
  205. "name": "string",
  206. "revisionName": "string"
  207. },
  208. "runStrategy": "string",
  209. "running": true,
  210. "template": {
  211. "metadata": {
  212. "name": "string",
  213. "namespace": "string"
  214. },
  215. "spec": {
  216. "accessCredentials": [
  217. {
  218. "sshPublicKey": {
  219. "propagationMethod": {
  220. "configDrive": {},
  221. "noCloud": {},
  222. "qemuGuestAgent": {
  223. "users": [
  224. "string"
  225. ]
  226. }
  227. },
  228. "source": {
  229. "secret": {
  230. "secretName": "string"
  231. }
  232. }
  233. },
  234. "userPassword": {
  235. "propagationMethod": {
  236. "qemuGuestAgent": {}
  237. },
  238. "source": {
  239. "secret": {
  240. "secretName": "string"
  241. }
  242. }
  243. }
  244. }
  245. ],
  246. "affinity": {
  247. "nodeAffinity": {
  248. "preferredDuringSchedulingIgnoredDuringExecution": [
  249. {
  250. "preference": {
  251. "matchExpressions": [
  252. {
  253. "key": "string",
  254. "operator": "DoesNotExist",
  255. "values": [
  256. "string"
  257. ]
  258. }
  259. ],
  260. "matchFields": [
  261. {
  262. "key": "string",
  263. "operator": "DoesNotExist",
  264. "values": [
  265. "string"
  266. ]
  267. }
  268. ]
  269. },
  270. "weight": 0
  271. }
  272. ],
  273. "requiredDuringSchedulingIgnoredDuringExecution": {
  274. "nodeSelectorTerms": [
  275. {
  276. "matchExpressions": [
  277. {
  278. "key": "string",
  279. "operator": "DoesNotExist",
  280. "values": [
  281. "string"
  282. ]
  283. }
  284. ],
  285. "matchFields": [
  286. {
  287. "key": "string",
  288. "operator": "DoesNotExist",
  289. "values": [
  290. "string"
  291. ]
  292. }
  293. ]
  294. }
  295. ]
  296. }
  297. },
  298. "podAffinity": {
  299. "preferredDuringSchedulingIgnoredDuringExecution": [
  300. {
  301. "podAffinityTerm": {
  302. "labelSelector": {
  303. "matchExpressions": [
  304. {
  305. "key": "string",
  306. "operator": "string",
  307. "values": [
  308. "string"
  309. ]
  310. }
  311. ],
  312. "matchLabels": {}
  313. },
  314. "namespaceSelector": {
  315. "matchExpressions": [
  316. {
  317. "key": "string",
  318. "operator": "string",
  319. "values": [
  320. "string"
  321. ]
  322. }
  323. ],
  324. "matchLabels": {}
  325. },
  326. "namespaces": [
  327. "string"
  328. ],
  329. "topologyKey": "string"
  330. },
  331. "weight": 0
  332. }
  333. ],
  334. "requiredDuringSchedulingIgnoredDuringExecution": [
  335. {
  336. "labelSelector": {
  337. "matchExpressions": [
  338. {
  339. "key": "string",
  340. "operator": "string",
  341. "values": [
  342. "string"
  343. ]
  344. }
  345. ],
  346. "matchLabels": {}
  347. },
  348. "namespaceSelector": {
  349. "matchExpressions": [
  350. {
  351. "key": "string",
  352. "operator": "string",
  353. "values": [
  354. "string"
  355. ]
  356. }
  357. ],
  358. "matchLabels": {}
  359. },
  360. "namespaces": [
  361. "string"
  362. ],
  363. "topologyKey": "string"
  364. }
  365. ]
  366. },
  367. "podAntiAffinity": {
  368. "preferredDuringSchedulingIgnoredDuringExecution": [
  369. {
  370. "podAffinityTerm": {
  371. "labelSelector": {
  372. "matchExpressions": [
  373. {
  374. "key": "string",
  375. "operator": "string",
  376. "values": [
  377. "string"
  378. ]
  379. }
  380. ],
  381. "matchLabels": {}
  382. },
  383. "namespaceSelector": {
  384. "matchExpressions": [
  385. {
  386. "key": "string",
  387. "operator": "string",
  388. "values": [
  389. "string"
  390. ]
  391. }
  392. ],
  393. "matchLabels": {}
  394. },
  395. "namespaces": [
  396. "string"
  397. ],
  398. "topologyKey": "string"
  399. },
  400. "weight": 0
  401. }
  402. ],
  403. "requiredDuringSchedulingIgnoredDuringExecution": [
  404. {
  405. "labelSelector": {
  406. "matchExpressions": [
  407. {
  408. "key": "string",
  409. "operator": "string",
  410. "values": [
  411. "string"
  412. ]
  413. }
  414. ],
  415. "matchLabels": {}
  416. },
  417. "namespaceSelector": {
  418. "matchExpressions": [
  419. {
  420. "key": "string",
  421. "operator": "string",
  422. "values": [
  423. "string"
  424. ]
  425. }
  426. ],
  427. "matchLabels": {}
  428. },
  429. "namespaces": [
  430. "string"
  431. ],
  432. "topologyKey": "string"
  433. }
  434. ]
  435. }
  436. },
  437. "architecture": "string",
  438. "dnsConfig": {
  439. "nameservers": [
  440. "string"
  441. ],
  442. "options": [
  443. {
  444. "name": "string",
  445. "value": "string"
  446. }
  447. ],
  448. "searches": [
  449. "string"
  450. ]
  451. },
  452. "dnsPolicy": "ClusterFirst",
  453. "domain": {
  454. "chassis": {
  455. "asset": "string",
  456. "manufacturer": "string",
  457. "serial": "string",
  458. "sku": "string",
  459. "version": "string"
  460. },
  461. "clock": {
  462. "timer": {
  463. "hpet": {
  464. "present": true,
  465. "tickPolicy": "string"
  466. },
  467. "hyperv": {
  468. "present": true
  469. },
  470. "kvm": {
  471. "present": true
  472. },
  473. "pit": {
  474. "present": true,
  475. "tickPolicy": "string"
  476. },
  477. "rtc": {
  478. "present": true,
  479. "tickPolicy": "string",
  480. "track": "string"
  481. }
  482. },
  483. "timezone": "string",
  484. "utc": {
  485. "offsetSeconds": 0
  486. }
  487. },
  488. "cpu": {
  489. "cores": 0,
  490. "dedicatedCpuPlacement": true,
  491. "features": [
  492. {
  493. "name": "string",
  494. "policy": "string"
  495. }
  496. ],
  497. "isolateEmulatorThread": true,
  498. "maxSockets": 0,
  499. "model": "string",
  500. "numa": {
  501. "guestMappingPassthrough": {}
  502. },
  503. "realtime": {
  504. "mask": "string"
  505. },
  506. "sockets": 0,
  507. "threads": 0
  508. },
  509. "devices": {
  510. "autoattachGraphicsDevice": true,
  511. "autoattachInputDevice": true,
  512. "autoattachMemBalloon": true,
  513. "autoattachPodInterface": true,
  514. "autoattachSerialConsole": true,
  515. "autoattachVSOCK": true,
  516. "blockMultiQueue": true,
  517. "clientPassthrough": {},
  518. "disableHotplug": true,
  519. "disks": [
  520. {
  521. "blockSize": {
  522. "custom": {
  523. "logical": 0,
  524. "physical": 0
  525. },
  526. "matchVolume": {
  527. "enabled": true
  528. }
  529. },
  530. "bootOrder": 0,
  531. "cache": "string",
  532. "cdrom": {
  533. "bus": "string",
  534. "readonly": true,
  535. "tray": "string"
  536. },
  537. "dedicatedIOThread": true,
  538. "disk": {
  539. "bus": "string",
  540. "pciAddress": "string",
  541. "readonly": true
  542. },
  543. "errorPolicy": "string",
  544. "io": "string",
  545. "lun": {
  546. "bus": "string",
  547. "readonly": true,
  548. "reservation": true
  549. },
  550. "name": "string",
  551. "serial": "string",
  552. "shareable": true,
  553. "tag": "string"
  554. }
  555. ],
  556. "downwardMetrics": {},
  557. "filesystems": [
  558. {
  559. "name": "string",
  560. "virtiofs": {}
  561. }
  562. ],
  563. "gpus": [
  564. {
  565. "deviceName": "string",
  566. "name": "string",
  567. "tag": "string",
  568. "virtualGPUOptions": {
  569. "display": {
  570. "enabled": true,
  571. "ramFB": {
  572. "enabled": true
  573. }
  574. }
  575. }
  576. }
  577. ],
  578. "hostDevices": [
  579. {
  580. "deviceName": "string",
  581. "name": "string",
  582. "tag": "string"
  583. }
  584. ],
  585. "inputs": [
  586. {
  587. "bus": "string",
  588. "name": "string",
  589. "type": "string"
  590. }
  591. ],
  592. "interfaces": [
  593. {
  594. "acpiIndex": 0,
  595. "binding": {
  596. "name": "string"
  597. },
  598. "bootOrder": 0,
  599. "bridge": {},
  600. "dhcpOptions": {
  601. "bootFileName": "string",
  602. "ntpServers": [
  603. "string"
  604. ],
  605. "privateOptions": [
  606. {
  607. "option": 0,
  608. "value": "string"
  609. }
  610. ],
  611. "tftpServerName": "string"
  612. },
  613. "macAddress": "string",
  614. "macvtap": {},
  615. "masquerade": {},
  616. "model": "string",
  617. "name": "string",
  618. "passt": {},
  619. "pciAddress": "string",
  620. "ports": [
  621. {
  622. "name": "string",
  623. "port": 0,
  624. "protocol": "string"
  625. }
  626. ],
  627. "slirp": {},
  628. "sriov": {},
  629. "state": "string",
  630. "tag": "string"
  631. }
  632. ],
  633. "logSerialConsole": true,
  634. "networkInterfaceMultiqueue": true,
  635. "rng": {},
  636. "sound": {
  637. "model": "string",
  638. "name": "string"
  639. },
  640. "tpm": {
  641. "persistent": true
  642. },
  643. "useVirtioTransitional": true,
  644. "watchdog": {
  645. "i6300esb": {
  646. "action": "string"
  647. },
  648. "name": "string"
  649. }
  650. },
  651. "features": {
  652. "acpi": {
  653. "enabled": true
  654. },
  655. "apic": {
  656. "enabled": true,
  657. "endOfInterrupt": true
  658. },
  659. "hyperv": {
  660. "evmcs": {
  661. "enabled": true
  662. },
  663. "frequencies": {
  664. "enabled": true
  665. },
  666. "ipi": {
  667. "enabled": true
  668. },
  669. "reenlightenment": {
  670. "enabled": true
  671. },
  672. "relaxed": {
  673. "enabled": true
  674. },
  675. "reset": {
  676. "enabled": true
  677. },
  678. "runtime": {
  679. "enabled": true
  680. },
  681. "spinlocks": {
  682. "enabled": true,
  683. "spinlocks": 0
  684. },
  685. "synic": {
  686. "enabled": true
  687. },
  688. "synictimer": {
  689. "direct": {
  690. "enabled": true
  691. },
  692. "enabled": true
  693. },
  694. "tlbflush": {
  695. "enabled": true
  696. },
  697. "vapic": {
  698. "enabled": true
  699. },
  700. "vendorid": {
  701. "enabled": true,
  702. "vendorid": "string"
  703. },
  704. "vpindex": {
  705. "enabled": true
  706. }
  707. },
  708. "kvm": {
  709. "hidden": true
  710. },
  711. "pvspinlock": {
  712. "enabled": true
  713. },
  714. "smm": {
  715. "enabled": true
  716. }
  717. },
  718. "firmware": {
  719. "bootloader": {
  720. "bios": {
  721. "useSerial": true
  722. },
  723. "efi": {
  724. "persistent": true,
  725. "secureBoot": true
  726. }
  727. },
  728. "kernelBoot": {
  729. "container": {
  730. "image": "string",
  731. "imagePullPolicy": "Always",
  732. "imagePullSecret": "string",
  733. "initrdPath": "string",
  734. "kernelPath": "string"
  735. },
  736. "kernelArgs": "string"
  737. },
  738. "serial": "string",
  739. "uuid": "string"
  740. },
  741. "ioThreadsPolicy": "string",
  742. "launchSecurity": {
  743. "sev": {
  744. "attestation": {},
  745. "dhCert": "string",
  746. "policy": {
  747. "encryptedState": true
  748. },
  749. "session": "string"
  750. }
  751. },
  752. "machine": {
  753. "type": "string"
  754. },
  755. "memory": {
  756. "guest": "string",
  757. "hugepages": {
  758. "pageSize": "string"
  759. },
  760. "maxGuest": "string"
  761. },
  762. "resources": {
  763. "limits": {},
  764. "overcommitGuestOverhead": true,
  765. "requests": {}
  766. }
  767. },
  768. "evictionStrategy": "string",
  769. "hostname": "string",
  770. "livenessProbe": {
  771. "exec": {
  772. "command": [
  773. "string"
  774. ]
  775. },
  776. "failureThreshold": 0,
  777. "guestAgentPing": {},
  778. "httpGet": {
  779. "host": "string",
  780. "httpHeaders": [
  781. {
  782. "name": "string",
  783. "value": "string"
  784. }
  785. ],
  786. "path": "string",
  787. "port": {},
  788. "scheme": "HTTP"
  789. },
  790. "initialDelaySeconds": 0,
  791. "periodSeconds": 0,
  792. "successThreshold": 0,
  793. "tcpSocket": {
  794. "host": "string",
  795. "port": {}
  796. },
  797. "timeoutSeconds": 0
  798. },
  799. "networks": [
  800. {
  801. "multus": {
  802. "default": true,
  803. "networkName": "string"
  804. },
  805. "name": "string",
  806. "pod": {
  807. "vmIPv6NetworkCIDR": "string",
  808. "vmNetworkCIDR": "string"
  809. }
  810. }
  811. ],
  812. "nodeSelector": {},
  813. "priorityClassName": "string",
  814. "readinessProbe": {
  815. "exec": {
  816. "command": [
  817. "string"
  818. ]
  819. },
  820. "failureThreshold": 0,
  821. "guestAgentPing": {},
  822. "httpGet": {
  823. "host": "string",
  824. "httpHeaders": [
  825. {
  826. "name": "string",
  827. "value": "string"
  828. }
  829. ],
  830. "path": "string",
  831. "port": {},
  832. "scheme": "HTTP"
  833. },
  834. "initialDelaySeconds": 0,
  835. "periodSeconds": 0,
  836. "successThreshold": 0,
  837. "tcpSocket": {
  838. "host": "string",
  839. "port": {}
  840. },
  841. "timeoutSeconds": 0
  842. },
  843. "schedulerName": "string",
  844. "startStrategy": "string",
  845. "subdomain": "string",
  846. "terminationGracePeriodSeconds": 0,
  847. "tolerations": [
  848. {
  849. "effect": "NoExecute",
  850. "key": "string",
  851. "operator": "Equal",
  852. "tolerationSeconds": 0,
  853. "value": "string"
  854. }
  855. ],
  856. "topologySpreadConstraints": [
  857. {
  858. "labelSelector": {
  859. "matchExpressions": [
  860. {
  861. "key": "string",
  862. "operator": "string",
  863. "values": [
  864. "string"
  865. ]
  866. }
  867. ],
  868. "matchLabels": {}
  869. },
  870. "matchLabelKeys": [
  871. "string"
  872. ],
  873. "maxSkew": 0,
  874. "minDomains": 0,
  875. "nodeAffinityPolicy": "string",
  876. "nodeTaintsPolicy": "string",
  877. "topologyKey": "string",
  878. "whenUnsatisfiable": "DoNotSchedule"
  879. }
  880. ],
  881. "volumes": [
  882. {
  883. "cloudInitConfigDrive": {
  884. "networkData": "string",
  885. "networkDataBase64": "string",
  886. "networkDataSecretRef": {
  887. "name": "string"
  888. },
  889. "secretRef": {
  890. "name": "string"
  891. },
  892. "userData": "string",
  893. "userDataBase64": "string"
  894. },
  895. "cloudInitNoCloud": {
  896. "networkData": "string",
  897. "networkDataBase64": "string",
  898. "networkDataSecretRef": {
  899. "name": "string"
  900. },
  901. "secretRef": {
  902. "name": "string"
  903. },
  904. "userData": "string",
  905. "userDataBase64": "string"
  906. },
  907. "configMap": {
  908. "name": "string",
  909. "optional": true,
  910. "volumeLabel": "string"
  911. },
  912. "containerDisk": {
  913. "image": "string",
  914. "imagePullPolicy": "Always",
  915. "imagePullSecret": "string",
  916. "path": "string"
  917. },
  918. "dataVolume": {
  919. "hotpluggable": true,
  920. "name": "string"
  921. },
  922. "downwardAPI": {
  923. "fields": [
  924. {
  925. "fieldRef": {
  926. "apiVersion": "string",
  927. "fieldPath": "string"
  928. },
  929. "mode": 0,
  930. "path": "string",
  931. "resourceFieldRef": {
  932. "containerName": "string",
  933. "divisor": {},
  934. "resource": "string"
  935. }
  936. }
  937. ],
  938. "volumeLabel": "string"
  939. },
  940. "downwardMetrics": {},
  941. "emptyDisk": {
  942. "capacity": {}
  943. },
  944. "ephemeral": {
  945. "persistentVolumeClaim": {
  946. "claimName": "string",
  947. "readOnly": true
  948. }
  949. },
  950. "hostDisk": {
  951. "capacity": {},
  952. "path": "string",
  953. "shared": true,
  954. "type": "string"
  955. },
  956. "memoryDump": {
  957. "claimName": "string",
  958. "hotpluggable": true,
  959. "readOnly": true
  960. },
  961. "name": "string",
  962. "persistentVolumeClaim": {
  963. "claimName": "string",
  964. "hotpluggable": true,
  965. "readOnly": true
  966. },
  967. "secret": {
  968. "optional": true,
  969. "secretName": "string",
  970. "volumeLabel": "string"
  971. },
  972. "serviceAccount": {
  973. "serviceAccountName": "string"
  974. },
  975. "sysprep": {
  976. "configMap": {
  977. "name": "string"
  978. },
  979. "secret": {
  980. "name": "string"
  981. }
  982. }
  983. }
  984. ]
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "status": {
  991. "conditions": [
  992. {
  993. "lastTransitionTime": "string",
  994. "lastUpdateTime": "string",
  995. "message": "string",
  996. "reason": "string",
  997. "status": "string",
  998. "type": "string"
  999. }
  1000. ],
  1001. "version": 0
  1002. }
  1003. }
  1004. ],
  1005. "kind": "string",
  1006. "metadata": {
  1007. "continue": "string",
  1008. "remainingItemCount": 0,
  1009. "resourceVersion": "string",
  1010. "selfLink": "string"
  1011. }
  1012. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

items object[]required

kind stringrequired

metadata objectrequired

continue string

remainingItemCount int64

resourceVersion string

selfLink string

  1. {
  2. "apiVersion": "string",
  3. "items": [
  4. {
  5. "apiVersion": "string",
  6. "kind": "string",
  7. "metadata": {
  8. "name": "string",
  9. "namespace": "string"
  10. },
  11. "spec": {
  12. "description": "string",
  13. "imageId": "string",
  14. "keyPairIds": [
  15. "string"
  16. ],
  17. "templateId": "string",
  18. "vm": {
  19. "metadata": {
  20. "name": "string",
  21. "namespace": "string"
  22. },
  23. "spec": {
  24. "dataVolumeTemplates": [
  25. {
  26. "apiVersion": "string",
  27. "kind": "string",
  28. "metadata": {
  29. "name": "string",
  30. "namespace": "string"
  31. },
  32. "spec": {
  33. "checkpoints": [
  34. {
  35. "current": "string",
  36. "previous": "string"
  37. }
  38. ],
  39. "contentType": "string",
  40. "finalCheckpoint": true,
  41. "preallocation": true,
  42. "priorityClassName": "string",
  43. "pvc": {
  44. "accessModes": [
  45. "string"
  46. ],
  47. "dataSource": {
  48. "apiGroup": "string",
  49. "kind": "string",
  50. "name": "string"
  51. },
  52. "dataSourceRef": {
  53. "apiGroup": "string",
  54. "kind": "string",
  55. "name": "string",
  56. "namespace": "string"
  57. },
  58. "resources": {
  59. "claims": [
  60. {
  61. "name": "string"
  62. }
  63. ],
  64. "limits": {},
  65. "requests": {}
  66. },
  67. "selector": {
  68. "matchExpressions": [
  69. {
  70. "key": "string",
  71. "operator": "string",
  72. "values": [
  73. "string"
  74. ]
  75. }
  76. ],
  77. "matchLabels": {}
  78. },
  79. "storageClassName": "string",
  80. "volumeMode": "string",
  81. "volumeName": "string"
  82. },
  83. "source": {
  84. "blank": {},
  85. "gcs": {
  86. "secretRef": "string",
  87. "url": "string"
  88. },
  89. "http": {
  90. "certConfigMap": "string",
  91. "extraHeaders": [
  92. "string"
  93. ],
  94. "secretExtraHeaders": [
  95. "string"
  96. ],
  97. "secretRef": "string",
  98. "url": "string"
  99. },
  100. "imageio": {
  101. "certConfigMap": "string",
  102. "diskId": "string",
  103. "secretRef": "string",
  104. "url": "string"
  105. },
  106. "pvc": {
  107. "name": "string",
  108. "namespace": "string"
  109. },
  110. "registry": {
  111. "certConfigMap": "string",
  112. "imageStream": "string",
  113. "pullMethod": "string",
  114. "secretRef": "string",
  115. "url": "string"
  116. },
  117. "s3": {
  118. "certConfigMap": "string",
  119. "secretRef": "string",
  120. "url": "string"
  121. },
  122. "snapshot": {
  123. "name": "string",
  124. "namespace": "string"
  125. },
  126. "upload": {},
  127. "vddk": {
  128. "backingFile": "string",
  129. "initImageURL": "string",
  130. "secretRef": "string",
  131. "thumbprint": "string",
  132. "url": "string",
  133. "uuid": "string"
  134. }
  135. },
  136. "sourceRef": {
  137. "kind": "string",
  138. "name": "string",
  139. "namespace": "string"
  140. },
  141. "storage": {
  142. "accessModes": [
  143. "string"
  144. ],
  145. "dataSource": {
  146. "apiGroup": "string",
  147. "kind": "string",
  148. "name": "string"
  149. },
  150. "dataSourceRef": {
  151. "apiGroup": "string",
  152. "kind": "string",
  153. "name": "string",
  154. "namespace": "string"
  155. },
  156. "resources": {
  157. "claims": [
  158. {
  159. "name": "string"
  160. }
  161. ],
  162. "limits": {},
  163. "requests": {}
  164. },
  165. "selector": {
  166. "matchExpressions": [
  167. {
  168. "key": "string",
  169. "operator": "string",
  170. "values": [
  171. "string"
  172. ]
  173. }
  174. ],
  175. "matchLabels": {}
  176. },
  177. "storageClassName": "string",
  178. "volumeMode": "string",
  179. "volumeName": "string"
  180. }
  181. },
  182. "status": {}
  183. }
  184. ],
  185. "instancetype": {
  186. "inferFromVolume": "string",
  187. "inferFromVolumeFailurePolicy": "string",
  188. "kind": "string",
  189. "name": "string",
  190. "revisionName": "string"
  191. },
  192. "liveUpdateFeatures": {
  193. "affinity": {},
  194. "cpu": {
  195. "maxSockets": 0
  196. },
  197. "memory": {
  198. "maxGuest": "string"
  199. }
  200. },
  201. "preference": {
  202. "inferFromVolume": "string",
  203. "inferFromVolumeFailurePolicy": "string",
  204. "kind": "string",
  205. "name": "string",
  206. "revisionName": "string"
  207. },
  208. "runStrategy": "string",
  209. "running": true,
  210. "template": {
  211. "metadata": {
  212. "name": "string",
  213. "namespace": "string"
  214. },
  215. "spec": {
  216. "accessCredentials": [
  217. {
  218. "sshPublicKey": {
  219. "propagationMethod": {
  220. "configDrive": {},
  221. "noCloud": {},
  222. "qemuGuestAgent": {
  223. "users": [
  224. "string"
  225. ]
  226. }
  227. },
  228. "source": {
  229. "secret": {
  230. "secretName": "string"
  231. }
  232. }
  233. },
  234. "userPassword": {
  235. "propagationMethod": {
  236. "qemuGuestAgent": {}
  237. },
  238. "source": {
  239. "secret": {
  240. "secretName": "string"
  241. }
  242. }
  243. }
  244. }
  245. ],
  246. "affinity": {
  247. "nodeAffinity": {
  248. "preferredDuringSchedulingIgnoredDuringExecution": [
  249. {
  250. "preference": {
  251. "matchExpressions": [
  252. {
  253. "key": "string",
  254. "operator": "DoesNotExist",
  255. "values": [
  256. "string"
  257. ]
  258. }
  259. ],
  260. "matchFields": [
  261. {
  262. "key": "string",
  263. "operator": "DoesNotExist",
  264. "values": [
  265. "string"
  266. ]
  267. }
  268. ]
  269. },
  270. "weight": 0
  271. }
  272. ],
  273. "requiredDuringSchedulingIgnoredDuringExecution": {
  274. "nodeSelectorTerms": [
  275. {
  276. "matchExpressions": [
  277. {
  278. "key": "string",
  279. "operator": "DoesNotExist",
  280. "values": [
  281. "string"
  282. ]
  283. }
  284. ],
  285. "matchFields": [
  286. {
  287. "key": "string",
  288. "operator": "DoesNotExist",
  289. "values": [
  290. "string"
  291. ]
  292. }
  293. ]
  294. }
  295. ]
  296. }
  297. },
  298. "podAffinity": {
  299. "preferredDuringSchedulingIgnoredDuringExecution": [
  300. {
  301. "podAffinityTerm": {
  302. "labelSelector": {
  303. "matchExpressions": [
  304. {
  305. "key": "string",
  306. "operator": "string",
  307. "values": [
  308. "string"
  309. ]
  310. }
  311. ],
  312. "matchLabels": {}
  313. },
  314. "namespaceSelector": {
  315. "matchExpressions": [
  316. {
  317. "key": "string",
  318. "operator": "string",
  319. "values": [
  320. "string"
  321. ]
  322. }
  323. ],
  324. "matchLabels": {}
  325. },
  326. "namespaces": [
  327. "string"
  328. ],
  329. "topologyKey": "string"
  330. },
  331. "weight": 0
  332. }
  333. ],
  334. "requiredDuringSchedulingIgnoredDuringExecution": [
  335. {
  336. "labelSelector": {
  337. "matchExpressions": [
  338. {
  339. "key": "string",
  340. "operator": "string",
  341. "values": [
  342. "string"
  343. ]
  344. }
  345. ],
  346. "matchLabels": {}
  347. },
  348. "namespaceSelector": {
  349. "matchExpressions": [
  350. {
  351. "key": "string",
  352. "operator": "string",
  353. "values": [
  354. "string"
  355. ]
  356. }
  357. ],
  358. "matchLabels": {}
  359. },
  360. "namespaces": [
  361. "string"
  362. ],
  363. "topologyKey": "string"
  364. }
  365. ]
  366. },
  367. "podAntiAffinity": {
  368. "preferredDuringSchedulingIgnoredDuringExecution": [
  369. {
  370. "podAffinityTerm": {
  371. "labelSelector": {
  372. "matchExpressions": [
  373. {
  374. "key": "string",
  375. "operator": "string",
  376. "values": [
  377. "string"
  378. ]
  379. }
  380. ],
  381. "matchLabels": {}
  382. },
  383. "namespaceSelector": {
  384. "matchExpressions": [
  385. {
  386. "key": "string",
  387. "operator": "string",
  388. "values": [
  389. "string"
  390. ]
  391. }
  392. ],
  393. "matchLabels": {}
  394. },
  395. "namespaces": [
  396. "string"
  397. ],
  398. "topologyKey": "string"
  399. },
  400. "weight": 0
  401. }
  402. ],
  403. "requiredDuringSchedulingIgnoredDuringExecution": [
  404. {
  405. "labelSelector": {
  406. "matchExpressions": [
  407. {
  408. "key": "string",
  409. "operator": "string",
  410. "values": [
  411. "string"
  412. ]
  413. }
  414. ],
  415. "matchLabels": {}
  416. },
  417. "namespaceSelector": {
  418. "matchExpressions": [
  419. {
  420. "key": "string",
  421. "operator": "string",
  422. "values": [
  423. "string"
  424. ]
  425. }
  426. ],
  427. "matchLabels": {}
  428. },
  429. "namespaces": [
  430. "string"
  431. ],
  432. "topologyKey": "string"
  433. }
  434. ]
  435. }
  436. },
  437. "architecture": "string",
  438. "dnsConfig": {
  439. "nameservers": [
  440. "string"
  441. ],
  442. "options": [
  443. {
  444. "name": "string",
  445. "value": "string"
  446. }
  447. ],
  448. "searches": [
  449. "string"
  450. ]
  451. },
  452. "dnsPolicy": "ClusterFirst",
  453. "domain": {
  454. "chassis": {
  455. "asset": "string",
  456. "manufacturer": "string",
  457. "serial": "string",
  458. "sku": "string",
  459. "version": "string"
  460. },
  461. "clock": {
  462. "timer": {
  463. "hpet": {
  464. "present": true,
  465. "tickPolicy": "string"
  466. },
  467. "hyperv": {
  468. "present": true
  469. },
  470. "kvm": {
  471. "present": true
  472. },
  473. "pit": {
  474. "present": true,
  475. "tickPolicy": "string"
  476. },
  477. "rtc": {
  478. "present": true,
  479. "tickPolicy": "string",
  480. "track": "string"
  481. }
  482. },
  483. "timezone": "string",
  484. "utc": {
  485. "offsetSeconds": 0
  486. }
  487. },
  488. "cpu": {
  489. "cores": 0,
  490. "dedicatedCpuPlacement": true,
  491. "features": [
  492. {
  493. "name": "string",
  494. "policy": "string"
  495. }
  496. ],
  497. "isolateEmulatorThread": true,
  498. "maxSockets": 0,
  499. "model": "string",
  500. "numa": {
  501. "guestMappingPassthrough": {}
  502. },
  503. "realtime": {
  504. "mask": "string"
  505. },
  506. "sockets": 0,
  507. "threads": 0
  508. },
  509. "devices": {
  510. "autoattachGraphicsDevice": true,
  511. "autoattachInputDevice": true,
  512. "autoattachMemBalloon": true,
  513. "autoattachPodInterface": true,
  514. "autoattachSerialConsole": true,
  515. "autoattachVSOCK": true,
  516. "blockMultiQueue": true,
  517. "clientPassthrough": {},
  518. "disableHotplug": true,
  519. "disks": [
  520. {
  521. "blockSize": {
  522. "custom": {
  523. "logical": 0,
  524. "physical": 0
  525. },
  526. "matchVolume": {
  527. "enabled": true
  528. }
  529. },
  530. "bootOrder": 0,
  531. "cache": "string",
  532. "cdrom": {
  533. "bus": "string",
  534. "readonly": true,
  535. "tray": "string"
  536. },
  537. "dedicatedIOThread": true,
  538. "disk": {
  539. "bus": "string",
  540. "pciAddress": "string",
  541. "readonly": true
  542. },
  543. "errorPolicy": "string",
  544. "io": "string",
  545. "lun": {
  546. "bus": "string",
  547. "readonly": true,
  548. "reservation": true
  549. },
  550. "name": "string",
  551. "serial": "string",
  552. "shareable": true,
  553. "tag": "string"
  554. }
  555. ],
  556. "downwardMetrics": {},
  557. "filesystems": [
  558. {
  559. "name": "string",
  560. "virtiofs": {}
  561. }
  562. ],
  563. "gpus": [
  564. {
  565. "deviceName": "string",
  566. "name": "string",
  567. "tag": "string",
  568. "virtualGPUOptions": {
  569. "display": {
  570. "enabled": true,
  571. "ramFB": {
  572. "enabled": true
  573. }
  574. }
  575. }
  576. }
  577. ],
  578. "hostDevices": [
  579. {
  580. "deviceName": "string",
  581. "name": "string",
  582. "tag": "string"
  583. }
  584. ],
  585. "inputs": [
  586. {
  587. "bus": "string",
  588. "name": "string",
  589. "type": "string"
  590. }
  591. ],
  592. "interfaces": [
  593. {
  594. "acpiIndex": 0,
  595. "binding": {
  596. "name": "string"
  597. },
  598. "bootOrder": 0,
  599. "bridge": {},
  600. "dhcpOptions": {
  601. "bootFileName": "string",
  602. "ntpServers": [
  603. "string"
  604. ],
  605. "privateOptions": [
  606. {
  607. "option": 0,
  608. "value": "string"
  609. }
  610. ],
  611. "tftpServerName": "string"
  612. },
  613. "macAddress": "string",
  614. "macvtap": {},
  615. "masquerade": {},
  616. "model": "string",
  617. "name": "string",
  618. "passt": {},
  619. "pciAddress": "string",
  620. "ports": [
  621. {
  622. "name": "string",
  623. "port": 0,
  624. "protocol": "string"
  625. }
  626. ],
  627. "slirp": {},
  628. "sriov": {},
  629. "state": "string",
  630. "tag": "string"
  631. }
  632. ],
  633. "logSerialConsole": true,
  634. "networkInterfaceMultiqueue": true,
  635. "rng": {},
  636. "sound": {
  637. "model": "string",
  638. "name": "string"
  639. },
  640. "tpm": {
  641. "persistent": true
  642. },
  643. "useVirtioTransitional": true,
  644. "watchdog": {
  645. "i6300esb": {
  646. "action": "string"
  647. },
  648. "name": "string"
  649. }
  650. },
  651. "features": {
  652. "acpi": {
  653. "enabled": true
  654. },
  655. "apic": {
  656. "enabled": true,
  657. "endOfInterrupt": true
  658. },
  659. "hyperv": {
  660. "evmcs": {
  661. "enabled": true
  662. },
  663. "frequencies": {
  664. "enabled": true
  665. },
  666. "ipi": {
  667. "enabled": true
  668. },
  669. "reenlightenment": {
  670. "enabled": true
  671. },
  672. "relaxed": {
  673. "enabled": true
  674. },
  675. "reset": {
  676. "enabled": true
  677. },
  678. "runtime": {
  679. "enabled": true
  680. },
  681. "spinlocks": {
  682. "enabled": true,
  683. "spinlocks": 0
  684. },
  685. "synic": {
  686. "enabled": true
  687. },
  688. "synictimer": {
  689. "direct": {
  690. "enabled": true
  691. },
  692. "enabled": true
  693. },
  694. "tlbflush": {
  695. "enabled": true
  696. },
  697. "vapic": {
  698. "enabled": true
  699. },
  700. "vendorid": {
  701. "enabled": true,
  702. "vendorid": "string"
  703. },
  704. "vpindex": {
  705. "enabled": true
  706. }
  707. },
  708. "kvm": {
  709. "hidden": true
  710. },
  711. "pvspinlock": {
  712. "enabled": true
  713. },
  714. "smm": {
  715. "enabled": true
  716. }
  717. },
  718. "firmware": {
  719. "bootloader": {
  720. "bios": {
  721. "useSerial": true
  722. },
  723. "efi": {
  724. "persistent": true,
  725. "secureBoot": true
  726. }
  727. },
  728. "kernelBoot": {
  729. "container": {
  730. "image": "string",
  731. "imagePullPolicy": "Always",
  732. "imagePullSecret": "string",
  733. "initrdPath": "string",
  734. "kernelPath": "string"
  735. },
  736. "kernelArgs": "string"
  737. },
  738. "serial": "string",
  739. "uuid": "string"
  740. },
  741. "ioThreadsPolicy": "string",
  742. "launchSecurity": {
  743. "sev": {
  744. "attestation": {},
  745. "dhCert": "string",
  746. "policy": {
  747. "encryptedState": true
  748. },
  749. "session": "string"
  750. }
  751. },
  752. "machine": {
  753. "type": "string"
  754. },
  755. "memory": {
  756. "guest": "string",
  757. "hugepages": {
  758. "pageSize": "string"
  759. },
  760. "maxGuest": "string"
  761. },
  762. "resources": {
  763. "limits": {},
  764. "overcommitGuestOverhead": true,
  765. "requests": {}
  766. }
  767. },
  768. "evictionStrategy": "string",
  769. "hostname": "string",
  770. "livenessProbe": {
  771. "exec": {
  772. "command": [
  773. "string"
  774. ]
  775. },
  776. "failureThreshold": 0,
  777. "guestAgentPing": {},
  778. "httpGet": {
  779. "host": "string",
  780. "httpHeaders": [
  781. {
  782. "name": "string",
  783. "value": "string"
  784. }
  785. ],
  786. "path": "string",
  787. "port": {},
  788. "scheme": "HTTP"
  789. },
  790. "initialDelaySeconds": 0,
  791. "periodSeconds": 0,
  792. "successThreshold": 0,
  793. "tcpSocket": {
  794. "host": "string",
  795. "port": {}
  796. },
  797. "timeoutSeconds": 0
  798. },
  799. "networks": [
  800. {
  801. "multus": {
  802. "default": true,
  803. "networkName": "string"
  804. },
  805. "name": "string",
  806. "pod": {
  807. "vmIPv6NetworkCIDR": "string",
  808. "vmNetworkCIDR": "string"
  809. }
  810. }
  811. ],
  812. "nodeSelector": {},
  813. "priorityClassName": "string",
  814. "readinessProbe": {
  815. "exec": {
  816. "command": [
  817. "string"
  818. ]
  819. },
  820. "failureThreshold": 0,
  821. "guestAgentPing": {},
  822. "httpGet": {
  823. "host": "string",
  824. "httpHeaders": [
  825. {
  826. "name": "string",
  827. "value": "string"
  828. }
  829. ],
  830. "path": "string",
  831. "port": {},
  832. "scheme": "HTTP"
  833. },
  834. "initialDelaySeconds": 0,
  835. "periodSeconds": 0,
  836. "successThreshold": 0,
  837. "tcpSocket": {
  838. "host": "string",
  839. "port": {}
  840. },
  841. "timeoutSeconds": 0
  842. },
  843. "schedulerName": "string",
  844. "startStrategy": "string",
  845. "subdomain": "string",
  846. "terminationGracePeriodSeconds": 0,
  847. "tolerations": [
  848. {
  849. "effect": "NoExecute",
  850. "key": "string",
  851. "operator": "Equal",
  852. "tolerationSeconds": 0,
  853. "value": "string"
  854. }
  855. ],
  856. "topologySpreadConstraints": [
  857. {
  858. "labelSelector": {
  859. "matchExpressions": [
  860. {
  861. "key": "string",
  862. "operator": "string",
  863. "values": [
  864. "string"
  865. ]
  866. }
  867. ],
  868. "matchLabels": {}
  869. },
  870. "matchLabelKeys": [
  871. "string"
  872. ],
  873. "maxSkew": 0,
  874. "minDomains": 0,
  875. "nodeAffinityPolicy": "string",
  876. "nodeTaintsPolicy": "string",
  877. "topologyKey": "string",
  878. "whenUnsatisfiable": "DoNotSchedule"
  879. }
  880. ],
  881. "volumes": [
  882. {
  883. "cloudInitConfigDrive": {
  884. "networkData": "string",
  885. "networkDataBase64": "string",
  886. "networkDataSecretRef": {
  887. "name": "string"
  888. },
  889. "secretRef": {
  890. "name": "string"
  891. },
  892. "userData": "string",
  893. "userDataBase64": "string"
  894. },
  895. "cloudInitNoCloud": {
  896. "networkData": "string",
  897. "networkDataBase64": "string",
  898. "networkDataSecretRef": {
  899. "name": "string"
  900. },
  901. "secretRef": {
  902. "name": "string"
  903. },
  904. "userData": "string",
  905. "userDataBase64": "string"
  906. },
  907. "configMap": {
  908. "name": "string",
  909. "optional": true,
  910. "volumeLabel": "string"
  911. },
  912. "containerDisk": {
  913. "image": "string",
  914. "imagePullPolicy": "Always",
  915. "imagePullSecret": "string",
  916. "path": "string"
  917. },
  918. "dataVolume": {
  919. "hotpluggable": true,
  920. "name": "string"
  921. },
  922. "downwardAPI": {
  923. "fields": [
  924. {
  925. "fieldRef": {
  926. "apiVersion": "string",
  927. "fieldPath": "string"
  928. },
  929. "mode": 0,
  930. "path": "string",
  931. "resourceFieldRef": {
  932. "containerName": "string",
  933. "divisor": {},
  934. "resource": "string"
  935. }
  936. }
  937. ],
  938. "volumeLabel": "string"
  939. },
  940. "downwardMetrics": {},
  941. "emptyDisk": {
  942. "capacity": {}
  943. },
  944. "ephemeral": {
  945. "persistentVolumeClaim": {
  946. "claimName": "string",
  947. "readOnly": true
  948. }
  949. },
  950. "hostDisk": {
  951. "capacity": {},
  952. "path": "string",
  953. "shared": true,
  954. "type": "string"
  955. },
  956. "memoryDump": {
  957. "claimName": "string",
  958. "hotpluggable": true,
  959. "readOnly": true
  960. },
  961. "name": "string",
  962. "persistentVolumeClaim": {
  963. "claimName": "string",
  964. "hotpluggable": true,
  965. "readOnly": true
  966. },
  967. "secret": {
  968. "optional": true,
  969. "secretName": "string",
  970. "volumeLabel": "string"
  971. },
  972. "serviceAccount": {
  973. "serviceAccountName": "string"
  974. },
  975. "sysprep": {
  976. "configMap": {
  977. "name": "string"
  978. },
  979. "secret": {
  980. "name": "string"
  981. }
  982. }
  983. }
  984. ]
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "status": {
  991. "conditions": [
  992. {
  993. "lastTransitionTime": "string",
  994. "lastUpdateTime": "string",
  995. "message": "string",
  996. "reason": "string",
  997. "status": "string",
  998. "type": "string"
  999. }
  1000. ],
  1001. "version": 0
  1002. }
  1003. }
  1004. ],
  1005. "kind": "string",
  1006. "metadata": {
  1007. "continue": "string",
  1008. "remainingItemCount": 0,
  1009. "resourceVersion": "string",
  1010. "selfLink": "string"
  1011. }
  1012. }

Unauthorized

  • application/json
  • application/json;stream=watch
  • application/yaml

  • Schema

Schema

string

  • Schema

Schema

string

  • Schema

Schema

string

Loading…