parameters.yaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917
  1. # path variables
  2. endpoint_id_path:
  3. description: |
  4. The id of the endpoint.
  5. in: path
  6. required: true
  7. type: uuid
  8. execution_id_path:
  9. description: |
  10. The id of the replica execution.
  11. in: path
  12. required: true
  13. type: uuid
  14. instance_name_base64_path:
  15. description: |
  16. The name of the instance in base64
  17. in: path
  18. required: true
  19. type: string
  20. migration_id_path:
  21. description: |
  22. The id of the migration
  23. in: path
  24. required: true
  25. type: uuid
  26. platform:
  27. description: |
  28. The type of cloud service platform.
  29. in: path
  30. type: string
  31. required: true
  32. provider_id:
  33. description: |
  34. The ID of cloud service provider.
  35. in: path
  36. type: integer
  37. required: true
  38. replica_id_path:
  39. description: |
  40. The id of the replica.
  41. in: path
  42. type: uuid
  43. required: true
  44. replica_schedule_id_path:
  45. description: |
  46. The ID of the replica schedule.
  47. in: path
  48. type: uuid
  49. required: true
  50. replica_tasks_execution_id_path:
  51. description: |
  52. The id of the replica execution.
  53. in: path
  54. type: uuid
  55. required: true
  56. # query variables
  57. instance_limit:
  58. description: |
  59. Returns a number of items up to a limit value.
  60. in: query
  61. required: false
  62. type: integer
  63. # body variables
  64. base_id:
  65. description: |
  66. The id of the migration in the mariadb database.
  67. in: body
  68. type: string
  69. required: true
  70. connection_info:
  71. description: >
  72. A JSON encoded or a barbican secret ref containing password, username and
  73. other cloud-specific information for connection to an endpoint.
  74. in: body
  75. type: object
  76. required: true
  77. connection_info_schema:
  78. description: |
  79. Object containing the connection info schema of the platform.
  80. in: body
  81. type: object
  82. required: false
  83. destination_environment:
  84. description: |
  85. JSON containing the options of how the instance will be
  86. configured on the destination cloud differently from the
  87. source cloud, such as network mapping.
  88. in: body
  89. type: object
  90. required: true
  91. destination_environment_schema:
  92. description: |
  93. Object containing the destination environment schema of the platform.
  94. in: body
  95. type: object
  96. required: false
  97. destination_minion_pool_id:
  98. description: |
  99. Pre-existing minion pool ID on the destination platform.
  100. in: body
  101. type: string
  102. required: true
  103. destination_minion_pool_options:
  104. description: |
  105. Array that contains the parameter options possible for a minion pool with the endpoint as destination.
  106. in: body
  107. type: array
  108. required: true
  109. destination_options:
  110. description: |
  111. An array that contains the parameter options possible for
  112. a migration or replica with the endpoint as destination.
  113. in: body
  114. type: object
  115. required: true
  116. diagnostic_application:
  117. description: |
  118. Name of the Coriolis service.
  119. in: body
  120. type: string
  121. required: true
  122. diagnostic_hostname:
  123. description: |
  124. The hostname of the Coriolis service container.
  125. in: body
  126. type: string
  127. required: true
  128. diagnostic_ip_addresses:
  129. description: |
  130. IP addresses of all the interfaces attached to the Coriolis appliance.
  131. in: body
  132. type: object
  133. required: true
  134. diagnostic_os_info:
  135. description: |
  136. The Coriolis appliance's host OS information.
  137. in: body
  138. type: array
  139. required: true
  140. diagnostic_packages:
  141. description: |
  142. The list of PIP packages installed on the Coriolis service container.
  143. in: body
  144. type: array
  145. required: true
  146. diagnostics_array:
  147. description: |
  148. Array of diagnostics objects.
  149. in: body
  150. type: array
  151. required: true
  152. endpoint_created_at:
  153. description: |
  154. ISO 8601 formatted date of endpoint creation.
  155. in: body
  156. type: string
  157. required: true
  158. endpoint_deleted:
  159. description: |
  160. Integer representing whether endpoint is deleted or not. (0 or 1)
  161. in: body
  162. type: integer
  163. required: true
  164. endpoint_deleted_at:
  165. description: |
  166. ISO 8601 formatted date of endpoint deletion.
  167. in: body
  168. type: string
  169. required: true
  170. endpoint_description:
  171. description: |
  172. The description of the endpoint.
  173. in: body
  174. type: string
  175. required: true
  176. endpoint_id:
  177. description: |
  178. The id of a cloud endpoint.
  179. in: body
  180. type: uuid
  181. required: true
  182. endpoint_mapped_regions:
  183. description: |
  184. List containing the Coriolis regions this endpoint is available to.
  185. in: body
  186. type: array
  187. required: true
  188. endpoint_name:
  189. description: |
  190. The name of the endpoint.
  191. in: body
  192. type: string
  193. required: true
  194. endpoint_object:
  195. description: |
  196. An endpoint object containing name, id, type, and connection information.
  197. in: body
  198. type: object
  199. required: true
  200. endpoint_type:
  201. description: |
  202. The type of cloud service platform.
  203. in: body
  204. type: string
  205. required: true
  206. endpoint_updated_at:
  207. description: |
  208. ISO 8601 formatted date of when the endpoint was last updated.
  209. in: body
  210. type: string
  211. required: true
  212. endpoints_array:
  213. description: |
  214. Array of endpoint objects.
  215. in: body
  216. type: array
  217. required: true
  218. instance_array:
  219. description: |
  220. Array of instance objects
  221. in: body
  222. type: array
  223. required: true
  224. instance_cores_per_socket:
  225. description: |
  226. Number of cores per socket used by the instance.
  227. in: body
  228. type: integer
  229. required: false
  230. instance_devices:
  231. description: |
  232. Object containing information about instance devices like NICs, disks, etc.
  233. in: body
  234. type: object
  235. required: true
  236. instance_firmware_type:
  237. description: |
  238. The type of firmware of the VM.
  239. in: body
  240. type: string
  241. required: false
  242. instance_flavor:
  243. description: |
  244. Name or ID of the flavor used by the instance.
  245. in: body
  246. type: string
  247. required: true
  248. instance_id:
  249. description: |
  250. The id of the instance.
  251. in: body
  252. type: uuid
  253. required: true
  254. instance_identifier:
  255. description: |
  256. The unique identifier of a virtual machine.
  257. in: body
  258. type: string
  259. required: true
  260. instance_memory_mb:
  261. description: |
  262. The memory of the instance in MB.
  263. in: body
  264. type: integer
  265. required: true
  266. instance_name:
  267. description: |
  268. The name of an instance.
  269. in: body
  270. type: string
  271. required: true
  272. instance_nested_virtualization:
  273. description: |
  274. Whether the instance is run on a nested virtualization environment.
  275. in: body
  276. type: boolean
  277. required: false
  278. instance_num_cpu:
  279. description: |
  280. The numbers of CPUs of an instance.
  281. in: body
  282. type: string
  283. required: true
  284. instance_object:
  285. description: |
  286. Object containing information about the requested instance.
  287. in: body
  288. type: object
  289. required: true
  290. instance_os_type:
  291. description: |
  292. The OS type of an instance.
  293. in: body
  294. type: string
  295. required: true
  296. instance_osmorphing_minion_pool_mappings:
  297. description: |
  298. Mapping between migrated instance name and their respective morphing minion pool IDs.
  299. in: body
  300. type: object
  301. required: true
  302. migration_cancel:
  303. description: |
  304. Object containing information about the type of migration cancellation.
  305. in: body
  306. type: string
  307. required: true
  308. migration_cancel_force:
  309. description: |
  310. Boolean representing whether the migration cancellation is forced.
  311. in: body
  312. type: boolean
  313. required: true
  314. migration_clone_disks:
  315. description: |
  316. Boolean representing whether the migration is started from replicated disks.
  317. in: body
  318. type: boolean
  319. required: true
  320. migration_created_at:
  321. description: |
  322. Timestamp of migration creation.
  323. in: body
  324. type: string
  325. required: true
  326. migration_deleted:
  327. description: |
  328. Whether a migration is deleted or not.
  329. 1 for deleted
  330. 0 for not deleted
  331. in: body
  332. type: integer
  333. required: true
  334. migration_deleted_at:
  335. description: |
  336. The timestamp of deletion for a migration.
  337. in: body
  338. type: object
  339. required: true
  340. migration_destination_endpoint_id:
  341. description: |
  342. The id of the migration destination cloud endpoint.
  343. in: body
  344. type: uuid
  345. required: true
  346. migration_force:
  347. description: |
  348. Boolean representing whether the migration is forced or not.
  349. in: body
  350. type: boolean
  351. required: true
  352. migration_id:
  353. description: |
  354. The id of a coriolis migration.
  355. in: body
  356. type: uuid
  357. required: true
  358. migration_info:
  359. description: |
  360. Information about the instance that is migrated.
  361. in: body
  362. type: object
  363. required: true
  364. migration_instances:
  365. description: |
  366. An array of all instance identifiers to be migrated.
  367. in: body
  368. type: array
  369. required: true
  370. migration_last_execution_status:
  371. description: |
  372. Last execution status of the current migration.
  373. in: body
  374. type: string
  375. required: true
  376. migration_notes:
  377. description: |
  378. Notes about the migration.
  379. in: body
  380. type: object
  381. required: true
  382. migration_object:
  383. description: |
  384. Object containing migration details.
  385. in: body
  386. type: object
  387. required: true
  388. migration_origin_endpoint_id:
  389. description: |
  390. The id of the migration source cloud endpoint.
  391. in: body
  392. type: uuid
  393. required: true
  394. migration_replica_id:
  395. description: |
  396. id of the replica if the migration is created from one.
  397. in: body
  398. type: uuid
  399. required: true
  400. migration_shutdown_instances:
  401. description: |
  402. A boolean which describes whether the execution to shutdown the source
  403. instance for the migration process.
  404. in: body
  405. type: boolean
  406. required: true
  407. migration_status:
  408. description: |
  409. Migration status, can either be ``RUNNING``, ``ERROR`` or ``COMPLETED``.
  410. in: body
  411. type: string
  412. required: true
  413. migration_tasks:
  414. description: |
  415. The array of tasks that the migration is going through,
  416. contains id,instance name, status, and other details about
  417. each task.
  418. in: body
  419. type: array
  420. required: true
  421. migration_type:
  422. description: |
  423. The type of migration, can also be a replica.
  424. in: body
  425. type: string
  426. required: true
  427. migration_updated_at:
  428. description: |
  429. Timestamp of last migration update.
  430. in: body
  431. type: string
  432. required: true
  433. migrations_array:
  434. description: |
  435. Array of migration objects.
  436. in: body
  437. type: array
  438. required: true
  439. network_id:
  440. description: |
  441. The unique identifier of a network.
  442. in: body
  443. type: uuid
  444. required: true
  445. network_map:
  446. description: |
  447. Object containing the network mapping.
  448. in: body
  449. type: object
  450. required: true
  451. network_name:
  452. description: |
  453. The name of a network.
  454. type: string
  455. in: body
  456. required: true
  457. networks_array:
  458. description: |
  459. An array of ``network`` objects.
  460. type: string
  461. in: body
  462. required: true
  463. option_config_default:
  464. description: |
  465. The default option for the parameter.
  466. in: body
  467. type: string
  468. required: true
  469. option_name:
  470. description: |
  471. The name of the parameter.
  472. in: body
  473. type: string
  474. required: true
  475. option_values:
  476. description: |
  477. An array of possible values for the respective parameter.
  478. in: body
  479. type: array
  480. required: true
  481. origin_minion_pool_id:
  482. description: |
  483. Pre-existing minion pool ID on the source platform.
  484. in: body
  485. type: string
  486. required: true
  487. project_id:
  488. description: |
  489. Coriolis supports multiple projects, this is the respective project's id.
  490. in: body
  491. type: uuid
  492. required: true
  493. provider_schemas:
  494. description: |
  495. Object containing the requested provider schema.
  496. in: body
  497. type: object
  498. required: true
  499. provider_type:
  500. description: |
  501. The type of cloud service provider.
  502. in: body
  503. type: array
  504. required: true
  505. provider_types:
  506. description: |
  507. Array containing the provider types that a platform currently supports.
  508. in: body
  509. type: array
  510. required: true
  511. providers:
  512. description: |
  513. Array that contains all the available types of cloud service providers
  514. in: body
  515. type: array
  516. required: true
  517. replica_action_id:
  518. description: |
  519. Id of the replica excution.
  520. in: body
  521. type: uuid
  522. required: true
  523. replica_created_at:
  524. description: |
  525. Timestamp of replica creation.
  526. in: body
  527. type: string
  528. required: true
  529. replica_delete_disks:
  530. description: |
  531. An object that describes delete disk replica action.
  532. in: body
  533. type: object
  534. required: true
  535. replica_deleted:
  536. description: |
  537. Value representing whether the replica is deleted or not
  538. in: body
  539. type: integer
  540. required: true
  541. replica_deleted_at:
  542. description: |
  543. Timestamp of replica deletion if applicable.
  544. in: body
  545. type: string
  546. required: true
  547. replica_destination_endpoint_id:
  548. description: |
  549. The id of the destination cloud endpoint for the replica action.
  550. in: body
  551. type: uuid
  552. required: true
  553. replica_destination_environment:
  554. description: |
  555. The configuration on the destination cloud provider for the replica.
  556. in: body
  557. type: string
  558. required: false
  559. replica_execution:
  560. description: |
  561. An ``execution`` object.
  562. in: body
  563. type: object
  564. required: true
  565. replica_execution_action:
  566. description: |
  567. An ``action`` object regarding the specific operation.
  568. in: body
  569. type: array
  570. required: true
  571. replica_execution_array:
  572. description: |
  573. An array of ``execution`` objects.
  574. in: body
  575. type: array
  576. required: true
  577. replica_execution_created_at:
  578. description: |
  579. Timestamp of creation time of the replica execution.
  580. in: body
  581. type: integer
  582. required: true
  583. replica_execution_deleted:
  584. description: |
  585. Integer representing whether the execution is deleted or not.
  586. in: body
  587. type: integer
  588. required: true
  589. replica_execution_deleted_at:
  590. description: |
  591. Timestamp of deletion time, if applicable for the replica execution.
  592. in: body
  593. type: integer
  594. required: true
  595. replica_execution_force:
  596. description: |
  597. A boolean which describes whether to force the cancellation of a replica
  598. execution.
  599. in: body
  600. type: boolean
  601. required: true
  602. replica_execution_id:
  603. description: |
  604. The id of the replica execution.
  605. in: body
  606. type: array
  607. required: true
  608. replica_execution_number:
  609. description: |
  610. Integer representing n'th execution of the replica.
  611. in: body
  612. type: integer
  613. required: true
  614. replica_execution_object:
  615. description: |
  616. An ``execution`` object
  617. in: body
  618. type: boolean
  619. required: true
  620. replica_execution_status:
  621. description: >
  622. The status of the replica execution, can either be ``RUNNING`` , ``ERROR``
  623. or ``COMPLETED``
  624. in: body
  625. type: string
  626. required: true
  627. replica_execution_tasks:
  628. description: |
  629. An array of all the tasks regarding a specific replica execution.
  630. in: body
  631. type: array
  632. required: true
  633. replica_execution_type:
  634. description: |
  635. The type of the replica execution. Can either be 'replica_execution', 'replica_update' or 'replica_disks_delete'
  636. in: body
  637. type: string
  638. required: true
  639. replica_execution_updated_at:
  640. description: |
  641. Timestamp of last replica execution update.
  642. in: body
  643. type: string
  644. required: true
  645. replica_id:
  646. description: |
  647. The id of the replica.
  648. in: body
  649. type: uuid
  650. required: true
  651. replica_instances:
  652. description: |
  653. Name array of the instances to be replicated.
  654. in: body
  655. type: array
  656. required: true
  657. replica_last_execution_status:
  658. description: |
  659. Last execution status of the current replica.
  660. in: body
  661. type: string
  662. required: true
  663. replica_network_map:
  664. description: |
  665. Object containing the network mapping.
  666. in: body
  667. type: object
  668. required: false
  669. replica_notes:
  670. description: |
  671. Notes about the replica.
  672. in: body
  673. type: string
  674. required: true
  675. replica_object:
  676. description: |
  677. Object containing information about a replica.
  678. in: body
  679. type: object
  680. required: true
  681. replica_origin_endpoint_id:
  682. description: |
  683. The id of the origin cloud endpoint for the replica action.
  684. in: body
  685. type: uuid
  686. required: true
  687. replica_schedule:
  688. description: |
  689. Object containing the schedule information(month, day of month, etc.).
  690. in: body
  691. type: object
  692. required: true
  693. replica_schedule_created_at:
  694. description: |
  695. Timestamp of replica schedule creation.
  696. in: body
  697. type: string
  698. required: true
  699. replica_schedule_day_of_month:
  700. description: |
  701. The day of the month at which to run.
  702. in: body
  703. type: integer
  704. required: false
  705. replica_schedule_day_of_week:
  706. description: |
  707. The day of week in which to run.
  708. in: body
  709. type: integer
  710. required: false
  711. replica_schedule_deleted:
  712. description: |
  713. Value representing whether the replica schedule is deleted or not
  714. in: body
  715. type: string
  716. required: true
  717. replica_schedule_deleted_at:
  718. description: |
  719. Timestamp of replica schedule deletion if applicable.
  720. in: body
  721. type: string
  722. required: true
  723. replica_schedule_enabled:
  724. description: |
  725. Whether the schedule is enabled or not.
  726. in: body
  727. type: boolean
  728. required: true
  729. replica_schedule_expiration:
  730. description: |
  731. ISO8601 formatted date which sets the replica schedule expiration date.
  732. in: body
  733. type: string
  734. required: true
  735. replica_schedule_expiration_request:
  736. description: |
  737. ISO8601 formatted date which sets the replica schedule expiration date.
  738. in: body
  739. type: string
  740. required: false
  741. replica_schedule_hour:
  742. description: |
  743. The hour of the day at which to run.
  744. in: body
  745. type: integer
  746. required: false
  747. replica_schedule_id:
  748. description: |
  749. The ID of the replica schedule.
  750. in: body
  751. type: uuid
  752. required: true
  753. replica_schedule_minute:
  754. description: |
  755. The minute of the hour at which to run.
  756. in: body
  757. type: integer
  758. required: false
  759. replica_schedule_month:
  760. description: |
  761. The month in which to run.
  762. in: body
  763. type: integer
  764. required: false
  765. replica_schedule_updated_at:
  766. description: |
  767. Timestamp of last replica schedule update.
  768. in: body
  769. type: string
  770. required: true
  771. replica_schedules:
  772. description: |
  773. Array of replica schedules.
  774. in: body
  775. type: array
  776. required: true
  777. replica_shutdown_instances:
  778. description: |
  779. A boolean which describes whether the execution to shutdown the source
  780. instance for the replication process.
  781. in: body
  782. type: boolean
  783. required: true
  784. replica_source_environment:
  785. description: |
  786. The configuration on the source cloud provider for the replica.
  787. in: body
  788. type: object
  789. required: false
  790. replica_storage_map:
  791. description: |
  792. Object containing storage backend mapping.
  793. in: body
  794. type: object
  795. required: false
  796. replica_type:
  797. description: |
  798. Type of coriolis action, in this case, a replica.
  799. in: body
  800. type: string
  801. required: true
  802. replica_update_notes:
  803. description: |
  804. Notes about the replica.
  805. in: body
  806. type: string
  807. required: false
  808. replica_updated_at:
  809. description: |
  810. Timestamp of last replica update.
  811. in: body
  812. type: string
  813. required: true
  814. replicas_array:
  815. description: |
  816. Array of replica objects.
  817. in: body
  818. type: array
  819. required: true
  820. replication_count:
  821. description: |
  822. The number of disk syncs performed during a migration.
  823. in: body
  824. type: integer
  825. required: true
  826. schemas:
  827. description: |
  828. Object containing the platform's requested schema.
  829. in: body
  830. type: object
  831. required: true
  832. skip_os_morphing:
  833. description: |
  834. Boolean whether to skip os morphing or not.
  835. in: body
  836. type: boolean
  837. required: true
  838. source_environment:
  839. description: |
  840. JSON containing the options specific to the source cloud of the instance.
  841. in: body
  842. type: object
  843. required: true
  844. source_environment_schema:
  845. description: |
  846. Object containing the source environment schema of the platform.
  847. in: body
  848. type: object
  849. required: false
  850. source_minion_pool_options:
  851. description: |
  852. Array that contains the paramter options possible for a minion pool with the endpoint as source.
  853. in: body
  854. type: array
  855. required: true
  856. source_options:
  857. description: |
  858. An array that contains the parameter options possible for
  859. a migration or replica with the endpoint as source.
  860. in: body
  861. type: object
  862. required: true
  863. storage_backends:
  864. description: |
  865. Array containing storage backends available to an endpoint.
  866. in: body
  867. type: array
  868. required: true
  869. storage_id:
  870. description: |
  871. The unique identifier of a storage backend
  872. in: body
  873. type: string
  874. required: true
  875. storage_map:
  876. description: |
  877. Object containing storage backend mapping.
  878. in: body
  879. type: object
  880. required: true
  881. storage_name:
  882. description: |
  883. Name of the storage backend
  884. in: body
  885. type: string
  886. required: true
  887. user_id:
  888. description: |
  889. Coriolis supports multiple users, this is the respective user's id.
  890. in: body
  891. type: uuid
  892. required: true
  893. user_scripts:
  894. description: |
  895. Mapping between instances selected for migration and custom scripts to be run during OSMorphing stage.
  896. in: body
  897. type: object
  898. required: false
  899. valid_connection:
  900. description: |
  901. A boolean value representing whether the endpoint connection is valid.
  902. in: body
  903. type: boolean
  904. required: true
  905. validate_connection:
  906. description: |
  907. An object that contains the validate connection action for the
  908. endpoint connection.
  909. in: body
  910. type: object
  911. required: true
  912. validation_message:
  913. description: |
  914. The error message in case of endpoint validation failure.
  915. in: body
  916. type: string
  917. required: true