lightning-sdk 2025.11.13.post0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1271) hide show
  1. docs/source/conf.py +378 -0
  2. lightning_sdk/__init__.py +43 -0
  3. lightning_sdk/__version__.py +3 -0
  4. lightning_sdk/agents.py +47 -0
  5. lightning_sdk/ai_hub.py +190 -0
  6. lightning_sdk/api/__init__.py +17 -0
  7. lightning_sdk/api/agents_api.py +107 -0
  8. lightning_sdk/api/ai_hub_api.py +173 -0
  9. lightning_sdk/api/base_studio_api.py +90 -0
  10. lightning_sdk/api/cloud_account_api.py +225 -0
  11. lightning_sdk/api/deployment_api.py +680 -0
  12. lightning_sdk/api/job_api.py +459 -0
  13. lightning_sdk/api/license_api.py +37 -0
  14. lightning_sdk/api/lit_container_api.py +254 -0
  15. lightning_sdk/api/llm_api.py +306 -0
  16. lightning_sdk/api/mmt_api.py +295 -0
  17. lightning_sdk/api/org_api.py +22 -0
  18. lightning_sdk/api/pipeline_api.py +120 -0
  19. lightning_sdk/api/studio_api.py +1043 -0
  20. lightning_sdk/api/teamspace_api.py +535 -0
  21. lightning_sdk/api/user_api.py +125 -0
  22. lightning_sdk/api/utils.py +806 -0
  23. lightning_sdk/base_studio.py +123 -0
  24. lightning_sdk/cli/__init__.py +1 -0
  25. lightning_sdk/cli/base_studio/__init__.py +10 -0
  26. lightning_sdk/cli/base_studio/list.py +43 -0
  27. lightning_sdk/cli/config/__init__.py +14 -0
  28. lightning_sdk/cli/config/get.py +57 -0
  29. lightning_sdk/cli/config/set.py +92 -0
  30. lightning_sdk/cli/config/show.py +9 -0
  31. lightning_sdk/cli/entrypoint.py +110 -0
  32. lightning_sdk/cli/groups.py +56 -0
  33. lightning_sdk/cli/job/__init__.py +7 -0
  34. lightning_sdk/cli/legacy/__init__.py +0 -0
  35. lightning_sdk/cli/legacy/ai_hub.py +65 -0
  36. lightning_sdk/cli/legacy/clusters_menu.py +49 -0
  37. lightning_sdk/cli/legacy/configure.py +129 -0
  38. lightning_sdk/cli/legacy/connect.py +34 -0
  39. lightning_sdk/cli/legacy/create.py +115 -0
  40. lightning_sdk/cli/legacy/delete.py +131 -0
  41. lightning_sdk/cli/legacy/deploy/__init__.py +0 -0
  42. lightning_sdk/cli/legacy/deploy/_auth.py +196 -0
  43. lightning_sdk/cli/legacy/deploy/devbox.py +163 -0
  44. lightning_sdk/cli/legacy/deploy/serve.py +466 -0
  45. lightning_sdk/cli/legacy/docker_cli.py +22 -0
  46. lightning_sdk/cli/legacy/download.py +322 -0
  47. lightning_sdk/cli/legacy/entrypoint.py +110 -0
  48. lightning_sdk/cli/legacy/exceptions.py +6 -0
  49. lightning_sdk/cli/legacy/generate.py +52 -0
  50. lightning_sdk/cli/legacy/inspection.py +45 -0
  51. lightning_sdk/cli/legacy/job_and_mmt_action.py +37 -0
  52. lightning_sdk/cli/legacy/jobs_menu.py +58 -0
  53. lightning_sdk/cli/legacy/list.py +326 -0
  54. lightning_sdk/cli/legacy/mmts_menu.py +58 -0
  55. lightning_sdk/cli/legacy/open.py +81 -0
  56. lightning_sdk/cli/legacy/run.py +443 -0
  57. lightning_sdk/cli/legacy/start.py +107 -0
  58. lightning_sdk/cli/legacy/stop.py +107 -0
  59. lightning_sdk/cli/legacy/studios_menu.py +101 -0
  60. lightning_sdk/cli/legacy/switch.py +63 -0
  61. lightning_sdk/cli/legacy/teamspace_menu.py +103 -0
  62. lightning_sdk/cli/legacy/upload.py +382 -0
  63. lightning_sdk/cli/license/__init__.py +14 -0
  64. lightning_sdk/cli/license/get.py +15 -0
  65. lightning_sdk/cli/license/list.py +45 -0
  66. lightning_sdk/cli/license/set.py +13 -0
  67. lightning_sdk/cli/mmt/__init__.py +7 -0
  68. lightning_sdk/cli/studio/__init__.py +26 -0
  69. lightning_sdk/cli/studio/connect.py +139 -0
  70. lightning_sdk/cli/studio/cp.py +138 -0
  71. lightning_sdk/cli/studio/create.py +96 -0
  72. lightning_sdk/cli/studio/delete.py +49 -0
  73. lightning_sdk/cli/studio/list.py +85 -0
  74. lightning_sdk/cli/studio/ssh.py +64 -0
  75. lightning_sdk/cli/studio/start.py +115 -0
  76. lightning_sdk/cli/studio/stop.py +45 -0
  77. lightning_sdk/cli/studio/switch.py +66 -0
  78. lightning_sdk/cli/utils/__init__.py +7 -0
  79. lightning_sdk/cli/utils/cloud_account_map.py +10 -0
  80. lightning_sdk/cli/utils/coloring.py +60 -0
  81. lightning_sdk/cli/utils/get_base_studio.py +24 -0
  82. lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +69 -0
  83. lightning_sdk/cli/utils/logging.py +122 -0
  84. lightning_sdk/cli/utils/owner_selection.py +110 -0
  85. lightning_sdk/cli/utils/resolve.py +28 -0
  86. lightning_sdk/cli/utils/richt_print.py +35 -0
  87. lightning_sdk/cli/utils/save_to_config.py +27 -0
  88. lightning_sdk/cli/utils/ssh_connection.py +59 -0
  89. lightning_sdk/cli/utils/studio_selection.py +113 -0
  90. lightning_sdk/cli/utils/teamspace_selection.py +125 -0
  91. lightning_sdk/cli/vm/__init__.py +20 -0
  92. lightning_sdk/cli/vm/create.py +33 -0
  93. lightning_sdk/cli/vm/delete.py +25 -0
  94. lightning_sdk/cli/vm/list.py +30 -0
  95. lightning_sdk/cli/vm/ssh.py +31 -0
  96. lightning_sdk/cli/vm/start.py +60 -0
  97. lightning_sdk/cli/vm/stop.py +25 -0
  98. lightning_sdk/cli/vm/switch.py +38 -0
  99. lightning_sdk/constants.py +32 -0
  100. lightning_sdk/deployment/__init__.py +29 -0
  101. lightning_sdk/deployment/deployment.py +583 -0
  102. lightning_sdk/helpers.py +88 -0
  103. lightning_sdk/job/__init__.py +5 -0
  104. lightning_sdk/job/base.py +482 -0
  105. lightning_sdk/job/job.py +351 -0
  106. lightning_sdk/job/v1.py +262 -0
  107. lightning_sdk/job/v2.py +263 -0
  108. lightning_sdk/job/work.py +85 -0
  109. lightning_sdk/lightning_cloud/__init__.py +4 -0
  110. lightning_sdk/lightning_cloud/__version__.py +1 -0
  111. lightning_sdk/lightning_cloud/cli/__init__.py +0 -0
  112. lightning_sdk/lightning_cloud/cli/__main__.py +29 -0
  113. lightning_sdk/lightning_cloud/env.py +51 -0
  114. lightning_sdk/lightning_cloud/login.py +510 -0
  115. lightning_sdk/lightning_cloud/openapi/__init__.py +1136 -0
  116. lightning_sdk/lightning_cloud/openapi/api/__init__.py +51 -0
  117. lightning_sdk/lightning_cloud/openapi/api/agent_service_api.py +1366 -0
  118. lightning_sdk/lightning_cloud/openapi/api/analytics_service_api.py +141 -0
  119. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +3436 -0
  120. lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +1172 -0
  121. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +2044 -0
  122. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  123. lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +638 -0
  124. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +9834 -0
  125. lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +327 -0
  126. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +4770 -0
  127. lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +1345 -0
  128. lightning_sdk/lightning_cloud/openapi/api/dataset_service_api.py +573 -0
  129. lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +756 -0
  130. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +596 -0
  131. lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +242 -0
  132. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +957 -0
  133. lightning_sdk/lightning_cloud/openapi/api/git_credentials_service_api.py +497 -0
  134. lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +1058 -0
  135. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +5657 -0
  136. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +2273 -0
  137. lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +1675 -0
  138. lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +319 -0
  139. lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +955 -0
  140. lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
  141. lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +1765 -0
  142. lightning_sdk/lightning_cloud/openapi/api/lit_page_service_api.py +525 -0
  143. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +912 -0
  144. lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +145 -0
  145. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +2296 -0
  146. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +2177 -0
  147. lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
  148. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +795 -0
  149. lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
  150. lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +663 -0
  151. lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +2072 -0
  152. lightning_sdk/lightning_cloud/openapi/api/quest_service_api.py +432 -0
  153. lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +924 -0
  154. lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
  155. lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +1034 -0
  156. lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +1005 -0
  157. lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +686 -0
  158. lightning_sdk/lightning_cloud/openapi/api/ssh_public_key_service_api.py +610 -0
  159. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +2351 -0
  160. lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +667 -0
  161. lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +1681 -0
  162. lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +258 -0
  163. lightning_sdk/lightning_cloud/openapi/api_client.py +646 -0
  164. lightning_sdk/lightning_cloud/openapi/configuration.py +235 -0
  165. lightning_sdk/lightning_cloud/openapi/models/__init__.py +1070 -0
  166. lightning_sdk/lightning_cloud/openapi/models/affiliatelinks_id_body.py +149 -0
  167. lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +331 -0
  168. lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +721 -0
  169. lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
  170. lightning_sdk/lightning_cloud/openapi/models/alerts_config_billing.py +175 -0
  171. lightning_sdk/lightning_cloud/openapi/models/alerts_config_studios.py +149 -0
  172. lightning_sdk/lightning_cloud/openapi/models/app_id_works_body.py +149 -0
  173. lightning_sdk/lightning_cloud/openapi/models/appinstances_id_body.py +175 -0
  174. lightning_sdk/lightning_cloud/openapi/models/approveautojoindomain_domain_body.py +123 -0
  175. lightning_sdk/lightning_cloud/openapi/models/apps_id_body.py +617 -0
  176. lightning_sdk/lightning_cloud/openapi/models/apps_id_body1.py +279 -0
  177. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +539 -0
  178. lightning_sdk/lightning_cloud/openapi/models/billing_checkout_body.py +175 -0
  179. lightning_sdk/lightning_cloud/openapi/models/billing_transfer_body.py +149 -0
  180. lightning_sdk/lightning_cloud/openapi/models/billing_transfer_body1.py +175 -0
  181. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +305 -0
  182. lightning_sdk/lightning_cloud/openapi/models/captures_id_body.py +123 -0
  183. lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body.py +175 -0
  184. lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body1.py +175 -0
  185. lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versions_body.py +409 -0
  186. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_metric_body.py +201 -0
  187. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_runs_body.py +619 -0
  188. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_systemmetrics_body.py +149 -0
  189. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +149 -0
  190. lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +799 -0
  191. lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +253 -0
  192. lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +331 -0
  193. lightning_sdk/lightning_cloud/openapi/models/cluster_id_kubernetestemplates_body.py +201 -0
  194. lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +305 -0
  195. lightning_sdk/lightning_cloud/openapi/models/cluster_id_proxies_body.py +123 -0
  196. lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
  197. lightning_sdk/lightning_cloud/openapi/models/cluster_id_usagerestrictions_body.py +201 -0
  198. lightning_sdk/lightning_cloud/openapi/models/clusters_id_body.py +175 -0
  199. lightning_sdk/lightning_cloud/openapi/models/clusters_id_body1.py +149 -0
  200. lightning_sdk/lightning_cloud/openapi/models/conversations_id_body.py +123 -0
  201. lightning_sdk/lightning_cloud/openapi/models/conversations_id_body1.py +123 -0
  202. lightning_sdk/lightning_cloud/openapi/models/create.py +591 -0
  203. lightning_sdk/lightning_cloud/openapi/models/create_checkout_session_request_wallet_type.py +104 -0
  204. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +513 -0
  205. lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +461 -0
  206. lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body.py +175 -0
  207. lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body1.py +175 -0
  208. lightning_sdk/lightning_cloud/openapi/models/data_connection_mount_data_connection_mount_copy_status.py +105 -0
  209. lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
  210. lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
  211. lightning_sdk/lightning_cloud/openapi/models/datasets_id_body.py +201 -0
  212. lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body.py +357 -0
  213. lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body1.py +331 -0
  214. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +877 -0
  215. lightning_sdk/lightning_cloud/openapi/models/deploymenttemplates_id_body.py +513 -0
  216. lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +461 -0
  217. lightning_sdk/lightning_cloud/openapi/models/experiment_name_variant_name_body.py +123 -0
  218. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +983 -0
  219. lightning_sdk/lightning_cloud/openapi/models/externalv1_cluster.py +253 -0
  220. lightning_sdk/lightning_cloud/openapi/models/externalv1_lightningapp_instance.py +357 -0
  221. lightning_sdk/lightning_cloud/openapi/models/externalv1_lightningwork.py +305 -0
  222. lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +357 -0
  223. lightning_sdk/lightning_cloud/openapi/models/get_endpoint_request_endpoint_ref_type.py +103 -0
  224. lightning_sdk/lightning_cloud/openapi/models/id_action_body.py +123 -0
  225. lightning_sdk/lightning_cloud/openapi/models/id_artifacts_body.py +123 -0
  226. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +201 -0
  227. lightning_sdk/lightning_cloud/openapi/models/id_collaborate_body.py +175 -0
  228. lightning_sdk/lightning_cloud/openapi/models/id_contactowner_body.py +149 -0
  229. lightning_sdk/lightning_cloud/openapi/models/id_engage_body.py +123 -0
  230. lightning_sdk/lightning_cloud/openapi/models/id_engage_body1.py +149 -0
  231. lightning_sdk/lightning_cloud/openapi/models/id_execute_body.py +123 -0
  232. lightning_sdk/lightning_cloud/openapi/models/id_execute_body1.py +175 -0
  233. lightning_sdk/lightning_cloud/openapi/models/id_fork_body.py +149 -0
  234. lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +201 -0
  235. lightning_sdk/lightning_cloud/openapi/models/id_get_body.py +437 -0
  236. lightning_sdk/lightning_cloud/openapi/models/id_index_body.py +175 -0
  237. lightning_sdk/lightning_cloud/openapi/models/id_index_body1.py +123 -0
  238. lightning_sdk/lightning_cloud/openapi/models/id_index_body2.py +123 -0
  239. lightning_sdk/lightning_cloud/openapi/models/id_index_body3.py +175 -0
  240. lightning_sdk/lightning_cloud/openapi/models/id_multipartuploads_body.py +149 -0
  241. lightning_sdk/lightning_cloud/openapi/models/id_output_body.py +175 -0
  242. lightning_sdk/lightning_cloud/openapi/models/id_publications_body.py +149 -0
  243. lightning_sdk/lightning_cloud/openapi/models/id_publications_body1.py +123 -0
  244. lightning_sdk/lightning_cloud/openapi/models/id_release_body.py +123 -0
  245. lightning_sdk/lightning_cloud/openapi/models/id_render_body.py +123 -0
  246. lightning_sdk/lightning_cloud/openapi/models/id_reportlogsactivity_body.py +123 -0
  247. lightning_sdk/lightning_cloud/openapi/models/id_reportrestarttimings_body.py +123 -0
  248. lightning_sdk/lightning_cloud/openapi/models/id_sleepconfig_body.py +175 -0
  249. lightning_sdk/lightning_cloud/openapi/models/id_start_body.py +149 -0
  250. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +175 -0
  251. lightning_sdk/lightning_cloud/openapi/models/id_uploads_body.py +123 -0
  252. lightning_sdk/lightning_cloud/openapi/models/id_visibility_body.py +123 -0
  253. lightning_sdk/lightning_cloud/openapi/models/id_visibility_body1.py +123 -0
  254. lightning_sdk/lightning_cloud/openapi/models/id_visibility_body2.py +149 -0
  255. lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +123 -0
  256. lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
  257. lightning_sdk/lightning_cloud/openapi/models/job_id_reportroutingtelemetry_body.py +123 -0
  258. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body.py +253 -0
  259. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body1.py +149 -0
  260. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body2.py +123 -0
  261. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body3.py +149 -0
  262. lightning_sdk/lightning_cloud/openapi/models/kubernetestemplates_id_body.py +201 -0
  263. lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
  264. lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
  265. lightning_sdk/lightning_cloud/openapi/models/litloggermetrics_id_body.py +175 -0
  266. lightning_sdk/lightning_cloud/openapi/models/litpages_id_body.py +331 -0
  267. lightning_sdk/lightning_cloud/openapi/models/litregistry_lit_repo_name_body.py +123 -0
  268. lightning_sdk/lightning_cloud/openapi/models/loggermetrics_id_body.py +123 -0
  269. lightning_sdk/lightning_cloud/openapi/models/message_id_actions_body.py +201 -0
  270. lightning_sdk/lightning_cloud/openapi/models/messages_id_body.py +123 -0
  271. lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +123 -0
  272. lightning_sdk/lightning_cloud/openapi/models/metrics_stream_id_loggerartifacts_body.py +123 -0
  273. lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +461 -0
  274. lightning_sdk/lightning_cloud/openapi/models/metricsstream_delete_body.py +123 -0
  275. lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +201 -0
  276. lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +175 -0
  277. lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +149 -0
  278. lightning_sdk/lightning_cloud/openapi/models/models_id_body.py +123 -0
  279. lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +227 -0
  280. lightning_sdk/lightning_cloud/openapi/models/models_model_id_body1.py +149 -0
  281. lightning_sdk/lightning_cloud/openapi/models/multimachinejobs_id_body.py +123 -0
  282. lightning_sdk/lightning_cloud/openapi/models/multipartuploads_upload_id_body.py +123 -0
  283. lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +201 -0
  284. lightning_sdk/lightning_cloud/openapi/models/org_id_roles_body.py +175 -0
  285. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +1111 -0
  286. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +539 -0
  287. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body1.py +123 -0
  288. lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
  289. lightning_sdk/lightning_cloud/openapi/models/profiler_captures_body.py +279 -0
  290. lightning_sdk/lightning_cloud/openapi/models/profiler_enabled_body.py +149 -0
  291. lightning_sdk/lightning_cloud/openapi/models/project_id_agentmanagedendpoints_body.py +149 -0
  292. lightning_sdk/lightning_cloud/openapi/models/project_id_agents_body.py +539 -0
  293. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +565 -0
  294. lightning_sdk/lightning_cloud/openapi/models/project_id_clusters_body.py +149 -0
  295. lightning_sdk/lightning_cloud/openapi/models/project_id_datasets_body.py +513 -0
  296. lightning_sdk/lightning_cloud/openapi/models/project_id_endpoints_body.py +253 -0
  297. lightning_sdk/lightning_cloud/openapi/models/project_id_getapp_body.py +253 -0
  298. lightning_sdk/lightning_cloud/openapi/models/project_id_invite_body.py +175 -0
  299. lightning_sdk/lightning_cloud/openapi/models/project_id_jobs_body.py +175 -0
  300. lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
  301. lightning_sdk/lightning_cloud/openapi/models/project_id_litregistry_body.py +125 -0
  302. lightning_sdk/lightning_cloud/openapi/models/project_id_memberships_body.py +201 -0
  303. lightning_sdk/lightning_cloud/openapi/models/project_id_models_body.py +227 -0
  304. lightning_sdk/lightning_cloud/openapi/models/project_id_multimachinejobs_body.py +227 -0
  305. lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +253 -0
  306. lightning_sdk/lightning_cloud/openapi/models/project_id_projectclustersbindings_body.py +149 -0
  307. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +331 -0
  308. lightning_sdk/lightning_cloud/openapi/models/project_id_secrets_body.py +175 -0
  309. lightning_sdk/lightning_cloud/openapi/models/project_id_snowflake_body.py +123 -0
  310. lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +201 -0
  311. lightning_sdk/lightning_cloud/openapi/models/project_id_storagetransfers_body.py +175 -0
  312. lightning_sdk/lightning_cloud/openapi/models/project_tab_management_messages.py +123 -0
  313. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +799 -0
  314. lightning_sdk/lightning_cloud/openapi/models/projects_project_id_body.py +175 -0
  315. lightning_sdk/lightning_cloud/openapi/models/protobuf_any.py +153 -0
  316. lightning_sdk/lightning_cloud/openapi/models/protobuf_null_value.py +102 -0
  317. lightning_sdk/lightning_cloud/openapi/models/query_query_id_body.py +175 -0
  318. lightning_sdk/lightning_cloud/openapi/models/rpc_status.py +181 -0
  319. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +513 -0
  320. lightning_sdk/lightning_cloud/openapi/models/secrets_id_body.py +123 -0
  321. lightning_sdk/lightning_cloud/openapi/models/secrets_id_body1.py +123 -0
  322. lightning_sdk/lightning_cloud/openapi/models/server_id_alerts_body.py +201 -0
  323. lightning_sdk/lightning_cloud/openapi/models/servers_server_id_body.py +123 -0
  324. lightning_sdk/lightning_cloud/openapi/models/service_health_service_status.py +104 -0
  325. lightning_sdk/lightning_cloud/openapi/models/setup.py +149 -0
  326. lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +411 -0
  327. lightning_sdk/lightning_cloud/openapi/models/snowflake_export_body.py +305 -0
  328. lightning_sdk/lightning_cloud/openapi/models/snowflake_query_body.py +175 -0
  329. lightning_sdk/lightning_cloud/openapi/models/spec_lightningapp_instance_id_works_body.py +175 -0
  330. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +253 -0
  331. lightning_sdk/lightning_cloud/openapi/models/storagetransfers_validate_body.py +149 -0
  332. lightning_sdk/lightning_cloud/openapi/models/stream_result_of_v1_conversation_response_chunk.py +149 -0
  333. lightning_sdk/lightning_cloud/openapi/models/stream_result_of_v1_get_long_running_command_in_cloud_space_response.py +149 -0
  334. lightning_sdk/lightning_cloud/openapi/models/studioapp_jobs_body.py +279 -0
  335. lightning_sdk/lightning_cloud/openapi/models/update.py +435 -0
  336. lightning_sdk/lightning_cloud/openapi/models/update1.py +383 -0
  337. lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body.py +149 -0
  338. lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
  339. lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body.py +149 -0
  340. lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
  341. lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body.py +149 -0
  342. lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +201 -0
  343. lightning_sdk/lightning_cloud/openapi/models/usagerestrictions_id_body.py +201 -0
  344. lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +253 -0
  345. lightning_sdk/lightning_cloud/openapi/models/user_id_membershiprolebindings_body.py +123 -0
  346. lightning_sdk/lightning_cloud/openapi/models/user_id_membershiprolebindings_body1.py +123 -0
  347. lightning_sdk/lightning_cloud/openapi/models/user_id_upgradetrigger_body.py +201 -0
  348. lightning_sdk/lightning_cloud/openapi/models/user_user_id_body.py +201 -0
  349. lightning_sdk/lightning_cloud/openapi/models/v1_abort_storage_transfer_response.py +97 -0
  350. lightning_sdk/lightning_cloud/openapi/models/v1_accelerator_quota_info.py +201 -0
  351. lightning_sdk/lightning_cloud/openapi/models/v1_ack_user_storage_violation_response.py +97 -0
  352. lightning_sdk/lightning_cloud/openapi/models/v1_add_job_timing_response.py +97 -0
  353. lightning_sdk/lightning_cloud/openapi/models/v1_affiliate_link.py +435 -0
  354. lightning_sdk/lightning_cloud/openapi/models/v1_agent_complete_part_response.py +123 -0
  355. lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +879 -0
  356. lightning_sdk/lightning_cloud/openapi/models/v1_agent_job_artifact.py +201 -0
  357. lightning_sdk/lightning_cloud/openapi/models/v1_agent_upload_multipart_url.py +149 -0
  358. lightning_sdk/lightning_cloud/openapi/models/v1_agent_upload_part_response.py +149 -0
  359. lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
  360. lightning_sdk/lightning_cloud/openapi/models/v1_ai_pod_v1.py +175 -0
  361. lightning_sdk/lightning_cloud/openapi/models/v1_alert_method.py +102 -0
  362. lightning_sdk/lightning_cloud/openapi/models/v1_alerts_config.py +149 -0
  363. lightning_sdk/lightning_cloud/openapi/models/v1_api_pricing_spec.py +149 -0
  364. lightning_sdk/lightning_cloud/openapi/models/v1_app_type.py +104 -0
  365. lightning_sdk/lightning_cloud/openapi/models/v1_append_logger_metrics_response.py +97 -0
  366. lightning_sdk/lightning_cloud/openapi/models/v1_approve_auto_join_domain_response.py +123 -0
  367. lightning_sdk/lightning_cloud/openapi/models/v1_artifact.py +253 -0
  368. lightning_sdk/lightning_cloud/openapi/models/v1_assign_variant_response.py +97 -0
  369. lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +773 -0
  370. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_item_status.py +253 -0
  371. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_status.py +123 -0
  372. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +110 -0
  373. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_session_daily_aggregated.py +383 -0
  374. lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
  375. lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_domain_validation.py +175 -0
  376. lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_org_response.py +149 -0
  377. lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_spec.py +305 -0
  378. lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +149 -0
  379. lightning_sdk/lightning_cloud/openapi/models/v1_aws_cluster_credentials.py +175 -0
  380. lightning_sdk/lightning_cloud/openapi/models/v1_aws_data_connection.py +357 -0
  381. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +463 -0
  382. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1_status.py +175 -0
  383. lightning_sdk/lightning_cloud/openapi/models/v1_batch_update_lightningwork_response.py +97 -0
  384. lightning_sdk/lightning_cloud/openapi/models/v1_billing_feature.py +227 -0
  385. lightning_sdk/lightning_cloud/openapi/models/v1_billing_period.py +103 -0
  386. lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +383 -0
  387. lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +106 -0
  388. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +435 -0
  389. lightning_sdk/lightning_cloud/openapi/models/v1_body.py +123 -0
  390. lightning_sdk/lightning_cloud/openapi/models/v1_build_spec.py +205 -0
  391. lightning_sdk/lightning_cloud/openapi/models/v1_cancel_cloud_space_instance_switch_response.py +97 -0
  392. lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
  393. lightning_sdk/lightning_cloud/openapi/models/v1_cancellation_metadata.py +149 -0
  394. lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +409 -0
  395. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
  396. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
  397. lightning_sdk/lightning_cloud/openapi/models/v1_check_external_service_status_response.py +123 -0
  398. lightning_sdk/lightning_cloud/openapi/models/v1_check_snowflake_connection_response.py +123 -0
  399. lightning_sdk/lightning_cloud/openapi/models/v1_checkbox.py +201 -0
  400. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +117 -0
  401. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +1631 -0
  402. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app.py +643 -0
  403. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_action.py +149 -0
  404. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_action_type.py +103 -0
  405. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_app_owner_type.py +105 -0
  406. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event.py +149 -0
  407. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event_type.py +103 -0
  408. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version.py +383 -0
  409. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version_status.py +105 -0
  410. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics.py +669 -0
  411. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics_stats.py +357 -0
  412. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_engagement_response.py +97 -0
  413. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +149 -0
  414. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +409 -0
  415. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +331 -0
  416. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +105 -0
  417. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_collab_status.py +201 -0
  418. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_config.py +253 -0
  419. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_startup_status.py +227 -0
  420. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_state.py +109 -0
  421. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_project_response.py +149 -0
  422. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_publication.py +149 -0
  423. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_publication_type.py +104 -0
  424. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_seed_file.py +149 -0
  425. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +201 -0
  426. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_source_type.py +103 -0
  427. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +105 -0
  428. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +106 -0
  429. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +331 -0
  430. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version.py +669 -0
  431. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version_publication.py +201 -0
  432. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +227 -0
  433. lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_expert.py +279 -0
  434. lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_settings.py +227 -0
  435. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +1501 -0
  436. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_availability.py +227 -0
  437. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +539 -0
  438. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +175 -0
  439. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_encryption_key.py +227 -0
  440. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_metrics.py +1527 -0
  441. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_names.py +123 -0
  442. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_proxy.py +201 -0
  443. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_resource_tag.py +149 -0
  444. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +565 -0
  445. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +1061 -0
  446. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_state.py +109 -0
  447. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +413 -0
  448. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +227 -0
  449. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +107 -0
  450. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_upload.py +149 -0
  451. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_usage_restriction.py +227 -0
  452. lightning_sdk/lightning_cloud/openapi/models/v1_collab_action.py +110 -0
  453. lightning_sdk/lightning_cloud/openapi/models/v1_collab_session.py +227 -0
  454. lightning_sdk/lightning_cloud/openapi/models/v1_complete_agent_multipart_upload.py +149 -0
  455. lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
  456. lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
  457. lightning_sdk/lightning_cloud/openapi/models/v1_complete_model_upload_response.py +97 -0
  458. lightning_sdk/lightning_cloud/openapi/models/v1_complete_multi_part_upload_response.py +97 -0
  459. lightning_sdk/lightning_cloud/openapi/models/v1_complete_onboarding_response.py +97 -0
  460. lightning_sdk/lightning_cloud/openapi/models/v1_complete_running_cloud_space_instance_transfer_response.py +97 -0
  461. lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload.py +149 -0
  462. lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload_project_artifact_response.py +97 -0
  463. lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload_temporary_artifact_request.py +175 -0
  464. lightning_sdk/lightning_cloud/openapi/models/v1_completed_part.py +149 -0
  465. lightning_sdk/lightning_cloud/openapi/models/v1_compute_config.py +257 -0
  466. lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_reason.py +102 -0
  467. lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_response.py +97 -0
  468. lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
  469. lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +357 -0
  470. lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +331 -0
  471. lightning_sdk/lightning_cloud/openapi/models/v1_count_metrics_streams_response.py +123 -0
  472. lightning_sdk/lightning_cloud/openapi/models/v1_cpu_system_metrics.py +331 -0
  473. lightning_sdk/lightning_cloud/openapi/models/v1_create_agent_multipart_upload_response.py +123 -0
  474. lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_portal_session_request.py +175 -0
  475. lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_portal_session_response.py +123 -0
  476. lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_upgrade_trigger_record_response.py +97 -0
  477. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +305 -0
  478. lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +331 -0
  479. lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_response.py +123 -0
  480. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_app_instance_response.py +149 -0
  481. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +409 -0
  482. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_instance_metric_response.py +97 -0
  483. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_capacity_reservation_response.py +201 -0
  484. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_encryption_keys_request.py +123 -0
  485. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_encryption_keys_response.py +123 -0
  486. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_request.py +201 -0
  487. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_response.py +227 -0
  488. lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +539 -0
  489. lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +565 -0
  490. lightning_sdk/lightning_cloud/openapi/models/v1_create_git_credentials_request.py +175 -0
  491. lightning_sdk/lightning_cloud/openapi/models/v1_create_incident_request.py +305 -0
  492. lightning_sdk/lightning_cloud/openapi/models/v1_create_job_request.py +201 -0
  493. lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
  494. lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
  495. lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_page_request.py +305 -0
  496. lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_page_response.py +123 -0
  497. lightning_sdk/lightning_cloud/openapi/models/v1_create_machine_response.py +123 -0
  498. lightning_sdk/lightning_cloud/openapi/models/v1_create_managed_endpoint_response.py +149 -0
  499. lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
  500. lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_machine_job_request.py +253 -0
  501. lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_part_upload_response.py +123 -0
  502. lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +513 -0
  503. lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
  504. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +461 -0
  505. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
  506. lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
  507. lightning_sdk/lightning_cloud/openapi/models/v1_create_server_alert_response.py +97 -0
  508. lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_request.py +201 -0
  509. lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_response.py +123 -0
  510. lightning_sdk/lightning_cloud/openapi/models/v1_create_snowflake_connection_response.py +123 -0
  511. lightning_sdk/lightning_cloud/openapi/models/v1_create_ssh_public_key_request.py +175 -0
  512. lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_request.py +305 -0
  513. lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_response.py +123 -0
  514. lightning_sdk/lightning_cloud/openapi/models/v1_create_user_secret_request.py +149 -0
  515. lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
  516. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +227 -0
  517. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +955 -0
  518. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_artifact.py +227 -0
  519. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_mount.py +227 -0
  520. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_state.py +106 -0
  521. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_tier.py +103 -0
  522. lightning_sdk/lightning_cloud/openapi/models/v1_data_path.py +201 -0
  523. lightning_sdk/lightning_cloud/openapi/models/v1_dataset.py +617 -0
  524. lightning_sdk/lightning_cloud/openapi/models/v1_dataset_type.py +103 -0
  525. lightning_sdk/lightning_cloud/openapi/models/v1_delete_affiliate_link_response.py +97 -0
  526. lightning_sdk/lightning_cloud/openapi/models/v1_delete_assistant_response.py +97 -0
  527. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  528. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_app_response.py +97 -0
  529. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_environment_template_response.py +97 -0
  530. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_response.py +97 -0
  531. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_session_response.py +97 -0
  532. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_version_publication_response.py +97 -0
  533. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_version_response.py +97 -0
  534. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_capacity_reservation_response.py +97 -0
  535. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_encryption_key_response.py +97 -0
  536. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_proxy_response.py +97 -0
  537. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_response.py +97 -0
  538. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_usage_restriction_response.py +97 -0
  539. lightning_sdk/lightning_cloud/openapi/models/v1_delete_conversation_response.py +97 -0
  540. lightning_sdk/lightning_cloud/openapi/models/v1_delete_data_connection_response.py +97 -0
  541. lightning_sdk/lightning_cloud/openapi/models/v1_delete_dataset_response.py +97 -0
  542. lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_alerting_policy_response.py +175 -0
  543. lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_release_response.py +97 -0
  544. lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_response.py +97 -0
  545. lightning_sdk/lightning_cloud/openapi/models/v1_delete_endpoint_response.py +97 -0
  546. lightning_sdk/lightning_cloud/openapi/models/v1_delete_git_credentials_response.py +97 -0
  547. lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
  548. lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
  549. lightning_sdk/lightning_cloud/openapi/models/v1_delete_index_response.py +97 -0
  550. lightning_sdk/lightning_cloud/openapi/models/v1_delete_job_response.py +97 -0
  551. lightning_sdk/lightning_cloud/openapi/models/v1_delete_kubernetes_template_response.py +97 -0
  552. lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
  553. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightning_run_response.py +97 -0
  554. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightningapp_instance_artifact_response.py +97 -0
  555. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightningapp_instance_response.py +97 -0
  556. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lightningwork_response.py +97 -0
  557. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
  558. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
  559. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_page_response.py +97 -0
  560. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
  561. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_repository_response.py +97 -0
  562. lightning_sdk/lightning_cloud/openapi/models/v1_delete_logger_artifact_response.py +97 -0
  563. lightning_sdk/lightning_cloud/openapi/models/v1_delete_machine_response.py +97 -0
  564. lightning_sdk/lightning_cloud/openapi/models/v1_delete_managed_endpoint_response.py +97 -0
  565. lightning_sdk/lightning_cloud/openapi/models/v1_delete_metrics_stream_response.py +97 -0
  566. lightning_sdk/lightning_cloud/openapi/models/v1_delete_model_response.py +97 -0
  567. lightning_sdk/lightning_cloud/openapi/models/v1_delete_model_version_response.py +97 -0
  568. lightning_sdk/lightning_cloud/openapi/models/v1_delete_multi_machine_job_response.py +97 -0
  569. lightning_sdk/lightning_cloud/openapi/models/v1_delete_org_membership_response.py +97 -0
  570. lightning_sdk/lightning_cloud/openapi/models/v1_delete_org_membership_role_binding_response.py +97 -0
  571. lightning_sdk/lightning_cloud/openapi/models/v1_delete_org_role_response.py +97 -0
  572. lightning_sdk/lightning_cloud/openapi/models/v1_delete_organization_response.py +97 -0
  573. lightning_sdk/lightning_cloud/openapi/models/v1_delete_pipeline_response.py +149 -0
  574. lightning_sdk/lightning_cloud/openapi/models/v1_delete_profiler_capture_response.py +97 -0
  575. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_artifact_response.py +97 -0
  576. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_cluster_binding_response.py +97 -0
  577. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_cluster_response.py +97 -0
  578. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_membership_response.py +97 -0
  579. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_membership_role_binding_response.py +97 -0
  580. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_response.py +97 -0
  581. lightning_sdk/lightning_cloud/openapi/models/v1_delete_project_role_response.py +97 -0
  582. lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
  583. lightning_sdk/lightning_cloud/openapi/models/v1_delete_secret_response.py +97 -0
  584. lightning_sdk/lightning_cloud/openapi/models/v1_delete_shared_metrics_stream_response.py +97 -0
  585. lightning_sdk/lightning_cloud/openapi/models/v1_delete_ssh_public_key_response.py +97 -0
  586. lightning_sdk/lightning_cloud/openapi/models/v1_delete_studio_job_response.py +97 -0
  587. lightning_sdk/lightning_cloud/openapi/models/v1_delete_user_slurm_job_response.py +97 -0
  588. lightning_sdk/lightning_cloud/openapi/models/v1_dependency_cache_state.py +104 -0
  589. lightning_sdk/lightning_cloud/openapi/models/v1_dependency_file_info.py +149 -0
  590. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +929 -0
  591. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_event.py +487 -0
  592. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy.py +409 -0
  593. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_frequency.py +105 -0
  594. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_operation.py +105 -0
  595. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_severity.py +106 -0
  596. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +112 -0
  597. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_recipients.py +175 -0
  598. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +331 -0
  599. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_details.py +175 -0
  600. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +357 -0
  601. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event_type.py +104 -0
  602. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_metrics.py +149 -0
  603. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_performance.py +305 -0
  604. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_release.py +331 -0
  605. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py +201 -0
  606. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +108 -0
  607. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +305 -0
  608. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_strategy.py +149 -0
  609. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +773 -0
  610. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_engagement_response.py +97 -0
  611. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_gallery_response.py +591 -0
  612. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +435 -0
  613. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_placement.py +106 -0
  614. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py +106 -0
  615. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_summary.py +591 -0
  616. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_type.py +105 -0
  617. lightning_sdk/lightning_cloud/openapi/models/v1_download_job_logs_response.py +123 -0
  618. lightning_sdk/lightning_cloud/openapi/models/v1_download_lightningapp_instance_logs_response.py +123 -0
  619. lightning_sdk/lightning_cloud/openapi/models/v1_drive.py +175 -0
  620. lightning_sdk/lightning_cloud/openapi/models/v1_drive_spec.py +201 -0
  621. lightning_sdk/lightning_cloud/openapi/models/v1_drive_state.py +107 -0
  622. lightning_sdk/lightning_cloud/openapi/models/v1_drive_state_reason.py +104 -0
  623. lightning_sdk/lightning_cloud/openapi/models/v1_drive_status.py +227 -0
  624. lightning_sdk/lightning_cloud/openapi/models/v1_drive_type.py +104 -0
  625. lightning_sdk/lightning_cloud/openapi/models/v1_drive_type_spec.py +97 -0
  626. lightning_sdk/lightning_cloud/openapi/models/v1_drive_type_status.py +97 -0
  627. lightning_sdk/lightning_cloud/openapi/models/v1_efs_config.py +201 -0
  628. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +513 -0
  629. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_auth.py +227 -0
  630. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_prewarm.py +253 -0
  631. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_type.py +104 -0
  632. lightning_sdk/lightning_cloud/openapi/models/v1_env_var.py +175 -0
  633. lightning_sdk/lightning_cloud/openapi/models/v1_execute_cloud_space_command_response.py +175 -0
  634. lightning_sdk/lightning_cloud/openapi/models/v1_execute_in_cloud_space_session_response.py +97 -0
  635. lightning_sdk/lightning_cloud/openapi/models/v1_execute_snowflake_query_response.py +149 -0
  636. lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +409 -0
  637. lightning_sdk/lightning_cloud/openapi/models/v1_export_snowflake_query_response.py +123 -0
  638. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
  639. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +931 -0
  640. lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +331 -0
  641. lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +253 -0
  642. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_app.py +227 -0
  643. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_cloud_space.py +149 -0
  644. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_dataset.py +123 -0
  645. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +227 -0
  646. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metric.py +201 -0
  647. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
  648. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_mmt.py +227 -0
  649. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_slurm_job.py +149 -0
  650. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_snowflake_connection.py +123 -0
  651. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_work.py +149 -0
  652. lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +149 -0
  653. lightning_sdk/lightning_cloud/openapi/models/v1_firewall_rule.py +175 -0
  654. lightning_sdk/lightning_cloud/openapi/models/v1_flowserver.py +149 -0
  655. lightning_sdk/lightning_cloud/openapi/models/v1_folder_index_status.py +106 -0
  656. lightning_sdk/lightning_cloud/openapi/models/v1_function_call.py +149 -0
  657. lightning_sdk/lightning_cloud/openapi/models/v1_function_tool.py +175 -0
  658. lightning_sdk/lightning_cloud/openapi/models/v1_gallery_app.py +877 -0
  659. lightning_sdk/lightning_cloud/openapi/models/v1_gallery_component.py +851 -0
  660. lightning_sdk/lightning_cloud/openapi/models/v1_gcp_data_connection.py +123 -0
  661. lightning_sdk/lightning_cloud/openapi/models/v1_gcp_data_connection_setup.py +123 -0
  662. lightning_sdk/lightning_cloud/openapi/models/v1_gcp_direct_vpc.py +149 -0
  663. lightning_sdk/lightning_cloud/openapi/models/v1_gcs_folder_data_connection.py +123 -0
  664. lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +123 -0
  665. lightning_sdk/lightning_cloud/openapi/models/v1_generate_ssh_key_pair_request.py +123 -0
  666. lightning_sdk/lightning_cloud/openapi/models/v1_get_affiliate_link_response.py +123 -0
  667. lightning_sdk/lightning_cloud/openapi/models/v1_get_agent_job_env_response.py +149 -0
  668. lightning_sdk/lightning_cloud/openapi/models/v1_get_agent_job_logs_metadata_response.py +175 -0
  669. lightning_sdk/lightning_cloud/openapi/models/v1_get_artifacts_page_response.py +149 -0
  670. lightning_sdk/lightning_cloud/openapi/models/v1_get_assistant_session_daily_aggregated_response.py +201 -0
  671. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_cold_start_metrics_stats_response.py +123 -0
  672. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_open_ports_response.py +123 -0
  673. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_status_response.py +201 -0
  674. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_system_metrics_aggregate_response.py +123 -0
  675. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
  676. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +227 -0
  677. lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
  678. lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_accelerator_demand_response.py +123 -0
  679. lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_credentials_response.py +123 -0
  680. lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_health_response.py +149 -0
  681. lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_aggregated_response.py +123 -0
  682. lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_content_response.py +123 -0
  683. lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_response.py +123 -0
  684. lightning_sdk/lightning_cloud/openapi/models/v1_get_folder_index_response.py +331 -0
  685. lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +253 -0
  686. lightning_sdk/lightning_cloud/openapi/models/v1_get_job_system_metrics_response.py +123 -0
  687. lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
  688. lightning_sdk/lightning_cloud/openapi/models/v1_get_lightning_run_source_code_download_url_response.py +123 -0
  689. lightning_sdk/lightning_cloud/openapi/models/v1_get_lightningapp_instance_open_ports_response.py +123 -0
  690. lightning_sdk/lightning_cloud/openapi/models/v1_get_lightningapp_instance_system_metrics_response.py +123 -0
  691. lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_file_upload_urls_response.py +123 -0
  692. lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
  693. lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_page_response.py +123 -0
  694. lightning_sdk/lightning_cloud/openapi/models/v1_get_logger_metrics_response.py +123 -0
  695. lightning_sdk/lightning_cloud/openapi/models/v1_get_long_running_command_in_cloud_space_response.py +149 -0
  696. lightning_sdk/lightning_cloud/openapi/models/v1_get_machine_response.py +123 -0
  697. lightning_sdk/lightning_cloud/openapi/models/v1_get_market_pricing_response.py +201 -0
  698. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_upload_urls_response.py +123 -0
  699. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_url_response.py +175 -0
  700. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +279 -0
  701. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_url_response.py +149 -0
  702. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
  703. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +487 -0
  704. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_artifact_response.py +123 -0
  705. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +201 -0
  706. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_compute_usage_response.py +175 -0
  707. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +643 -0
  708. lightning_sdk/lightning_cloud/openapi/models/v1_get_settings_response.py +227 -0
  709. lightning_sdk/lightning_cloud/openapi/models/v1_get_snowflake_query_response.py +149 -0
  710. lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +201 -0
  711. lightning_sdk/lightning_cloud/openapi/models/v1_get_usage_details_response.py +123 -0
  712. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_balance_response.py +201 -0
  713. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_notification_preferences_response.py +123 -0
  714. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +1189 -0
  715. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +383 -0
  716. lightning_sdk/lightning_cloud/openapi/models/v1_get_volume_response.py +123 -0
  717. lightning_sdk/lightning_cloud/openapi/models/v1_git_credentials.py +227 -0
  718. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +545 -0
  719. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1_status.py +123 -0
  720. lightning_sdk/lightning_cloud/openapi/models/v1_gpu_system_metrics.py +253 -0
  721. lightning_sdk/lightning_cloud/openapi/models/v1_group_node_metrics.py +1215 -0
  722. lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
  723. lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
  724. lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
  725. lightning_sdk/lightning_cloud/openapi/models/v1_guest_user.py +201 -0
  726. lightning_sdk/lightning_cloud/openapi/models/v1_header.py +175 -0
  727. lightning_sdk/lightning_cloud/openapi/models/v1_health_check_exec.py +123 -0
  728. lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +149 -0
  729. lightning_sdk/lightning_cloud/openapi/models/v1_ids_logger_metrics.py +123 -0
  730. lightning_sdk/lightning_cloud/openapi/models/v1_image_spec.py +289 -0
  731. lightning_sdk/lightning_cloud/openapi/models/v1_image_state.py +105 -0
  732. lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
  733. lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
  734. lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +591 -0
  735. lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
  736. lightning_sdk/lightning_cloud/openapi/models/v1_incident_severity.py +105 -0
  737. lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +108 -0
  738. lightning_sdk/lightning_cloud/openapi/models/v1_index.py +149 -0
  739. lightning_sdk/lightning_cloud/openapi/models/v1_input.py +175 -0
  740. lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +281 -0
  741. lightning_sdk/lightning_cloud/openapi/models/v1_interrupt_server_response.py +97 -0
  742. lightning_sdk/lightning_cloud/openapi/models/v1_invalidate_cloud_space_instance_code_settings_response.py +97 -0
  743. lightning_sdk/lightning_cloud/openapi/models/v1_invite_project_membership_response.py +123 -0
  744. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +957 -0
  745. lightning_sdk/lightning_cloud/openapi/models/v1_job_action.py +103 -0
  746. lightning_sdk/lightning_cloud/openapi/models/v1_job_artifacts_type.py +103 -0
  747. lightning_sdk/lightning_cloud/openapi/models/v1_job_file.py +227 -0
  748. lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +253 -0
  749. lightning_sdk/lightning_cloud/openapi/models/v1_job_log_entry.py +175 -0
  750. lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_page.py +227 -0
  751. lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_response.py +149 -0
  752. lightning_sdk/lightning_cloud/openapi/models/v1_job_resource.py +279 -0
  753. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +877 -0
  754. lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +227 -0
  755. lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +109 -0
  756. lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +331 -0
  757. lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_indexes.py +149 -0
  758. lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
  759. lightning_sdk/lightning_cloud/openapi/models/v1_keep_alive_cloud_space_instance_response.py +97 -0
  760. lightning_sdk/lightning_cloud/openapi/models/v1_knowledge_configuration.py +279 -0
  761. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_aws_config.py +279 -0
  762. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +253 -0
  763. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +357 -0
  764. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1_status.py +149 -0
  765. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template.py +357 -0
  766. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template_property.py +227 -0
  767. lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +203 -0
  768. lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
  769. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_app_user.py +149 -0
  770. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_auth.py +149 -0
  771. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_basic_auth.py +149 -0
  772. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_elastic_cluster_v1.py +97 -0
  773. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_o_auth_auth.py +149 -0
  774. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +827 -0
  775. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_artifact.py +253 -0
  776. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_event.py +279 -0
  777. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_spec.py +957 -0
  778. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_state.py +110 -0
  779. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_status.py +487 -0
  780. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_restart_policy.py +104 -0
  781. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_cost.py +175 -0
  782. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_drives.py +149 -0
  783. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_event.py +253 -0
  784. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_spec.py +513 -0
  785. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_state.py +109 -0
  786. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py +435 -0
  787. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status_reason.py +107 -0
  788. lightning_sdk/lightning_cloud/openapi/models/v1_like_status.py +104 -0
  789. lightning_sdk/lightning_cloud/openapi/models/v1_list_affiliate_links_response.py +123 -0
  790. lightning_sdk/lightning_cloud/openapi/models/v1_list_agent_job_artifacts_response.py +175 -0
  791. lightning_sdk/lightning_cloud/openapi/models/v1_list_agent_jobs_response.py +123 -0
  792. lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +123 -0
  793. lightning_sdk/lightning_cloud/openapi/models/v1_list_assistants_response.py +123 -0
  794. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  795. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_apps_response.py +123 -0
  796. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_cold_start_metrics_response.py +123 -0
  797. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
  798. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_instances_response.py +201 -0
  799. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_publications_response.py +123 -0
  800. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_python_versions_response.py +123 -0
  801. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_sessions_response.py +123 -0
  802. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_tags_response.py +123 -0
  803. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_version_publications_response.py +123 -0
  804. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_versions_response.py +123 -0
  805. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_spaces_response.py +175 -0
  806. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloudy_experts_response.py +123 -0
  807. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_accelerators_response.py +123 -0
  808. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_availabilities_response.py +123 -0
  809. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_capacity_reservations_response.py +123 -0
  810. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metric_timestamps_response.py +123 -0
  811. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metrics_response.py +123 -0
  812. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_metrics_response.py +123 -0
  813. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_user_metrics_response.py +123 -0
  814. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_proxies_response.py +123 -0
  815. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_usage_restrictions_response.py +123 -0
  816. lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +149 -0
  817. lightning_sdk/lightning_cloud/openapi/models/v1_list_container_metrics_response.py +123 -0
  818. lightning_sdk/lightning_cloud/openapi/models/v1_list_conversation_message_actions_response.py +123 -0
  819. lightning_sdk/lightning_cloud/openapi/models/v1_list_conversations_response.py +175 -0
  820. lightning_sdk/lightning_cloud/openapi/models/v1_list_data_connection_artifacts_response.py +175 -0
  821. lightning_sdk/lightning_cloud/openapi/models/v1_list_data_connections_response.py +123 -0
  822. lightning_sdk/lightning_cloud/openapi/models/v1_list_datasets_response.py +123 -0
  823. lightning_sdk/lightning_cloud/openapi/models/v1_list_default_cluster_accelerators_response.py +123 -0
  824. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_events_response.py +123 -0
  825. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_policies_response.py +175 -0
  826. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_events_response.py +123 -0
  827. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_releases_response.py +123 -0
  828. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_tags_response.py +123 -0
  829. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_templates_response.py +175 -0
  830. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployments_response.py +123 -0
  831. lightning_sdk/lightning_cloud/openapi/models/v1_list_endpoints_response.py +123 -0
  832. lightning_sdk/lightning_cloud/openapi/models/v1_list_experiments_response.py +149 -0
  833. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_apps_response.py +123 -0
  834. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_cloud_spaces_response.py +123 -0
  835. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_datasets_response.py +123 -0
  836. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_jobs_response.py +123 -0
  837. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_metrics_response.py +123 -0
  838. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_mm_ts_response.py +123 -0
  839. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_slurm_jobs_response.py +123 -0
  840. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_snowflake_response.py +123 -0
  841. lightning_sdk/lightning_cloud/openapi/models/v1_list_gallery_components_response.py +123 -0
  842. lightning_sdk/lightning_cloud/openapi/models/v1_list_gallery_lightningapps_response.py +123 -0
  843. lightning_sdk/lightning_cloud/openapi/models/v1_list_git_credentials_response.py +123 -0
  844. lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
  845. lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_events_response.py +123 -0
  846. lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
  847. lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
  848. lightning_sdk/lightning_cloud/openapi/models/v1_list_job_files_response.py +201 -0
  849. lightning_sdk/lightning_cloud/openapi/models/v1_list_job_resources_response.py +123 -0
  850. lightning_sdk/lightning_cloud/openapi/models/v1_list_jobs_response.py +175 -0
  851. lightning_sdk/lightning_cloud/openapi/models/v1_list_joinable_organizations_response.py +123 -0
  852. lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
  853. lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_templates_response.py +123 -0
  854. lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py +123 -0
  855. lightning_sdk/lightning_cloud/openapi/models/v1_list_lightning_run_response.py +123 -0
  856. lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningapp_instance_artifacts_response.py +175 -0
  857. lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningapp_instance_events_response.py +123 -0
  858. lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningapp_instances_response.py +175 -0
  859. lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningwork_events_response.py +123 -0
  860. lightning_sdk/lightning_cloud/openapi/models/v1_list_lightningwork_response.py +123 -0
  861. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
  862. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
  863. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_pages_response.py +123 -0
  864. lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_registry_repository_image_artifact_versions_response.py +257 -0
  865. lightning_sdk/lightning_cloud/openapi/models/v1_list_logger_artifact_response.py +123 -0
  866. lightning_sdk/lightning_cloud/openapi/models/v1_list_machines_response.py +149 -0
  867. lightning_sdk/lightning_cloud/openapi/models/v1_list_managed_endpoints_response.py +123 -0
  868. lightning_sdk/lightning_cloud/openapi/models/v1_list_memberships_response.py +123 -0
  869. lightning_sdk/lightning_cloud/openapi/models/v1_list_metrics_streams_response.py +123 -0
  870. lightning_sdk/lightning_cloud/openapi/models/v1_list_model_versions_response.py +123 -0
  871. lightning_sdk/lightning_cloud/openapi/models/v1_list_models_response.py +123 -0
  872. lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_job_events_response.py +123 -0
  873. lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_jobs_response.py +123 -0
  874. lightning_sdk/lightning_cloud/openapi/models/v1_list_node_file_system_metrics_response.py +97 -0
  875. lightning_sdk/lightning_cloud/openapi/models/v1_list_node_metrics_response.py +123 -0
  876. lightning_sdk/lightning_cloud/openapi/models/v1_list_notification_dialogs_response.py +149 -0
  877. lightning_sdk/lightning_cloud/openapi/models/v1_list_org_members_response.py +123 -0
  878. lightning_sdk/lightning_cloud/openapi/models/v1_list_org_membership_role_binding_response.py +123 -0
  879. lightning_sdk/lightning_cloud/openapi/models/v1_list_org_memberships_response.py +123 -0
  880. lightning_sdk/lightning_cloud/openapi/models/v1_list_org_roles_response.py +123 -0
  881. lightning_sdk/lightning_cloud/openapi/models/v1_list_organization_cluster_encryption_keys_response.py +123 -0
  882. lightning_sdk/lightning_cloud/openapi/models/v1_list_organizations_response.py +123 -0
  883. lightning_sdk/lightning_cloud/openapi/models/v1_list_pipelines_response.py +123 -0
  884. lightning_sdk/lightning_cloud/openapi/models/v1_list_platform_notifications_response.py +123 -0
  885. lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
  886. lightning_sdk/lightning_cloud/openapi/models/v1_list_profiler_captures_response.py +123 -0
  887. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_artifacts_response.py +175 -0
  888. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_cluster_accelerators_response.py +123 -0
  889. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_cluster_bindings_response.py +123 -0
  890. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +123 -0
  891. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_locked_resources_response.py +123 -0
  892. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_membership_role_binding_response.py +123 -0
  893. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_memberships_response.py +123 -0
  894. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_roles_response.py +123 -0
  895. lightning_sdk/lightning_cloud/openapi/models/v1_list_published_cloud_spaces_response.py +175 -0
  896. lightning_sdk/lightning_cloud/openapi/models/v1_list_published_deployment_templates_response.py +175 -0
  897. lightning_sdk/lightning_cloud/openapi/models/v1_list_published_managed_endpoints_response.py +123 -0
  898. lightning_sdk/lightning_cloud/openapi/models/v1_list_quests_response.py +123 -0
  899. lightning_sdk/lightning_cloud/openapi/models/v1_list_schedule_runs_response.py +123 -0
  900. lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
  901. lightning_sdk/lightning_cloud/openapi/models/v1_list_secrets_response.py +123 -0
  902. lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
  903. lightning_sdk/lightning_cloud/openapi/models/v1_list_ssh_public_keys_response.py +175 -0
  904. lightning_sdk/lightning_cloud/openapi/models/v1_list_storage_transfers_response.py +123 -0
  905. lightning_sdk/lightning_cloud/openapi/models/v1_list_studio_jobs_response.py +123 -0
  906. lightning_sdk/lightning_cloud/openapi/models/v1_list_user_slurm_jobs_response.py +123 -0
  907. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
  908. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_file.py +175 -0
  909. lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
  910. lightning_sdk/lightning_cloud/openapi/models/v1_lit_page.py +539 -0
  911. lightning_sdk/lightning_cloud/openapi/models/v1_lit_page_type.py +103 -0
  912. lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_artifact.py +305 -0
  913. lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +261 -0
  914. lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +359 -0
  915. lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
  916. lightning_sdk/lightning_cloud/openapi/models/v1_locked_resource.py +227 -0
  917. lightning_sdk/lightning_cloud/openapi/models/v1_log_page.py +227 -0
  918. lightning_sdk/lightning_cloud/openapi/models/v1_logger_artifact.py +227 -0
  919. lightning_sdk/lightning_cloud/openapi/models/v1_login_request.py +175 -0
  920. lightning_sdk/lightning_cloud/openapi/models/v1_login_response.py +123 -0
  921. lightning_sdk/lightning_cloud/openapi/models/v1_logout_request.py +97 -0
  922. lightning_sdk/lightning_cloud/openapi/models/v1_logout_response.py +97 -0
  923. lightning_sdk/lightning_cloud/openapi/models/v1_logs_response.py +149 -0
  924. lightning_sdk/lightning_cloud/openapi/models/v1_lustre_data_connection.py +149 -0
  925. lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +617 -0
  926. lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +123 -0
  927. lightning_sdk/lightning_cloud/openapi/models/v1_machines_selector.py +149 -0
  928. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +253 -0
  929. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +227 -0
  930. lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +383 -0
  931. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +643 -0
  932. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py +175 -0
  933. lightning_sdk/lightning_cloud/openapi/models/v1_market_price.py +149 -0
  934. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +695 -0
  935. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +513 -0
  936. lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +279 -0
  937. lightning_sdk/lightning_cloud/openapi/models/v1_message_author.py +123 -0
  938. lightning_sdk/lightning_cloud/openapi/models/v1_message_content.py +149 -0
  939. lightning_sdk/lightning_cloud/openapi/models/v1_message_content_type.py +103 -0
  940. lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +567 -0
  941. lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py +175 -0
  942. lightning_sdk/lightning_cloud/openapi/models/v1_metrics.py +175 -0
  943. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +877 -0
  944. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tags.py +201 -0
  945. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tracker.py +383 -0
  946. lightning_sdk/lightning_cloud/openapi/models/v1_model.py +539 -0
  947. lightning_sdk/lightning_cloud/openapi/models/v1_model_file.py +175 -0
  948. lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
  949. lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +435 -0
  950. lightning_sdk/lightning_cloud/openapi/models/v1_modify_filesystem_volume_response.py +97 -0
  951. lightning_sdk/lightning_cloud/openapi/models/v1_mount_target.py +201 -0
  952. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +513 -0
  953. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +331 -0
  954. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event_type.py +104 -0
  955. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance.py +149 -0
  956. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance_strategy.py +105 -0
  957. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +110 -0
  958. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_status.py +305 -0
  959. lightning_sdk/lightning_cloud/openapi/models/v1_named_get_logger_metrics.py +123 -0
  960. lightning_sdk/lightning_cloud/openapi/models/v1_namespace_metrics.py +591 -0
  961. lightning_sdk/lightning_cloud/openapi/models/v1_namespace_user_metrics.py +435 -0
  962. lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +175 -0
  963. lightning_sdk/lightning_cloud/openapi/models/v1_network_config.py +201 -0
  964. lightning_sdk/lightning_cloud/openapi/models/v1_new_feature.py +383 -0
  965. lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +695 -0
  966. lightning_sdk/lightning_cloud/openapi/models/v1_notification_preference.py +227 -0
  967. lightning_sdk/lightning_cloud/openapi/models/v1_notification_preferences_request.py +201 -0
  968. lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +106 -0
  969. lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_request.py +175 -0
  970. lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_response.py +97 -0
  971. lightning_sdk/lightning_cloud/openapi/models/v1_org_member.py +175 -0
  972. lightning_sdk/lightning_cloud/openapi/models/v1_org_membership.py +253 -0
  973. lightning_sdk/lightning_cloud/openapi/models/v1_org_membership_role_binding.py +227 -0
  974. lightning_sdk/lightning_cloud/openapi/models/v1_org_role.py +279 -0
  975. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +1451 -0
  976. lightning_sdk/lightning_cloud/openapi/models/v1_owner_type.py +104 -0
  977. lightning_sdk/lightning_cloud/openapi/models/v1_package_manager.py +104 -0
  978. lightning_sdk/lightning_cloud/openapi/models/v1_parameterization_spec.py +227 -0
  979. lightning_sdk/lightning_cloud/openapi/models/v1_path_mapping.py +175 -0
  980. lightning_sdk/lightning_cloud/openapi/models/v1_path_telemetry.py +123 -0
  981. lightning_sdk/lightning_cloud/openapi/models/v1_pause_storage_transfer_response.py +97 -0
  982. lightning_sdk/lightning_cloud/openapi/models/v1_phase_type.py +104 -0
  983. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +591 -0
  984. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
  985. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
  986. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
  987. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
  988. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
  989. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step.py +253 -0
  990. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +331 -0
  991. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_type.py +104 -0
  992. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
  993. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
  994. lightning_sdk/lightning_cloud/openapi/models/v1_platform_notification.py +279 -0
  995. lightning_sdk/lightning_cloud/openapi/models/v1_plugin.py +253 -0
  996. lightning_sdk/lightning_cloud/openapi/models/v1_plugins_list_response.py +123 -0
  997. lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +747 -0
  998. lightning_sdk/lightning_cloud/openapi/models/v1_post_cloud_space_artifact_events_response.py +97 -0
  999. lightning_sdk/lightning_cloud/openapi/models/v1_presigned_url.py +149 -0
  1000. lightning_sdk/lightning_cloud/openapi/models/v1_profiler_capture.py +357 -0
  1001. lightning_sdk/lightning_cloud/openapi/models/v1_profiler_enabled_response.py +123 -0
  1002. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +643 -0
  1003. lightning_sdk/lightning_cloud/openapi/models/v1_project_artifact.py +227 -0
  1004. lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +331 -0
  1005. lightning_sdk/lightning_cloud/openapi/models/v1_project_compute_daily_usage.py +201 -0
  1006. lightning_sdk/lightning_cloud/openapi/models/v1_project_compute_usage.py +409 -0
  1007. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +903 -0
  1008. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership_invite.py +305 -0
  1009. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership_role_binding.py +253 -0
  1010. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +697 -0
  1011. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +513 -0
  1012. lightning_sdk/lightning_cloud/openapi/models/v1_project_tab.py +149 -0
  1013. lightning_sdk/lightning_cloud/openapi/models/v1_prompt_suggestion.py +149 -0
  1014. lightning_sdk/lightning_cloud/openapi/models/v1_publish_cloud_space_response.py +97 -0
  1015. lightning_sdk/lightning_cloud/openapi/models/v1_published_cloud_space_response.py +669 -0
  1016. lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_request.py +123 -0
  1017. lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_response.py +123 -0
  1018. lightning_sdk/lightning_cloud/openapi/models/v1_purchase_capacity_block_response.py +175 -0
  1019. lightning_sdk/lightning_cloud/openapi/models/v1_python_dependency_info.py +149 -0
  1020. lightning_sdk/lightning_cloud/openapi/models/v1_query_param.py +175 -0
  1021. lightning_sdk/lightning_cloud/openapi/models/v1_query_result.py +123 -0
  1022. lightning_sdk/lightning_cloud/openapi/models/v1_query_result_row.py +123 -0
  1023. lightning_sdk/lightning_cloud/openapi/models/v1_quest.py +411 -0
  1024. lightning_sdk/lightning_cloud/openapi/models/v1_quest_status.py +104 -0
  1025. lightning_sdk/lightning_cloud/openapi/models/v1_queue_server_type.py +104 -0
  1026. lightning_sdk/lightning_cloud/openapi/models/v1_quotas.py +305 -0
  1027. lightning_sdk/lightning_cloud/openapi/models/v1_quote_annual_upsell_response.py +227 -0
  1028. lightning_sdk/lightning_cloud/openapi/models/v1_quote_subscription_response.py +331 -0
  1029. lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +305 -0
  1030. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_index_response.py +97 -0
  1031. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_path_response.py +97 -0
  1032. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_request.py +123 -0
  1033. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_response.py +123 -0
  1034. lightning_sdk/lightning_cloud/openapi/models/v1_region_state.py +105 -0
  1035. lightning_sdk/lightning_cloud/openapi/models/v1_regional_load_balancer.py +149 -0
  1036. lightning_sdk/lightning_cloud/openapi/models/v1_render_kubernetes_template_response.py +123 -0
  1037. lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_stop_at_response.py +97 -0
  1038. lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_system_metrics_response.py +97 -0
  1039. lightning_sdk/lightning_cloud/openapi/models/v1_report_deployment_routing_telemetry_response.py +97 -0
  1040. lightning_sdk/lightning_cloud/openapi/models/v1_report_k8s_cluster_metrics_response.py +97 -0
  1041. lightning_sdk/lightning_cloud/openapi/models/v1_report_logs_activity_response.py +97 -0
  1042. lightning_sdk/lightning_cloud/openapi/models/v1_report_restart_timings_response.py +97 -0
  1043. lightning_sdk/lightning_cloud/openapi/models/v1_request_cloud_space_access_response.py +97 -0
  1044. lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_request.py +175 -0
  1045. lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_response.py +97 -0
  1046. lightning_sdk/lightning_cloud/openapi/models/v1_request_verification_code_response.py +123 -0
  1047. lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -0
  1048. lightning_sdk/lightning_cloud/openapi/models/v1_reservation_details.py +201 -0
  1049. lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_request.py +97 -0
  1050. lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_response.py +123 -0
  1051. lightning_sdk/lightning_cloud/openapi/models/v1_resource_tag.py +175 -0
  1052. lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +175 -0
  1053. lightning_sdk/lightning_cloud/openapi/models/v1_resources.py +331 -0
  1054. lightning_sdk/lightning_cloud/openapi/models/v1_response_choice.py +201 -0
  1055. lightning_sdk/lightning_cloud/openapi/models/v1_response_choice_delta.py +149 -0
  1056. lightning_sdk/lightning_cloud/openapi/models/v1_restart_cloud_space_instance_response.py +97 -0
  1057. lightning_sdk/lightning_cloud/openapi/models/v1_restart_timing.py +201 -0
  1058. lightning_sdk/lightning_cloud/openapi/models/v1_restore_deployment_release_response.py +97 -0
  1059. lightning_sdk/lightning_cloud/openapi/models/v1_resume_storage_transfer_response.py +97 -0
  1060. lightning_sdk/lightning_cloud/openapi/models/v1_role.py +279 -0
  1061. lightning_sdk/lightning_cloud/openapi/models/v1_rolling_update_strategy.py +149 -0
  1062. lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +357 -0
  1063. lightning_sdk/lightning_cloud/openapi/models/v1_rule.py +201 -0
  1064. lightning_sdk/lightning_cloud/openapi/models/v1_rule_action.py +110 -0
  1065. lightning_sdk/lightning_cloud/openapi/models/v1_rule_condition.py +175 -0
  1066. lightning_sdk/lightning_cloud/openapi/models/v1_rule_effect.py +104 -0
  1067. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +143 -0
  1068. lightning_sdk/lightning_cloud/openapi/models/v1_s3_folder_data_connection.py +123 -0
  1069. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +565 -0
  1070. lightning_sdk/lightning_cloud/openapi/models/v1_schedule_action_type.py +104 -0
  1071. lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +104 -0
  1072. lightning_sdk/lightning_cloud/openapi/models/v1_schedule_run.py +357 -0
  1073. lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
  1074. lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
  1075. lightning_sdk/lightning_cloud/openapi/models/v1_search_job_logs_response.py +149 -0
  1076. lightning_sdk/lightning_cloud/openapi/models/v1_search_user.py +411 -0
  1077. lightning_sdk/lightning_cloud/openapi/models/v1_search_users_response.py +201 -0
  1078. lightning_sdk/lightning_cloud/openapi/models/v1_secret.py +331 -0
  1079. lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +107 -0
  1080. lightning_sdk/lightning_cloud/openapi/models/v1_select.py +149 -0
  1081. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert.py +201 -0
  1082. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_phase.py +105 -0
  1083. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +103 -0
  1084. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +108 -0
  1085. lightning_sdk/lightning_cloud/openapi/models/v1_server_check_in_response.py +97 -0
  1086. lightning_sdk/lightning_cloud/openapi/models/v1_service_health.py +175 -0
  1087. lightning_sdk/lightning_cloud/openapi/models/v1_setup_confirmed_ssh_public_key_response.py +97 -0
  1088. lightning_sdk/lightning_cloud/openapi/models/v1_setup_data_connection_response.py +123 -0
  1089. lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +331 -0
  1090. lightning_sdk/lightning_cloud/openapi/models/v1_should_start_syncing_response.py +123 -0
  1091. lightning_sdk/lightning_cloud/openapi/models/v1_signed_url.py +149 -0
  1092. lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +201 -0
  1093. lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier_type.py +105 -0
  1094. lightning_sdk/lightning_cloud/openapi/models/v1_sleep_server_response.py +97 -0
  1095. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
  1096. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +749 -0
  1097. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +227 -0
  1098. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +201 -0
  1099. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_job_status.py +253 -0
  1100. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +227 -0
  1101. lightning_sdk/lightning_cloud/openapi/models/v1_snowflake_data_connection.py +253 -0
  1102. lightning_sdk/lightning_cloud/openapi/models/v1_source_type.py +103 -0
  1103. lightning_sdk/lightning_cloud/openapi/models/v1_ssh_key_pair.py +201 -0
  1104. lightning_sdk/lightning_cloud/openapi/models/v1_ssh_public_key.py +279 -0
  1105. lightning_sdk/lightning_cloud/openapi/models/v1_start_cloud_space_instance_response.py +97 -0
  1106. lightning_sdk/lightning_cloud/openapi/models/v1_status_code_telemetry.py +123 -0
  1107. lightning_sdk/lightning_cloud/openapi/models/v1_stop_cloud_space_instance_response.py +97 -0
  1108. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +409 -0
  1109. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +109 -0
  1110. lightning_sdk/lightning_cloud/openapi/models/v1_storage_system_metrics.py +175 -0
  1111. lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer.py +435 -0
  1112. lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer_status.py +108 -0
  1113. lightning_sdk/lightning_cloud/openapi/models/v1_studio_job.py +435 -0
  1114. lightning_sdk/lightning_cloud/openapi/models/v1_studio_job_app.py +106 -0
  1115. lightning_sdk/lightning_cloud/openapi/models/v1_subnet_spec.py +149 -0
  1116. lightning_sdk/lightning_cloud/openapi/models/v1_switch_cloud_space_instance_response.py +97 -0
  1117. lightning_sdk/lightning_cloud/openapi/models/v1_system_info.py +617 -0
  1118. lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics.py +201 -0
  1119. lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_aggregated.py +227 -0
  1120. lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_list.py +149 -0
  1121. lightning_sdk/lightning_cloud/openapi/models/v1_telemetry.py +331 -0
  1122. lightning_sdk/lightning_cloud/openapi/models/v1_timestamp_code_telemetry.py +123 -0
  1123. lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
  1124. lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
  1125. lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
  1126. lightning_sdk/lightning_cloud/openapi/models/v1_token_usage.py +175 -0
  1127. lightning_sdk/lightning_cloud/openapi/models/v1_tool.py +149 -0
  1128. lightning_sdk/lightning_cloud/openapi/models/v1_tool_call.py +175 -0
  1129. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +227 -0
  1130. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  1131. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_org_balance_response.py +97 -0
  1132. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_project_balance_response.py +149 -0
  1133. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_user_balance_request.py +253 -0
  1134. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_user_balance_response.py +97 -0
  1135. lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
  1136. lightning_sdk/lightning_cloud/openapi/models/v1_unpublish_cloud_space_response.py +97 -0
  1137. lightning_sdk/lightning_cloud/openapi/models/v1_update_agent_status_request.py +149 -0
  1138. lightning_sdk/lightning_cloud/openapi/models/v1_update_agent_status_response.py +97 -0
  1139. lightning_sdk/lightning_cloud/openapi/models/v1_update_billing_subscription_request.py +227 -0
  1140. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_collab_response.py +123 -0
  1141. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +253 -0
  1142. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_publication_response.py +97 -0
  1143. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
  1144. lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_accelerators_request.py +149 -0
  1145. lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_accelerators_response.py +97 -0
  1146. lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_availability_request.py +201 -0
  1147. lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_like_response.py +149 -0
  1148. lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_message_like_response.py +149 -0
  1149. lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_visibility_response.py +97 -0
  1150. lightning_sdk/lightning_cloud/openapi/models/v1_update_index_response.py +97 -0
  1151. lightning_sdk/lightning_cloud/openapi/models/v1_update_job_visibility_response.py +97 -0
  1152. lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
  1153. lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_page_response.py +123 -0
  1154. lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_repository_response.py +97 -0
  1155. lightning_sdk/lightning_cloud/openapi/models/v1_update_metrics_stream_visibility_response.py +123 -0
  1156. lightning_sdk/lightning_cloud/openapi/models/v1_update_model_visibility_response.py +123 -0
  1157. lightning_sdk/lightning_cloud/openapi/models/v1_update_organization_credits_auto_replenish_response.py +97 -0
  1158. lightning_sdk/lightning_cloud/openapi/models/v1_update_project_cluster_accelerators_response.py +97 -0
  1159. lightning_sdk/lightning_cloud/openapi/models/v1_update_project_tab_order_response.py +123 -0
  1160. lightning_sdk/lightning_cloud/openapi/models/v1_update_shared_metrics_stream_response.py +97 -0
  1161. lightning_sdk/lightning_cloud/openapi/models/v1_update_snowflake_query_response.py +97 -0
  1162. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_credits_auto_replenish_response.py +97 -0
  1163. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +825 -0
  1164. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_request.py +123 -0
  1165. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_response.py +97 -0
  1166. lightning_sdk/lightning_cloud/openapi/models/v1_update_volume_response.py +123 -0
  1167. lightning_sdk/lightning_cloud/openapi/models/v1_upload_agent_job_artifact_response.py +123 -0
  1168. lightning_sdk/lightning_cloud/openapi/models/v1_upload_agent_job_output_response.py +123 -0
  1169. lightning_sdk/lightning_cloud/openapi/models/v1_upload_lightningapp_instance_artifact_response.py +123 -0
  1170. lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_parts_response.py +123 -0
  1171. lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +175 -0
  1172. lightning_sdk/lightning_cloud/openapi/models/v1_upload_settings_response.py +123 -0
  1173. lightning_sdk/lightning_cloud/openapi/models/v1_upload_temporary_artifact_request.py +123 -0
  1174. lightning_sdk/lightning_cloud/openapi/models/v1_upstream_cloud_space.py +305 -0
  1175. lightning_sdk/lightning_cloud/openapi/models/v1_upstream_job.py +227 -0
  1176. lightning_sdk/lightning_cloud/openapi/models/v1_upstream_managed.py +123 -0
  1177. lightning_sdk/lightning_cloud/openapi/models/v1_upstream_open_ai.py +149 -0
  1178. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +591 -0
  1179. lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py +487 -0
  1180. lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +279 -0
  1181. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +2255 -0
  1182. lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +415 -0
  1183. lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +175 -0
  1184. lightning_sdk/lightning_cloud/openapi/models/v1_user_slurm_job_action_response.py +97 -0
  1185. lightning_sdk/lightning_cloud/openapi/models/v1_validate_assistant_status_response.py +149 -0
  1186. lightning_sdk/lightning_cloud/openapi/models/v1_validate_auto_join_domain_response.py +97 -0
  1187. lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +253 -0
  1188. lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_request.py +175 -0
  1189. lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_response.py +97 -0
  1190. lightning_sdk/lightning_cloud/openapi/models/v1_validate_license_response.py +123 -0
  1191. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_request.py +175 -0
  1192. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +149 -0
  1193. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_model_response.py +123 -0
  1194. lightning_sdk/lightning_cloud/openapi/models/v1_validate_storage_transfer_response.py +123 -0
  1195. lightning_sdk/lightning_cloud/openapi/models/v1_verify_verification_response.py +97 -0
  1196. lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +229 -0
  1197. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +643 -0
  1198. lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +105 -0
  1199. lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +177 -0
  1200. lightning_sdk/lightning_cloud/openapi/models/v1_weka_data_connection.py +201 -0
  1201. lightning_sdk/lightning_cloud/openapi/models/v1_work.py +175 -0
  1202. lightning_sdk/lightning_cloud/openapi/models/validate.py +331 -0
  1203. lightning_sdk/lightning_cloud/openapi/models/validateautojoindomain_domain_body.py +123 -0
  1204. lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +149 -0
  1205. lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
  1206. lightning_sdk/lightning_cloud/openapi/models/version_uploads_body.py +123 -0
  1207. lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
  1208. lightning_sdk/lightning_cloud/openapi/models/versions_id_body.py +357 -0
  1209. lightning_sdk/lightning_cloud/openapi/models/versions_version_body.py +123 -0
  1210. lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
  1211. lightning_sdk/lightning_cloud/openapi/models/volumes_id_body.py +123 -0
  1212. lightning_sdk/lightning_cloud/openapi/models/works_id_body.py +123 -0
  1213. lightning_sdk/lightning_cloud/openapi/rest.py +324 -0
  1214. lightning_sdk/lightning_cloud/rest_client.py +220 -0
  1215. lightning_sdk/lightning_cloud/source_code/__init__.py +3 -0
  1216. lightning_sdk/lightning_cloud/source_code/copytree.py +174 -0
  1217. lightning_sdk/lightning_cloud/source_code/hashing.py +41 -0
  1218. lightning_sdk/lightning_cloud/source_code/local.py +107 -0
  1219. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +103 -0
  1220. lightning_sdk/lightning_cloud/source_code/tar.py +194 -0
  1221. lightning_sdk/lightning_cloud/source_code/uploader.py +97 -0
  1222. lightning_sdk/lightning_cloud/utils/__init__.py +3 -0
  1223. lightning_sdk/lightning_cloud/utils/data_connection.py +411 -0
  1224. lightning_sdk/lightning_cloud/utils/dataset.py +60 -0
  1225. lightning_sdk/lightning_cloud/utils/name_generator.py +1078 -0
  1226. lightning_sdk/lightning_cloud/utils/network.py +13 -0
  1227. lightning_sdk/lit_container.py +146 -0
  1228. lightning_sdk/llm/__init__.py +3 -0
  1229. lightning_sdk/llm/llm.py +497 -0
  1230. lightning_sdk/llm/public_assistants.py +54 -0
  1231. lightning_sdk/machine.py +231 -0
  1232. lightning_sdk/mmt/__init__.py +4 -0
  1233. lightning_sdk/mmt/base.py +378 -0
  1234. lightning_sdk/mmt/mmt.py +349 -0
  1235. lightning_sdk/mmt/v1.py +199 -0
  1236. lightning_sdk/mmt/v2.py +252 -0
  1237. lightning_sdk/models.py +208 -0
  1238. lightning_sdk/organization.py +49 -0
  1239. lightning_sdk/owner.py +50 -0
  1240. lightning_sdk/pipeline/__init__.py +14 -0
  1241. lightning_sdk/pipeline/pipeline.py +166 -0
  1242. lightning_sdk/pipeline/printer.py +124 -0
  1243. lightning_sdk/pipeline/schedule.py +859 -0
  1244. lightning_sdk/pipeline/steps.py +365 -0
  1245. lightning_sdk/pipeline/utils.py +116 -0
  1246. lightning_sdk/plugin.py +456 -0
  1247. lightning_sdk/sandbox.py +160 -0
  1248. lightning_sdk/serve.py +311 -0
  1249. lightning_sdk/services/__init__.py +5 -0
  1250. lightning_sdk/services/file_endpoint.py +222 -0
  1251. lightning_sdk/services/finetune_llm.py +35 -0
  1252. lightning_sdk/services/utilities.py +125 -0
  1253. lightning_sdk/status.py +17 -0
  1254. lightning_sdk/studio.py +907 -0
  1255. lightning_sdk/teamspace.py +692 -0
  1256. lightning_sdk/user.py +60 -0
  1257. lightning_sdk/utils/__init__.py +0 -0
  1258. lightning_sdk/utils/config.py +179 -0
  1259. lightning_sdk/utils/dynamic.py +61 -0
  1260. lightning_sdk/utils/enum.py +116 -0
  1261. lightning_sdk/utils/license.py +13 -0
  1262. lightning_sdk/utils/logging.py +79 -0
  1263. lightning_sdk/utils/names.py +1179 -0
  1264. lightning_sdk/utils/progress.py +283 -0
  1265. lightning_sdk/utils/resolve.py +325 -0
  1266. lightning_sdk-2025.11.13.post0.dist-info/LICENSE +21 -0
  1267. lightning_sdk-2025.11.13.post0.dist-info/METADATA +117 -0
  1268. lightning_sdk-2025.11.13.post0.dist-info/RECORD +1271 -0
  1269. lightning_sdk-2025.11.13.post0.dist-info/WHEEL +5 -0
  1270. lightning_sdk-2025.11.13.post0.dist-info/entry_points.txt +3 -0
  1271. lightning_sdk-2025.11.13.post0.dist-info/top_level.txt +2 -0
@@ -0,0 +1,4770 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ from __future__ import absolute_import
21
+
22
+ import re # noqa: F401
23
+ from typing import TYPE_CHECKING, Any
24
+
25
+ # python 2 and python 3 compatibility library
26
+ import six
27
+
28
+ from lightning_sdk.lightning_cloud.openapi.api_client import ApiClient
29
+
30
+ if TYPE_CHECKING:
31
+ from datetime import datetime
32
+ from lightning_sdk.lightning_cloud.openapi.models import *
33
+
34
+ class ClusterServiceApi(object):
35
+ """NOTE: This class is auto generated by the swagger code generator program.
36
+
37
+ Do not edit the class manually.
38
+ Ref: https://github.com/swagger-api/swagger-codegen
39
+ """
40
+
41
+ def __init__(self, api_client=None):
42
+ if api_client is None:
43
+ api_client = ApiClient()
44
+ self.api_client = api_client
45
+
46
+ def cluster_service_check_cluster_name_availability(self, body: 'V1CheckClusterNameAvailabilityRequest', **kwargs) -> 'V1CheckClusterNameAvailabilityResponse': # noqa: E501
47
+ """cluster_service_check_cluster_name_availability # noqa: E501
48
+
49
+ This method makes a synchronous HTTP request by default. To make an
50
+ asynchronous HTTP request, please pass async_req=True
51
+ >>> thread = api.cluster_service_check_cluster_name_availability(body, async_req=True)
52
+ >>> result = thread.get()
53
+
54
+ :param async_req bool
55
+ :param V1CheckClusterNameAvailabilityRequest body: (required)
56
+ :return: V1CheckClusterNameAvailabilityResponse
57
+ If the method is called asynchronously,
58
+ returns the request thread.
59
+ """
60
+ kwargs['_return_http_data_only'] = True
61
+ if kwargs.get('async_req'):
62
+ return self.cluster_service_check_cluster_name_availability_with_http_info(body, **kwargs) # noqa: E501
63
+ else:
64
+ (data) = self.cluster_service_check_cluster_name_availability_with_http_info(body, **kwargs) # noqa: E501
65
+ return data
66
+
67
+ def cluster_service_check_cluster_name_availability_with_http_info(self, body: 'V1CheckClusterNameAvailabilityRequest', **kwargs) -> 'V1CheckClusterNameAvailabilityResponse': # noqa: E501
68
+ """cluster_service_check_cluster_name_availability # noqa: E501
69
+
70
+ This method makes a synchronous HTTP request by default. To make an
71
+ asynchronous HTTP request, please pass async_req=True
72
+ >>> thread = api.cluster_service_check_cluster_name_availability_with_http_info(body, async_req=True)
73
+ >>> result = thread.get()
74
+
75
+ :param async_req bool
76
+ :param V1CheckClusterNameAvailabilityRequest body: (required)
77
+ :return: V1CheckClusterNameAvailabilityResponse
78
+ If the method is called asynchronously,
79
+ returns the request thread.
80
+ """
81
+
82
+ all_params = ['body'] # noqa: E501
83
+ all_params.append('async_req')
84
+ all_params.append('_return_http_data_only')
85
+ all_params.append('_preload_content')
86
+ all_params.append('_request_timeout')
87
+
88
+ params = locals()
89
+ for key, val in six.iteritems(params['kwargs']):
90
+ if key not in all_params:
91
+ raise TypeError(
92
+ "Got an unexpected keyword argument '%s'"
93
+ " to method cluster_service_check_cluster_name_availability" % key
94
+ )
95
+ params[key] = val
96
+ del params['kwargs']
97
+ # verify the required parameter 'body' is set
98
+ if ('body' not in params or
99
+ params['body'] is None):
100
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_check_cluster_name_availability`") # noqa: E501
101
+
102
+ collection_formats = {}
103
+
104
+ path_params = {}
105
+
106
+ query_params = []
107
+
108
+ header_params = {}
109
+
110
+ form_params = []
111
+ local_var_files = {}
112
+
113
+ body_params = None
114
+ if 'body' in params:
115
+ body_params = params['body']
116
+ # HTTP header `Accept`
117
+ header_params['Accept'] = self.api_client.select_header_accept(
118
+ ['application/json']) # noqa: E501
119
+
120
+ # HTTP header `Content-Type`
121
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
122
+ ['application/json']) # noqa: E501
123
+
124
+ # Authentication setting
125
+ auth_settings = [] # noqa: E501
126
+
127
+ return self.api_client.call_api(
128
+ '/v1/core/cluster-name-available', 'POST',
129
+ path_params,
130
+ query_params,
131
+ header_params,
132
+ body=body_params,
133
+ post_params=form_params,
134
+ files=local_var_files,
135
+ response_type='V1CheckClusterNameAvailabilityResponse', # noqa: E501
136
+ auth_settings=auth_settings,
137
+ async_req=params.get('async_req'),
138
+ _return_http_data_only=params.get('_return_http_data_only'),
139
+ _preload_content=params.get('_preload_content', True),
140
+ _request_timeout=params.get('_request_timeout'),
141
+ collection_formats=collection_formats)
142
+
143
+ def cluster_service_create_cluster(self, body: 'V1CreateClusterRequest', **kwargs) -> 'V1CreateClusterResponse': # noqa: E501
144
+ """TODO: delete all non-project related endpoints # noqa: E501
145
+
146
+ This method makes a synchronous HTTP request by default. To make an
147
+ asynchronous HTTP request, please pass async_req=True
148
+ >>> thread = api.cluster_service_create_cluster(body, async_req=True)
149
+ >>> result = thread.get()
150
+
151
+ :param async_req bool
152
+ :param V1CreateClusterRequest body: (required)
153
+ :return: V1CreateClusterResponse
154
+ If the method is called asynchronously,
155
+ returns the request thread.
156
+ """
157
+ kwargs['_return_http_data_only'] = True
158
+ if kwargs.get('async_req'):
159
+ return self.cluster_service_create_cluster_with_http_info(body, **kwargs) # noqa: E501
160
+ else:
161
+ (data) = self.cluster_service_create_cluster_with_http_info(body, **kwargs) # noqa: E501
162
+ return data
163
+
164
+ def cluster_service_create_cluster_with_http_info(self, body: 'V1CreateClusterRequest', **kwargs) -> 'V1CreateClusterResponse': # noqa: E501
165
+ """TODO: delete all non-project related endpoints # noqa: E501
166
+
167
+ This method makes a synchronous HTTP request by default. To make an
168
+ asynchronous HTTP request, please pass async_req=True
169
+ >>> thread = api.cluster_service_create_cluster_with_http_info(body, async_req=True)
170
+ >>> result = thread.get()
171
+
172
+ :param async_req bool
173
+ :param V1CreateClusterRequest body: (required)
174
+ :return: V1CreateClusterResponse
175
+ If the method is called asynchronously,
176
+ returns the request thread.
177
+ """
178
+
179
+ all_params = ['body'] # noqa: E501
180
+ all_params.append('async_req')
181
+ all_params.append('_return_http_data_only')
182
+ all_params.append('_preload_content')
183
+ all_params.append('_request_timeout')
184
+
185
+ params = locals()
186
+ for key, val in six.iteritems(params['kwargs']):
187
+ if key not in all_params:
188
+ raise TypeError(
189
+ "Got an unexpected keyword argument '%s'"
190
+ " to method cluster_service_create_cluster" % key
191
+ )
192
+ params[key] = val
193
+ del params['kwargs']
194
+ # verify the required parameter 'body' is set
195
+ if ('body' not in params or
196
+ params['body'] is None):
197
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_cluster`") # noqa: E501
198
+
199
+ collection_formats = {}
200
+
201
+ path_params = {}
202
+
203
+ query_params = []
204
+
205
+ header_params = {}
206
+
207
+ form_params = []
208
+ local_var_files = {}
209
+
210
+ body_params = None
211
+ if 'body' in params:
212
+ body_params = params['body']
213
+ # HTTP header `Accept`
214
+ header_params['Accept'] = self.api_client.select_header_accept(
215
+ ['application/json']) # noqa: E501
216
+
217
+ # HTTP header `Content-Type`
218
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
219
+ ['application/json']) # noqa: E501
220
+
221
+ # Authentication setting
222
+ auth_settings = [] # noqa: E501
223
+
224
+ return self.api_client.call_api(
225
+ '/v1/core/clusters', 'POST',
226
+ path_params,
227
+ query_params,
228
+ header_params,
229
+ body=body_params,
230
+ post_params=form_params,
231
+ files=local_var_files,
232
+ response_type='V1CreateClusterResponse', # noqa: E501
233
+ auth_settings=auth_settings,
234
+ async_req=params.get('async_req'),
235
+ _return_http_data_only=params.get('_return_http_data_only'),
236
+ _preload_content=params.get('_preload_content', True),
237
+ _request_timeout=params.get('_request_timeout'),
238
+ collection_formats=collection_formats)
239
+
240
+ def cluster_service_create_cluster_capacity_reservation(self, body: 'ClusterIdCapacityreservationsBody', project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1CreateClusterCapacityReservationResponse': # noqa: E501
241
+ """cluster_service_create_cluster_capacity_reservation # noqa: E501
242
+
243
+ This method makes a synchronous HTTP request by default. To make an
244
+ asynchronous HTTP request, please pass async_req=True
245
+ >>> thread = api.cluster_service_create_cluster_capacity_reservation(body, project_id, cluster_id, async_req=True)
246
+ >>> result = thread.get()
247
+
248
+ :param async_req bool
249
+ :param ClusterIdCapacityreservationsBody body: (required)
250
+ :param str project_id: (required)
251
+ :param str cluster_id: (required)
252
+ :return: V1CreateClusterCapacityReservationResponse
253
+ If the method is called asynchronously,
254
+ returns the request thread.
255
+ """
256
+ kwargs['_return_http_data_only'] = True
257
+ if kwargs.get('async_req'):
258
+ return self.cluster_service_create_cluster_capacity_reservation_with_http_info(body, project_id, cluster_id, **kwargs) # noqa: E501
259
+ else:
260
+ (data) = self.cluster_service_create_cluster_capacity_reservation_with_http_info(body, project_id, cluster_id, **kwargs) # noqa: E501
261
+ return data
262
+
263
+ def cluster_service_create_cluster_capacity_reservation_with_http_info(self, body: 'ClusterIdCapacityreservationsBody', project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1CreateClusterCapacityReservationResponse': # noqa: E501
264
+ """cluster_service_create_cluster_capacity_reservation # noqa: E501
265
+
266
+ This method makes a synchronous HTTP request by default. To make an
267
+ asynchronous HTTP request, please pass async_req=True
268
+ >>> thread = api.cluster_service_create_cluster_capacity_reservation_with_http_info(body, project_id, cluster_id, async_req=True)
269
+ >>> result = thread.get()
270
+
271
+ :param async_req bool
272
+ :param ClusterIdCapacityreservationsBody body: (required)
273
+ :param str project_id: (required)
274
+ :param str cluster_id: (required)
275
+ :return: V1CreateClusterCapacityReservationResponse
276
+ If the method is called asynchronously,
277
+ returns the request thread.
278
+ """
279
+
280
+ all_params = ['body', 'project_id', 'cluster_id'] # noqa: E501
281
+ all_params.append('async_req')
282
+ all_params.append('_return_http_data_only')
283
+ all_params.append('_preload_content')
284
+ all_params.append('_request_timeout')
285
+
286
+ params = locals()
287
+ for key, val in six.iteritems(params['kwargs']):
288
+ if key not in all_params:
289
+ raise TypeError(
290
+ "Got an unexpected keyword argument '%s'"
291
+ " to method cluster_service_create_cluster_capacity_reservation" % key
292
+ )
293
+ params[key] = val
294
+ del params['kwargs']
295
+ # verify the required parameter 'body' is set
296
+ if ('body' not in params or
297
+ params['body'] is None):
298
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_cluster_capacity_reservation`") # noqa: E501
299
+ # verify the required parameter 'project_id' is set
300
+ if ('project_id' not in params or
301
+ params['project_id'] is None):
302
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_create_cluster_capacity_reservation`") # noqa: E501
303
+ # verify the required parameter 'cluster_id' is set
304
+ if ('cluster_id' not in params or
305
+ params['cluster_id'] is None):
306
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_create_cluster_capacity_reservation`") # noqa: E501
307
+
308
+ collection_formats = {}
309
+
310
+ path_params = {}
311
+ if 'project_id' in params:
312
+ path_params['projectId'] = params['project_id'] # noqa: E501
313
+ if 'cluster_id' in params:
314
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
315
+
316
+ query_params = []
317
+
318
+ header_params = {}
319
+
320
+ form_params = []
321
+ local_var_files = {}
322
+
323
+ body_params = None
324
+ if 'body' in params:
325
+ body_params = params['body']
326
+ # HTTP header `Accept`
327
+ header_params['Accept'] = self.api_client.select_header_accept(
328
+ ['application/json']) # noqa: E501
329
+
330
+ # HTTP header `Content-Type`
331
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
332
+ ['application/json']) # noqa: E501
333
+
334
+ # Authentication setting
335
+ auth_settings = [] # noqa: E501
336
+
337
+ return self.api_client.call_api(
338
+ '/v1/projects/{projectId}/clusters/{clusterId}/capacity-reservations', 'POST',
339
+ path_params,
340
+ query_params,
341
+ header_params,
342
+ body=body_params,
343
+ post_params=form_params,
344
+ files=local_var_files,
345
+ response_type='V1CreateClusterCapacityReservationResponse', # noqa: E501
346
+ auth_settings=auth_settings,
347
+ async_req=params.get('async_req'),
348
+ _return_http_data_only=params.get('_return_http_data_only'),
349
+ _preload_content=params.get('_preload_content', True),
350
+ _request_timeout=params.get('_request_timeout'),
351
+ collection_formats=collection_formats)
352
+
353
+ def cluster_service_create_cluster_encryption_key(self, body: 'V1CreateClusterEncryptionKeysRequest', **kwargs) -> 'V1CreateClusterEncryptionKeysResponse': # noqa: E501
354
+ """cluster_service_create_cluster_encryption_key # noqa: E501
355
+
356
+ This method makes a synchronous HTTP request by default. To make an
357
+ asynchronous HTTP request, please pass async_req=True
358
+ >>> thread = api.cluster_service_create_cluster_encryption_key(body, async_req=True)
359
+ >>> result = thread.get()
360
+
361
+ :param async_req bool
362
+ :param V1CreateClusterEncryptionKeysRequest body: (required)
363
+ :return: V1CreateClusterEncryptionKeysResponse
364
+ If the method is called asynchronously,
365
+ returns the request thread.
366
+ """
367
+ kwargs['_return_http_data_only'] = True
368
+ if kwargs.get('async_req'):
369
+ return self.cluster_service_create_cluster_encryption_key_with_http_info(body, **kwargs) # noqa: E501
370
+ else:
371
+ (data) = self.cluster_service_create_cluster_encryption_key_with_http_info(body, **kwargs) # noqa: E501
372
+ return data
373
+
374
+ def cluster_service_create_cluster_encryption_key_with_http_info(self, body: 'V1CreateClusterEncryptionKeysRequest', **kwargs) -> 'V1CreateClusterEncryptionKeysResponse': # noqa: E501
375
+ """cluster_service_create_cluster_encryption_key # noqa: E501
376
+
377
+ This method makes a synchronous HTTP request by default. To make an
378
+ asynchronous HTTP request, please pass async_req=True
379
+ >>> thread = api.cluster_service_create_cluster_encryption_key_with_http_info(body, async_req=True)
380
+ >>> result = thread.get()
381
+
382
+ :param async_req bool
383
+ :param V1CreateClusterEncryptionKeysRequest body: (required)
384
+ :return: V1CreateClusterEncryptionKeysResponse
385
+ If the method is called asynchronously,
386
+ returns the request thread.
387
+ """
388
+
389
+ all_params = ['body'] # noqa: E501
390
+ all_params.append('async_req')
391
+ all_params.append('_return_http_data_only')
392
+ all_params.append('_preload_content')
393
+ all_params.append('_request_timeout')
394
+
395
+ params = locals()
396
+ for key, val in six.iteritems(params['kwargs']):
397
+ if key not in all_params:
398
+ raise TypeError(
399
+ "Got an unexpected keyword argument '%s'"
400
+ " to method cluster_service_create_cluster_encryption_key" % key
401
+ )
402
+ params[key] = val
403
+ del params['kwargs']
404
+ # verify the required parameter 'body' is set
405
+ if ('body' not in params or
406
+ params['body'] is None):
407
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_cluster_encryption_key`") # noqa: E501
408
+
409
+ collection_formats = {}
410
+
411
+ path_params = {}
412
+
413
+ query_params = []
414
+
415
+ header_params = {}
416
+
417
+ form_params = []
418
+ local_var_files = {}
419
+
420
+ body_params = None
421
+ if 'body' in params:
422
+ body_params = params['body']
423
+ # HTTP header `Accept`
424
+ header_params['Accept'] = self.api_client.select_header_accept(
425
+ ['application/json']) # noqa: E501
426
+
427
+ # HTTP header `Content-Type`
428
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
429
+ ['application/json']) # noqa: E501
430
+
431
+ # Authentication setting
432
+ auth_settings = [] # noqa: E501
433
+
434
+ return self.api_client.call_api(
435
+ '/v1/core/cluster-encryption-keys', 'POST',
436
+ path_params,
437
+ query_params,
438
+ header_params,
439
+ body=body_params,
440
+ post_params=form_params,
441
+ files=local_var_files,
442
+ response_type='V1CreateClusterEncryptionKeysResponse', # noqa: E501
443
+ auth_settings=auth_settings,
444
+ async_req=params.get('async_req'),
445
+ _return_http_data_only=params.get('_return_http_data_only'),
446
+ _preload_content=params.get('_preload_content', True),
447
+ _request_timeout=params.get('_request_timeout'),
448
+ collection_formats=collection_formats)
449
+
450
+ def cluster_service_create_cluster_proxy(self, body: 'ClusterIdProxiesBody', cluster_id: 'str', **kwargs) -> 'V1ClusterProxy': # noqa: E501
451
+ """cluster_service_create_cluster_proxy # noqa: E501
452
+
453
+ This method makes a synchronous HTTP request by default. To make an
454
+ asynchronous HTTP request, please pass async_req=True
455
+ >>> thread = api.cluster_service_create_cluster_proxy(body, cluster_id, async_req=True)
456
+ >>> result = thread.get()
457
+
458
+ :param async_req bool
459
+ :param ClusterIdProxiesBody body: (required)
460
+ :param str cluster_id: (required)
461
+ :return: V1ClusterProxy
462
+ If the method is called asynchronously,
463
+ returns the request thread.
464
+ """
465
+ kwargs['_return_http_data_only'] = True
466
+ if kwargs.get('async_req'):
467
+ return self.cluster_service_create_cluster_proxy_with_http_info(body, cluster_id, **kwargs) # noqa: E501
468
+ else:
469
+ (data) = self.cluster_service_create_cluster_proxy_with_http_info(body, cluster_id, **kwargs) # noqa: E501
470
+ return data
471
+
472
+ def cluster_service_create_cluster_proxy_with_http_info(self, body: 'ClusterIdProxiesBody', cluster_id: 'str', **kwargs) -> 'V1ClusterProxy': # noqa: E501
473
+ """cluster_service_create_cluster_proxy # noqa: E501
474
+
475
+ This method makes a synchronous HTTP request by default. To make an
476
+ asynchronous HTTP request, please pass async_req=True
477
+ >>> thread = api.cluster_service_create_cluster_proxy_with_http_info(body, cluster_id, async_req=True)
478
+ >>> result = thread.get()
479
+
480
+ :param async_req bool
481
+ :param ClusterIdProxiesBody body: (required)
482
+ :param str cluster_id: (required)
483
+ :return: V1ClusterProxy
484
+ If the method is called asynchronously,
485
+ returns the request thread.
486
+ """
487
+
488
+ all_params = ['body', 'cluster_id'] # noqa: E501
489
+ all_params.append('async_req')
490
+ all_params.append('_return_http_data_only')
491
+ all_params.append('_preload_content')
492
+ all_params.append('_request_timeout')
493
+
494
+ params = locals()
495
+ for key, val in six.iteritems(params['kwargs']):
496
+ if key not in all_params:
497
+ raise TypeError(
498
+ "Got an unexpected keyword argument '%s'"
499
+ " to method cluster_service_create_cluster_proxy" % key
500
+ )
501
+ params[key] = val
502
+ del params['kwargs']
503
+ # verify the required parameter 'body' is set
504
+ if ('body' not in params or
505
+ params['body'] is None):
506
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_cluster_proxy`") # noqa: E501
507
+ # verify the required parameter 'cluster_id' is set
508
+ if ('cluster_id' not in params or
509
+ params['cluster_id'] is None):
510
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_create_cluster_proxy`") # noqa: E501
511
+
512
+ collection_formats = {}
513
+
514
+ path_params = {}
515
+ if 'cluster_id' in params:
516
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
517
+
518
+ query_params = []
519
+
520
+ header_params = {}
521
+
522
+ form_params = []
523
+ local_var_files = {}
524
+
525
+ body_params = None
526
+ if 'body' in params:
527
+ body_params = params['body']
528
+ # HTTP header `Accept`
529
+ header_params['Accept'] = self.api_client.select_header_accept(
530
+ ['application/json']) # noqa: E501
531
+
532
+ # HTTP header `Content-Type`
533
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
534
+ ['application/json']) # noqa: E501
535
+
536
+ # Authentication setting
537
+ auth_settings = [] # noqa: E501
538
+
539
+ return self.api_client.call_api(
540
+ '/v1/core/clusters/{clusterId}/proxies', 'POST',
541
+ path_params,
542
+ query_params,
543
+ header_params,
544
+ body=body_params,
545
+ post_params=form_params,
546
+ files=local_var_files,
547
+ response_type='V1ClusterProxy', # noqa: E501
548
+ auth_settings=auth_settings,
549
+ async_req=params.get('async_req'),
550
+ _return_http_data_only=params.get('_return_http_data_only'),
551
+ _preload_content=params.get('_preload_content', True),
552
+ _request_timeout=params.get('_request_timeout'),
553
+ collection_formats=collection_formats)
554
+
555
+ def cluster_service_create_cluster_usage_restriction(self, body: 'ClusterIdUsagerestrictionsBody', cluster_id: 'str', **kwargs) -> 'V1ClusterUsageRestriction': # noqa: E501
556
+ """cluster_service_create_cluster_usage_restriction # noqa: E501
557
+
558
+ This method makes a synchronous HTTP request by default. To make an
559
+ asynchronous HTTP request, please pass async_req=True
560
+ >>> thread = api.cluster_service_create_cluster_usage_restriction(body, cluster_id, async_req=True)
561
+ >>> result = thread.get()
562
+
563
+ :param async_req bool
564
+ :param ClusterIdUsagerestrictionsBody body: (required)
565
+ :param str cluster_id: (required)
566
+ :return: V1ClusterUsageRestriction
567
+ If the method is called asynchronously,
568
+ returns the request thread.
569
+ """
570
+ kwargs['_return_http_data_only'] = True
571
+ if kwargs.get('async_req'):
572
+ return self.cluster_service_create_cluster_usage_restriction_with_http_info(body, cluster_id, **kwargs) # noqa: E501
573
+ else:
574
+ (data) = self.cluster_service_create_cluster_usage_restriction_with_http_info(body, cluster_id, **kwargs) # noqa: E501
575
+ return data
576
+
577
+ def cluster_service_create_cluster_usage_restriction_with_http_info(self, body: 'ClusterIdUsagerestrictionsBody', cluster_id: 'str', **kwargs) -> 'V1ClusterUsageRestriction': # noqa: E501
578
+ """cluster_service_create_cluster_usage_restriction # noqa: E501
579
+
580
+ This method makes a synchronous HTTP request by default. To make an
581
+ asynchronous HTTP request, please pass async_req=True
582
+ >>> thread = api.cluster_service_create_cluster_usage_restriction_with_http_info(body, cluster_id, async_req=True)
583
+ >>> result = thread.get()
584
+
585
+ :param async_req bool
586
+ :param ClusterIdUsagerestrictionsBody body: (required)
587
+ :param str cluster_id: (required)
588
+ :return: V1ClusterUsageRestriction
589
+ If the method is called asynchronously,
590
+ returns the request thread.
591
+ """
592
+
593
+ all_params = ['body', 'cluster_id'] # noqa: E501
594
+ all_params.append('async_req')
595
+ all_params.append('_return_http_data_only')
596
+ all_params.append('_preload_content')
597
+ all_params.append('_request_timeout')
598
+
599
+ params = locals()
600
+ for key, val in six.iteritems(params['kwargs']):
601
+ if key not in all_params:
602
+ raise TypeError(
603
+ "Got an unexpected keyword argument '%s'"
604
+ " to method cluster_service_create_cluster_usage_restriction" % key
605
+ )
606
+ params[key] = val
607
+ del params['kwargs']
608
+ # verify the required parameter 'body' is set
609
+ if ('body' not in params or
610
+ params['body'] is None):
611
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_cluster_usage_restriction`") # noqa: E501
612
+ # verify the required parameter 'cluster_id' is set
613
+ if ('cluster_id' not in params or
614
+ params['cluster_id'] is None):
615
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_create_cluster_usage_restriction`") # noqa: E501
616
+
617
+ collection_formats = {}
618
+
619
+ path_params = {}
620
+ if 'cluster_id' in params:
621
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
622
+
623
+ query_params = []
624
+
625
+ header_params = {}
626
+
627
+ form_params = []
628
+ local_var_files = {}
629
+
630
+ body_params = None
631
+ if 'body' in params:
632
+ body_params = params['body']
633
+ # HTTP header `Accept`
634
+ header_params['Accept'] = self.api_client.select_header_accept(
635
+ ['application/json']) # noqa: E501
636
+
637
+ # HTTP header `Content-Type`
638
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
639
+ ['application/json']) # noqa: E501
640
+
641
+ # Authentication setting
642
+ auth_settings = [] # noqa: E501
643
+
644
+ return self.api_client.call_api(
645
+ '/v1/core/clusters/{clusterId}/usage-restrictions', 'POST',
646
+ path_params,
647
+ query_params,
648
+ header_params,
649
+ body=body_params,
650
+ post_params=form_params,
651
+ files=local_var_files,
652
+ response_type='V1ClusterUsageRestriction', # noqa: E501
653
+ auth_settings=auth_settings,
654
+ async_req=params.get('async_req'),
655
+ _return_http_data_only=params.get('_return_http_data_only'),
656
+ _preload_content=params.get('_preload_content', True),
657
+ _request_timeout=params.get('_request_timeout'),
658
+ collection_formats=collection_formats)
659
+
660
+ def cluster_service_create_machine(self, body: 'CreateMachineRequestRepresentsTheRequestToCreateAMachine', cluster_id: 'str', **kwargs) -> 'V1CreateMachineResponse': # noqa: E501
661
+ """cluster_service_create_machine # noqa: E501
662
+
663
+ This method makes a synchronous HTTP request by default. To make an
664
+ asynchronous HTTP request, please pass async_req=True
665
+ >>> thread = api.cluster_service_create_machine(body, cluster_id, async_req=True)
666
+ >>> result = thread.get()
667
+
668
+ :param async_req bool
669
+ :param CreateMachineRequestRepresentsTheRequestToCreateAMachine body: (required)
670
+ :param str cluster_id: (required)
671
+ :return: V1CreateMachineResponse
672
+ If the method is called asynchronously,
673
+ returns the request thread.
674
+ """
675
+ kwargs['_return_http_data_only'] = True
676
+ if kwargs.get('async_req'):
677
+ return self.cluster_service_create_machine_with_http_info(body, cluster_id, **kwargs) # noqa: E501
678
+ else:
679
+ (data) = self.cluster_service_create_machine_with_http_info(body, cluster_id, **kwargs) # noqa: E501
680
+ return data
681
+
682
+ def cluster_service_create_machine_with_http_info(self, body: 'CreateMachineRequestRepresentsTheRequestToCreateAMachine', cluster_id: 'str', **kwargs) -> 'V1CreateMachineResponse': # noqa: E501
683
+ """cluster_service_create_machine # noqa: E501
684
+
685
+ This method makes a synchronous HTTP request by default. To make an
686
+ asynchronous HTTP request, please pass async_req=True
687
+ >>> thread = api.cluster_service_create_machine_with_http_info(body, cluster_id, async_req=True)
688
+ >>> result = thread.get()
689
+
690
+ :param async_req bool
691
+ :param CreateMachineRequestRepresentsTheRequestToCreateAMachine body: (required)
692
+ :param str cluster_id: (required)
693
+ :return: V1CreateMachineResponse
694
+ If the method is called asynchronously,
695
+ returns the request thread.
696
+ """
697
+
698
+ all_params = ['body', 'cluster_id'] # noqa: E501
699
+ all_params.append('async_req')
700
+ all_params.append('_return_http_data_only')
701
+ all_params.append('_preload_content')
702
+ all_params.append('_request_timeout')
703
+
704
+ params = locals()
705
+ for key, val in six.iteritems(params['kwargs']):
706
+ if key not in all_params:
707
+ raise TypeError(
708
+ "Got an unexpected keyword argument '%s'"
709
+ " to method cluster_service_create_machine" % key
710
+ )
711
+ params[key] = val
712
+ del params['kwargs']
713
+ # verify the required parameter 'body' is set
714
+ if ('body' not in params or
715
+ params['body'] is None):
716
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_machine`") # noqa: E501
717
+ # verify the required parameter 'cluster_id' is set
718
+ if ('cluster_id' not in params or
719
+ params['cluster_id'] is None):
720
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_create_machine`") # noqa: E501
721
+
722
+ collection_formats = {}
723
+
724
+ path_params = {}
725
+ if 'cluster_id' in params:
726
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
727
+
728
+ query_params = []
729
+
730
+ header_params = {}
731
+
732
+ form_params = []
733
+ local_var_files = {}
734
+
735
+ body_params = None
736
+ if 'body' in params:
737
+ body_params = params['body']
738
+ # HTTP header `Accept`
739
+ header_params['Accept'] = self.api_client.select_header_accept(
740
+ ['application/json']) # noqa: E501
741
+
742
+ # HTTP header `Content-Type`
743
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
744
+ ['application/json']) # noqa: E501
745
+
746
+ # Authentication setting
747
+ auth_settings = [] # noqa: E501
748
+
749
+ return self.api_client.call_api(
750
+ '/v1/core/clusters/{clusterId}/machines', 'POST',
751
+ path_params,
752
+ query_params,
753
+ header_params,
754
+ body=body_params,
755
+ post_params=form_params,
756
+ files=local_var_files,
757
+ response_type='V1CreateMachineResponse', # noqa: E501
758
+ auth_settings=auth_settings,
759
+ async_req=params.get('async_req'),
760
+ _return_http_data_only=params.get('_return_http_data_only'),
761
+ _preload_content=params.get('_preload_content', True),
762
+ _request_timeout=params.get('_request_timeout'),
763
+ collection_formats=collection_formats)
764
+
765
+ def cluster_service_create_project_cluster(self, body: 'ProjectIdClustersBody', project_id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
766
+ """cluster_service_create_project_cluster # noqa: E501
767
+
768
+ This method makes a synchronous HTTP request by default. To make an
769
+ asynchronous HTTP request, please pass async_req=True
770
+ >>> thread = api.cluster_service_create_project_cluster(body, project_id, async_req=True)
771
+ >>> result = thread.get()
772
+
773
+ :param async_req bool
774
+ :param ProjectIdClustersBody body: (required)
775
+ :param str project_id: (required)
776
+ :return: Externalv1Cluster
777
+ If the method is called asynchronously,
778
+ returns the request thread.
779
+ """
780
+ kwargs['_return_http_data_only'] = True
781
+ if kwargs.get('async_req'):
782
+ return self.cluster_service_create_project_cluster_with_http_info(body, project_id, **kwargs) # noqa: E501
783
+ else:
784
+ (data) = self.cluster_service_create_project_cluster_with_http_info(body, project_id, **kwargs) # noqa: E501
785
+ return data
786
+
787
+ def cluster_service_create_project_cluster_with_http_info(self, body: 'ProjectIdClustersBody', project_id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
788
+ """cluster_service_create_project_cluster # noqa: E501
789
+
790
+ This method makes a synchronous HTTP request by default. To make an
791
+ asynchronous HTTP request, please pass async_req=True
792
+ >>> thread = api.cluster_service_create_project_cluster_with_http_info(body, project_id, async_req=True)
793
+ >>> result = thread.get()
794
+
795
+ :param async_req bool
796
+ :param ProjectIdClustersBody body: (required)
797
+ :param str project_id: (required)
798
+ :return: Externalv1Cluster
799
+ If the method is called asynchronously,
800
+ returns the request thread.
801
+ """
802
+
803
+ all_params = ['body', 'project_id'] # noqa: E501
804
+ all_params.append('async_req')
805
+ all_params.append('_return_http_data_only')
806
+ all_params.append('_preload_content')
807
+ all_params.append('_request_timeout')
808
+
809
+ params = locals()
810
+ for key, val in six.iteritems(params['kwargs']):
811
+ if key not in all_params:
812
+ raise TypeError(
813
+ "Got an unexpected keyword argument '%s'"
814
+ " to method cluster_service_create_project_cluster" % key
815
+ )
816
+ params[key] = val
817
+ del params['kwargs']
818
+ # verify the required parameter 'body' is set
819
+ if ('body' not in params or
820
+ params['body'] is None):
821
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_project_cluster`") # noqa: E501
822
+ # verify the required parameter 'project_id' is set
823
+ if ('project_id' not in params or
824
+ params['project_id'] is None):
825
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_create_project_cluster`") # noqa: E501
826
+
827
+ collection_formats = {}
828
+
829
+ path_params = {}
830
+ if 'project_id' in params:
831
+ path_params['projectId'] = params['project_id'] # noqa: E501
832
+
833
+ query_params = []
834
+
835
+ header_params = {}
836
+
837
+ form_params = []
838
+ local_var_files = {}
839
+
840
+ body_params = None
841
+ if 'body' in params:
842
+ body_params = params['body']
843
+ # HTTP header `Accept`
844
+ header_params['Accept'] = self.api_client.select_header_accept(
845
+ ['application/json']) # noqa: E501
846
+
847
+ # HTTP header `Content-Type`
848
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
849
+ ['application/json']) # noqa: E501
850
+
851
+ # Authentication setting
852
+ auth_settings = [] # noqa: E501
853
+
854
+ return self.api_client.call_api(
855
+ '/v1/projects/{projectId}/clusters', 'POST',
856
+ path_params,
857
+ query_params,
858
+ header_params,
859
+ body=body_params,
860
+ post_params=form_params,
861
+ files=local_var_files,
862
+ response_type='Externalv1Cluster', # noqa: E501
863
+ auth_settings=auth_settings,
864
+ async_req=params.get('async_req'),
865
+ _return_http_data_only=params.get('_return_http_data_only'),
866
+ _preload_content=params.get('_preload_content', True),
867
+ _request_timeout=params.get('_request_timeout'),
868
+ collection_formats=collection_formats)
869
+
870
+ def cluster_service_create_server_alert(self, body: 'ServerIdAlertsBody', server_id: 'str', **kwargs) -> 'V1CreateServerAlertResponse': # noqa: E501
871
+ """cluster_service_create_server_alert # noqa: E501
872
+
873
+ This method makes a synchronous HTTP request by default. To make an
874
+ asynchronous HTTP request, please pass async_req=True
875
+ >>> thread = api.cluster_service_create_server_alert(body, server_id, async_req=True)
876
+ >>> result = thread.get()
877
+
878
+ :param async_req bool
879
+ :param ServerIdAlertsBody body: (required)
880
+ :param str server_id: (required)
881
+ :return: V1CreateServerAlertResponse
882
+ If the method is called asynchronously,
883
+ returns the request thread.
884
+ """
885
+ kwargs['_return_http_data_only'] = True
886
+ if kwargs.get('async_req'):
887
+ return self.cluster_service_create_server_alert_with_http_info(body, server_id, **kwargs) # noqa: E501
888
+ else:
889
+ (data) = self.cluster_service_create_server_alert_with_http_info(body, server_id, **kwargs) # noqa: E501
890
+ return data
891
+
892
+ def cluster_service_create_server_alert_with_http_info(self, body: 'ServerIdAlertsBody', server_id: 'str', **kwargs) -> 'V1CreateServerAlertResponse': # noqa: E501
893
+ """cluster_service_create_server_alert # noqa: E501
894
+
895
+ This method makes a synchronous HTTP request by default. To make an
896
+ asynchronous HTTP request, please pass async_req=True
897
+ >>> thread = api.cluster_service_create_server_alert_with_http_info(body, server_id, async_req=True)
898
+ >>> result = thread.get()
899
+
900
+ :param async_req bool
901
+ :param ServerIdAlertsBody body: (required)
902
+ :param str server_id: (required)
903
+ :return: V1CreateServerAlertResponse
904
+ If the method is called asynchronously,
905
+ returns the request thread.
906
+ """
907
+
908
+ all_params = ['body', 'server_id'] # noqa: E501
909
+ all_params.append('async_req')
910
+ all_params.append('_return_http_data_only')
911
+ all_params.append('_preload_content')
912
+ all_params.append('_request_timeout')
913
+
914
+ params = locals()
915
+ for key, val in six.iteritems(params['kwargs']):
916
+ if key not in all_params:
917
+ raise TypeError(
918
+ "Got an unexpected keyword argument '%s'"
919
+ " to method cluster_service_create_server_alert" % key
920
+ )
921
+ params[key] = val
922
+ del params['kwargs']
923
+ # verify the required parameter 'body' is set
924
+ if ('body' not in params or
925
+ params['body'] is None):
926
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_create_server_alert`") # noqa: E501
927
+ # verify the required parameter 'server_id' is set
928
+ if ('server_id' not in params or
929
+ params['server_id'] is None):
930
+ raise ValueError("Missing the required parameter `server_id` when calling `cluster_service_create_server_alert`") # noqa: E501
931
+
932
+ collection_formats = {}
933
+
934
+ path_params = {}
935
+ if 'server_id' in params:
936
+ path_params['serverId'] = params['server_id'] # noqa: E501
937
+
938
+ query_params = []
939
+
940
+ header_params = {}
941
+
942
+ form_params = []
943
+ local_var_files = {}
944
+
945
+ body_params = None
946
+ if 'body' in params:
947
+ body_params = params['body']
948
+ # HTTP header `Accept`
949
+ header_params['Accept'] = self.api_client.select_header_accept(
950
+ ['application/json']) # noqa: E501
951
+
952
+ # HTTP header `Content-Type`
953
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
954
+ ['application/json']) # noqa: E501
955
+
956
+ # Authentication setting
957
+ auth_settings = [] # noqa: E501
958
+
959
+ return self.api_client.call_api(
960
+ '/v1/core/servers/{serverId}/alerts', 'POST',
961
+ path_params,
962
+ query_params,
963
+ header_params,
964
+ body=body_params,
965
+ post_params=form_params,
966
+ files=local_var_files,
967
+ response_type='V1CreateServerAlertResponse', # noqa: E501
968
+ auth_settings=auth_settings,
969
+ async_req=params.get('async_req'),
970
+ _return_http_data_only=params.get('_return_http_data_only'),
971
+ _preload_content=params.get('_preload_content', True),
972
+ _request_timeout=params.get('_request_timeout'),
973
+ collection_formats=collection_formats)
974
+
975
+ def cluster_service_delete_cluster(self, id: 'str', **kwargs) -> 'V1DeleteClusterResponse': # noqa: E501
976
+ """cluster_service_delete_cluster # noqa: E501
977
+
978
+ This method makes a synchronous HTTP request by default. To make an
979
+ asynchronous HTTP request, please pass async_req=True
980
+ >>> thread = api.cluster_service_delete_cluster(id, async_req=True)
981
+ >>> result = thread.get()
982
+
983
+ :param async_req bool
984
+ :param str id: (required)
985
+ :param str org_id:
986
+ :param str project_id:
987
+ :param bool force:
988
+ :param bool delete_artifacts: if set to true, artifacts in the cloud provider object storage will be deleted.
989
+ :param bool delete_system_logs:
990
+ :return: V1DeleteClusterResponse
991
+ If the method is called asynchronously,
992
+ returns the request thread.
993
+ """
994
+ kwargs['_return_http_data_only'] = True
995
+ if kwargs.get('async_req'):
996
+ return self.cluster_service_delete_cluster_with_http_info(id, **kwargs) # noqa: E501
997
+ else:
998
+ (data) = self.cluster_service_delete_cluster_with_http_info(id, **kwargs) # noqa: E501
999
+ return data
1000
+
1001
+ def cluster_service_delete_cluster_with_http_info(self, id: 'str', **kwargs) -> 'V1DeleteClusterResponse': # noqa: E501
1002
+ """cluster_service_delete_cluster # noqa: E501
1003
+
1004
+ This method makes a synchronous HTTP request by default. To make an
1005
+ asynchronous HTTP request, please pass async_req=True
1006
+ >>> thread = api.cluster_service_delete_cluster_with_http_info(id, async_req=True)
1007
+ >>> result = thread.get()
1008
+
1009
+ :param async_req bool
1010
+ :param str id: (required)
1011
+ :param str org_id:
1012
+ :param str project_id:
1013
+ :param bool force:
1014
+ :param bool delete_artifacts: if set to true, artifacts in the cloud provider object storage will be deleted.
1015
+ :param bool delete_system_logs:
1016
+ :return: V1DeleteClusterResponse
1017
+ If the method is called asynchronously,
1018
+ returns the request thread.
1019
+ """
1020
+
1021
+ all_params = ['id', 'org_id', 'project_id', 'force', 'delete_artifacts', 'delete_system_logs'] # noqa: E501
1022
+ all_params.append('async_req')
1023
+ all_params.append('_return_http_data_only')
1024
+ all_params.append('_preload_content')
1025
+ all_params.append('_request_timeout')
1026
+
1027
+ params = locals()
1028
+ for key, val in six.iteritems(params['kwargs']):
1029
+ if key not in all_params:
1030
+ raise TypeError(
1031
+ "Got an unexpected keyword argument '%s'"
1032
+ " to method cluster_service_delete_cluster" % key
1033
+ )
1034
+ params[key] = val
1035
+ del params['kwargs']
1036
+ # verify the required parameter 'id' is set
1037
+ if ('id' not in params or
1038
+ params['id'] is None):
1039
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_delete_cluster`") # noqa: E501
1040
+
1041
+ collection_formats = {}
1042
+
1043
+ path_params = {}
1044
+ if 'id' in params:
1045
+ path_params['id'] = params['id'] # noqa: E501
1046
+
1047
+ query_params = []
1048
+ if 'org_id' in params:
1049
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
1050
+ if 'project_id' in params:
1051
+ query_params.append(('projectId', params['project_id'])) # noqa: E501
1052
+ if 'force' in params:
1053
+ query_params.append(('force', params['force'])) # noqa: E501
1054
+ if 'delete_artifacts' in params:
1055
+ query_params.append(('deleteArtifacts', params['delete_artifacts'])) # noqa: E501
1056
+ if 'delete_system_logs' in params:
1057
+ query_params.append(('deleteSystemLogs', params['delete_system_logs'])) # noqa: E501
1058
+
1059
+ header_params = {}
1060
+
1061
+ form_params = []
1062
+ local_var_files = {}
1063
+
1064
+ body_params = None
1065
+ # HTTP header `Accept`
1066
+ header_params['Accept'] = self.api_client.select_header_accept(
1067
+ ['application/json']) # noqa: E501
1068
+
1069
+ # Authentication setting
1070
+ auth_settings = [] # noqa: E501
1071
+
1072
+ return self.api_client.call_api(
1073
+ '/v1/core/clusters/{id}', 'DELETE',
1074
+ path_params,
1075
+ query_params,
1076
+ header_params,
1077
+ body=body_params,
1078
+ post_params=form_params,
1079
+ files=local_var_files,
1080
+ response_type='V1DeleteClusterResponse', # noqa: E501
1081
+ auth_settings=auth_settings,
1082
+ async_req=params.get('async_req'),
1083
+ _return_http_data_only=params.get('_return_http_data_only'),
1084
+ _preload_content=params.get('_preload_content', True),
1085
+ _request_timeout=params.get('_request_timeout'),
1086
+ collection_formats=collection_formats)
1087
+
1088
+ def cluster_service_delete_cluster_capacity_reservation(self, project_id: 'str', cluster_id: 'str', id: 'str', **kwargs) -> 'V1DeleteClusterCapacityReservationResponse': # noqa: E501
1089
+ """cluster_service_delete_cluster_capacity_reservation # noqa: E501
1090
+
1091
+ This method makes a synchronous HTTP request by default. To make an
1092
+ asynchronous HTTP request, please pass async_req=True
1093
+ >>> thread = api.cluster_service_delete_cluster_capacity_reservation(project_id, cluster_id, id, async_req=True)
1094
+ >>> result = thread.get()
1095
+
1096
+ :param async_req bool
1097
+ :param str project_id: (required)
1098
+ :param str cluster_id: (required)
1099
+ :param str id: (required)
1100
+ :return: V1DeleteClusterCapacityReservationResponse
1101
+ If the method is called asynchronously,
1102
+ returns the request thread.
1103
+ """
1104
+ kwargs['_return_http_data_only'] = True
1105
+ if kwargs.get('async_req'):
1106
+ return self.cluster_service_delete_cluster_capacity_reservation_with_http_info(project_id, cluster_id, id, **kwargs) # noqa: E501
1107
+ else:
1108
+ (data) = self.cluster_service_delete_cluster_capacity_reservation_with_http_info(project_id, cluster_id, id, **kwargs) # noqa: E501
1109
+ return data
1110
+
1111
+ def cluster_service_delete_cluster_capacity_reservation_with_http_info(self, project_id: 'str', cluster_id: 'str', id: 'str', **kwargs) -> 'V1DeleteClusterCapacityReservationResponse': # noqa: E501
1112
+ """cluster_service_delete_cluster_capacity_reservation # noqa: E501
1113
+
1114
+ This method makes a synchronous HTTP request by default. To make an
1115
+ asynchronous HTTP request, please pass async_req=True
1116
+ >>> thread = api.cluster_service_delete_cluster_capacity_reservation_with_http_info(project_id, cluster_id, id, async_req=True)
1117
+ >>> result = thread.get()
1118
+
1119
+ :param async_req bool
1120
+ :param str project_id: (required)
1121
+ :param str cluster_id: (required)
1122
+ :param str id: (required)
1123
+ :return: V1DeleteClusterCapacityReservationResponse
1124
+ If the method is called asynchronously,
1125
+ returns the request thread.
1126
+ """
1127
+
1128
+ all_params = ['project_id', 'cluster_id', 'id'] # noqa: E501
1129
+ all_params.append('async_req')
1130
+ all_params.append('_return_http_data_only')
1131
+ all_params.append('_preload_content')
1132
+ all_params.append('_request_timeout')
1133
+
1134
+ params = locals()
1135
+ for key, val in six.iteritems(params['kwargs']):
1136
+ if key not in all_params:
1137
+ raise TypeError(
1138
+ "Got an unexpected keyword argument '%s'"
1139
+ " to method cluster_service_delete_cluster_capacity_reservation" % key
1140
+ )
1141
+ params[key] = val
1142
+ del params['kwargs']
1143
+ # verify the required parameter 'project_id' is set
1144
+ if ('project_id' not in params or
1145
+ params['project_id'] is None):
1146
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_delete_cluster_capacity_reservation`") # noqa: E501
1147
+ # verify the required parameter 'cluster_id' is set
1148
+ if ('cluster_id' not in params or
1149
+ params['cluster_id'] is None):
1150
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_delete_cluster_capacity_reservation`") # noqa: E501
1151
+ # verify the required parameter 'id' is set
1152
+ if ('id' not in params or
1153
+ params['id'] is None):
1154
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_delete_cluster_capacity_reservation`") # noqa: E501
1155
+
1156
+ collection_formats = {}
1157
+
1158
+ path_params = {}
1159
+ if 'project_id' in params:
1160
+ path_params['projectId'] = params['project_id'] # noqa: E501
1161
+ if 'cluster_id' in params:
1162
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
1163
+ if 'id' in params:
1164
+ path_params['id'] = params['id'] # noqa: E501
1165
+
1166
+ query_params = []
1167
+
1168
+ header_params = {}
1169
+
1170
+ form_params = []
1171
+ local_var_files = {}
1172
+
1173
+ body_params = None
1174
+ # HTTP header `Accept`
1175
+ header_params['Accept'] = self.api_client.select_header_accept(
1176
+ ['application/json']) # noqa: E501
1177
+
1178
+ # Authentication setting
1179
+ auth_settings = [] # noqa: E501
1180
+
1181
+ return self.api_client.call_api(
1182
+ '/v1/projects/{projectId}/clusters/{clusterId}/capacity-reservations/{id}', 'DELETE',
1183
+ path_params,
1184
+ query_params,
1185
+ header_params,
1186
+ body=body_params,
1187
+ post_params=form_params,
1188
+ files=local_var_files,
1189
+ response_type='V1DeleteClusterCapacityReservationResponse', # noqa: E501
1190
+ auth_settings=auth_settings,
1191
+ async_req=params.get('async_req'),
1192
+ _return_http_data_only=params.get('_return_http_data_only'),
1193
+ _preload_content=params.get('_preload_content', True),
1194
+ _request_timeout=params.get('_request_timeout'),
1195
+ collection_formats=collection_formats)
1196
+
1197
+ def cluster_service_delete_cluster_encryption_key(self, id: 'str', **kwargs) -> 'V1DeleteClusterEncryptionKeyResponse': # noqa: E501
1198
+ """cluster_service_delete_cluster_encryption_key # noqa: E501
1199
+
1200
+ This method makes a synchronous HTTP request by default. To make an
1201
+ asynchronous HTTP request, please pass async_req=True
1202
+ >>> thread = api.cluster_service_delete_cluster_encryption_key(id, async_req=True)
1203
+ >>> result = thread.get()
1204
+
1205
+ :param async_req bool
1206
+ :param str id: (required)
1207
+ :return: V1DeleteClusterEncryptionKeyResponse
1208
+ If the method is called asynchronously,
1209
+ returns the request thread.
1210
+ """
1211
+ kwargs['_return_http_data_only'] = True
1212
+ if kwargs.get('async_req'):
1213
+ return self.cluster_service_delete_cluster_encryption_key_with_http_info(id, **kwargs) # noqa: E501
1214
+ else:
1215
+ (data) = self.cluster_service_delete_cluster_encryption_key_with_http_info(id, **kwargs) # noqa: E501
1216
+ return data
1217
+
1218
+ def cluster_service_delete_cluster_encryption_key_with_http_info(self, id: 'str', **kwargs) -> 'V1DeleteClusterEncryptionKeyResponse': # noqa: E501
1219
+ """cluster_service_delete_cluster_encryption_key # noqa: E501
1220
+
1221
+ This method makes a synchronous HTTP request by default. To make an
1222
+ asynchronous HTTP request, please pass async_req=True
1223
+ >>> thread = api.cluster_service_delete_cluster_encryption_key_with_http_info(id, async_req=True)
1224
+ >>> result = thread.get()
1225
+
1226
+ :param async_req bool
1227
+ :param str id: (required)
1228
+ :return: V1DeleteClusterEncryptionKeyResponse
1229
+ If the method is called asynchronously,
1230
+ returns the request thread.
1231
+ """
1232
+
1233
+ all_params = ['id'] # noqa: E501
1234
+ all_params.append('async_req')
1235
+ all_params.append('_return_http_data_only')
1236
+ all_params.append('_preload_content')
1237
+ all_params.append('_request_timeout')
1238
+
1239
+ params = locals()
1240
+ for key, val in six.iteritems(params['kwargs']):
1241
+ if key not in all_params:
1242
+ raise TypeError(
1243
+ "Got an unexpected keyword argument '%s'"
1244
+ " to method cluster_service_delete_cluster_encryption_key" % key
1245
+ )
1246
+ params[key] = val
1247
+ del params['kwargs']
1248
+ # verify the required parameter 'id' is set
1249
+ if ('id' not in params or
1250
+ params['id'] is None):
1251
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_delete_cluster_encryption_key`") # noqa: E501
1252
+
1253
+ collection_formats = {}
1254
+
1255
+ path_params = {}
1256
+ if 'id' in params:
1257
+ path_params['id'] = params['id'] # noqa: E501
1258
+
1259
+ query_params = []
1260
+
1261
+ header_params = {}
1262
+
1263
+ form_params = []
1264
+ local_var_files = {}
1265
+
1266
+ body_params = None
1267
+ # HTTP header `Accept`
1268
+ header_params['Accept'] = self.api_client.select_header_accept(
1269
+ ['application/json']) # noqa: E501
1270
+
1271
+ # Authentication setting
1272
+ auth_settings = [] # noqa: E501
1273
+
1274
+ return self.api_client.call_api(
1275
+ '/v1/core/cluster-encryption-keys/{id}', 'DELETE',
1276
+ path_params,
1277
+ query_params,
1278
+ header_params,
1279
+ body=body_params,
1280
+ post_params=form_params,
1281
+ files=local_var_files,
1282
+ response_type='V1DeleteClusterEncryptionKeyResponse', # noqa: E501
1283
+ auth_settings=auth_settings,
1284
+ async_req=params.get('async_req'),
1285
+ _return_http_data_only=params.get('_return_http_data_only'),
1286
+ _preload_content=params.get('_preload_content', True),
1287
+ _request_timeout=params.get('_request_timeout'),
1288
+ collection_formats=collection_formats)
1289
+
1290
+ def cluster_service_delete_cluster_proxy(self, cluster_id: 'str', proxy_id: 'str', **kwargs) -> 'V1DeleteClusterProxyResponse': # noqa: E501
1291
+ """cluster_service_delete_cluster_proxy # noqa: E501
1292
+
1293
+ This method makes a synchronous HTTP request by default. To make an
1294
+ asynchronous HTTP request, please pass async_req=True
1295
+ >>> thread = api.cluster_service_delete_cluster_proxy(cluster_id, proxy_id, async_req=True)
1296
+ >>> result = thread.get()
1297
+
1298
+ :param async_req bool
1299
+ :param str cluster_id: (required)
1300
+ :param str proxy_id: (required)
1301
+ :param str org_id:
1302
+ :return: V1DeleteClusterProxyResponse
1303
+ If the method is called asynchronously,
1304
+ returns the request thread.
1305
+ """
1306
+ kwargs['_return_http_data_only'] = True
1307
+ if kwargs.get('async_req'):
1308
+ return self.cluster_service_delete_cluster_proxy_with_http_info(cluster_id, proxy_id, **kwargs) # noqa: E501
1309
+ else:
1310
+ (data) = self.cluster_service_delete_cluster_proxy_with_http_info(cluster_id, proxy_id, **kwargs) # noqa: E501
1311
+ return data
1312
+
1313
+ def cluster_service_delete_cluster_proxy_with_http_info(self, cluster_id: 'str', proxy_id: 'str', **kwargs) -> 'V1DeleteClusterProxyResponse': # noqa: E501
1314
+ """cluster_service_delete_cluster_proxy # noqa: E501
1315
+
1316
+ This method makes a synchronous HTTP request by default. To make an
1317
+ asynchronous HTTP request, please pass async_req=True
1318
+ >>> thread = api.cluster_service_delete_cluster_proxy_with_http_info(cluster_id, proxy_id, async_req=True)
1319
+ >>> result = thread.get()
1320
+
1321
+ :param async_req bool
1322
+ :param str cluster_id: (required)
1323
+ :param str proxy_id: (required)
1324
+ :param str org_id:
1325
+ :return: V1DeleteClusterProxyResponse
1326
+ If the method is called asynchronously,
1327
+ returns the request thread.
1328
+ """
1329
+
1330
+ all_params = ['cluster_id', 'proxy_id', 'org_id'] # noqa: E501
1331
+ all_params.append('async_req')
1332
+ all_params.append('_return_http_data_only')
1333
+ all_params.append('_preload_content')
1334
+ all_params.append('_request_timeout')
1335
+
1336
+ params = locals()
1337
+ for key, val in six.iteritems(params['kwargs']):
1338
+ if key not in all_params:
1339
+ raise TypeError(
1340
+ "Got an unexpected keyword argument '%s'"
1341
+ " to method cluster_service_delete_cluster_proxy" % key
1342
+ )
1343
+ params[key] = val
1344
+ del params['kwargs']
1345
+ # verify the required parameter 'cluster_id' is set
1346
+ if ('cluster_id' not in params or
1347
+ params['cluster_id'] is None):
1348
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_delete_cluster_proxy`") # noqa: E501
1349
+ # verify the required parameter 'proxy_id' is set
1350
+ if ('proxy_id' not in params or
1351
+ params['proxy_id'] is None):
1352
+ raise ValueError("Missing the required parameter `proxy_id` when calling `cluster_service_delete_cluster_proxy`") # noqa: E501
1353
+
1354
+ collection_formats = {}
1355
+
1356
+ path_params = {}
1357
+ if 'cluster_id' in params:
1358
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
1359
+ if 'proxy_id' in params:
1360
+ path_params['proxyId'] = params['proxy_id'] # noqa: E501
1361
+
1362
+ query_params = []
1363
+ if 'org_id' in params:
1364
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
1365
+
1366
+ header_params = {}
1367
+
1368
+ form_params = []
1369
+ local_var_files = {}
1370
+
1371
+ body_params = None
1372
+ # HTTP header `Accept`
1373
+ header_params['Accept'] = self.api_client.select_header_accept(
1374
+ ['application/json']) # noqa: E501
1375
+
1376
+ # Authentication setting
1377
+ auth_settings = [] # noqa: E501
1378
+
1379
+ return self.api_client.call_api(
1380
+ '/v1/core/clusters/{clusterId}/proxies/{proxyId}', 'DELETE',
1381
+ path_params,
1382
+ query_params,
1383
+ header_params,
1384
+ body=body_params,
1385
+ post_params=form_params,
1386
+ files=local_var_files,
1387
+ response_type='V1DeleteClusterProxyResponse', # noqa: E501
1388
+ auth_settings=auth_settings,
1389
+ async_req=params.get('async_req'),
1390
+ _return_http_data_only=params.get('_return_http_data_only'),
1391
+ _preload_content=params.get('_preload_content', True),
1392
+ _request_timeout=params.get('_request_timeout'),
1393
+ collection_formats=collection_formats)
1394
+
1395
+ def cluster_service_delete_cluster_usage_restriction(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1DeleteClusterUsageRestrictionResponse': # noqa: E501
1396
+ """cluster_service_delete_cluster_usage_restriction # noqa: E501
1397
+
1398
+ This method makes a synchronous HTTP request by default. To make an
1399
+ asynchronous HTTP request, please pass async_req=True
1400
+ >>> thread = api.cluster_service_delete_cluster_usage_restriction(cluster_id, id, async_req=True)
1401
+ >>> result = thread.get()
1402
+
1403
+ :param async_req bool
1404
+ :param str cluster_id: (required)
1405
+ :param str id: (required)
1406
+ :param str org_id:
1407
+ :return: V1DeleteClusterUsageRestrictionResponse
1408
+ If the method is called asynchronously,
1409
+ returns the request thread.
1410
+ """
1411
+ kwargs['_return_http_data_only'] = True
1412
+ if kwargs.get('async_req'):
1413
+ return self.cluster_service_delete_cluster_usage_restriction_with_http_info(cluster_id, id, **kwargs) # noqa: E501
1414
+ else:
1415
+ (data) = self.cluster_service_delete_cluster_usage_restriction_with_http_info(cluster_id, id, **kwargs) # noqa: E501
1416
+ return data
1417
+
1418
+ def cluster_service_delete_cluster_usage_restriction_with_http_info(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1DeleteClusterUsageRestrictionResponse': # noqa: E501
1419
+ """cluster_service_delete_cluster_usage_restriction # noqa: E501
1420
+
1421
+ This method makes a synchronous HTTP request by default. To make an
1422
+ asynchronous HTTP request, please pass async_req=True
1423
+ >>> thread = api.cluster_service_delete_cluster_usage_restriction_with_http_info(cluster_id, id, async_req=True)
1424
+ >>> result = thread.get()
1425
+
1426
+ :param async_req bool
1427
+ :param str cluster_id: (required)
1428
+ :param str id: (required)
1429
+ :param str org_id:
1430
+ :return: V1DeleteClusterUsageRestrictionResponse
1431
+ If the method is called asynchronously,
1432
+ returns the request thread.
1433
+ """
1434
+
1435
+ all_params = ['cluster_id', 'id', 'org_id'] # noqa: E501
1436
+ all_params.append('async_req')
1437
+ all_params.append('_return_http_data_only')
1438
+ all_params.append('_preload_content')
1439
+ all_params.append('_request_timeout')
1440
+
1441
+ params = locals()
1442
+ for key, val in six.iteritems(params['kwargs']):
1443
+ if key not in all_params:
1444
+ raise TypeError(
1445
+ "Got an unexpected keyword argument '%s'"
1446
+ " to method cluster_service_delete_cluster_usage_restriction" % key
1447
+ )
1448
+ params[key] = val
1449
+ del params['kwargs']
1450
+ # verify the required parameter 'cluster_id' is set
1451
+ if ('cluster_id' not in params or
1452
+ params['cluster_id'] is None):
1453
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_delete_cluster_usage_restriction`") # noqa: E501
1454
+ # verify the required parameter 'id' is set
1455
+ if ('id' not in params or
1456
+ params['id'] is None):
1457
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_delete_cluster_usage_restriction`") # noqa: E501
1458
+
1459
+ collection_formats = {}
1460
+
1461
+ path_params = {}
1462
+ if 'cluster_id' in params:
1463
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
1464
+ if 'id' in params:
1465
+ path_params['id'] = params['id'] # noqa: E501
1466
+
1467
+ query_params = []
1468
+ if 'org_id' in params:
1469
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
1470
+
1471
+ header_params = {}
1472
+
1473
+ form_params = []
1474
+ local_var_files = {}
1475
+
1476
+ body_params = None
1477
+ # HTTP header `Accept`
1478
+ header_params['Accept'] = self.api_client.select_header_accept(
1479
+ ['application/json']) # noqa: E501
1480
+
1481
+ # Authentication setting
1482
+ auth_settings = [] # noqa: E501
1483
+
1484
+ return self.api_client.call_api(
1485
+ '/v1/core/clusters/{clusterId}/usage-restrictions/{id}', 'DELETE',
1486
+ path_params,
1487
+ query_params,
1488
+ header_params,
1489
+ body=body_params,
1490
+ post_params=form_params,
1491
+ files=local_var_files,
1492
+ response_type='V1DeleteClusterUsageRestrictionResponse', # noqa: E501
1493
+ auth_settings=auth_settings,
1494
+ async_req=params.get('async_req'),
1495
+ _return_http_data_only=params.get('_return_http_data_only'),
1496
+ _preload_content=params.get('_preload_content', True),
1497
+ _request_timeout=params.get('_request_timeout'),
1498
+ collection_formats=collection_formats)
1499
+
1500
+ def cluster_service_delete_machine(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1DeleteMachineResponse': # noqa: E501
1501
+ """Delete a machine # noqa: E501
1502
+
1503
+ This method makes a synchronous HTTP request by default. To make an
1504
+ asynchronous HTTP request, please pass async_req=True
1505
+ >>> thread = api.cluster_service_delete_machine(cluster_id, id, async_req=True)
1506
+ >>> result = thread.get()
1507
+
1508
+ :param async_req bool
1509
+ :param str cluster_id: (required)
1510
+ :param str id: (required)
1511
+ :param str org_id:
1512
+ :return: V1DeleteMachineResponse
1513
+ If the method is called asynchronously,
1514
+ returns the request thread.
1515
+ """
1516
+ kwargs['_return_http_data_only'] = True
1517
+ if kwargs.get('async_req'):
1518
+ return self.cluster_service_delete_machine_with_http_info(cluster_id, id, **kwargs) # noqa: E501
1519
+ else:
1520
+ (data) = self.cluster_service_delete_machine_with_http_info(cluster_id, id, **kwargs) # noqa: E501
1521
+ return data
1522
+
1523
+ def cluster_service_delete_machine_with_http_info(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1DeleteMachineResponse': # noqa: E501
1524
+ """Delete a machine # noqa: E501
1525
+
1526
+ This method makes a synchronous HTTP request by default. To make an
1527
+ asynchronous HTTP request, please pass async_req=True
1528
+ >>> thread = api.cluster_service_delete_machine_with_http_info(cluster_id, id, async_req=True)
1529
+ >>> result = thread.get()
1530
+
1531
+ :param async_req bool
1532
+ :param str cluster_id: (required)
1533
+ :param str id: (required)
1534
+ :param str org_id:
1535
+ :return: V1DeleteMachineResponse
1536
+ If the method is called asynchronously,
1537
+ returns the request thread.
1538
+ """
1539
+
1540
+ all_params = ['cluster_id', 'id', 'org_id'] # noqa: E501
1541
+ all_params.append('async_req')
1542
+ all_params.append('_return_http_data_only')
1543
+ all_params.append('_preload_content')
1544
+ all_params.append('_request_timeout')
1545
+
1546
+ params = locals()
1547
+ for key, val in six.iteritems(params['kwargs']):
1548
+ if key not in all_params:
1549
+ raise TypeError(
1550
+ "Got an unexpected keyword argument '%s'"
1551
+ " to method cluster_service_delete_machine" % key
1552
+ )
1553
+ params[key] = val
1554
+ del params['kwargs']
1555
+ # verify the required parameter 'cluster_id' is set
1556
+ if ('cluster_id' not in params or
1557
+ params['cluster_id'] is None):
1558
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_delete_machine`") # noqa: E501
1559
+ # verify the required parameter 'id' is set
1560
+ if ('id' not in params or
1561
+ params['id'] is None):
1562
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_delete_machine`") # noqa: E501
1563
+
1564
+ collection_formats = {}
1565
+
1566
+ path_params = {}
1567
+ if 'cluster_id' in params:
1568
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
1569
+ if 'id' in params:
1570
+ path_params['id'] = params['id'] # noqa: E501
1571
+
1572
+ query_params = []
1573
+ if 'org_id' in params:
1574
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
1575
+
1576
+ header_params = {}
1577
+
1578
+ form_params = []
1579
+ local_var_files = {}
1580
+
1581
+ body_params = None
1582
+ # HTTP header `Accept`
1583
+ header_params['Accept'] = self.api_client.select_header_accept(
1584
+ ['application/json']) # noqa: E501
1585
+
1586
+ # Authentication setting
1587
+ auth_settings = [] # noqa: E501
1588
+
1589
+ return self.api_client.call_api(
1590
+ '/v1/core/clusters/{clusterId}/machines/{id}', 'DELETE',
1591
+ path_params,
1592
+ query_params,
1593
+ header_params,
1594
+ body=body_params,
1595
+ post_params=form_params,
1596
+ files=local_var_files,
1597
+ response_type='V1DeleteMachineResponse', # noqa: E501
1598
+ auth_settings=auth_settings,
1599
+ async_req=params.get('async_req'),
1600
+ _return_http_data_only=params.get('_return_http_data_only'),
1601
+ _preload_content=params.get('_preload_content', True),
1602
+ _request_timeout=params.get('_request_timeout'),
1603
+ collection_formats=collection_formats)
1604
+
1605
+ def cluster_service_delete_project_cluster(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteProjectClusterResponse': # noqa: E501
1606
+ """cluster_service_delete_project_cluster # noqa: E501
1607
+
1608
+ This method makes a synchronous HTTP request by default. To make an
1609
+ asynchronous HTTP request, please pass async_req=True
1610
+ >>> thread = api.cluster_service_delete_project_cluster(project_id, id, async_req=True)
1611
+ >>> result = thread.get()
1612
+
1613
+ :param async_req bool
1614
+ :param str project_id: (required)
1615
+ :param str id: (required)
1616
+ :param bool force:
1617
+ :param bool delete_artifacts: if set to true, artifacts in the cloud provider object storage will be deleted.
1618
+ :param bool delete_system_logs:
1619
+ :return: V1DeleteProjectClusterResponse
1620
+ If the method is called asynchronously,
1621
+ returns the request thread.
1622
+ """
1623
+ kwargs['_return_http_data_only'] = True
1624
+ if kwargs.get('async_req'):
1625
+ return self.cluster_service_delete_project_cluster_with_http_info(project_id, id, **kwargs) # noqa: E501
1626
+ else:
1627
+ (data) = self.cluster_service_delete_project_cluster_with_http_info(project_id, id, **kwargs) # noqa: E501
1628
+ return data
1629
+
1630
+ def cluster_service_delete_project_cluster_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteProjectClusterResponse': # noqa: E501
1631
+ """cluster_service_delete_project_cluster # noqa: E501
1632
+
1633
+ This method makes a synchronous HTTP request by default. To make an
1634
+ asynchronous HTTP request, please pass async_req=True
1635
+ >>> thread = api.cluster_service_delete_project_cluster_with_http_info(project_id, id, async_req=True)
1636
+ >>> result = thread.get()
1637
+
1638
+ :param async_req bool
1639
+ :param str project_id: (required)
1640
+ :param str id: (required)
1641
+ :param bool force:
1642
+ :param bool delete_artifacts: if set to true, artifacts in the cloud provider object storage will be deleted.
1643
+ :param bool delete_system_logs:
1644
+ :return: V1DeleteProjectClusterResponse
1645
+ If the method is called asynchronously,
1646
+ returns the request thread.
1647
+ """
1648
+
1649
+ all_params = ['project_id', 'id', 'force', 'delete_artifacts', 'delete_system_logs'] # noqa: E501
1650
+ all_params.append('async_req')
1651
+ all_params.append('_return_http_data_only')
1652
+ all_params.append('_preload_content')
1653
+ all_params.append('_request_timeout')
1654
+
1655
+ params = locals()
1656
+ for key, val in six.iteritems(params['kwargs']):
1657
+ if key not in all_params:
1658
+ raise TypeError(
1659
+ "Got an unexpected keyword argument '%s'"
1660
+ " to method cluster_service_delete_project_cluster" % key
1661
+ )
1662
+ params[key] = val
1663
+ del params['kwargs']
1664
+ # verify the required parameter 'project_id' is set
1665
+ if ('project_id' not in params or
1666
+ params['project_id'] is None):
1667
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_delete_project_cluster`") # noqa: E501
1668
+ # verify the required parameter 'id' is set
1669
+ if ('id' not in params or
1670
+ params['id'] is None):
1671
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_delete_project_cluster`") # noqa: E501
1672
+
1673
+ collection_formats = {}
1674
+
1675
+ path_params = {}
1676
+ if 'project_id' in params:
1677
+ path_params['projectId'] = params['project_id'] # noqa: E501
1678
+ if 'id' in params:
1679
+ path_params['id'] = params['id'] # noqa: E501
1680
+
1681
+ query_params = []
1682
+ if 'force' in params:
1683
+ query_params.append(('force', params['force'])) # noqa: E501
1684
+ if 'delete_artifacts' in params:
1685
+ query_params.append(('deleteArtifacts', params['delete_artifacts'])) # noqa: E501
1686
+ if 'delete_system_logs' in params:
1687
+ query_params.append(('deleteSystemLogs', params['delete_system_logs'])) # noqa: E501
1688
+
1689
+ header_params = {}
1690
+
1691
+ form_params = []
1692
+ local_var_files = {}
1693
+
1694
+ body_params = None
1695
+ # HTTP header `Accept`
1696
+ header_params['Accept'] = self.api_client.select_header_accept(
1697
+ ['application/json']) # noqa: E501
1698
+
1699
+ # Authentication setting
1700
+ auth_settings = [] # noqa: E501
1701
+
1702
+ return self.api_client.call_api(
1703
+ '/v1/projects/{projectId}/clusters/{id}', 'DELETE',
1704
+ path_params,
1705
+ query_params,
1706
+ header_params,
1707
+ body=body_params,
1708
+ post_params=form_params,
1709
+ files=local_var_files,
1710
+ response_type='V1DeleteProjectClusterResponse', # noqa: E501
1711
+ auth_settings=auth_settings,
1712
+ async_req=params.get('async_req'),
1713
+ _return_http_data_only=params.get('_return_http_data_only'),
1714
+ _preload_content=params.get('_preload_content', True),
1715
+ _request_timeout=params.get('_request_timeout'),
1716
+ collection_formats=collection_formats)
1717
+
1718
+ def cluster_service_find_capacity_block_offering(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1FindCapacityBlockOfferingResponse': # noqa: E501
1719
+ """cluster_service_find_capacity_block_offering # noqa: E501
1720
+
1721
+ This method makes a synchronous HTTP request by default. To make an
1722
+ asynchronous HTTP request, please pass async_req=True
1723
+ >>> thread = api.cluster_service_find_capacity_block_offering(project_id, cluster_id, async_req=True)
1724
+ >>> result = thread.get()
1725
+
1726
+ :param async_req bool
1727
+ :param str project_id: (required)
1728
+ :param str cluster_id: (required)
1729
+ :param str instance_type:
1730
+ :param int instance_count:
1731
+ :param datetime start_date:
1732
+ :param str timezone:
1733
+ :param str org_id:
1734
+ :param int capacity_block_duration_hours:
1735
+ :return: V1FindCapacityBlockOfferingResponse
1736
+ If the method is called asynchronously,
1737
+ returns the request thread.
1738
+ """
1739
+ kwargs['_return_http_data_only'] = True
1740
+ if kwargs.get('async_req'):
1741
+ return self.cluster_service_find_capacity_block_offering_with_http_info(project_id, cluster_id, **kwargs) # noqa: E501
1742
+ else:
1743
+ (data) = self.cluster_service_find_capacity_block_offering_with_http_info(project_id, cluster_id, **kwargs) # noqa: E501
1744
+ return data
1745
+
1746
+ def cluster_service_find_capacity_block_offering_with_http_info(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1FindCapacityBlockOfferingResponse': # noqa: E501
1747
+ """cluster_service_find_capacity_block_offering # noqa: E501
1748
+
1749
+ This method makes a synchronous HTTP request by default. To make an
1750
+ asynchronous HTTP request, please pass async_req=True
1751
+ >>> thread = api.cluster_service_find_capacity_block_offering_with_http_info(project_id, cluster_id, async_req=True)
1752
+ >>> result = thread.get()
1753
+
1754
+ :param async_req bool
1755
+ :param str project_id: (required)
1756
+ :param str cluster_id: (required)
1757
+ :param str instance_type:
1758
+ :param int instance_count:
1759
+ :param datetime start_date:
1760
+ :param str timezone:
1761
+ :param str org_id:
1762
+ :param int capacity_block_duration_hours:
1763
+ :return: V1FindCapacityBlockOfferingResponse
1764
+ If the method is called asynchronously,
1765
+ returns the request thread.
1766
+ """
1767
+
1768
+ all_params = ['project_id', 'cluster_id', 'instance_type', 'instance_count', 'start_date', 'timezone', 'org_id', 'capacity_block_duration_hours'] # noqa: E501
1769
+ all_params.append('async_req')
1770
+ all_params.append('_return_http_data_only')
1771
+ all_params.append('_preload_content')
1772
+ all_params.append('_request_timeout')
1773
+
1774
+ params = locals()
1775
+ for key, val in six.iteritems(params['kwargs']):
1776
+ if key not in all_params:
1777
+ raise TypeError(
1778
+ "Got an unexpected keyword argument '%s'"
1779
+ " to method cluster_service_find_capacity_block_offering" % key
1780
+ )
1781
+ params[key] = val
1782
+ del params['kwargs']
1783
+ # verify the required parameter 'project_id' is set
1784
+ if ('project_id' not in params or
1785
+ params['project_id'] is None):
1786
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_find_capacity_block_offering`") # noqa: E501
1787
+ # verify the required parameter 'cluster_id' is set
1788
+ if ('cluster_id' not in params or
1789
+ params['cluster_id'] is None):
1790
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_find_capacity_block_offering`") # noqa: E501
1791
+
1792
+ collection_formats = {}
1793
+
1794
+ path_params = {}
1795
+ if 'project_id' in params:
1796
+ path_params['projectId'] = params['project_id'] # noqa: E501
1797
+ if 'cluster_id' in params:
1798
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
1799
+
1800
+ query_params = []
1801
+ if 'instance_type' in params:
1802
+ query_params.append(('instanceType', params['instance_type'])) # noqa: E501
1803
+ if 'instance_count' in params:
1804
+ query_params.append(('instanceCount', params['instance_count'])) # noqa: E501
1805
+ if 'start_date' in params:
1806
+ query_params.append(('startDate', params['start_date'])) # noqa: E501
1807
+ if 'timezone' in params:
1808
+ query_params.append(('timezone', params['timezone'])) # noqa: E501
1809
+ if 'org_id' in params:
1810
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
1811
+ if 'capacity_block_duration_hours' in params:
1812
+ query_params.append(('capacityBlockDurationHours', params['capacity_block_duration_hours'])) # noqa: E501
1813
+
1814
+ header_params = {}
1815
+
1816
+ form_params = []
1817
+ local_var_files = {}
1818
+
1819
+ body_params = None
1820
+ # HTTP header `Accept`
1821
+ header_params['Accept'] = self.api_client.select_header_accept(
1822
+ ['application/json']) # noqa: E501
1823
+
1824
+ # Authentication setting
1825
+ auth_settings = [] # noqa: E501
1826
+
1827
+ return self.api_client.call_api(
1828
+ '/v1/projects/{projectId}/clusters/{clusterId}/capacity-block-offering', 'GET',
1829
+ path_params,
1830
+ query_params,
1831
+ header_params,
1832
+ body=body_params,
1833
+ post_params=form_params,
1834
+ files=local_var_files,
1835
+ response_type='V1FindCapacityBlockOfferingResponse', # noqa: E501
1836
+ auth_settings=auth_settings,
1837
+ async_req=params.get('async_req'),
1838
+ _return_http_data_only=params.get('_return_http_data_only'),
1839
+ _preload_content=params.get('_preload_content', True),
1840
+ _request_timeout=params.get('_request_timeout'),
1841
+ collection_formats=collection_formats)
1842
+
1843
+ def cluster_service_get_cluster(self, id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
1844
+ """cluster_service_get_cluster # noqa: E501
1845
+
1846
+ This method makes a synchronous HTTP request by default. To make an
1847
+ asynchronous HTTP request, please pass async_req=True
1848
+ >>> thread = api.cluster_service_get_cluster(id, async_req=True)
1849
+ >>> result = thread.get()
1850
+
1851
+ :param async_req bool
1852
+ :param str id: (required)
1853
+ :param str org_id:
1854
+ :param str project_id:
1855
+ :param str auth_token:
1856
+ :return: Externalv1Cluster
1857
+ If the method is called asynchronously,
1858
+ returns the request thread.
1859
+ """
1860
+ kwargs['_return_http_data_only'] = True
1861
+ if kwargs.get('async_req'):
1862
+ return self.cluster_service_get_cluster_with_http_info(id, **kwargs) # noqa: E501
1863
+ else:
1864
+ (data) = self.cluster_service_get_cluster_with_http_info(id, **kwargs) # noqa: E501
1865
+ return data
1866
+
1867
+ def cluster_service_get_cluster_with_http_info(self, id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
1868
+ """cluster_service_get_cluster # noqa: E501
1869
+
1870
+ This method makes a synchronous HTTP request by default. To make an
1871
+ asynchronous HTTP request, please pass async_req=True
1872
+ >>> thread = api.cluster_service_get_cluster_with_http_info(id, async_req=True)
1873
+ >>> result = thread.get()
1874
+
1875
+ :param async_req bool
1876
+ :param str id: (required)
1877
+ :param str org_id:
1878
+ :param str project_id:
1879
+ :param str auth_token:
1880
+ :return: Externalv1Cluster
1881
+ If the method is called asynchronously,
1882
+ returns the request thread.
1883
+ """
1884
+
1885
+ all_params = ['id', 'org_id', 'project_id', 'auth_token'] # noqa: E501
1886
+ all_params.append('async_req')
1887
+ all_params.append('_return_http_data_only')
1888
+ all_params.append('_preload_content')
1889
+ all_params.append('_request_timeout')
1890
+
1891
+ params = locals()
1892
+ for key, val in six.iteritems(params['kwargs']):
1893
+ if key not in all_params:
1894
+ raise TypeError(
1895
+ "Got an unexpected keyword argument '%s'"
1896
+ " to method cluster_service_get_cluster" % key
1897
+ )
1898
+ params[key] = val
1899
+ del params['kwargs']
1900
+ # verify the required parameter 'id' is set
1901
+ if ('id' not in params or
1902
+ params['id'] is None):
1903
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_get_cluster`") # noqa: E501
1904
+
1905
+ collection_formats = {}
1906
+
1907
+ path_params = {}
1908
+ if 'id' in params:
1909
+ path_params['id'] = params['id'] # noqa: E501
1910
+
1911
+ query_params = []
1912
+ if 'org_id' in params:
1913
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
1914
+ if 'project_id' in params:
1915
+ query_params.append(('projectId', params['project_id'])) # noqa: E501
1916
+ if 'auth_token' in params:
1917
+ query_params.append(('authToken', params['auth_token'])) # noqa: E501
1918
+
1919
+ header_params = {}
1920
+
1921
+ form_params = []
1922
+ local_var_files = {}
1923
+
1924
+ body_params = None
1925
+ # HTTP header `Accept`
1926
+ header_params['Accept'] = self.api_client.select_header_accept(
1927
+ ['application/json']) # noqa: E501
1928
+
1929
+ # Authentication setting
1930
+ auth_settings = [] # noqa: E501
1931
+
1932
+ return self.api_client.call_api(
1933
+ '/v1/core/clusters/{id}', 'GET',
1934
+ path_params,
1935
+ query_params,
1936
+ header_params,
1937
+ body=body_params,
1938
+ post_params=form_params,
1939
+ files=local_var_files,
1940
+ response_type='Externalv1Cluster', # noqa: E501
1941
+ auth_settings=auth_settings,
1942
+ async_req=params.get('async_req'),
1943
+ _return_http_data_only=params.get('_return_http_data_only'),
1944
+ _preload_content=params.get('_preload_content', True),
1945
+ _request_timeout=params.get('_request_timeout'),
1946
+ collection_formats=collection_formats)
1947
+
1948
+ def cluster_service_get_cluster_accelerator_demand(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1GetClusterAcceleratorDemandResponse': # noqa: E501
1949
+ """cluster_service_get_cluster_accelerator_demand # noqa: E501
1950
+
1951
+ This method makes a synchronous HTTP request by default. To make an
1952
+ asynchronous HTTP request, please pass async_req=True
1953
+ >>> thread = api.cluster_service_get_cluster_accelerator_demand(cluster_id, id, async_req=True)
1954
+ >>> result = thread.get()
1955
+
1956
+ :param async_req bool
1957
+ :param str cluster_id: (required)
1958
+ :param str id: (required)
1959
+ :param bool spot:
1960
+ :return: V1GetClusterAcceleratorDemandResponse
1961
+ If the method is called asynchronously,
1962
+ returns the request thread.
1963
+ """
1964
+ kwargs['_return_http_data_only'] = True
1965
+ if kwargs.get('async_req'):
1966
+ return self.cluster_service_get_cluster_accelerator_demand_with_http_info(cluster_id, id, **kwargs) # noqa: E501
1967
+ else:
1968
+ (data) = self.cluster_service_get_cluster_accelerator_demand_with_http_info(cluster_id, id, **kwargs) # noqa: E501
1969
+ return data
1970
+
1971
+ def cluster_service_get_cluster_accelerator_demand_with_http_info(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1GetClusterAcceleratorDemandResponse': # noqa: E501
1972
+ """cluster_service_get_cluster_accelerator_demand # noqa: E501
1973
+
1974
+ This method makes a synchronous HTTP request by default. To make an
1975
+ asynchronous HTTP request, please pass async_req=True
1976
+ >>> thread = api.cluster_service_get_cluster_accelerator_demand_with_http_info(cluster_id, id, async_req=True)
1977
+ >>> result = thread.get()
1978
+
1979
+ :param async_req bool
1980
+ :param str cluster_id: (required)
1981
+ :param str id: (required)
1982
+ :param bool spot:
1983
+ :return: V1GetClusterAcceleratorDemandResponse
1984
+ If the method is called asynchronously,
1985
+ returns the request thread.
1986
+ """
1987
+
1988
+ all_params = ['cluster_id', 'id', 'spot'] # noqa: E501
1989
+ all_params.append('async_req')
1990
+ all_params.append('_return_http_data_only')
1991
+ all_params.append('_preload_content')
1992
+ all_params.append('_request_timeout')
1993
+
1994
+ params = locals()
1995
+ for key, val in six.iteritems(params['kwargs']):
1996
+ if key not in all_params:
1997
+ raise TypeError(
1998
+ "Got an unexpected keyword argument '%s'"
1999
+ " to method cluster_service_get_cluster_accelerator_demand" % key
2000
+ )
2001
+ params[key] = val
2002
+ del params['kwargs']
2003
+ # verify the required parameter 'cluster_id' is set
2004
+ if ('cluster_id' not in params or
2005
+ params['cluster_id'] is None):
2006
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_get_cluster_accelerator_demand`") # noqa: E501
2007
+ # verify the required parameter 'id' is set
2008
+ if ('id' not in params or
2009
+ params['id'] is None):
2010
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_get_cluster_accelerator_demand`") # noqa: E501
2011
+
2012
+ collection_formats = {}
2013
+
2014
+ path_params = {}
2015
+ if 'cluster_id' in params:
2016
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
2017
+ if 'id' in params:
2018
+ path_params['id'] = params['id'] # noqa: E501
2019
+
2020
+ query_params = []
2021
+ if 'spot' in params:
2022
+ query_params.append(('spot', params['spot'])) # noqa: E501
2023
+
2024
+ header_params = {}
2025
+
2026
+ form_params = []
2027
+ local_var_files = {}
2028
+
2029
+ body_params = None
2030
+ # HTTP header `Accept`
2031
+ header_params['Accept'] = self.api_client.select_header_accept(
2032
+ ['application/json']) # noqa: E501
2033
+
2034
+ # Authentication setting
2035
+ auth_settings = [] # noqa: E501
2036
+
2037
+ return self.api_client.call_api(
2038
+ '/v1/core/clusters/{clusterId}/accelerator/{id}/demand', 'GET',
2039
+ path_params,
2040
+ query_params,
2041
+ header_params,
2042
+ body=body_params,
2043
+ post_params=form_params,
2044
+ files=local_var_files,
2045
+ response_type='V1GetClusterAcceleratorDemandResponse', # noqa: E501
2046
+ auth_settings=auth_settings,
2047
+ async_req=params.get('async_req'),
2048
+ _return_http_data_only=params.get('_return_http_data_only'),
2049
+ _preload_content=params.get('_preload_content', True),
2050
+ _request_timeout=params.get('_request_timeout'),
2051
+ collection_formats=collection_formats)
2052
+
2053
+ def cluster_service_get_cluster_availability(self, **kwargs) -> 'V1ClusterAvailability': # noqa: E501
2054
+ """cluster_service_get_cluster_availability # noqa: E501
2055
+
2056
+ This method makes a synchronous HTTP request by default. To make an
2057
+ asynchronous HTTP request, please pass async_req=True
2058
+ >>> thread = api.cluster_service_get_cluster_availability(async_req=True)
2059
+ >>> result = thread.get()
2060
+
2061
+ :param async_req bool
2062
+ :param str org_id:
2063
+ :param str cluster_id:
2064
+ :return: V1ClusterAvailability
2065
+ If the method is called asynchronously,
2066
+ returns the request thread.
2067
+ """
2068
+ kwargs['_return_http_data_only'] = True
2069
+ if kwargs.get('async_req'):
2070
+ return self.cluster_service_get_cluster_availability_with_http_info(**kwargs) # noqa: E501
2071
+ else:
2072
+ (data) = self.cluster_service_get_cluster_availability_with_http_info(**kwargs) # noqa: E501
2073
+ return data
2074
+
2075
+ def cluster_service_get_cluster_availability_with_http_info(self, **kwargs) -> 'V1ClusterAvailability': # noqa: E501
2076
+ """cluster_service_get_cluster_availability # noqa: E501
2077
+
2078
+ This method makes a synchronous HTTP request by default. To make an
2079
+ asynchronous HTTP request, please pass async_req=True
2080
+ >>> thread = api.cluster_service_get_cluster_availability_with_http_info(async_req=True)
2081
+ >>> result = thread.get()
2082
+
2083
+ :param async_req bool
2084
+ :param str org_id:
2085
+ :param str cluster_id:
2086
+ :return: V1ClusterAvailability
2087
+ If the method is called asynchronously,
2088
+ returns the request thread.
2089
+ """
2090
+
2091
+ all_params = ['org_id', 'cluster_id'] # noqa: E501
2092
+ all_params.append('async_req')
2093
+ all_params.append('_return_http_data_only')
2094
+ all_params.append('_preload_content')
2095
+ all_params.append('_request_timeout')
2096
+
2097
+ params = locals()
2098
+ for key, val in six.iteritems(params['kwargs']):
2099
+ if key not in all_params:
2100
+ raise TypeError(
2101
+ "Got an unexpected keyword argument '%s'"
2102
+ " to method cluster_service_get_cluster_availability" % key
2103
+ )
2104
+ params[key] = val
2105
+ del params['kwargs']
2106
+
2107
+ collection_formats = {}
2108
+
2109
+ path_params = {}
2110
+
2111
+ query_params = []
2112
+ if 'org_id' in params:
2113
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
2114
+ if 'cluster_id' in params:
2115
+ query_params.append(('clusterId', params['cluster_id'])) # noqa: E501
2116
+
2117
+ header_params = {}
2118
+
2119
+ form_params = []
2120
+ local_var_files = {}
2121
+
2122
+ body_params = None
2123
+ # HTTP header `Accept`
2124
+ header_params['Accept'] = self.api_client.select_header_accept(
2125
+ ['application/json']) # noqa: E501
2126
+
2127
+ # Authentication setting
2128
+ auth_settings = [] # noqa: E501
2129
+
2130
+ return self.api_client.call_api(
2131
+ '/v1/core/cluster-availability', 'GET',
2132
+ path_params,
2133
+ query_params,
2134
+ header_params,
2135
+ body=body_params,
2136
+ post_params=form_params,
2137
+ files=local_var_files,
2138
+ response_type='V1ClusterAvailability', # noqa: E501
2139
+ auth_settings=auth_settings,
2140
+ async_req=params.get('async_req'),
2141
+ _return_http_data_only=params.get('_return_http_data_only'),
2142
+ _preload_content=params.get('_preload_content', True),
2143
+ _request_timeout=params.get('_request_timeout'),
2144
+ collection_formats=collection_formats)
2145
+
2146
+ def cluster_service_get_cluster_credentials(self, **kwargs) -> 'V1GetClusterCredentialsResponse': # noqa: E501
2147
+ """cluster_service_get_cluster_credentials # noqa: E501
2148
+
2149
+ This method makes a synchronous HTTP request by default. To make an
2150
+ asynchronous HTTP request, please pass async_req=True
2151
+ >>> thread = api.cluster_service_get_cluster_credentials(async_req=True)
2152
+ >>> result = thread.get()
2153
+
2154
+ :param async_req bool
2155
+ :return: V1GetClusterCredentialsResponse
2156
+ If the method is called asynchronously,
2157
+ returns the request thread.
2158
+ """
2159
+ kwargs['_return_http_data_only'] = True
2160
+ if kwargs.get('async_req'):
2161
+ return self.cluster_service_get_cluster_credentials_with_http_info(**kwargs) # noqa: E501
2162
+ else:
2163
+ (data) = self.cluster_service_get_cluster_credentials_with_http_info(**kwargs) # noqa: E501
2164
+ return data
2165
+
2166
+ def cluster_service_get_cluster_credentials_with_http_info(self, **kwargs) -> 'V1GetClusterCredentialsResponse': # noqa: E501
2167
+ """cluster_service_get_cluster_credentials # noqa: E501
2168
+
2169
+ This method makes a synchronous HTTP request by default. To make an
2170
+ asynchronous HTTP request, please pass async_req=True
2171
+ >>> thread = api.cluster_service_get_cluster_credentials_with_http_info(async_req=True)
2172
+ >>> result = thread.get()
2173
+
2174
+ :param async_req bool
2175
+ :return: V1GetClusterCredentialsResponse
2176
+ If the method is called asynchronously,
2177
+ returns the request thread.
2178
+ """
2179
+
2180
+ all_params = [] # noqa: E501
2181
+ all_params.append('async_req')
2182
+ all_params.append('_return_http_data_only')
2183
+ all_params.append('_preload_content')
2184
+ all_params.append('_request_timeout')
2185
+
2186
+ params = locals()
2187
+ for key, val in six.iteritems(params['kwargs']):
2188
+ if key not in all_params:
2189
+ raise TypeError(
2190
+ "Got an unexpected keyword argument '%s'"
2191
+ " to method cluster_service_get_cluster_credentials" % key
2192
+ )
2193
+ params[key] = val
2194
+ del params['kwargs']
2195
+
2196
+ collection_formats = {}
2197
+
2198
+ path_params = {}
2199
+
2200
+ query_params = []
2201
+
2202
+ header_params = {}
2203
+
2204
+ form_params = []
2205
+ local_var_files = {}
2206
+
2207
+ body_params = None
2208
+ # HTTP header `Accept`
2209
+ header_params['Accept'] = self.api_client.select_header_accept(
2210
+ ['application/json']) # noqa: E501
2211
+
2212
+ # Authentication setting
2213
+ auth_settings = [] # noqa: E501
2214
+
2215
+ return self.api_client.call_api(
2216
+ '/v1/core/cluster-credentials', 'GET',
2217
+ path_params,
2218
+ query_params,
2219
+ header_params,
2220
+ body=body_params,
2221
+ post_params=form_params,
2222
+ files=local_var_files,
2223
+ response_type='V1GetClusterCredentialsResponse', # noqa: E501
2224
+ auth_settings=auth_settings,
2225
+ async_req=params.get('async_req'),
2226
+ _return_http_data_only=params.get('_return_http_data_only'),
2227
+ _preload_content=params.get('_preload_content', True),
2228
+ _request_timeout=params.get('_request_timeout'),
2229
+ collection_formats=collection_formats)
2230
+
2231
+ def cluster_service_get_cluster_health(self, id: 'str', **kwargs) -> 'V1GetClusterHealthResponse': # noqa: E501
2232
+ """cluster_service_get_cluster_health # noqa: E501
2233
+
2234
+ This method makes a synchronous HTTP request by default. To make an
2235
+ asynchronous HTTP request, please pass async_req=True
2236
+ >>> thread = api.cluster_service_get_cluster_health(id, async_req=True)
2237
+ >>> result = thread.get()
2238
+
2239
+ :param async_req bool
2240
+ :param str id: (required)
2241
+ :return: V1GetClusterHealthResponse
2242
+ If the method is called asynchronously,
2243
+ returns the request thread.
2244
+ """
2245
+ kwargs['_return_http_data_only'] = True
2246
+ if kwargs.get('async_req'):
2247
+ return self.cluster_service_get_cluster_health_with_http_info(id, **kwargs) # noqa: E501
2248
+ else:
2249
+ (data) = self.cluster_service_get_cluster_health_with_http_info(id, **kwargs) # noqa: E501
2250
+ return data
2251
+
2252
+ def cluster_service_get_cluster_health_with_http_info(self, id: 'str', **kwargs) -> 'V1GetClusterHealthResponse': # noqa: E501
2253
+ """cluster_service_get_cluster_health # noqa: E501
2254
+
2255
+ This method makes a synchronous HTTP request by default. To make an
2256
+ asynchronous HTTP request, please pass async_req=True
2257
+ >>> thread = api.cluster_service_get_cluster_health_with_http_info(id, async_req=True)
2258
+ >>> result = thread.get()
2259
+
2260
+ :param async_req bool
2261
+ :param str id: (required)
2262
+ :return: V1GetClusterHealthResponse
2263
+ If the method is called asynchronously,
2264
+ returns the request thread.
2265
+ """
2266
+
2267
+ all_params = ['id'] # noqa: E501
2268
+ all_params.append('async_req')
2269
+ all_params.append('_return_http_data_only')
2270
+ all_params.append('_preload_content')
2271
+ all_params.append('_request_timeout')
2272
+
2273
+ params = locals()
2274
+ for key, val in six.iteritems(params['kwargs']):
2275
+ if key not in all_params:
2276
+ raise TypeError(
2277
+ "Got an unexpected keyword argument '%s'"
2278
+ " to method cluster_service_get_cluster_health" % key
2279
+ )
2280
+ params[key] = val
2281
+ del params['kwargs']
2282
+ # verify the required parameter 'id' is set
2283
+ if ('id' not in params or
2284
+ params['id'] is None):
2285
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_get_cluster_health`") # noqa: E501
2286
+
2287
+ collection_formats = {}
2288
+
2289
+ path_params = {}
2290
+ if 'id' in params:
2291
+ path_params['id'] = params['id'] # noqa: E501
2292
+
2293
+ query_params = []
2294
+
2295
+ header_params = {}
2296
+
2297
+ form_params = []
2298
+ local_var_files = {}
2299
+
2300
+ body_params = None
2301
+ # HTTP header `Accept`
2302
+ header_params['Accept'] = self.api_client.select_header_accept(
2303
+ ['application/json']) # noqa: E501
2304
+
2305
+ # Authentication setting
2306
+ auth_settings = [] # noqa: E501
2307
+
2308
+ return self.api_client.call_api(
2309
+ '/v1/core/clusters/{id}/health', 'GET',
2310
+ path_params,
2311
+ query_params,
2312
+ header_params,
2313
+ body=body_params,
2314
+ post_params=form_params,
2315
+ files=local_var_files,
2316
+ response_type='V1GetClusterHealthResponse', # noqa: E501
2317
+ auth_settings=auth_settings,
2318
+ async_req=params.get('async_req'),
2319
+ _return_http_data_only=params.get('_return_http_data_only'),
2320
+ _preload_content=params.get('_preload_content', True),
2321
+ _request_timeout=params.get('_request_timeout'),
2322
+ collection_formats=collection_formats)
2323
+
2324
+ def cluster_service_get_machine(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1GetMachineResponse': # noqa: E501
2325
+ """Get a machine by ID # noqa: E501
2326
+
2327
+ This method makes a synchronous HTTP request by default. To make an
2328
+ asynchronous HTTP request, please pass async_req=True
2329
+ >>> thread = api.cluster_service_get_machine(cluster_id, id, async_req=True)
2330
+ >>> result = thread.get()
2331
+
2332
+ :param async_req bool
2333
+ :param str cluster_id: (required)
2334
+ :param str id: (required)
2335
+ :param str org_id:
2336
+ :return: V1GetMachineResponse
2337
+ If the method is called asynchronously,
2338
+ returns the request thread.
2339
+ """
2340
+ kwargs['_return_http_data_only'] = True
2341
+ if kwargs.get('async_req'):
2342
+ return self.cluster_service_get_machine_with_http_info(cluster_id, id, **kwargs) # noqa: E501
2343
+ else:
2344
+ (data) = self.cluster_service_get_machine_with_http_info(cluster_id, id, **kwargs) # noqa: E501
2345
+ return data
2346
+
2347
+ def cluster_service_get_machine_with_http_info(self, cluster_id: 'str', id: 'str', **kwargs) -> 'V1GetMachineResponse': # noqa: E501
2348
+ """Get a machine by ID # noqa: E501
2349
+
2350
+ This method makes a synchronous HTTP request by default. To make an
2351
+ asynchronous HTTP request, please pass async_req=True
2352
+ >>> thread = api.cluster_service_get_machine_with_http_info(cluster_id, id, async_req=True)
2353
+ >>> result = thread.get()
2354
+
2355
+ :param async_req bool
2356
+ :param str cluster_id: (required)
2357
+ :param str id: (required)
2358
+ :param str org_id:
2359
+ :return: V1GetMachineResponse
2360
+ If the method is called asynchronously,
2361
+ returns the request thread.
2362
+ """
2363
+
2364
+ all_params = ['cluster_id', 'id', 'org_id'] # noqa: E501
2365
+ all_params.append('async_req')
2366
+ all_params.append('_return_http_data_only')
2367
+ all_params.append('_preload_content')
2368
+ all_params.append('_request_timeout')
2369
+
2370
+ params = locals()
2371
+ for key, val in six.iteritems(params['kwargs']):
2372
+ if key not in all_params:
2373
+ raise TypeError(
2374
+ "Got an unexpected keyword argument '%s'"
2375
+ " to method cluster_service_get_machine" % key
2376
+ )
2377
+ params[key] = val
2378
+ del params['kwargs']
2379
+ # verify the required parameter 'cluster_id' is set
2380
+ if ('cluster_id' not in params or
2381
+ params['cluster_id'] is None):
2382
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_get_machine`") # noqa: E501
2383
+ # verify the required parameter 'id' is set
2384
+ if ('id' not in params or
2385
+ params['id'] is None):
2386
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_get_machine`") # noqa: E501
2387
+
2388
+ collection_formats = {}
2389
+
2390
+ path_params = {}
2391
+ if 'cluster_id' in params:
2392
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
2393
+ if 'id' in params:
2394
+ path_params['id'] = params['id'] # noqa: E501
2395
+
2396
+ query_params = []
2397
+ if 'org_id' in params:
2398
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
2399
+
2400
+ header_params = {}
2401
+
2402
+ form_params = []
2403
+ local_var_files = {}
2404
+
2405
+ body_params = None
2406
+ # HTTP header `Accept`
2407
+ header_params['Accept'] = self.api_client.select_header_accept(
2408
+ ['application/json']) # noqa: E501
2409
+
2410
+ # Authentication setting
2411
+ auth_settings = [] # noqa: E501
2412
+
2413
+ return self.api_client.call_api(
2414
+ '/v1/core/clusters/{clusterId}/machines/{id}', 'GET',
2415
+ path_params,
2416
+ query_params,
2417
+ header_params,
2418
+ body=body_params,
2419
+ post_params=form_params,
2420
+ files=local_var_files,
2421
+ response_type='V1GetMachineResponse', # noqa: E501
2422
+ auth_settings=auth_settings,
2423
+ async_req=params.get('async_req'),
2424
+ _return_http_data_only=params.get('_return_http_data_only'),
2425
+ _preload_content=params.get('_preload_content', True),
2426
+ _request_timeout=params.get('_request_timeout'),
2427
+ collection_formats=collection_formats)
2428
+
2429
+ def cluster_service_get_project_cluster(self, project_id: 'str', id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
2430
+ """cluster_service_get_project_cluster # noqa: E501
2431
+
2432
+ This method makes a synchronous HTTP request by default. To make an
2433
+ asynchronous HTTP request, please pass async_req=True
2434
+ >>> thread = api.cluster_service_get_project_cluster(project_id, id, async_req=True)
2435
+ >>> result = thread.get()
2436
+
2437
+ :param async_req bool
2438
+ :param str project_id: (required)
2439
+ :param str id: (required)
2440
+ :return: Externalv1Cluster
2441
+ If the method is called asynchronously,
2442
+ returns the request thread.
2443
+ """
2444
+ kwargs['_return_http_data_only'] = True
2445
+ if kwargs.get('async_req'):
2446
+ return self.cluster_service_get_project_cluster_with_http_info(project_id, id, **kwargs) # noqa: E501
2447
+ else:
2448
+ (data) = self.cluster_service_get_project_cluster_with_http_info(project_id, id, **kwargs) # noqa: E501
2449
+ return data
2450
+
2451
+ def cluster_service_get_project_cluster_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
2452
+ """cluster_service_get_project_cluster # noqa: E501
2453
+
2454
+ This method makes a synchronous HTTP request by default. To make an
2455
+ asynchronous HTTP request, please pass async_req=True
2456
+ >>> thread = api.cluster_service_get_project_cluster_with_http_info(project_id, id, async_req=True)
2457
+ >>> result = thread.get()
2458
+
2459
+ :param async_req bool
2460
+ :param str project_id: (required)
2461
+ :param str id: (required)
2462
+ :return: Externalv1Cluster
2463
+ If the method is called asynchronously,
2464
+ returns the request thread.
2465
+ """
2466
+
2467
+ all_params = ['project_id', 'id'] # noqa: E501
2468
+ all_params.append('async_req')
2469
+ all_params.append('_return_http_data_only')
2470
+ all_params.append('_preload_content')
2471
+ all_params.append('_request_timeout')
2472
+
2473
+ params = locals()
2474
+ for key, val in six.iteritems(params['kwargs']):
2475
+ if key not in all_params:
2476
+ raise TypeError(
2477
+ "Got an unexpected keyword argument '%s'"
2478
+ " to method cluster_service_get_project_cluster" % key
2479
+ )
2480
+ params[key] = val
2481
+ del params['kwargs']
2482
+ # verify the required parameter 'project_id' is set
2483
+ if ('project_id' not in params or
2484
+ params['project_id'] is None):
2485
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_get_project_cluster`") # noqa: E501
2486
+ # verify the required parameter 'id' is set
2487
+ if ('id' not in params or
2488
+ params['id'] is None):
2489
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_get_project_cluster`") # noqa: E501
2490
+
2491
+ collection_formats = {}
2492
+
2493
+ path_params = {}
2494
+ if 'project_id' in params:
2495
+ path_params['projectId'] = params['project_id'] # noqa: E501
2496
+ if 'id' in params:
2497
+ path_params['id'] = params['id'] # noqa: E501
2498
+
2499
+ query_params = []
2500
+
2501
+ header_params = {}
2502
+
2503
+ form_params = []
2504
+ local_var_files = {}
2505
+
2506
+ body_params = None
2507
+ # HTTP header `Accept`
2508
+ header_params['Accept'] = self.api_client.select_header_accept(
2509
+ ['application/json']) # noqa: E501
2510
+
2511
+ # Authentication setting
2512
+ auth_settings = [] # noqa: E501
2513
+
2514
+ return self.api_client.call_api(
2515
+ '/v1/projects/{projectId}/clusters/{id}', 'GET',
2516
+ path_params,
2517
+ query_params,
2518
+ header_params,
2519
+ body=body_params,
2520
+ post_params=form_params,
2521
+ files=local_var_files,
2522
+ response_type='Externalv1Cluster', # noqa: E501
2523
+ auth_settings=auth_settings,
2524
+ async_req=params.get('async_req'),
2525
+ _return_http_data_only=params.get('_return_http_data_only'),
2526
+ _preload_content=params.get('_preload_content', True),
2527
+ _request_timeout=params.get('_request_timeout'),
2528
+ collection_formats=collection_formats)
2529
+
2530
+ def cluster_service_interrupt_server(self, body: 'object', server_id: 'str', **kwargs) -> 'V1InterruptServerResponse': # noqa: E501
2531
+ """cluster_service_interrupt_server # noqa: E501
2532
+
2533
+ This method makes a synchronous HTTP request by default. To make an
2534
+ asynchronous HTTP request, please pass async_req=True
2535
+ >>> thread = api.cluster_service_interrupt_server(body, server_id, async_req=True)
2536
+ >>> result = thread.get()
2537
+
2538
+ :param async_req bool
2539
+ :param object body: (required)
2540
+ :param str server_id: (required)
2541
+ :return: V1InterruptServerResponse
2542
+ If the method is called asynchronously,
2543
+ returns the request thread.
2544
+ """
2545
+ kwargs['_return_http_data_only'] = True
2546
+ if kwargs.get('async_req'):
2547
+ return self.cluster_service_interrupt_server_with_http_info(body, server_id, **kwargs) # noqa: E501
2548
+ else:
2549
+ (data) = self.cluster_service_interrupt_server_with_http_info(body, server_id, **kwargs) # noqa: E501
2550
+ return data
2551
+
2552
+ def cluster_service_interrupt_server_with_http_info(self, body: 'object', server_id: 'str', **kwargs) -> 'V1InterruptServerResponse': # noqa: E501
2553
+ """cluster_service_interrupt_server # noqa: E501
2554
+
2555
+ This method makes a synchronous HTTP request by default. To make an
2556
+ asynchronous HTTP request, please pass async_req=True
2557
+ >>> thread = api.cluster_service_interrupt_server_with_http_info(body, server_id, async_req=True)
2558
+ >>> result = thread.get()
2559
+
2560
+ :param async_req bool
2561
+ :param object body: (required)
2562
+ :param str server_id: (required)
2563
+ :return: V1InterruptServerResponse
2564
+ If the method is called asynchronously,
2565
+ returns the request thread.
2566
+ """
2567
+
2568
+ all_params = ['body', 'server_id'] # noqa: E501
2569
+ all_params.append('async_req')
2570
+ all_params.append('_return_http_data_only')
2571
+ all_params.append('_preload_content')
2572
+ all_params.append('_request_timeout')
2573
+
2574
+ params = locals()
2575
+ for key, val in six.iteritems(params['kwargs']):
2576
+ if key not in all_params:
2577
+ raise TypeError(
2578
+ "Got an unexpected keyword argument '%s'"
2579
+ " to method cluster_service_interrupt_server" % key
2580
+ )
2581
+ params[key] = val
2582
+ del params['kwargs']
2583
+ # verify the required parameter 'body' is set
2584
+ if ('body' not in params or
2585
+ params['body'] is None):
2586
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_interrupt_server`") # noqa: E501
2587
+ # verify the required parameter 'server_id' is set
2588
+ if ('server_id' not in params or
2589
+ params['server_id'] is None):
2590
+ raise ValueError("Missing the required parameter `server_id` when calling `cluster_service_interrupt_server`") # noqa: E501
2591
+
2592
+ collection_formats = {}
2593
+
2594
+ path_params = {}
2595
+ if 'server_id' in params:
2596
+ path_params['serverId'] = params['server_id'] # noqa: E501
2597
+
2598
+ query_params = []
2599
+
2600
+ header_params = {}
2601
+
2602
+ form_params = []
2603
+ local_var_files = {}
2604
+
2605
+ body_params = None
2606
+ if 'body' in params:
2607
+ body_params = params['body']
2608
+ # HTTP header `Accept`
2609
+ header_params['Accept'] = self.api_client.select_header_accept(
2610
+ ['application/json']) # noqa: E501
2611
+
2612
+ # HTTP header `Content-Type`
2613
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2614
+ ['application/json']) # noqa: E501
2615
+
2616
+ # Authentication setting
2617
+ auth_settings = [] # noqa: E501
2618
+
2619
+ return self.api_client.call_api(
2620
+ '/v1/core/servers/{serverId}/interrupt', 'POST',
2621
+ path_params,
2622
+ query_params,
2623
+ header_params,
2624
+ body=body_params,
2625
+ post_params=form_params,
2626
+ files=local_var_files,
2627
+ response_type='V1InterruptServerResponse', # noqa: E501
2628
+ auth_settings=auth_settings,
2629
+ async_req=params.get('async_req'),
2630
+ _return_http_data_only=params.get('_return_http_data_only'),
2631
+ _preload_content=params.get('_preload_content', True),
2632
+ _request_timeout=params.get('_request_timeout'),
2633
+ collection_formats=collection_formats)
2634
+
2635
+ def cluster_service_list_cluster_accelerators(self, id: 'str', **kwargs) -> 'V1ListClusterAcceleratorsResponse': # noqa: E501
2636
+ """cluster_service_list_cluster_accelerators # noqa: E501
2637
+
2638
+ This method makes a synchronous HTTP request by default. To make an
2639
+ asynchronous HTTP request, please pass async_req=True
2640
+ >>> thread = api.cluster_service_list_cluster_accelerators(id, async_req=True)
2641
+ >>> result = thread.get()
2642
+
2643
+ :param async_req bool
2644
+ :param str id: (required)
2645
+ :param bool enabled_only:
2646
+ :param str region:
2647
+ :param str org_id:
2648
+ :return: V1ListClusterAcceleratorsResponse
2649
+ If the method is called asynchronously,
2650
+ returns the request thread.
2651
+ """
2652
+ kwargs['_return_http_data_only'] = True
2653
+ if kwargs.get('async_req'):
2654
+ return self.cluster_service_list_cluster_accelerators_with_http_info(id, **kwargs) # noqa: E501
2655
+ else:
2656
+ (data) = self.cluster_service_list_cluster_accelerators_with_http_info(id, **kwargs) # noqa: E501
2657
+ return data
2658
+
2659
+ def cluster_service_list_cluster_accelerators_with_http_info(self, id: 'str', **kwargs) -> 'V1ListClusterAcceleratorsResponse': # noqa: E501
2660
+ """cluster_service_list_cluster_accelerators # noqa: E501
2661
+
2662
+ This method makes a synchronous HTTP request by default. To make an
2663
+ asynchronous HTTP request, please pass async_req=True
2664
+ >>> thread = api.cluster_service_list_cluster_accelerators_with_http_info(id, async_req=True)
2665
+ >>> result = thread.get()
2666
+
2667
+ :param async_req bool
2668
+ :param str id: (required)
2669
+ :param bool enabled_only:
2670
+ :param str region:
2671
+ :param str org_id:
2672
+ :return: V1ListClusterAcceleratorsResponse
2673
+ If the method is called asynchronously,
2674
+ returns the request thread.
2675
+ """
2676
+
2677
+ all_params = ['id', 'enabled_only', 'region', 'org_id'] # noqa: E501
2678
+ all_params.append('async_req')
2679
+ all_params.append('_return_http_data_only')
2680
+ all_params.append('_preload_content')
2681
+ all_params.append('_request_timeout')
2682
+
2683
+ params = locals()
2684
+ for key, val in six.iteritems(params['kwargs']):
2685
+ if key not in all_params:
2686
+ raise TypeError(
2687
+ "Got an unexpected keyword argument '%s'"
2688
+ " to method cluster_service_list_cluster_accelerators" % key
2689
+ )
2690
+ params[key] = val
2691
+ del params['kwargs']
2692
+ # verify the required parameter 'id' is set
2693
+ if ('id' not in params or
2694
+ params['id'] is None):
2695
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_list_cluster_accelerators`") # noqa: E501
2696
+
2697
+ collection_formats = {}
2698
+
2699
+ path_params = {}
2700
+ if 'id' in params:
2701
+ path_params['id'] = params['id'] # noqa: E501
2702
+
2703
+ query_params = []
2704
+ if 'enabled_only' in params:
2705
+ query_params.append(('enabledOnly', params['enabled_only'])) # noqa: E501
2706
+ if 'region' in params:
2707
+ query_params.append(('region', params['region'])) # noqa: E501
2708
+ if 'org_id' in params:
2709
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
2710
+
2711
+ header_params = {}
2712
+
2713
+ form_params = []
2714
+ local_var_files = {}
2715
+
2716
+ body_params = None
2717
+ # HTTP header `Accept`
2718
+ header_params['Accept'] = self.api_client.select_header_accept(
2719
+ ['application/json']) # noqa: E501
2720
+
2721
+ # Authentication setting
2722
+ auth_settings = [] # noqa: E501
2723
+
2724
+ return self.api_client.call_api(
2725
+ '/v1/core/clusters/{id}/accelerators', 'GET',
2726
+ path_params,
2727
+ query_params,
2728
+ header_params,
2729
+ body=body_params,
2730
+ post_params=form_params,
2731
+ files=local_var_files,
2732
+ response_type='V1ListClusterAcceleratorsResponse', # noqa: E501
2733
+ auth_settings=auth_settings,
2734
+ async_req=params.get('async_req'),
2735
+ _return_http_data_only=params.get('_return_http_data_only'),
2736
+ _preload_content=params.get('_preload_content', True),
2737
+ _request_timeout=params.get('_request_timeout'),
2738
+ collection_formats=collection_formats)
2739
+
2740
+ def cluster_service_list_cluster_availabilities(self, **kwargs) -> 'V1ListClusterAvailabilitiesResponse': # noqa: E501
2741
+ """cluster_service_list_cluster_availabilities # noqa: E501
2742
+
2743
+ This method makes a synchronous HTTP request by default. To make an
2744
+ asynchronous HTTP request, please pass async_req=True
2745
+ >>> thread = api.cluster_service_list_cluster_availabilities(async_req=True)
2746
+ >>> result = thread.get()
2747
+
2748
+ :param async_req bool
2749
+ :param str org_id:
2750
+ :return: V1ListClusterAvailabilitiesResponse
2751
+ If the method is called asynchronously,
2752
+ returns the request thread.
2753
+ """
2754
+ kwargs['_return_http_data_only'] = True
2755
+ if kwargs.get('async_req'):
2756
+ return self.cluster_service_list_cluster_availabilities_with_http_info(**kwargs) # noqa: E501
2757
+ else:
2758
+ (data) = self.cluster_service_list_cluster_availabilities_with_http_info(**kwargs) # noqa: E501
2759
+ return data
2760
+
2761
+ def cluster_service_list_cluster_availabilities_with_http_info(self, **kwargs) -> 'V1ListClusterAvailabilitiesResponse': # noqa: E501
2762
+ """cluster_service_list_cluster_availabilities # noqa: E501
2763
+
2764
+ This method makes a synchronous HTTP request by default. To make an
2765
+ asynchronous HTTP request, please pass async_req=True
2766
+ >>> thread = api.cluster_service_list_cluster_availabilities_with_http_info(async_req=True)
2767
+ >>> result = thread.get()
2768
+
2769
+ :param async_req bool
2770
+ :param str org_id:
2771
+ :return: V1ListClusterAvailabilitiesResponse
2772
+ If the method is called asynchronously,
2773
+ returns the request thread.
2774
+ """
2775
+
2776
+ all_params = ['org_id'] # noqa: E501
2777
+ all_params.append('async_req')
2778
+ all_params.append('_return_http_data_only')
2779
+ all_params.append('_preload_content')
2780
+ all_params.append('_request_timeout')
2781
+
2782
+ params = locals()
2783
+ for key, val in six.iteritems(params['kwargs']):
2784
+ if key not in all_params:
2785
+ raise TypeError(
2786
+ "Got an unexpected keyword argument '%s'"
2787
+ " to method cluster_service_list_cluster_availabilities" % key
2788
+ )
2789
+ params[key] = val
2790
+ del params['kwargs']
2791
+
2792
+ collection_formats = {}
2793
+
2794
+ path_params = {}
2795
+
2796
+ query_params = []
2797
+ if 'org_id' in params:
2798
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
2799
+
2800
+ header_params = {}
2801
+
2802
+ form_params = []
2803
+ local_var_files = {}
2804
+
2805
+ body_params = None
2806
+ # HTTP header `Accept`
2807
+ header_params['Accept'] = self.api_client.select_header_accept(
2808
+ ['application/json']) # noqa: E501
2809
+
2810
+ # Authentication setting
2811
+ auth_settings = [] # noqa: E501
2812
+
2813
+ return self.api_client.call_api(
2814
+ '/v1/core/cluster-availabilities', 'GET',
2815
+ path_params,
2816
+ query_params,
2817
+ header_params,
2818
+ body=body_params,
2819
+ post_params=form_params,
2820
+ files=local_var_files,
2821
+ response_type='V1ListClusterAvailabilitiesResponse', # noqa: E501
2822
+ auth_settings=auth_settings,
2823
+ async_req=params.get('async_req'),
2824
+ _return_http_data_only=params.get('_return_http_data_only'),
2825
+ _preload_content=params.get('_preload_content', True),
2826
+ _request_timeout=params.get('_request_timeout'),
2827
+ collection_formats=collection_formats)
2828
+
2829
+ def cluster_service_list_cluster_capacity_reservations(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1ListClusterCapacityReservationsResponse': # noqa: E501
2830
+ """cluster_service_list_cluster_capacity_reservations # noqa: E501
2831
+
2832
+ This method makes a synchronous HTTP request by default. To make an
2833
+ asynchronous HTTP request, please pass async_req=True
2834
+ >>> thread = api.cluster_service_list_cluster_capacity_reservations(project_id, cluster_id, async_req=True)
2835
+ >>> result = thread.get()
2836
+
2837
+ :param async_req bool
2838
+ :param str project_id: (required)
2839
+ :param str cluster_id: (required)
2840
+ :param datetime start_time:
2841
+ :param datetime end_time:
2842
+ :param bool available_only:
2843
+ :param bool from_aggregate:
2844
+ :param str apparent_provider:
2845
+ :return: V1ListClusterCapacityReservationsResponse
2846
+ If the method is called asynchronously,
2847
+ returns the request thread.
2848
+ """
2849
+ kwargs['_return_http_data_only'] = True
2850
+ if kwargs.get('async_req'):
2851
+ return self.cluster_service_list_cluster_capacity_reservations_with_http_info(project_id, cluster_id, **kwargs) # noqa: E501
2852
+ else:
2853
+ (data) = self.cluster_service_list_cluster_capacity_reservations_with_http_info(project_id, cluster_id, **kwargs) # noqa: E501
2854
+ return data
2855
+
2856
+ def cluster_service_list_cluster_capacity_reservations_with_http_info(self, project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1ListClusterCapacityReservationsResponse': # noqa: E501
2857
+ """cluster_service_list_cluster_capacity_reservations # noqa: E501
2858
+
2859
+ This method makes a synchronous HTTP request by default. To make an
2860
+ asynchronous HTTP request, please pass async_req=True
2861
+ >>> thread = api.cluster_service_list_cluster_capacity_reservations_with_http_info(project_id, cluster_id, async_req=True)
2862
+ >>> result = thread.get()
2863
+
2864
+ :param async_req bool
2865
+ :param str project_id: (required)
2866
+ :param str cluster_id: (required)
2867
+ :param datetime start_time:
2868
+ :param datetime end_time:
2869
+ :param bool available_only:
2870
+ :param bool from_aggregate:
2871
+ :param str apparent_provider:
2872
+ :return: V1ListClusterCapacityReservationsResponse
2873
+ If the method is called asynchronously,
2874
+ returns the request thread.
2875
+ """
2876
+
2877
+ all_params = ['project_id', 'cluster_id', 'start_time', 'end_time', 'available_only', 'from_aggregate', 'apparent_provider'] # noqa: E501
2878
+ all_params.append('async_req')
2879
+ all_params.append('_return_http_data_only')
2880
+ all_params.append('_preload_content')
2881
+ all_params.append('_request_timeout')
2882
+
2883
+ params = locals()
2884
+ for key, val in six.iteritems(params['kwargs']):
2885
+ if key not in all_params:
2886
+ raise TypeError(
2887
+ "Got an unexpected keyword argument '%s'"
2888
+ " to method cluster_service_list_cluster_capacity_reservations" % key
2889
+ )
2890
+ params[key] = val
2891
+ del params['kwargs']
2892
+ # verify the required parameter 'project_id' is set
2893
+ if ('project_id' not in params or
2894
+ params['project_id'] is None):
2895
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_list_cluster_capacity_reservations`") # noqa: E501
2896
+ # verify the required parameter 'cluster_id' is set
2897
+ if ('cluster_id' not in params or
2898
+ params['cluster_id'] is None):
2899
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_list_cluster_capacity_reservations`") # noqa: E501
2900
+
2901
+ collection_formats = {}
2902
+
2903
+ path_params = {}
2904
+ if 'project_id' in params:
2905
+ path_params['projectId'] = params['project_id'] # noqa: E501
2906
+ if 'cluster_id' in params:
2907
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
2908
+
2909
+ query_params = []
2910
+ if 'start_time' in params:
2911
+ query_params.append(('startTime', params['start_time'])) # noqa: E501
2912
+ if 'end_time' in params:
2913
+ query_params.append(('endTime', params['end_time'])) # noqa: E501
2914
+ if 'available_only' in params:
2915
+ query_params.append(('availableOnly', params['available_only'])) # noqa: E501
2916
+ if 'from_aggregate' in params:
2917
+ query_params.append(('fromAggregate', params['from_aggregate'])) # noqa: E501
2918
+ if 'apparent_provider' in params:
2919
+ query_params.append(('apparentProvider', params['apparent_provider'])) # noqa: E501
2920
+
2921
+ header_params = {}
2922
+
2923
+ form_params = []
2924
+ local_var_files = {}
2925
+
2926
+ body_params = None
2927
+ # HTTP header `Accept`
2928
+ header_params['Accept'] = self.api_client.select_header_accept(
2929
+ ['application/json']) # noqa: E501
2930
+
2931
+ # Authentication setting
2932
+ auth_settings = [] # noqa: E501
2933
+
2934
+ return self.api_client.call_api(
2935
+ '/v1/projects/{projectId}/clusters/{clusterId}/capacity-reservations', 'GET',
2936
+ path_params,
2937
+ query_params,
2938
+ header_params,
2939
+ body=body_params,
2940
+ post_params=form_params,
2941
+ files=local_var_files,
2942
+ response_type='V1ListClusterCapacityReservationsResponse', # noqa: E501
2943
+ auth_settings=auth_settings,
2944
+ async_req=params.get('async_req'),
2945
+ _return_http_data_only=params.get('_return_http_data_only'),
2946
+ _preload_content=params.get('_preload_content', True),
2947
+ _request_timeout=params.get('_request_timeout'),
2948
+ collection_formats=collection_formats)
2949
+
2950
+ def cluster_service_list_cluster_proxies(self, cluster_id: 'str', **kwargs) -> 'V1ListClusterProxiesResponse': # noqa: E501
2951
+ """cluster_service_list_cluster_proxies # noqa: E501
2952
+
2953
+ This method makes a synchronous HTTP request by default. To make an
2954
+ asynchronous HTTP request, please pass async_req=True
2955
+ >>> thread = api.cluster_service_list_cluster_proxies(cluster_id, async_req=True)
2956
+ >>> result = thread.get()
2957
+
2958
+ :param async_req bool
2959
+ :param str cluster_id: (required)
2960
+ :param str org_id:
2961
+ :return: V1ListClusterProxiesResponse
2962
+ If the method is called asynchronously,
2963
+ returns the request thread.
2964
+ """
2965
+ kwargs['_return_http_data_only'] = True
2966
+ if kwargs.get('async_req'):
2967
+ return self.cluster_service_list_cluster_proxies_with_http_info(cluster_id, **kwargs) # noqa: E501
2968
+ else:
2969
+ (data) = self.cluster_service_list_cluster_proxies_with_http_info(cluster_id, **kwargs) # noqa: E501
2970
+ return data
2971
+
2972
+ def cluster_service_list_cluster_proxies_with_http_info(self, cluster_id: 'str', **kwargs) -> 'V1ListClusterProxiesResponse': # noqa: E501
2973
+ """cluster_service_list_cluster_proxies # noqa: E501
2974
+
2975
+ This method makes a synchronous HTTP request by default. To make an
2976
+ asynchronous HTTP request, please pass async_req=True
2977
+ >>> thread = api.cluster_service_list_cluster_proxies_with_http_info(cluster_id, async_req=True)
2978
+ >>> result = thread.get()
2979
+
2980
+ :param async_req bool
2981
+ :param str cluster_id: (required)
2982
+ :param str org_id:
2983
+ :return: V1ListClusterProxiesResponse
2984
+ If the method is called asynchronously,
2985
+ returns the request thread.
2986
+ """
2987
+
2988
+ all_params = ['cluster_id', 'org_id'] # noqa: E501
2989
+ all_params.append('async_req')
2990
+ all_params.append('_return_http_data_only')
2991
+ all_params.append('_preload_content')
2992
+ all_params.append('_request_timeout')
2993
+
2994
+ params = locals()
2995
+ for key, val in six.iteritems(params['kwargs']):
2996
+ if key not in all_params:
2997
+ raise TypeError(
2998
+ "Got an unexpected keyword argument '%s'"
2999
+ " to method cluster_service_list_cluster_proxies" % key
3000
+ )
3001
+ params[key] = val
3002
+ del params['kwargs']
3003
+ # verify the required parameter 'cluster_id' is set
3004
+ if ('cluster_id' not in params or
3005
+ params['cluster_id'] is None):
3006
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_list_cluster_proxies`") # noqa: E501
3007
+
3008
+ collection_formats = {}
3009
+
3010
+ path_params = {}
3011
+ if 'cluster_id' in params:
3012
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
3013
+
3014
+ query_params = []
3015
+ if 'org_id' in params:
3016
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
3017
+
3018
+ header_params = {}
3019
+
3020
+ form_params = []
3021
+ local_var_files = {}
3022
+
3023
+ body_params = None
3024
+ # HTTP header `Accept`
3025
+ header_params['Accept'] = self.api_client.select_header_accept(
3026
+ ['application/json']) # noqa: E501
3027
+
3028
+ # Authentication setting
3029
+ auth_settings = [] # noqa: E501
3030
+
3031
+ return self.api_client.call_api(
3032
+ '/v1/core/clusters/{clusterId}/proxies', 'GET',
3033
+ path_params,
3034
+ query_params,
3035
+ header_params,
3036
+ body=body_params,
3037
+ post_params=form_params,
3038
+ files=local_var_files,
3039
+ response_type='V1ListClusterProxiesResponse', # noqa: E501
3040
+ auth_settings=auth_settings,
3041
+ async_req=params.get('async_req'),
3042
+ _return_http_data_only=params.get('_return_http_data_only'),
3043
+ _preload_content=params.get('_preload_content', True),
3044
+ _request_timeout=params.get('_request_timeout'),
3045
+ collection_formats=collection_formats)
3046
+
3047
+ def cluster_service_list_cluster_usage_restrictions(self, cluster_id: 'str', **kwargs) -> 'V1ListClusterUsageRestrictionsResponse': # noqa: E501
3048
+ """cluster_service_list_cluster_usage_restrictions # noqa: E501
3049
+
3050
+ This method makes a synchronous HTTP request by default. To make an
3051
+ asynchronous HTTP request, please pass async_req=True
3052
+ >>> thread = api.cluster_service_list_cluster_usage_restrictions(cluster_id, async_req=True)
3053
+ >>> result = thread.get()
3054
+
3055
+ :param async_req bool
3056
+ :param str cluster_id: (required)
3057
+ :param str org_id:
3058
+ :return: V1ListClusterUsageRestrictionsResponse
3059
+ If the method is called asynchronously,
3060
+ returns the request thread.
3061
+ """
3062
+ kwargs['_return_http_data_only'] = True
3063
+ if kwargs.get('async_req'):
3064
+ return self.cluster_service_list_cluster_usage_restrictions_with_http_info(cluster_id, **kwargs) # noqa: E501
3065
+ else:
3066
+ (data) = self.cluster_service_list_cluster_usage_restrictions_with_http_info(cluster_id, **kwargs) # noqa: E501
3067
+ return data
3068
+
3069
+ def cluster_service_list_cluster_usage_restrictions_with_http_info(self, cluster_id: 'str', **kwargs) -> 'V1ListClusterUsageRestrictionsResponse': # noqa: E501
3070
+ """cluster_service_list_cluster_usage_restrictions # noqa: E501
3071
+
3072
+ This method makes a synchronous HTTP request by default. To make an
3073
+ asynchronous HTTP request, please pass async_req=True
3074
+ >>> thread = api.cluster_service_list_cluster_usage_restrictions_with_http_info(cluster_id, async_req=True)
3075
+ >>> result = thread.get()
3076
+
3077
+ :param async_req bool
3078
+ :param str cluster_id: (required)
3079
+ :param str org_id:
3080
+ :return: V1ListClusterUsageRestrictionsResponse
3081
+ If the method is called asynchronously,
3082
+ returns the request thread.
3083
+ """
3084
+
3085
+ all_params = ['cluster_id', 'org_id'] # noqa: E501
3086
+ all_params.append('async_req')
3087
+ all_params.append('_return_http_data_only')
3088
+ all_params.append('_preload_content')
3089
+ all_params.append('_request_timeout')
3090
+
3091
+ params = locals()
3092
+ for key, val in six.iteritems(params['kwargs']):
3093
+ if key not in all_params:
3094
+ raise TypeError(
3095
+ "Got an unexpected keyword argument '%s'"
3096
+ " to method cluster_service_list_cluster_usage_restrictions" % key
3097
+ )
3098
+ params[key] = val
3099
+ del params['kwargs']
3100
+ # verify the required parameter 'cluster_id' is set
3101
+ if ('cluster_id' not in params or
3102
+ params['cluster_id'] is None):
3103
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_list_cluster_usage_restrictions`") # noqa: E501
3104
+
3105
+ collection_formats = {}
3106
+
3107
+ path_params = {}
3108
+ if 'cluster_id' in params:
3109
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
3110
+
3111
+ query_params = []
3112
+ if 'org_id' in params:
3113
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
3114
+
3115
+ header_params = {}
3116
+
3117
+ form_params = []
3118
+ local_var_files = {}
3119
+
3120
+ body_params = None
3121
+ # HTTP header `Accept`
3122
+ header_params['Accept'] = self.api_client.select_header_accept(
3123
+ ['application/json']) # noqa: E501
3124
+
3125
+ # Authentication setting
3126
+ auth_settings = [] # noqa: E501
3127
+
3128
+ return self.api_client.call_api(
3129
+ '/v1/core/clusters/{clusterId}/usage-restrictions', 'GET',
3130
+ path_params,
3131
+ query_params,
3132
+ header_params,
3133
+ body=body_params,
3134
+ post_params=form_params,
3135
+ files=local_var_files,
3136
+ response_type='V1ListClusterUsageRestrictionsResponse', # noqa: E501
3137
+ auth_settings=auth_settings,
3138
+ async_req=params.get('async_req'),
3139
+ _return_http_data_only=params.get('_return_http_data_only'),
3140
+ _preload_content=params.get('_preload_content', True),
3141
+ _request_timeout=params.get('_request_timeout'),
3142
+ collection_formats=collection_formats)
3143
+
3144
+ def cluster_service_list_clusters(self, **kwargs) -> 'V1ListClustersResponse': # noqa: E501
3145
+ """cluster_service_list_clusters # noqa: E501
3146
+
3147
+ This method makes a synchronous HTTP request by default. To make an
3148
+ asynchronous HTTP request, please pass async_req=True
3149
+ >>> thread = api.cluster_service_list_clusters(async_req=True)
3150
+ >>> result = thread.get()
3151
+
3152
+ :param async_req bool
3153
+ :param str org_id:
3154
+ :param str project_id:
3155
+ :return: V1ListClustersResponse
3156
+ If the method is called asynchronously,
3157
+ returns the request thread.
3158
+ """
3159
+ kwargs['_return_http_data_only'] = True
3160
+ if kwargs.get('async_req'):
3161
+ return self.cluster_service_list_clusters_with_http_info(**kwargs) # noqa: E501
3162
+ else:
3163
+ (data) = self.cluster_service_list_clusters_with_http_info(**kwargs) # noqa: E501
3164
+ return data
3165
+
3166
+ def cluster_service_list_clusters_with_http_info(self, **kwargs) -> 'V1ListClustersResponse': # noqa: E501
3167
+ """cluster_service_list_clusters # noqa: E501
3168
+
3169
+ This method makes a synchronous HTTP request by default. To make an
3170
+ asynchronous HTTP request, please pass async_req=True
3171
+ >>> thread = api.cluster_service_list_clusters_with_http_info(async_req=True)
3172
+ >>> result = thread.get()
3173
+
3174
+ :param async_req bool
3175
+ :param str org_id:
3176
+ :param str project_id:
3177
+ :return: V1ListClustersResponse
3178
+ If the method is called asynchronously,
3179
+ returns the request thread.
3180
+ """
3181
+
3182
+ all_params = ['org_id', 'project_id'] # noqa: E501
3183
+ all_params.append('async_req')
3184
+ all_params.append('_return_http_data_only')
3185
+ all_params.append('_preload_content')
3186
+ all_params.append('_request_timeout')
3187
+
3188
+ params = locals()
3189
+ for key, val in six.iteritems(params['kwargs']):
3190
+ if key not in all_params:
3191
+ raise TypeError(
3192
+ "Got an unexpected keyword argument '%s'"
3193
+ " to method cluster_service_list_clusters" % key
3194
+ )
3195
+ params[key] = val
3196
+ del params['kwargs']
3197
+
3198
+ collection_formats = {}
3199
+
3200
+ path_params = {}
3201
+
3202
+ query_params = []
3203
+ if 'org_id' in params:
3204
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
3205
+ if 'project_id' in params:
3206
+ query_params.append(('projectId', params['project_id'])) # noqa: E501
3207
+
3208
+ header_params = {}
3209
+
3210
+ form_params = []
3211
+ local_var_files = {}
3212
+
3213
+ body_params = None
3214
+ # HTTP header `Accept`
3215
+ header_params['Accept'] = self.api_client.select_header_accept(
3216
+ ['application/json']) # noqa: E501
3217
+
3218
+ # Authentication setting
3219
+ auth_settings = [] # noqa: E501
3220
+
3221
+ return self.api_client.call_api(
3222
+ '/v1/core/clusters', 'GET',
3223
+ path_params,
3224
+ query_params,
3225
+ header_params,
3226
+ body=body_params,
3227
+ post_params=form_params,
3228
+ files=local_var_files,
3229
+ response_type='V1ListClustersResponse', # noqa: E501
3230
+ auth_settings=auth_settings,
3231
+ async_req=params.get('async_req'),
3232
+ _return_http_data_only=params.get('_return_http_data_only'),
3233
+ _preload_content=params.get('_preload_content', True),
3234
+ _request_timeout=params.get('_request_timeout'),
3235
+ collection_formats=collection_formats)
3236
+
3237
+ def cluster_service_list_default_cluster_accelerators(self, **kwargs) -> 'V1ListDefaultClusterAcceleratorsResponse': # noqa: E501
3238
+ """cluster_service_list_default_cluster_accelerators # noqa: E501
3239
+
3240
+ This method makes a synchronous HTTP request by default. To make an
3241
+ asynchronous HTTP request, please pass async_req=True
3242
+ >>> thread = api.cluster_service_list_default_cluster_accelerators(async_req=True)
3243
+ >>> result = thread.get()
3244
+
3245
+ :param async_req bool
3246
+ :param str cloud_provider:
3247
+ :param str project_id:
3248
+ :return: V1ListDefaultClusterAcceleratorsResponse
3249
+ If the method is called asynchronously,
3250
+ returns the request thread.
3251
+ """
3252
+ kwargs['_return_http_data_only'] = True
3253
+ if kwargs.get('async_req'):
3254
+ return self.cluster_service_list_default_cluster_accelerators_with_http_info(**kwargs) # noqa: E501
3255
+ else:
3256
+ (data) = self.cluster_service_list_default_cluster_accelerators_with_http_info(**kwargs) # noqa: E501
3257
+ return data
3258
+
3259
+ def cluster_service_list_default_cluster_accelerators_with_http_info(self, **kwargs) -> 'V1ListDefaultClusterAcceleratorsResponse': # noqa: E501
3260
+ """cluster_service_list_default_cluster_accelerators # noqa: E501
3261
+
3262
+ This method makes a synchronous HTTP request by default. To make an
3263
+ asynchronous HTTP request, please pass async_req=True
3264
+ >>> thread = api.cluster_service_list_default_cluster_accelerators_with_http_info(async_req=True)
3265
+ >>> result = thread.get()
3266
+
3267
+ :param async_req bool
3268
+ :param str cloud_provider:
3269
+ :param str project_id:
3270
+ :return: V1ListDefaultClusterAcceleratorsResponse
3271
+ If the method is called asynchronously,
3272
+ returns the request thread.
3273
+ """
3274
+
3275
+ all_params = ['cloud_provider', 'project_id'] # noqa: E501
3276
+ all_params.append('async_req')
3277
+ all_params.append('_return_http_data_only')
3278
+ all_params.append('_preload_content')
3279
+ all_params.append('_request_timeout')
3280
+
3281
+ params = locals()
3282
+ for key, val in six.iteritems(params['kwargs']):
3283
+ if key not in all_params:
3284
+ raise TypeError(
3285
+ "Got an unexpected keyword argument '%s'"
3286
+ " to method cluster_service_list_default_cluster_accelerators" % key
3287
+ )
3288
+ params[key] = val
3289
+ del params['kwargs']
3290
+
3291
+ collection_formats = {}
3292
+
3293
+ path_params = {}
3294
+
3295
+ query_params = []
3296
+ if 'cloud_provider' in params:
3297
+ query_params.append(('cloudProvider', params['cloud_provider'])) # noqa: E501
3298
+ if 'project_id' in params:
3299
+ query_params.append(('projectId', params['project_id'])) # noqa: E501
3300
+
3301
+ header_params = {}
3302
+
3303
+ form_params = []
3304
+ local_var_files = {}
3305
+
3306
+ body_params = None
3307
+ # HTTP header `Accept`
3308
+ header_params['Accept'] = self.api_client.select_header_accept(
3309
+ ['application/json']) # noqa: E501
3310
+
3311
+ # Authentication setting
3312
+ auth_settings = [] # noqa: E501
3313
+
3314
+ return self.api_client.call_api(
3315
+ '/v1/core/accelerators', 'GET',
3316
+ path_params,
3317
+ query_params,
3318
+ header_params,
3319
+ body=body_params,
3320
+ post_params=form_params,
3321
+ files=local_var_files,
3322
+ response_type='V1ListDefaultClusterAcceleratorsResponse', # noqa: E501
3323
+ auth_settings=auth_settings,
3324
+ async_req=params.get('async_req'),
3325
+ _return_http_data_only=params.get('_return_http_data_only'),
3326
+ _preload_content=params.get('_preload_content', True),
3327
+ _request_timeout=params.get('_request_timeout'),
3328
+ collection_formats=collection_formats)
3329
+
3330
+ def cluster_service_list_machines(self, cluster_id: 'str', **kwargs) -> 'V1ListMachinesResponse': # noqa: E501
3331
+ """List machines with optional filtering # noqa: E501
3332
+
3333
+ This method makes a synchronous HTTP request by default. To make an
3334
+ asynchronous HTTP request, please pass async_req=True
3335
+ >>> thread = api.cluster_service_list_machines(cluster_id, async_req=True)
3336
+ >>> result = thread.get()
3337
+
3338
+ :param async_req bool
3339
+ :param str cluster_id: (required)
3340
+ :param str org_id:
3341
+ :param int page_size:
3342
+ :param str page_token:
3343
+ :return: V1ListMachinesResponse
3344
+ If the method is called asynchronously,
3345
+ returns the request thread.
3346
+ """
3347
+ kwargs['_return_http_data_only'] = True
3348
+ if kwargs.get('async_req'):
3349
+ return self.cluster_service_list_machines_with_http_info(cluster_id, **kwargs) # noqa: E501
3350
+ else:
3351
+ (data) = self.cluster_service_list_machines_with_http_info(cluster_id, **kwargs) # noqa: E501
3352
+ return data
3353
+
3354
+ def cluster_service_list_machines_with_http_info(self, cluster_id: 'str', **kwargs) -> 'V1ListMachinesResponse': # noqa: E501
3355
+ """List machines with optional filtering # noqa: E501
3356
+
3357
+ This method makes a synchronous HTTP request by default. To make an
3358
+ asynchronous HTTP request, please pass async_req=True
3359
+ >>> thread = api.cluster_service_list_machines_with_http_info(cluster_id, async_req=True)
3360
+ >>> result = thread.get()
3361
+
3362
+ :param async_req bool
3363
+ :param str cluster_id: (required)
3364
+ :param str org_id:
3365
+ :param int page_size:
3366
+ :param str page_token:
3367
+ :return: V1ListMachinesResponse
3368
+ If the method is called asynchronously,
3369
+ returns the request thread.
3370
+ """
3371
+
3372
+ all_params = ['cluster_id', 'org_id', 'page_size', 'page_token'] # noqa: E501
3373
+ all_params.append('async_req')
3374
+ all_params.append('_return_http_data_only')
3375
+ all_params.append('_preload_content')
3376
+ all_params.append('_request_timeout')
3377
+
3378
+ params = locals()
3379
+ for key, val in six.iteritems(params['kwargs']):
3380
+ if key not in all_params:
3381
+ raise TypeError(
3382
+ "Got an unexpected keyword argument '%s'"
3383
+ " to method cluster_service_list_machines" % key
3384
+ )
3385
+ params[key] = val
3386
+ del params['kwargs']
3387
+ # verify the required parameter 'cluster_id' is set
3388
+ if ('cluster_id' not in params or
3389
+ params['cluster_id'] is None):
3390
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_list_machines`") # noqa: E501
3391
+
3392
+ collection_formats = {}
3393
+
3394
+ path_params = {}
3395
+ if 'cluster_id' in params:
3396
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
3397
+
3398
+ query_params = []
3399
+ if 'org_id' in params:
3400
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
3401
+ if 'page_size' in params:
3402
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
3403
+ if 'page_token' in params:
3404
+ query_params.append(('pageToken', params['page_token'])) # noqa: E501
3405
+
3406
+ header_params = {}
3407
+
3408
+ form_params = []
3409
+ local_var_files = {}
3410
+
3411
+ body_params = None
3412
+ # HTTP header `Accept`
3413
+ header_params['Accept'] = self.api_client.select_header_accept(
3414
+ ['application/json']) # noqa: E501
3415
+
3416
+ # Authentication setting
3417
+ auth_settings = [] # noqa: E501
3418
+
3419
+ return self.api_client.call_api(
3420
+ '/v1/core/clusters/{clusterId}/machines', 'GET',
3421
+ path_params,
3422
+ query_params,
3423
+ header_params,
3424
+ body=body_params,
3425
+ post_params=form_params,
3426
+ files=local_var_files,
3427
+ response_type='V1ListMachinesResponse', # noqa: E501
3428
+ auth_settings=auth_settings,
3429
+ async_req=params.get('async_req'),
3430
+ _return_http_data_only=params.get('_return_http_data_only'),
3431
+ _preload_content=params.get('_preload_content', True),
3432
+ _request_timeout=params.get('_request_timeout'),
3433
+ collection_formats=collection_formats)
3434
+
3435
+ def cluster_service_list_organization_cluster_encryption_keys(self, **kwargs) -> 'V1ListOrganizationClusterEncryptionKeysResponse': # noqa: E501
3436
+ """cluster_service_list_organization_cluster_encryption_keys # noqa: E501
3437
+
3438
+ This method makes a synchronous HTTP request by default. To make an
3439
+ asynchronous HTTP request, please pass async_req=True
3440
+ >>> thread = api.cluster_service_list_organization_cluster_encryption_keys(async_req=True)
3441
+ >>> result = thread.get()
3442
+
3443
+ :param async_req bool
3444
+ :param str organization_id:
3445
+ :return: V1ListOrganizationClusterEncryptionKeysResponse
3446
+ If the method is called asynchronously,
3447
+ returns the request thread.
3448
+ """
3449
+ kwargs['_return_http_data_only'] = True
3450
+ if kwargs.get('async_req'):
3451
+ return self.cluster_service_list_organization_cluster_encryption_keys_with_http_info(**kwargs) # noqa: E501
3452
+ else:
3453
+ (data) = self.cluster_service_list_organization_cluster_encryption_keys_with_http_info(**kwargs) # noqa: E501
3454
+ return data
3455
+
3456
+ def cluster_service_list_organization_cluster_encryption_keys_with_http_info(self, **kwargs) -> 'V1ListOrganizationClusterEncryptionKeysResponse': # noqa: E501
3457
+ """cluster_service_list_organization_cluster_encryption_keys # noqa: E501
3458
+
3459
+ This method makes a synchronous HTTP request by default. To make an
3460
+ asynchronous HTTP request, please pass async_req=True
3461
+ >>> thread = api.cluster_service_list_organization_cluster_encryption_keys_with_http_info(async_req=True)
3462
+ >>> result = thread.get()
3463
+
3464
+ :param async_req bool
3465
+ :param str organization_id:
3466
+ :return: V1ListOrganizationClusterEncryptionKeysResponse
3467
+ If the method is called asynchronously,
3468
+ returns the request thread.
3469
+ """
3470
+
3471
+ all_params = ['organization_id'] # noqa: E501
3472
+ all_params.append('async_req')
3473
+ all_params.append('_return_http_data_only')
3474
+ all_params.append('_preload_content')
3475
+ all_params.append('_request_timeout')
3476
+
3477
+ params = locals()
3478
+ for key, val in six.iteritems(params['kwargs']):
3479
+ if key not in all_params:
3480
+ raise TypeError(
3481
+ "Got an unexpected keyword argument '%s'"
3482
+ " to method cluster_service_list_organization_cluster_encryption_keys" % key
3483
+ )
3484
+ params[key] = val
3485
+ del params['kwargs']
3486
+
3487
+ collection_formats = {}
3488
+
3489
+ path_params = {}
3490
+
3491
+ query_params = []
3492
+ if 'organization_id' in params:
3493
+ query_params.append(('organizationId', params['organization_id'])) # noqa: E501
3494
+
3495
+ header_params = {}
3496
+
3497
+ form_params = []
3498
+ local_var_files = {}
3499
+
3500
+ body_params = None
3501
+ # HTTP header `Accept`
3502
+ header_params['Accept'] = self.api_client.select_header_accept(
3503
+ ['application/json']) # noqa: E501
3504
+
3505
+ # Authentication setting
3506
+ auth_settings = [] # noqa: E501
3507
+
3508
+ return self.api_client.call_api(
3509
+ '/v1/core/cluster-encryption-keys', 'GET',
3510
+ path_params,
3511
+ query_params,
3512
+ header_params,
3513
+ body=body_params,
3514
+ post_params=form_params,
3515
+ files=local_var_files,
3516
+ response_type='V1ListOrganizationClusterEncryptionKeysResponse', # noqa: E501
3517
+ auth_settings=auth_settings,
3518
+ async_req=params.get('async_req'),
3519
+ _return_http_data_only=params.get('_return_http_data_only'),
3520
+ _preload_content=params.get('_preload_content', True),
3521
+ _request_timeout=params.get('_request_timeout'),
3522
+ collection_formats=collection_formats)
3523
+
3524
+ def cluster_service_list_project_cluster_accelerators(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ListProjectClusterAcceleratorsResponse': # noqa: E501
3525
+ """cluster_service_list_project_cluster_accelerators # noqa: E501
3526
+
3527
+ This method makes a synchronous HTTP request by default. To make an
3528
+ asynchronous HTTP request, please pass async_req=True
3529
+ >>> thread = api.cluster_service_list_project_cluster_accelerators(project_id, id, async_req=True)
3530
+ >>> result = thread.get()
3531
+
3532
+ :param async_req bool
3533
+ :param str project_id: (required)
3534
+ :param str id: (required)
3535
+ :param bool enabled_only:
3536
+ :param str region:
3537
+ :return: V1ListProjectClusterAcceleratorsResponse
3538
+ If the method is called asynchronously,
3539
+ returns the request thread.
3540
+ """
3541
+ kwargs['_return_http_data_only'] = True
3542
+ if kwargs.get('async_req'):
3543
+ return self.cluster_service_list_project_cluster_accelerators_with_http_info(project_id, id, **kwargs) # noqa: E501
3544
+ else:
3545
+ (data) = self.cluster_service_list_project_cluster_accelerators_with_http_info(project_id, id, **kwargs) # noqa: E501
3546
+ return data
3547
+
3548
+ def cluster_service_list_project_cluster_accelerators_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ListProjectClusterAcceleratorsResponse': # noqa: E501
3549
+ """cluster_service_list_project_cluster_accelerators # noqa: E501
3550
+
3551
+ This method makes a synchronous HTTP request by default. To make an
3552
+ asynchronous HTTP request, please pass async_req=True
3553
+ >>> thread = api.cluster_service_list_project_cluster_accelerators_with_http_info(project_id, id, async_req=True)
3554
+ >>> result = thread.get()
3555
+
3556
+ :param async_req bool
3557
+ :param str project_id: (required)
3558
+ :param str id: (required)
3559
+ :param bool enabled_only:
3560
+ :param str region:
3561
+ :return: V1ListProjectClusterAcceleratorsResponse
3562
+ If the method is called asynchronously,
3563
+ returns the request thread.
3564
+ """
3565
+
3566
+ all_params = ['project_id', 'id', 'enabled_only', 'region'] # noqa: E501
3567
+ all_params.append('async_req')
3568
+ all_params.append('_return_http_data_only')
3569
+ all_params.append('_preload_content')
3570
+ all_params.append('_request_timeout')
3571
+
3572
+ params = locals()
3573
+ for key, val in six.iteritems(params['kwargs']):
3574
+ if key not in all_params:
3575
+ raise TypeError(
3576
+ "Got an unexpected keyword argument '%s'"
3577
+ " to method cluster_service_list_project_cluster_accelerators" % key
3578
+ )
3579
+ params[key] = val
3580
+ del params['kwargs']
3581
+ # verify the required parameter 'project_id' is set
3582
+ if ('project_id' not in params or
3583
+ params['project_id'] is None):
3584
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_list_project_cluster_accelerators`") # noqa: E501
3585
+ # verify the required parameter 'id' is set
3586
+ if ('id' not in params or
3587
+ params['id'] is None):
3588
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_list_project_cluster_accelerators`") # noqa: E501
3589
+
3590
+ collection_formats = {}
3591
+
3592
+ path_params = {}
3593
+ if 'project_id' in params:
3594
+ path_params['projectId'] = params['project_id'] # noqa: E501
3595
+ if 'id' in params:
3596
+ path_params['id'] = params['id'] # noqa: E501
3597
+
3598
+ query_params = []
3599
+ if 'enabled_only' in params:
3600
+ query_params.append(('enabledOnly', params['enabled_only'])) # noqa: E501
3601
+ if 'region' in params:
3602
+ query_params.append(('region', params['region'])) # noqa: E501
3603
+
3604
+ header_params = {}
3605
+
3606
+ form_params = []
3607
+ local_var_files = {}
3608
+
3609
+ body_params = None
3610
+ # HTTP header `Accept`
3611
+ header_params['Accept'] = self.api_client.select_header_accept(
3612
+ ['application/json']) # noqa: E501
3613
+
3614
+ # Authentication setting
3615
+ auth_settings = [] # noqa: E501
3616
+
3617
+ return self.api_client.call_api(
3618
+ '/v1/projects/{projectId}/clusters/{id}/accelerators', 'GET',
3619
+ path_params,
3620
+ query_params,
3621
+ header_params,
3622
+ body=body_params,
3623
+ post_params=form_params,
3624
+ files=local_var_files,
3625
+ response_type='V1ListProjectClusterAcceleratorsResponse', # noqa: E501
3626
+ auth_settings=auth_settings,
3627
+ async_req=params.get('async_req'),
3628
+ _return_http_data_only=params.get('_return_http_data_only'),
3629
+ _preload_content=params.get('_preload_content', True),
3630
+ _request_timeout=params.get('_request_timeout'),
3631
+ collection_formats=collection_formats)
3632
+
3633
+ def cluster_service_list_project_clusters(self, project_id: 'str', **kwargs) -> 'V1ListProjectClustersResponse': # noqa: E501
3634
+ """cluster_service_list_project_clusters # noqa: E501
3635
+
3636
+ This method makes a synchronous HTTP request by default. To make an
3637
+ asynchronous HTTP request, please pass async_req=True
3638
+ >>> thread = api.cluster_service_list_project_clusters(project_id, async_req=True)
3639
+ >>> result = thread.get()
3640
+
3641
+ :param async_req bool
3642
+ :param str project_id: (required)
3643
+ :return: V1ListProjectClustersResponse
3644
+ If the method is called asynchronously,
3645
+ returns the request thread.
3646
+ """
3647
+ kwargs['_return_http_data_only'] = True
3648
+ if kwargs.get('async_req'):
3649
+ return self.cluster_service_list_project_clusters_with_http_info(project_id, **kwargs) # noqa: E501
3650
+ else:
3651
+ (data) = self.cluster_service_list_project_clusters_with_http_info(project_id, **kwargs) # noqa: E501
3652
+ return data
3653
+
3654
+ def cluster_service_list_project_clusters_with_http_info(self, project_id: 'str', **kwargs) -> 'V1ListProjectClustersResponse': # noqa: E501
3655
+ """cluster_service_list_project_clusters # noqa: E501
3656
+
3657
+ This method makes a synchronous HTTP request by default. To make an
3658
+ asynchronous HTTP request, please pass async_req=True
3659
+ >>> thread = api.cluster_service_list_project_clusters_with_http_info(project_id, async_req=True)
3660
+ >>> result = thread.get()
3661
+
3662
+ :param async_req bool
3663
+ :param str project_id: (required)
3664
+ :return: V1ListProjectClustersResponse
3665
+ If the method is called asynchronously,
3666
+ returns the request thread.
3667
+ """
3668
+
3669
+ all_params = ['project_id'] # noqa: E501
3670
+ all_params.append('async_req')
3671
+ all_params.append('_return_http_data_only')
3672
+ all_params.append('_preload_content')
3673
+ all_params.append('_request_timeout')
3674
+
3675
+ params = locals()
3676
+ for key, val in six.iteritems(params['kwargs']):
3677
+ if key not in all_params:
3678
+ raise TypeError(
3679
+ "Got an unexpected keyword argument '%s'"
3680
+ " to method cluster_service_list_project_clusters" % key
3681
+ )
3682
+ params[key] = val
3683
+ del params['kwargs']
3684
+ # verify the required parameter 'project_id' is set
3685
+ if ('project_id' not in params or
3686
+ params['project_id'] is None):
3687
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_list_project_clusters`") # noqa: E501
3688
+
3689
+ collection_formats = {}
3690
+
3691
+ path_params = {}
3692
+ if 'project_id' in params:
3693
+ path_params['projectId'] = params['project_id'] # noqa: E501
3694
+
3695
+ query_params = []
3696
+
3697
+ header_params = {}
3698
+
3699
+ form_params = []
3700
+ local_var_files = {}
3701
+
3702
+ body_params = None
3703
+ # HTTP header `Accept`
3704
+ header_params['Accept'] = self.api_client.select_header_accept(
3705
+ ['application/json']) # noqa: E501
3706
+
3707
+ # Authentication setting
3708
+ auth_settings = [] # noqa: E501
3709
+
3710
+ return self.api_client.call_api(
3711
+ '/v1/projects/{projectId}/clusters', 'GET',
3712
+ path_params,
3713
+ query_params,
3714
+ header_params,
3715
+ body=body_params,
3716
+ post_params=form_params,
3717
+ files=local_var_files,
3718
+ response_type='V1ListProjectClustersResponse', # noqa: E501
3719
+ auth_settings=auth_settings,
3720
+ async_req=params.get('async_req'),
3721
+ _return_http_data_only=params.get('_return_http_data_only'),
3722
+ _preload_content=params.get('_preload_content', True),
3723
+ _request_timeout=params.get('_request_timeout'),
3724
+ collection_formats=collection_formats)
3725
+
3726
+ def cluster_service_purchase_capacity_block(self, body: 'ClusterIdCapacityblockBody', project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1PurchaseCapacityBlockResponse': # noqa: E501
3727
+ """cluster_service_purchase_capacity_block # noqa: E501
3728
+
3729
+ This method makes a synchronous HTTP request by default. To make an
3730
+ asynchronous HTTP request, please pass async_req=True
3731
+ >>> thread = api.cluster_service_purchase_capacity_block(body, project_id, cluster_id, async_req=True)
3732
+ >>> result = thread.get()
3733
+
3734
+ :param async_req bool
3735
+ :param ClusterIdCapacityblockBody body: (required)
3736
+ :param str project_id: (required)
3737
+ :param str cluster_id: (required)
3738
+ :return: V1PurchaseCapacityBlockResponse
3739
+ If the method is called asynchronously,
3740
+ returns the request thread.
3741
+ """
3742
+ kwargs['_return_http_data_only'] = True
3743
+ if kwargs.get('async_req'):
3744
+ return self.cluster_service_purchase_capacity_block_with_http_info(body, project_id, cluster_id, **kwargs) # noqa: E501
3745
+ else:
3746
+ (data) = self.cluster_service_purchase_capacity_block_with_http_info(body, project_id, cluster_id, **kwargs) # noqa: E501
3747
+ return data
3748
+
3749
+ def cluster_service_purchase_capacity_block_with_http_info(self, body: 'ClusterIdCapacityblockBody', project_id: 'str', cluster_id: 'str', **kwargs) -> 'V1PurchaseCapacityBlockResponse': # noqa: E501
3750
+ """cluster_service_purchase_capacity_block # noqa: E501
3751
+
3752
+ This method makes a synchronous HTTP request by default. To make an
3753
+ asynchronous HTTP request, please pass async_req=True
3754
+ >>> thread = api.cluster_service_purchase_capacity_block_with_http_info(body, project_id, cluster_id, async_req=True)
3755
+ >>> result = thread.get()
3756
+
3757
+ :param async_req bool
3758
+ :param ClusterIdCapacityblockBody body: (required)
3759
+ :param str project_id: (required)
3760
+ :param str cluster_id: (required)
3761
+ :return: V1PurchaseCapacityBlockResponse
3762
+ If the method is called asynchronously,
3763
+ returns the request thread.
3764
+ """
3765
+
3766
+ all_params = ['body', 'project_id', 'cluster_id'] # noqa: E501
3767
+ all_params.append('async_req')
3768
+ all_params.append('_return_http_data_only')
3769
+ all_params.append('_preload_content')
3770
+ all_params.append('_request_timeout')
3771
+
3772
+ params = locals()
3773
+ for key, val in six.iteritems(params['kwargs']):
3774
+ if key not in all_params:
3775
+ raise TypeError(
3776
+ "Got an unexpected keyword argument '%s'"
3777
+ " to method cluster_service_purchase_capacity_block" % key
3778
+ )
3779
+ params[key] = val
3780
+ del params['kwargs']
3781
+ # verify the required parameter 'body' is set
3782
+ if ('body' not in params or
3783
+ params['body'] is None):
3784
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_purchase_capacity_block`") # noqa: E501
3785
+ # verify the required parameter 'project_id' is set
3786
+ if ('project_id' not in params or
3787
+ params['project_id'] is None):
3788
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_purchase_capacity_block`") # noqa: E501
3789
+ # verify the required parameter 'cluster_id' is set
3790
+ if ('cluster_id' not in params or
3791
+ params['cluster_id'] is None):
3792
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_purchase_capacity_block`") # noqa: E501
3793
+
3794
+ collection_formats = {}
3795
+
3796
+ path_params = {}
3797
+ if 'project_id' in params:
3798
+ path_params['projectId'] = params['project_id'] # noqa: E501
3799
+ if 'cluster_id' in params:
3800
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
3801
+
3802
+ query_params = []
3803
+
3804
+ header_params = {}
3805
+
3806
+ form_params = []
3807
+ local_var_files = {}
3808
+
3809
+ body_params = None
3810
+ if 'body' in params:
3811
+ body_params = params['body']
3812
+ # HTTP header `Accept`
3813
+ header_params['Accept'] = self.api_client.select_header_accept(
3814
+ ['application/json']) # noqa: E501
3815
+
3816
+ # HTTP header `Content-Type`
3817
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3818
+ ['application/json']) # noqa: E501
3819
+
3820
+ # Authentication setting
3821
+ auth_settings = [] # noqa: E501
3822
+
3823
+ return self.api_client.call_api(
3824
+ '/v1/projects/{projectId}/clusters/{clusterId}/capacity-block', 'POST',
3825
+ path_params,
3826
+ query_params,
3827
+ header_params,
3828
+ body=body_params,
3829
+ post_params=form_params,
3830
+ files=local_var_files,
3831
+ response_type='V1PurchaseCapacityBlockResponse', # noqa: E501
3832
+ auth_settings=auth_settings,
3833
+ async_req=params.get('async_req'),
3834
+ _return_http_data_only=params.get('_return_http_data_only'),
3835
+ _preload_content=params.get('_preload_content', True),
3836
+ _request_timeout=params.get('_request_timeout'),
3837
+ collection_formats=collection_formats)
3838
+
3839
+ def cluster_service_request_cluster_access(self, body: 'V1RequestClusterAccessRequest', **kwargs) -> 'V1RequestClusterAccessResponse': # noqa: E501
3840
+ """cluster_service_request_cluster_access # noqa: E501
3841
+
3842
+ This method makes a synchronous HTTP request by default. To make an
3843
+ asynchronous HTTP request, please pass async_req=True
3844
+ >>> thread = api.cluster_service_request_cluster_access(body, async_req=True)
3845
+ >>> result = thread.get()
3846
+
3847
+ :param async_req bool
3848
+ :param V1RequestClusterAccessRequest body: (required)
3849
+ :return: V1RequestClusterAccessResponse
3850
+ If the method is called asynchronously,
3851
+ returns the request thread.
3852
+ """
3853
+ kwargs['_return_http_data_only'] = True
3854
+ if kwargs.get('async_req'):
3855
+ return self.cluster_service_request_cluster_access_with_http_info(body, **kwargs) # noqa: E501
3856
+ else:
3857
+ (data) = self.cluster_service_request_cluster_access_with_http_info(body, **kwargs) # noqa: E501
3858
+ return data
3859
+
3860
+ def cluster_service_request_cluster_access_with_http_info(self, body: 'V1RequestClusterAccessRequest', **kwargs) -> 'V1RequestClusterAccessResponse': # noqa: E501
3861
+ """cluster_service_request_cluster_access # noqa: E501
3862
+
3863
+ This method makes a synchronous HTTP request by default. To make an
3864
+ asynchronous HTTP request, please pass async_req=True
3865
+ >>> thread = api.cluster_service_request_cluster_access_with_http_info(body, async_req=True)
3866
+ >>> result = thread.get()
3867
+
3868
+ :param async_req bool
3869
+ :param V1RequestClusterAccessRequest body: (required)
3870
+ :return: V1RequestClusterAccessResponse
3871
+ If the method is called asynchronously,
3872
+ returns the request thread.
3873
+ """
3874
+
3875
+ all_params = ['body'] # noqa: E501
3876
+ all_params.append('async_req')
3877
+ all_params.append('_return_http_data_only')
3878
+ all_params.append('_preload_content')
3879
+ all_params.append('_request_timeout')
3880
+
3881
+ params = locals()
3882
+ for key, val in six.iteritems(params['kwargs']):
3883
+ if key not in all_params:
3884
+ raise TypeError(
3885
+ "Got an unexpected keyword argument '%s'"
3886
+ " to method cluster_service_request_cluster_access" % key
3887
+ )
3888
+ params[key] = val
3889
+ del params['kwargs']
3890
+ # verify the required parameter 'body' is set
3891
+ if ('body' not in params or
3892
+ params['body'] is None):
3893
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_request_cluster_access`") # noqa: E501
3894
+
3895
+ collection_formats = {}
3896
+
3897
+ path_params = {}
3898
+
3899
+ query_params = []
3900
+
3901
+ header_params = {}
3902
+
3903
+ form_params = []
3904
+ local_var_files = {}
3905
+
3906
+ body_params = None
3907
+ if 'body' in params:
3908
+ body_params = params['body']
3909
+ # HTTP header `Accept`
3910
+ header_params['Accept'] = self.api_client.select_header_accept(
3911
+ ['application/json']) # noqa: E501
3912
+
3913
+ # HTTP header `Content-Type`
3914
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3915
+ ['application/json']) # noqa: E501
3916
+
3917
+ # Authentication setting
3918
+ auth_settings = [] # noqa: E501
3919
+
3920
+ return self.api_client.call_api(
3921
+ '/v1/core/request-cluster-access', 'POST',
3922
+ path_params,
3923
+ query_params,
3924
+ header_params,
3925
+ body=body_params,
3926
+ post_params=form_params,
3927
+ files=local_var_files,
3928
+ response_type='V1RequestClusterAccessResponse', # noqa: E501
3929
+ auth_settings=auth_settings,
3930
+ async_req=params.get('async_req'),
3931
+ _return_http_data_only=params.get('_return_http_data_only'),
3932
+ _preload_content=params.get('_preload_content', True),
3933
+ _request_timeout=params.get('_request_timeout'),
3934
+ collection_formats=collection_formats)
3935
+
3936
+ def cluster_service_server_check_in(self, body: 'ServersServerIdBody', server_id: 'str', **kwargs) -> 'V1ServerCheckInResponse': # noqa: E501
3937
+ """cluster_service_server_check_in # noqa: E501
3938
+
3939
+ This method makes a synchronous HTTP request by default. To make an
3940
+ asynchronous HTTP request, please pass async_req=True
3941
+ >>> thread = api.cluster_service_server_check_in(body, server_id, async_req=True)
3942
+ >>> result = thread.get()
3943
+
3944
+ :param async_req bool
3945
+ :param ServersServerIdBody body: (required)
3946
+ :param str server_id: (required)
3947
+ :return: V1ServerCheckInResponse
3948
+ If the method is called asynchronously,
3949
+ returns the request thread.
3950
+ """
3951
+ kwargs['_return_http_data_only'] = True
3952
+ if kwargs.get('async_req'):
3953
+ return self.cluster_service_server_check_in_with_http_info(body, server_id, **kwargs) # noqa: E501
3954
+ else:
3955
+ (data) = self.cluster_service_server_check_in_with_http_info(body, server_id, **kwargs) # noqa: E501
3956
+ return data
3957
+
3958
+ def cluster_service_server_check_in_with_http_info(self, body: 'ServersServerIdBody', server_id: 'str', **kwargs) -> 'V1ServerCheckInResponse': # noqa: E501
3959
+ """cluster_service_server_check_in # noqa: E501
3960
+
3961
+ This method makes a synchronous HTTP request by default. To make an
3962
+ asynchronous HTTP request, please pass async_req=True
3963
+ >>> thread = api.cluster_service_server_check_in_with_http_info(body, server_id, async_req=True)
3964
+ >>> result = thread.get()
3965
+
3966
+ :param async_req bool
3967
+ :param ServersServerIdBody body: (required)
3968
+ :param str server_id: (required)
3969
+ :return: V1ServerCheckInResponse
3970
+ If the method is called asynchronously,
3971
+ returns the request thread.
3972
+ """
3973
+
3974
+ all_params = ['body', 'server_id'] # noqa: E501
3975
+ all_params.append('async_req')
3976
+ all_params.append('_return_http_data_only')
3977
+ all_params.append('_preload_content')
3978
+ all_params.append('_request_timeout')
3979
+
3980
+ params = locals()
3981
+ for key, val in six.iteritems(params['kwargs']):
3982
+ if key not in all_params:
3983
+ raise TypeError(
3984
+ "Got an unexpected keyword argument '%s'"
3985
+ " to method cluster_service_server_check_in" % key
3986
+ )
3987
+ params[key] = val
3988
+ del params['kwargs']
3989
+ # verify the required parameter 'body' is set
3990
+ if ('body' not in params or
3991
+ params['body'] is None):
3992
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_server_check_in`") # noqa: E501
3993
+ # verify the required parameter 'server_id' is set
3994
+ if ('server_id' not in params or
3995
+ params['server_id'] is None):
3996
+ raise ValueError("Missing the required parameter `server_id` when calling `cluster_service_server_check_in`") # noqa: E501
3997
+
3998
+ collection_formats = {}
3999
+
4000
+ path_params = {}
4001
+ if 'server_id' in params:
4002
+ path_params['serverId'] = params['server_id'] # noqa: E501
4003
+
4004
+ query_params = []
4005
+
4006
+ header_params = {}
4007
+
4008
+ form_params = []
4009
+ local_var_files = {}
4010
+
4011
+ body_params = None
4012
+ if 'body' in params:
4013
+ body_params = params['body']
4014
+ # HTTP header `Accept`
4015
+ header_params['Accept'] = self.api_client.select_header_accept(
4016
+ ['application/json']) # noqa: E501
4017
+
4018
+ # HTTP header `Content-Type`
4019
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4020
+ ['application/json']) # noqa: E501
4021
+
4022
+ # Authentication setting
4023
+ auth_settings = [] # noqa: E501
4024
+
4025
+ return self.api_client.call_api(
4026
+ '/v1/core/servers/{serverId}', 'POST',
4027
+ path_params,
4028
+ query_params,
4029
+ header_params,
4030
+ body=body_params,
4031
+ post_params=form_params,
4032
+ files=local_var_files,
4033
+ response_type='V1ServerCheckInResponse', # noqa: E501
4034
+ auth_settings=auth_settings,
4035
+ async_req=params.get('async_req'),
4036
+ _return_http_data_only=params.get('_return_http_data_only'),
4037
+ _preload_content=params.get('_preload_content', True),
4038
+ _request_timeout=params.get('_request_timeout'),
4039
+ collection_formats=collection_formats)
4040
+
4041
+ def cluster_service_sleep_server(self, body: 'object', server_id: 'str', **kwargs) -> 'V1SleepServerResponse': # noqa: E501
4042
+ """cluster_service_sleep_server # noqa: E501
4043
+
4044
+ This method makes a synchronous HTTP request by default. To make an
4045
+ asynchronous HTTP request, please pass async_req=True
4046
+ >>> thread = api.cluster_service_sleep_server(body, server_id, async_req=True)
4047
+ >>> result = thread.get()
4048
+
4049
+ :param async_req bool
4050
+ :param object body: (required)
4051
+ :param str server_id: (required)
4052
+ :return: V1SleepServerResponse
4053
+ If the method is called asynchronously,
4054
+ returns the request thread.
4055
+ """
4056
+ kwargs['_return_http_data_only'] = True
4057
+ if kwargs.get('async_req'):
4058
+ return self.cluster_service_sleep_server_with_http_info(body, server_id, **kwargs) # noqa: E501
4059
+ else:
4060
+ (data) = self.cluster_service_sleep_server_with_http_info(body, server_id, **kwargs) # noqa: E501
4061
+ return data
4062
+
4063
+ def cluster_service_sleep_server_with_http_info(self, body: 'object', server_id: 'str', **kwargs) -> 'V1SleepServerResponse': # noqa: E501
4064
+ """cluster_service_sleep_server # noqa: E501
4065
+
4066
+ This method makes a synchronous HTTP request by default. To make an
4067
+ asynchronous HTTP request, please pass async_req=True
4068
+ >>> thread = api.cluster_service_sleep_server_with_http_info(body, server_id, async_req=True)
4069
+ >>> result = thread.get()
4070
+
4071
+ :param async_req bool
4072
+ :param object body: (required)
4073
+ :param str server_id: (required)
4074
+ :return: V1SleepServerResponse
4075
+ If the method is called asynchronously,
4076
+ returns the request thread.
4077
+ """
4078
+
4079
+ all_params = ['body', 'server_id'] # noqa: E501
4080
+ all_params.append('async_req')
4081
+ all_params.append('_return_http_data_only')
4082
+ all_params.append('_preload_content')
4083
+ all_params.append('_request_timeout')
4084
+
4085
+ params = locals()
4086
+ for key, val in six.iteritems(params['kwargs']):
4087
+ if key not in all_params:
4088
+ raise TypeError(
4089
+ "Got an unexpected keyword argument '%s'"
4090
+ " to method cluster_service_sleep_server" % key
4091
+ )
4092
+ params[key] = val
4093
+ del params['kwargs']
4094
+ # verify the required parameter 'body' is set
4095
+ if ('body' not in params or
4096
+ params['body'] is None):
4097
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_sleep_server`") # noqa: E501
4098
+ # verify the required parameter 'server_id' is set
4099
+ if ('server_id' not in params or
4100
+ params['server_id'] is None):
4101
+ raise ValueError("Missing the required parameter `server_id` when calling `cluster_service_sleep_server`") # noqa: E501
4102
+
4103
+ collection_formats = {}
4104
+
4105
+ path_params = {}
4106
+ if 'server_id' in params:
4107
+ path_params['serverId'] = params['server_id'] # noqa: E501
4108
+
4109
+ query_params = []
4110
+
4111
+ header_params = {}
4112
+
4113
+ form_params = []
4114
+ local_var_files = {}
4115
+
4116
+ body_params = None
4117
+ if 'body' in params:
4118
+ body_params = params['body']
4119
+ # HTTP header `Accept`
4120
+ header_params['Accept'] = self.api_client.select_header_accept(
4121
+ ['application/json']) # noqa: E501
4122
+
4123
+ # HTTP header `Content-Type`
4124
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4125
+ ['application/json']) # noqa: E501
4126
+
4127
+ # Authentication setting
4128
+ auth_settings = [] # noqa: E501
4129
+
4130
+ return self.api_client.call_api(
4131
+ '/v1/core/servers/{serverId}/sleep', 'POST',
4132
+ path_params,
4133
+ query_params,
4134
+ header_params,
4135
+ body=body_params,
4136
+ post_params=form_params,
4137
+ files=local_var_files,
4138
+ response_type='V1SleepServerResponse', # noqa: E501
4139
+ auth_settings=auth_settings,
4140
+ async_req=params.get('async_req'),
4141
+ _return_http_data_only=params.get('_return_http_data_only'),
4142
+ _preload_content=params.get('_preload_content', True),
4143
+ _request_timeout=params.get('_request_timeout'),
4144
+ collection_formats=collection_formats)
4145
+
4146
+ def cluster_service_update_cluster(self, body: 'ClustersIdBody', id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
4147
+ """cluster_service_update_cluster # noqa: E501
4148
+
4149
+ This method makes a synchronous HTTP request by default. To make an
4150
+ asynchronous HTTP request, please pass async_req=True
4151
+ >>> thread = api.cluster_service_update_cluster(body, id, async_req=True)
4152
+ >>> result = thread.get()
4153
+
4154
+ :param async_req bool
4155
+ :param ClustersIdBody body: (required)
4156
+ :param str id: (required)
4157
+ :return: Externalv1Cluster
4158
+ If the method is called asynchronously,
4159
+ returns the request thread.
4160
+ """
4161
+ kwargs['_return_http_data_only'] = True
4162
+ if kwargs.get('async_req'):
4163
+ return self.cluster_service_update_cluster_with_http_info(body, id, **kwargs) # noqa: E501
4164
+ else:
4165
+ (data) = self.cluster_service_update_cluster_with_http_info(body, id, **kwargs) # noqa: E501
4166
+ return data
4167
+
4168
+ def cluster_service_update_cluster_with_http_info(self, body: 'ClustersIdBody', id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
4169
+ """cluster_service_update_cluster # noqa: E501
4170
+
4171
+ This method makes a synchronous HTTP request by default. To make an
4172
+ asynchronous HTTP request, please pass async_req=True
4173
+ >>> thread = api.cluster_service_update_cluster_with_http_info(body, id, async_req=True)
4174
+ >>> result = thread.get()
4175
+
4176
+ :param async_req bool
4177
+ :param ClustersIdBody body: (required)
4178
+ :param str id: (required)
4179
+ :return: Externalv1Cluster
4180
+ If the method is called asynchronously,
4181
+ returns the request thread.
4182
+ """
4183
+
4184
+ all_params = ['body', 'id'] # noqa: E501
4185
+ all_params.append('async_req')
4186
+ all_params.append('_return_http_data_only')
4187
+ all_params.append('_preload_content')
4188
+ all_params.append('_request_timeout')
4189
+
4190
+ params = locals()
4191
+ for key, val in six.iteritems(params['kwargs']):
4192
+ if key not in all_params:
4193
+ raise TypeError(
4194
+ "Got an unexpected keyword argument '%s'"
4195
+ " to method cluster_service_update_cluster" % key
4196
+ )
4197
+ params[key] = val
4198
+ del params['kwargs']
4199
+ # verify the required parameter 'body' is set
4200
+ if ('body' not in params or
4201
+ params['body'] is None):
4202
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_update_cluster`") # noqa: E501
4203
+ # verify the required parameter 'id' is set
4204
+ if ('id' not in params or
4205
+ params['id'] is None):
4206
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_update_cluster`") # noqa: E501
4207
+
4208
+ collection_formats = {}
4209
+
4210
+ path_params = {}
4211
+ if 'id' in params:
4212
+ path_params['id'] = params['id'] # noqa: E501
4213
+
4214
+ query_params = []
4215
+
4216
+ header_params = {}
4217
+
4218
+ form_params = []
4219
+ local_var_files = {}
4220
+
4221
+ body_params = None
4222
+ if 'body' in params:
4223
+ body_params = params['body']
4224
+ # HTTP header `Accept`
4225
+ header_params['Accept'] = self.api_client.select_header_accept(
4226
+ ['application/json']) # noqa: E501
4227
+
4228
+ # HTTP header `Content-Type`
4229
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4230
+ ['application/json']) # noqa: E501
4231
+
4232
+ # Authentication setting
4233
+ auth_settings = [] # noqa: E501
4234
+
4235
+ return self.api_client.call_api(
4236
+ '/v1/core/clusters/{id}', 'PUT',
4237
+ path_params,
4238
+ query_params,
4239
+ header_params,
4240
+ body=body_params,
4241
+ post_params=form_params,
4242
+ files=local_var_files,
4243
+ response_type='Externalv1Cluster', # noqa: E501
4244
+ auth_settings=auth_settings,
4245
+ async_req=params.get('async_req'),
4246
+ _return_http_data_only=params.get('_return_http_data_only'),
4247
+ _preload_content=params.get('_preload_content', True),
4248
+ _request_timeout=params.get('_request_timeout'),
4249
+ collection_formats=collection_formats)
4250
+
4251
+ def cluster_service_update_cluster_accelerators(self, body: 'V1UpdateClusterAcceleratorsRequest', **kwargs) -> 'V1UpdateClusterAcceleratorsResponse': # noqa: E501
4252
+ """cluster_service_update_cluster_accelerators # noqa: E501
4253
+
4254
+ This method makes a synchronous HTTP request by default. To make an
4255
+ asynchronous HTTP request, please pass async_req=True
4256
+ >>> thread = api.cluster_service_update_cluster_accelerators(body, async_req=True)
4257
+ >>> result = thread.get()
4258
+
4259
+ :param async_req bool
4260
+ :param V1UpdateClusterAcceleratorsRequest body: (required)
4261
+ :return: V1UpdateClusterAcceleratorsResponse
4262
+ If the method is called asynchronously,
4263
+ returns the request thread.
4264
+ """
4265
+ kwargs['_return_http_data_only'] = True
4266
+ if kwargs.get('async_req'):
4267
+ return self.cluster_service_update_cluster_accelerators_with_http_info(body, **kwargs) # noqa: E501
4268
+ else:
4269
+ (data) = self.cluster_service_update_cluster_accelerators_with_http_info(body, **kwargs) # noqa: E501
4270
+ return data
4271
+
4272
+ def cluster_service_update_cluster_accelerators_with_http_info(self, body: 'V1UpdateClusterAcceleratorsRequest', **kwargs) -> 'V1UpdateClusterAcceleratorsResponse': # noqa: E501
4273
+ """cluster_service_update_cluster_accelerators # noqa: E501
4274
+
4275
+ This method makes a synchronous HTTP request by default. To make an
4276
+ asynchronous HTTP request, please pass async_req=True
4277
+ >>> thread = api.cluster_service_update_cluster_accelerators_with_http_info(body, async_req=True)
4278
+ >>> result = thread.get()
4279
+
4280
+ :param async_req bool
4281
+ :param V1UpdateClusterAcceleratorsRequest body: (required)
4282
+ :return: V1UpdateClusterAcceleratorsResponse
4283
+ If the method is called asynchronously,
4284
+ returns the request thread.
4285
+ """
4286
+
4287
+ all_params = ['body'] # noqa: E501
4288
+ all_params.append('async_req')
4289
+ all_params.append('_return_http_data_only')
4290
+ all_params.append('_preload_content')
4291
+ all_params.append('_request_timeout')
4292
+
4293
+ params = locals()
4294
+ for key, val in six.iteritems(params['kwargs']):
4295
+ if key not in all_params:
4296
+ raise TypeError(
4297
+ "Got an unexpected keyword argument '%s'"
4298
+ " to method cluster_service_update_cluster_accelerators" % key
4299
+ )
4300
+ params[key] = val
4301
+ del params['kwargs']
4302
+ # verify the required parameter 'body' is set
4303
+ if ('body' not in params or
4304
+ params['body'] is None):
4305
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_update_cluster_accelerators`") # noqa: E501
4306
+
4307
+ collection_formats = {}
4308
+
4309
+ path_params = {}
4310
+
4311
+ query_params = []
4312
+
4313
+ header_params = {}
4314
+
4315
+ form_params = []
4316
+ local_var_files = {}
4317
+
4318
+ body_params = None
4319
+ if 'body' in params:
4320
+ body_params = params['body']
4321
+ # HTTP header `Accept`
4322
+ header_params['Accept'] = self.api_client.select_header_accept(
4323
+ ['application/json']) # noqa: E501
4324
+
4325
+ # HTTP header `Content-Type`
4326
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4327
+ ['application/json']) # noqa: E501
4328
+
4329
+ # Authentication setting
4330
+ auth_settings = [] # noqa: E501
4331
+
4332
+ return self.api_client.call_api(
4333
+ '/v1/core/clusters/accelerators', 'PUT',
4334
+ path_params,
4335
+ query_params,
4336
+ header_params,
4337
+ body=body_params,
4338
+ post_params=form_params,
4339
+ files=local_var_files,
4340
+ response_type='V1UpdateClusterAcceleratorsResponse', # noqa: E501
4341
+ auth_settings=auth_settings,
4342
+ async_req=params.get('async_req'),
4343
+ _return_http_data_only=params.get('_return_http_data_only'),
4344
+ _preload_content=params.get('_preload_content', True),
4345
+ _request_timeout=params.get('_request_timeout'),
4346
+ collection_formats=collection_formats)
4347
+
4348
+ def cluster_service_update_cluster_availability(self, body: 'V1UpdateClusterAvailabilityRequest', **kwargs) -> 'V1ClusterAvailability': # noqa: E501
4349
+ """cluster_service_update_cluster_availability # noqa: E501
4350
+
4351
+ This method makes a synchronous HTTP request by default. To make an
4352
+ asynchronous HTTP request, please pass async_req=True
4353
+ >>> thread = api.cluster_service_update_cluster_availability(body, async_req=True)
4354
+ >>> result = thread.get()
4355
+
4356
+ :param async_req bool
4357
+ :param V1UpdateClusterAvailabilityRequest body: (required)
4358
+ :return: V1ClusterAvailability
4359
+ If the method is called asynchronously,
4360
+ returns the request thread.
4361
+ """
4362
+ kwargs['_return_http_data_only'] = True
4363
+ if kwargs.get('async_req'):
4364
+ return self.cluster_service_update_cluster_availability_with_http_info(body, **kwargs) # noqa: E501
4365
+ else:
4366
+ (data) = self.cluster_service_update_cluster_availability_with_http_info(body, **kwargs) # noqa: E501
4367
+ return data
4368
+
4369
+ def cluster_service_update_cluster_availability_with_http_info(self, body: 'V1UpdateClusterAvailabilityRequest', **kwargs) -> 'V1ClusterAvailability': # noqa: E501
4370
+ """cluster_service_update_cluster_availability # noqa: E501
4371
+
4372
+ This method makes a synchronous HTTP request by default. To make an
4373
+ asynchronous HTTP request, please pass async_req=True
4374
+ >>> thread = api.cluster_service_update_cluster_availability_with_http_info(body, async_req=True)
4375
+ >>> result = thread.get()
4376
+
4377
+ :param async_req bool
4378
+ :param V1UpdateClusterAvailabilityRequest body: (required)
4379
+ :return: V1ClusterAvailability
4380
+ If the method is called asynchronously,
4381
+ returns the request thread.
4382
+ """
4383
+
4384
+ all_params = ['body'] # noqa: E501
4385
+ all_params.append('async_req')
4386
+ all_params.append('_return_http_data_only')
4387
+ all_params.append('_preload_content')
4388
+ all_params.append('_request_timeout')
4389
+
4390
+ params = locals()
4391
+ for key, val in six.iteritems(params['kwargs']):
4392
+ if key not in all_params:
4393
+ raise TypeError(
4394
+ "Got an unexpected keyword argument '%s'"
4395
+ " to method cluster_service_update_cluster_availability" % key
4396
+ )
4397
+ params[key] = val
4398
+ del params['kwargs']
4399
+ # verify the required parameter 'body' is set
4400
+ if ('body' not in params or
4401
+ params['body'] is None):
4402
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_update_cluster_availability`") # noqa: E501
4403
+
4404
+ collection_formats = {}
4405
+
4406
+ path_params = {}
4407
+
4408
+ query_params = []
4409
+
4410
+ header_params = {}
4411
+
4412
+ form_params = []
4413
+ local_var_files = {}
4414
+
4415
+ body_params = None
4416
+ if 'body' in params:
4417
+ body_params = params['body']
4418
+ # HTTP header `Accept`
4419
+ header_params['Accept'] = self.api_client.select_header_accept(
4420
+ ['application/json']) # noqa: E501
4421
+
4422
+ # HTTP header `Content-Type`
4423
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4424
+ ['application/json']) # noqa: E501
4425
+
4426
+ # Authentication setting
4427
+ auth_settings = [] # noqa: E501
4428
+
4429
+ return self.api_client.call_api(
4430
+ '/v1/core/cluster-availability', 'PUT',
4431
+ path_params,
4432
+ query_params,
4433
+ header_params,
4434
+ body=body_params,
4435
+ post_params=form_params,
4436
+ files=local_var_files,
4437
+ response_type='V1ClusterAvailability', # noqa: E501
4438
+ auth_settings=auth_settings,
4439
+ async_req=params.get('async_req'),
4440
+ _return_http_data_only=params.get('_return_http_data_only'),
4441
+ _preload_content=params.get('_preload_content', True),
4442
+ _request_timeout=params.get('_request_timeout'),
4443
+ collection_formats=collection_formats)
4444
+
4445
+ def cluster_service_update_cluster_usage_restriction(self, body: 'UsagerestrictionsIdBody', cluster_id: 'str', id: 'str', **kwargs) -> 'V1ClusterUsageRestriction': # noqa: E501
4446
+ """cluster_service_update_cluster_usage_restriction # noqa: E501
4447
+
4448
+ This method makes a synchronous HTTP request by default. To make an
4449
+ asynchronous HTTP request, please pass async_req=True
4450
+ >>> thread = api.cluster_service_update_cluster_usage_restriction(body, cluster_id, id, async_req=True)
4451
+ >>> result = thread.get()
4452
+
4453
+ :param async_req bool
4454
+ :param UsagerestrictionsIdBody body: (required)
4455
+ :param str cluster_id: (required)
4456
+ :param str id: (required)
4457
+ :return: V1ClusterUsageRestriction
4458
+ If the method is called asynchronously,
4459
+ returns the request thread.
4460
+ """
4461
+ kwargs['_return_http_data_only'] = True
4462
+ if kwargs.get('async_req'):
4463
+ return self.cluster_service_update_cluster_usage_restriction_with_http_info(body, cluster_id, id, **kwargs) # noqa: E501
4464
+ else:
4465
+ (data) = self.cluster_service_update_cluster_usage_restriction_with_http_info(body, cluster_id, id, **kwargs) # noqa: E501
4466
+ return data
4467
+
4468
+ def cluster_service_update_cluster_usage_restriction_with_http_info(self, body: 'UsagerestrictionsIdBody', cluster_id: 'str', id: 'str', **kwargs) -> 'V1ClusterUsageRestriction': # noqa: E501
4469
+ """cluster_service_update_cluster_usage_restriction # noqa: E501
4470
+
4471
+ This method makes a synchronous HTTP request by default. To make an
4472
+ asynchronous HTTP request, please pass async_req=True
4473
+ >>> thread = api.cluster_service_update_cluster_usage_restriction_with_http_info(body, cluster_id, id, async_req=True)
4474
+ >>> result = thread.get()
4475
+
4476
+ :param async_req bool
4477
+ :param UsagerestrictionsIdBody body: (required)
4478
+ :param str cluster_id: (required)
4479
+ :param str id: (required)
4480
+ :return: V1ClusterUsageRestriction
4481
+ If the method is called asynchronously,
4482
+ returns the request thread.
4483
+ """
4484
+
4485
+ all_params = ['body', 'cluster_id', 'id'] # noqa: E501
4486
+ all_params.append('async_req')
4487
+ all_params.append('_return_http_data_only')
4488
+ all_params.append('_preload_content')
4489
+ all_params.append('_request_timeout')
4490
+
4491
+ params = locals()
4492
+ for key, val in six.iteritems(params['kwargs']):
4493
+ if key not in all_params:
4494
+ raise TypeError(
4495
+ "Got an unexpected keyword argument '%s'"
4496
+ " to method cluster_service_update_cluster_usage_restriction" % key
4497
+ )
4498
+ params[key] = val
4499
+ del params['kwargs']
4500
+ # verify the required parameter 'body' is set
4501
+ if ('body' not in params or
4502
+ params['body'] is None):
4503
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_update_cluster_usage_restriction`") # noqa: E501
4504
+ # verify the required parameter 'cluster_id' is set
4505
+ if ('cluster_id' not in params or
4506
+ params['cluster_id'] is None):
4507
+ raise ValueError("Missing the required parameter `cluster_id` when calling `cluster_service_update_cluster_usage_restriction`") # noqa: E501
4508
+ # verify the required parameter 'id' is set
4509
+ if ('id' not in params or
4510
+ params['id'] is None):
4511
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_update_cluster_usage_restriction`") # noqa: E501
4512
+
4513
+ collection_formats = {}
4514
+
4515
+ path_params = {}
4516
+ if 'cluster_id' in params:
4517
+ path_params['clusterId'] = params['cluster_id'] # noqa: E501
4518
+ if 'id' in params:
4519
+ path_params['id'] = params['id'] # noqa: E501
4520
+
4521
+ query_params = []
4522
+
4523
+ header_params = {}
4524
+
4525
+ form_params = []
4526
+ local_var_files = {}
4527
+
4528
+ body_params = None
4529
+ if 'body' in params:
4530
+ body_params = params['body']
4531
+ # HTTP header `Accept`
4532
+ header_params['Accept'] = self.api_client.select_header_accept(
4533
+ ['application/json']) # noqa: E501
4534
+
4535
+ # HTTP header `Content-Type`
4536
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4537
+ ['application/json']) # noqa: E501
4538
+
4539
+ # Authentication setting
4540
+ auth_settings = [] # noqa: E501
4541
+
4542
+ return self.api_client.call_api(
4543
+ '/v1/core/clusters/{clusterId}/usage-restrictions/{id}', 'PUT',
4544
+ path_params,
4545
+ query_params,
4546
+ header_params,
4547
+ body=body_params,
4548
+ post_params=form_params,
4549
+ files=local_var_files,
4550
+ response_type='V1ClusterUsageRestriction', # noqa: E501
4551
+ auth_settings=auth_settings,
4552
+ async_req=params.get('async_req'),
4553
+ _return_http_data_only=params.get('_return_http_data_only'),
4554
+ _preload_content=params.get('_preload_content', True),
4555
+ _request_timeout=params.get('_request_timeout'),
4556
+ collection_formats=collection_formats)
4557
+
4558
+ def cluster_service_update_project_cluster(self, body: 'ClustersIdBody1', project_id: 'str', id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
4559
+ """cluster_service_update_project_cluster # noqa: E501
4560
+
4561
+ This method makes a synchronous HTTP request by default. To make an
4562
+ asynchronous HTTP request, please pass async_req=True
4563
+ >>> thread = api.cluster_service_update_project_cluster(body, project_id, id, async_req=True)
4564
+ >>> result = thread.get()
4565
+
4566
+ :param async_req bool
4567
+ :param ClustersIdBody1 body: (required)
4568
+ :param str project_id: (required)
4569
+ :param str id: (required)
4570
+ :return: Externalv1Cluster
4571
+ If the method is called asynchronously,
4572
+ returns the request thread.
4573
+ """
4574
+ kwargs['_return_http_data_only'] = True
4575
+ if kwargs.get('async_req'):
4576
+ return self.cluster_service_update_project_cluster_with_http_info(body, project_id, id, **kwargs) # noqa: E501
4577
+ else:
4578
+ (data) = self.cluster_service_update_project_cluster_with_http_info(body, project_id, id, **kwargs) # noqa: E501
4579
+ return data
4580
+
4581
+ def cluster_service_update_project_cluster_with_http_info(self, body: 'ClustersIdBody1', project_id: 'str', id: 'str', **kwargs) -> 'Externalv1Cluster': # noqa: E501
4582
+ """cluster_service_update_project_cluster # noqa: E501
4583
+
4584
+ This method makes a synchronous HTTP request by default. To make an
4585
+ asynchronous HTTP request, please pass async_req=True
4586
+ >>> thread = api.cluster_service_update_project_cluster_with_http_info(body, project_id, id, async_req=True)
4587
+ >>> result = thread.get()
4588
+
4589
+ :param async_req bool
4590
+ :param ClustersIdBody1 body: (required)
4591
+ :param str project_id: (required)
4592
+ :param str id: (required)
4593
+ :return: Externalv1Cluster
4594
+ If the method is called asynchronously,
4595
+ returns the request thread.
4596
+ """
4597
+
4598
+ all_params = ['body', 'project_id', 'id'] # noqa: E501
4599
+ all_params.append('async_req')
4600
+ all_params.append('_return_http_data_only')
4601
+ all_params.append('_preload_content')
4602
+ all_params.append('_request_timeout')
4603
+
4604
+ params = locals()
4605
+ for key, val in six.iteritems(params['kwargs']):
4606
+ if key not in all_params:
4607
+ raise TypeError(
4608
+ "Got an unexpected keyword argument '%s'"
4609
+ " to method cluster_service_update_project_cluster" % key
4610
+ )
4611
+ params[key] = val
4612
+ del params['kwargs']
4613
+ # verify the required parameter 'body' is set
4614
+ if ('body' not in params or
4615
+ params['body'] is None):
4616
+ raise ValueError("Missing the required parameter `body` when calling `cluster_service_update_project_cluster`") # noqa: E501
4617
+ # verify the required parameter 'project_id' is set
4618
+ if ('project_id' not in params or
4619
+ params['project_id'] is None):
4620
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_update_project_cluster`") # noqa: E501
4621
+ # verify the required parameter 'id' is set
4622
+ if ('id' not in params or
4623
+ params['id'] is None):
4624
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_update_project_cluster`") # noqa: E501
4625
+
4626
+ collection_formats = {}
4627
+
4628
+ path_params = {}
4629
+ if 'project_id' in params:
4630
+ path_params['projectId'] = params['project_id'] # noqa: E501
4631
+ if 'id' in params:
4632
+ path_params['id'] = params['id'] # noqa: E501
4633
+
4634
+ query_params = []
4635
+
4636
+ header_params = {}
4637
+
4638
+ form_params = []
4639
+ local_var_files = {}
4640
+
4641
+ body_params = None
4642
+ if 'body' in params:
4643
+ body_params = params['body']
4644
+ # HTTP header `Accept`
4645
+ header_params['Accept'] = self.api_client.select_header_accept(
4646
+ ['application/json']) # noqa: E501
4647
+
4648
+ # HTTP header `Content-Type`
4649
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4650
+ ['application/json']) # noqa: E501
4651
+
4652
+ # Authentication setting
4653
+ auth_settings = [] # noqa: E501
4654
+
4655
+ return self.api_client.call_api(
4656
+ '/v1/projects/{projectId}/clusters/{id}', 'PUT',
4657
+ path_params,
4658
+ query_params,
4659
+ header_params,
4660
+ body=body_params,
4661
+ post_params=form_params,
4662
+ files=local_var_files,
4663
+ response_type='Externalv1Cluster', # noqa: E501
4664
+ auth_settings=auth_settings,
4665
+ async_req=params.get('async_req'),
4666
+ _return_http_data_only=params.get('_return_http_data_only'),
4667
+ _preload_content=params.get('_preload_content', True),
4668
+ _request_timeout=params.get('_request_timeout'),
4669
+ collection_formats=collection_formats)
4670
+
4671
+ def cluster_service_update_project_cluster_accelerators(self, project_id: 'str', id: 'str', **kwargs) -> 'V1UpdateProjectClusterAcceleratorsResponse': # noqa: E501
4672
+ """cluster_service_update_project_cluster_accelerators # noqa: E501
4673
+
4674
+ This method makes a synchronous HTTP request by default. To make an
4675
+ asynchronous HTTP request, please pass async_req=True
4676
+ >>> thread = api.cluster_service_update_project_cluster_accelerators(project_id, id, async_req=True)
4677
+ >>> result = thread.get()
4678
+
4679
+ :param async_req bool
4680
+ :param str project_id: (required)
4681
+ :param str id: (required)
4682
+ :return: V1UpdateProjectClusterAcceleratorsResponse
4683
+ If the method is called asynchronously,
4684
+ returns the request thread.
4685
+ """
4686
+ kwargs['_return_http_data_only'] = True
4687
+ if kwargs.get('async_req'):
4688
+ return self.cluster_service_update_project_cluster_accelerators_with_http_info(project_id, id, **kwargs) # noqa: E501
4689
+ else:
4690
+ (data) = self.cluster_service_update_project_cluster_accelerators_with_http_info(project_id, id, **kwargs) # noqa: E501
4691
+ return data
4692
+
4693
+ def cluster_service_update_project_cluster_accelerators_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1UpdateProjectClusterAcceleratorsResponse': # noqa: E501
4694
+ """cluster_service_update_project_cluster_accelerators # noqa: E501
4695
+
4696
+ This method makes a synchronous HTTP request by default. To make an
4697
+ asynchronous HTTP request, please pass async_req=True
4698
+ >>> thread = api.cluster_service_update_project_cluster_accelerators_with_http_info(project_id, id, async_req=True)
4699
+ >>> result = thread.get()
4700
+
4701
+ :param async_req bool
4702
+ :param str project_id: (required)
4703
+ :param str id: (required)
4704
+ :return: V1UpdateProjectClusterAcceleratorsResponse
4705
+ If the method is called asynchronously,
4706
+ returns the request thread.
4707
+ """
4708
+
4709
+ all_params = ['project_id', 'id'] # noqa: E501
4710
+ all_params.append('async_req')
4711
+ all_params.append('_return_http_data_only')
4712
+ all_params.append('_preload_content')
4713
+ all_params.append('_request_timeout')
4714
+
4715
+ params = locals()
4716
+ for key, val in six.iteritems(params['kwargs']):
4717
+ if key not in all_params:
4718
+ raise TypeError(
4719
+ "Got an unexpected keyword argument '%s'"
4720
+ " to method cluster_service_update_project_cluster_accelerators" % key
4721
+ )
4722
+ params[key] = val
4723
+ del params['kwargs']
4724
+ # verify the required parameter 'project_id' is set
4725
+ if ('project_id' not in params or
4726
+ params['project_id'] is None):
4727
+ raise ValueError("Missing the required parameter `project_id` when calling `cluster_service_update_project_cluster_accelerators`") # noqa: E501
4728
+ # verify the required parameter 'id' is set
4729
+ if ('id' not in params or
4730
+ params['id'] is None):
4731
+ raise ValueError("Missing the required parameter `id` when calling `cluster_service_update_project_cluster_accelerators`") # noqa: E501
4732
+
4733
+ collection_formats = {}
4734
+
4735
+ path_params = {}
4736
+ if 'project_id' in params:
4737
+ path_params['projectId'] = params['project_id'] # noqa: E501
4738
+ if 'id' in params:
4739
+ path_params['id'] = params['id'] # noqa: E501
4740
+
4741
+ query_params = []
4742
+
4743
+ header_params = {}
4744
+
4745
+ form_params = []
4746
+ local_var_files = {}
4747
+
4748
+ body_params = None
4749
+ # HTTP header `Accept`
4750
+ header_params['Accept'] = self.api_client.select_header_accept(
4751
+ ['application/json']) # noqa: E501
4752
+
4753
+ # Authentication setting
4754
+ auth_settings = [] # noqa: E501
4755
+
4756
+ return self.api_client.call_api(
4757
+ '/v1/projects/{projectId}/clusters/{id}/accelerators', 'PUT',
4758
+ path_params,
4759
+ query_params,
4760
+ header_params,
4761
+ body=body_params,
4762
+ post_params=form_params,
4763
+ files=local_var_files,
4764
+ response_type='V1UpdateProjectClusterAcceleratorsResponse', # noqa: E501
4765
+ auth_settings=auth_settings,
4766
+ async_req=params.get('async_req'),
4767
+ _return_http_data_only=params.get('_return_http_data_only'),
4768
+ _preload_content=params.get('_preload_content', True),
4769
+ _request_timeout=params.get('_request_timeout'),
4770
+ collection_formats=collection_formats)