byteplus-python-sdk-v2 3.0.43__py2.py3-none-any.whl → 3.0.45__py2.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 (562) hide show
  1. {byteplus_python_sdk_v2-3.0.43.dist-info → byteplus_python_sdk_v2-3.0.45.dist-info}/METADATA +27 -1
  2. {byteplus_python_sdk_v2-3.0.43.dist-info → byteplus_python_sdk_v2-3.0.45.dist-info}/RECORD +562 -94
  3. {byteplus_python_sdk_v2-3.0.43.dist-info → byteplus_python_sdk_v2-3.0.45.dist-info}/top_level.txt +2 -0
  4. byteplussdkcore/api_client.py +219 -1
  5. byteplussdkcore/auth/credential.py +4 -0
  6. byteplussdkcore/auth/providers/__init__.py +5 -1
  7. byteplussdkcore/auth/providers/cli_config_provider.py +628 -0
  8. byteplussdkcore/auth/providers/default_provider.py +103 -0
  9. byteplussdkcore/auth/providers/ecs_role_provider.py +186 -0
  10. byteplussdkcore/auth/providers/env_provider.py +38 -0
  11. byteplussdkcore/auth/providers/provider.py +36 -1
  12. byteplussdkcore/auth/providers/static_provider.py +3 -3
  13. byteplussdkcore/auth/providers/sts_oidc_provider.py +132 -42
  14. byteplussdkcore/auth/providers/sts_provider.py +10 -1
  15. byteplussdkcore/auth/providers/sts_saml_provider.py +77 -32
  16. byteplussdkcore/configuration.py +1 -1
  17. byteplussdkcore/endpoint/providers/default_provider.py +28 -0
  18. byteplussdkcore/endpoint/providers/standard_provider.py +2 -3
  19. byteplussdkcore/feature/__init__.py +6 -0
  20. byteplussdkcore/feature/rds/__init__.py +4 -0
  21. byteplussdkcore/feature/rds/connect_utils.py +88 -0
  22. byteplussdkcore/interceptor/interceptors/request.py +4 -0
  23. byteplussdkcore/interceptor/interceptors/resolve_endpoint_interceptor.py +8 -1
  24. byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +42 -14
  25. byteplussdkcore/signv4.py +86 -0
  26. byteplussdkexamples/byteplussdkarkruntime/async_completions.py +0 -2
  27. byteplussdkexamples/byteplussdkarkruntime/completions.py +1 -3
  28. byteplussdkexamples/byteplussdkarkruntime/context.py +1 -3
  29. byteplussdkkickart/__init__.py +251 -0
  30. byteplussdkkickart/api/__init__.py +6 -0
  31. byteplussdkkickart/api/kickart_api.py +11189 -0
  32. byteplussdkkickart/models/__init__.py +247 -0
  33. byteplussdkkickart/models/batch_delete_asset_request.py +123 -0
  34. byteplussdkkickart/models/batch_delete_asset_response.py +95 -0
  35. byteplussdkkickart/models/batch_delete_media_request.py +123 -0
  36. byteplussdkkickart/models/batch_delete_media_response.py +123 -0
  37. byteplussdkkickart/models/check_delete_media_request.py +123 -0
  38. byteplussdkkickart/models/check_delete_media_response.py +123 -0
  39. byteplussdkkickart/models/check_product_url_request.py +149 -0
  40. byteplussdkkickart/models/check_product_url_response.py +123 -0
  41. byteplussdkkickart/models/clear_ad_variations_output_videos_request.py +124 -0
  42. byteplussdkkickart/models/clear_ad_variations_output_videos_response.py +95 -0
  43. byteplussdkkickart/models/clear_ad_variations_project_request.py +150 -0
  44. byteplussdkkickart/models/clear_ad_variations_project_response.py +95 -0
  45. byteplussdkkickart/models/copy_genius_project_request.py +149 -0
  46. byteplussdkkickart/models/copy_genius_project_response.py +149 -0
  47. byteplussdkkickart/models/create_ad_variations_project_request.py +123 -0
  48. byteplussdkkickart/models/create_ad_variations_project_response.py +123 -0
  49. byteplussdkkickart/models/create_ai_template_task_request.py +227 -0
  50. byteplussdkkickart/models/create_ai_template_task_response.py +123 -0
  51. byteplussdkkickart/models/create_api_key_request.py +123 -0
  52. byteplussdkkickart/models/create_api_key_response.py +123 -0
  53. byteplussdkkickart/models/create_auth_url_request.py +149 -0
  54. byteplussdkkickart/models/create_auth_url_response.py +175 -0
  55. byteplussdkkickart/models/create_avatar_request.py +149 -0
  56. byteplussdkkickart/models/create_avatar_response.py +123 -0
  57. byteplussdkkickart/models/create_draft_request.py +149 -0
  58. byteplussdkkickart/models/create_draft_response.py +149 -0
  59. byteplussdkkickart/models/create_film_request.py +721 -0
  60. byteplussdkkickart/models/create_film_response.py +95 -0
  61. byteplussdkkickart/models/create_folder_request.py +279 -0
  62. byteplussdkkickart/models/create_folder_response.py +123 -0
  63. byteplussdkkickart/models/create_item_request.py +227 -0
  64. byteplussdkkickart/models/create_item_response.py +149 -0
  65. byteplussdkkickart/models/create_material_request.py +851 -0
  66. byteplussdkkickart/models/create_material_response.py +95 -0
  67. byteplussdkkickart/models/create_media_request.py +357 -0
  68. byteplussdkkickart/models/create_media_response.py +149 -0
  69. byteplussdkkickart/models/create_project_from_template_request.py +123 -0
  70. byteplussdkkickart/models/create_project_from_template_response.py +123 -0
  71. byteplussdkkickart/models/create_project_request.py +487 -0
  72. byteplussdkkickart/models/create_project_response.py +201 -0
  73. byteplussdkkickart/models/create_template_project_request.py +149 -0
  74. byteplussdkkickart/models/create_template_project_response.py +175 -0
  75. byteplussdkkickart/models/delete_all_task_item_request.py +124 -0
  76. byteplussdkkickart/models/delete_all_task_item_response.py +95 -0
  77. byteplussdkkickart/models/delete_api_key_request.py +123 -0
  78. byteplussdkkickart/models/delete_api_key_response.py +95 -0
  79. byteplussdkkickart/models/delete_task_item_request.py +123 -0
  80. byteplussdkkickart/models/delete_task_item_response.py +95 -0
  81. byteplussdkkickart/models/download_asset_request.py +149 -0
  82. byteplussdkkickart/models/download_asset_response.py +149 -0
  83. byteplussdkkickart/models/export_editor_video_request.py +279 -0
  84. byteplussdkkickart/models/export_editor_video_response.py +123 -0
  85. byteplussdkkickart/models/export_video_request.py +149 -0
  86. byteplussdkkickart/models/export_video_response.py +123 -0
  87. byteplussdkkickart/models/gen_ad_variations_analysis_request.py +124 -0
  88. byteplussdkkickart/models/gen_ad_variations_analysis_response.py +123 -0
  89. byteplussdkkickart/models/gen_ad_variations_video_request.py +124 -0
  90. byteplussdkkickart/models/gen_ad_variations_video_response.py +123 -0
  91. byteplussdkkickart/models/gen_bgm_by_product_request.py +175 -0
  92. byteplussdkkickart/models/gen_bgm_by_product_response.py +123 -0
  93. byteplussdkkickart/models/gen_bgm_by_video_request.py +175 -0
  94. byteplussdkkickart/models/gen_bgm_by_video_response.py +123 -0
  95. byteplussdkkickart/models/gen_main_video_request.py +175 -0
  96. byteplussdkkickart/models/gen_main_video_response.py +149 -0
  97. byteplussdkkickart/models/gen_pic_by_prompt_request.py +175 -0
  98. byteplussdkkickart/models/gen_pic_by_prompt_response.py +123 -0
  99. byteplussdkkickart/models/gen_pics_video_by_story_request.py +175 -0
  100. byteplussdkkickart/models/gen_pics_video_by_story_response.py +123 -0
  101. byteplussdkkickart/models/gen_product_intro_creative_request.py +149 -0
  102. byteplussdkkickart/models/gen_product_intro_creative_response.py +123 -0
  103. byteplussdkkickart/models/gen_product_intro_script_request.py +149 -0
  104. byteplussdkkickart/models/gen_product_intro_script_response.py +123 -0
  105. byteplussdkkickart/models/gen_product_intro_video_request.py +149 -0
  106. byteplussdkkickart/models/gen_product_intro_video_response.py +149 -0
  107. byteplussdkkickart/models/gen_product_storyboard_outline_request.py +149 -0
  108. byteplussdkkickart/models/gen_product_storyboard_outline_response.py +149 -0
  109. byteplussdkkickart/models/gen_product_storyboard_video_request.py +175 -0
  110. byteplussdkkickart/models/gen_product_storyboard_video_response.py +175 -0
  111. byteplussdkkickart/models/gen_story_by_prompt_request.py +123 -0
  112. byteplussdkkickart/models/gen_story_by_prompt_response.py +123 -0
  113. byteplussdkkickart/models/gen_template_script_request.py +175 -0
  114. byteplussdkkickart/models/gen_template_script_response.py +175 -0
  115. byteplussdkkickart/models/gen_template_video_request.py +201 -0
  116. byteplussdkkickart/models/gen_template_video_response.py +149 -0
  117. byteplussdkkickart/models/gen_video_by_prompt_request.py +175 -0
  118. byteplussdkkickart/models/gen_video_by_prompt_response.py +123 -0
  119. byteplussdkkickart/models/get_ai_template_task_status_request.py +123 -0
  120. byteplussdkkickart/models/get_ai_template_task_status_response.py +123 -0
  121. byteplussdkkickart/models/get_ai_template_template_info_request.py +123 -0
  122. byteplussdkkickart/models/get_ai_template_template_info_response.py +123 -0
  123. byteplussdkkickart/models/get_avatar_request.py +123 -0
  124. byteplussdkkickart/models/get_avatar_response.py +123 -0
  125. byteplussdkkickart/models/get_block_detail_request.py +149 -0
  126. byteplussdkkickart/models/get_block_detail_response.py +123 -0
  127. byteplussdkkickart/models/get_block_request.py +124 -0
  128. byteplussdkkickart/models/get_block_response.py +123 -0
  129. byteplussdkkickart/models/get_category_detail_request.py +201 -0
  130. byteplussdkkickart/models/get_category_detail_response.py +123 -0
  131. byteplussdkkickart/models/get_combo_balance_request.py +124 -0
  132. byteplussdkkickart/models/get_combo_balance_response.py +149 -0
  133. byteplussdkkickart/models/get_composition_request.py +123 -0
  134. byteplussdkkickart/models/get_composition_response.py +253 -0
  135. byteplussdkkickart/models/get_create_cost_request.py +123 -0
  136. byteplussdkkickart/models/get_create_cost_response.py +123 -0
  137. byteplussdkkickart/models/get_creator_info_request.py +123 -0
  138. byteplussdkkickart/models/get_creator_info_response.py +123 -0
  139. byteplussdkkickart/models/get_draft_request.py +123 -0
  140. byteplussdkkickart/models/get_draft_response.py +123 -0
  141. byteplussdkkickart/models/get_film_detail_request.py +175 -0
  142. byteplussdkkickart/models/get_film_detail_response.py +123 -0
  143. byteplussdkkickart/models/get_genius_project_request.py +124 -0
  144. byteplussdkkickart/models/get_genius_project_response.py +123 -0
  145. byteplussdkkickart/models/get_genius_template_request.py +123 -0
  146. byteplussdkkickart/models/get_genius_template_response.py +123 -0
  147. byteplussdkkickart/models/get_home_bootstrap2_request.py +149 -0
  148. byteplussdkkickart/models/get_home_bootstrap2_response.py +253 -0
  149. byteplussdkkickart/models/get_home_bootstrap_request.py +149 -0
  150. byteplussdkkickart/models/get_home_bootstrap_response.py +253 -0
  151. byteplussdkkickart/models/get_list_request.py +177 -0
  152. byteplussdkkickart/models/get_list_response.py +175 -0
  153. byteplussdkkickart/models/get_material_detail_request.py +227 -0
  154. byteplussdkkickart/models/get_material_detail_response.py +123 -0
  155. byteplussdkkickart/models/get_material_transcoding_list_request.py +331 -0
  156. byteplussdkkickart/models/get_material_transcoding_list_response.py +149 -0
  157. byteplussdkkickart/models/get_media_request.py +123 -0
  158. byteplussdkkickart/models/get_media_response.py +123 -0
  159. byteplussdkkickart/models/get_meta_list_request.py +201 -0
  160. byteplussdkkickart/models/get_meta_list_response.py +175 -0
  161. byteplussdkkickart/models/get_price_request.py +123 -0
  162. byteplussdkkickart/models/get_price_response.py +123 -0
  163. byteplussdkkickart/models/get_product_info_request.py +123 -0
  164. byteplussdkkickart/models/get_product_info_response.py +149 -0
  165. byteplussdkkickart/models/get_public_template_list_request.py +436 -0
  166. byteplussdkkickart/models/get_public_template_list_response.py +149 -0
  167. byteplussdkkickart/models/get_publish_draft_by_task_request.py +124 -0
  168. byteplussdkkickart/models/get_publish_draft_by_task_response.py +149 -0
  169. byteplussdkkickart/models/get_publish_draft_request.py +175 -0
  170. byteplussdkkickart/models/get_publish_draft_response.py +149 -0
  171. byteplussdkkickart/models/get_raw_api_key_request.py +123 -0
  172. byteplussdkkickart/models/get_raw_api_key_response.py +123 -0
  173. byteplussdkkickart/models/get_special_zone_config_request.py +124 -0
  174. byteplussdkkickart/models/get_special_zone_config_response.py +227 -0
  175. byteplussdkkickart/models/get_task_item_request.py +149 -0
  176. byteplussdkkickart/models/get_task_item_response.py +565 -0
  177. byteplussdkkickart/models/get_tasks_detail_request.py +123 -0
  178. byteplussdkkickart/models/get_tasks_detail_response.py +123 -0
  179. byteplussdkkickart/models/get_tenant_config_request.py +124 -0
  180. byteplussdkkickart/models/get_tenant_config_response.py +929 -0
  181. byteplussdkkickart/models/get_voice_recommendation_request.py +227 -0
  182. byteplussdkkickart/models/get_voice_recommendation_response.py +123 -0
  183. byteplussdkkickart/models/get_watermark_switch_status_request.py +124 -0
  184. byteplussdkkickart/models/get_watermark_switch_status_response.py +253 -0
  185. byteplussdkkickart/models/handle_o_auth_callback_request.py +177 -0
  186. byteplussdkkickart/models/handle_o_auth_callback_response.py +123 -0
  187. byteplussdkkickart/models/health_check_request.py +123 -0
  188. byteplussdkkickart/models/health_check_response.py +123 -0
  189. byteplussdkkickart/models/invoke_project_event_request.py +201 -0
  190. byteplussdkkickart/models/invoke_project_event_response.py +123 -0
  191. byteplussdkkickart/models/list_api_key_request.py +149 -0
  192. byteplussdkkickart/models/list_api_key_response.py +201 -0
  193. byteplussdkkickart/models/list_avatar_request.py +201 -0
  194. byteplussdkkickart/models/list_avatar_response.py +201 -0
  195. byteplussdkkickart/models/list_avatar_voice_request.py +279 -0
  196. byteplussdkkickart/models/list_avatar_voice_response.py +201 -0
  197. byteplussdkkickart/models/list_block_request.py +201 -0
  198. byteplussdkkickart/models/list_block_response.py +149 -0
  199. byteplussdkkickart/models/list_combo_request.py +149 -0
  200. byteplussdkkickart/models/list_combo_response.py +149 -0
  201. byteplussdkkickart/models/list_create_cost_request.py +149 -0
  202. byteplussdkkickart/models/list_create_cost_response.py +123 -0
  203. byteplussdkkickart/models/list_creative_point_logs_request.py +253 -0
  204. byteplussdkkickart/models/list_creative_point_logs_response.py +149 -0
  205. byteplussdkkickart/models/list_genius_project_request.py +149 -0
  206. byteplussdkkickart/models/list_genius_project_response.py +149 -0
  207. byteplussdkkickart/models/list_genius_template_request.py +175 -0
  208. byteplussdkkickart/models/list_genius_template_response.py +149 -0
  209. byteplussdkkickart/models/list_prompt_request.py +95 -0
  210. byteplussdkkickart/models/list_prompt_response.py +123 -0
  211. byteplussdkkickart/models/list_publish_accounts_request.py +149 -0
  212. byteplussdkkickart/models/list_publish_accounts_response.py +123 -0
  213. byteplussdkkickart/models/list_resources_request.py +95 -0
  214. byteplussdkkickart/models/list_resources_response.py +123 -0
  215. byteplussdkkickart/models/list_select_item_request.py +123 -0
  216. byteplussdkkickart/models/list_select_item_response.py +149 -0
  217. byteplussdkkickart/models/list_tasks_request.py +177 -0
  218. byteplussdkkickart/models/list_tasks_response.py +175 -0
  219. byteplussdkkickart/models/query_creative_point_logs_request.py +253 -0
  220. byteplussdkkickart/models/query_creative_point_logs_response.py +149 -0
  221. byteplussdkkickart/models/query_select_item_request.py +123 -0
  222. byteplussdkkickart/models/query_select_item_response.py +149 -0
  223. byteplussdkkickart/models/reorder_check_request.py +123 -0
  224. byteplussdkkickart/models/reorder_check_response.py +123 -0
  225. byteplussdkkickart/models/retry_risk_task_request.py +123 -0
  226. byteplussdkkickart/models/retry_risk_task_response.py +123 -0
  227. byteplussdkkickart/models/retry_task_request.py +149 -0
  228. byteplussdkkickart/models/retry_task_response.py +123 -0
  229. byteplussdkkickart/models/save_publish_draft_request.py +149 -0
  230. byteplussdkkickart/models/save_publish_draft_response.py +123 -0
  231. byteplussdkkickart/models/search_asset_request.py +487 -0
  232. byteplussdkkickart/models/search_asset_response.py +201 -0
  233. byteplussdkkickart/models/search_list_media_request.py +617 -0
  234. byteplussdkkickart/models/search_list_media_response.py +201 -0
  235. byteplussdkkickart/models/set_watermark_switch_status_request.py +253 -0
  236. byteplussdkkickart/models/set_watermark_switch_status_response.py +95 -0
  237. byteplussdkkickart/models/show_popup_request.py +124 -0
  238. byteplussdkkickart/models/show_popup_response.py +175 -0
  239. byteplussdkkickart/models/submit_publish_request.py +124 -0
  240. byteplussdkkickart/models/submit_publish_response.py +123 -0
  241. byteplussdkkickart/models/unbind_publish_account_request.py +124 -0
  242. byteplussdkkickart/models/unbind_publish_account_response.py +95 -0
  243. byteplussdkkickart/models/update_api_key_request.py +175 -0
  244. byteplussdkkickart/models/update_api_key_response.py +95 -0
  245. byteplussdkkickart/models/update_asset_request.py +149 -0
  246. byteplussdkkickart/models/update_asset_response.py +95 -0
  247. byteplussdkkickart/models/update_composition_product_info_request.py +151 -0
  248. byteplussdkkickart/models/update_composition_product_info_response.py +123 -0
  249. byteplussdkkickart/models/update_composition_request.py +149 -0
  250. byteplussdkkickart/models/update_composition_response.py +123 -0
  251. byteplussdkkickart/models/update_draft_request.py +227 -0
  252. byteplussdkkickart/models/update_draft_response.py +95 -0
  253. byteplussdkkickart/models/update_draft_title_request.py +151 -0
  254. byteplussdkkickart/models/update_draft_title_response.py +123 -0
  255. byteplussdkkickart/models/update_film_request.py +435 -0
  256. byteplussdkkickart/models/update_film_response.py +95 -0
  257. byteplussdkkickart/models/update_folder_media_path_request.py +175 -0
  258. byteplussdkkickart/models/update_folder_media_path_response.py +95 -0
  259. byteplussdkkickart/models/update_material_request.py +513 -0
  260. byteplussdkkickart/models/update_material_response.py +95 -0
  261. byteplussdkkickart/models/validate_avatar_image_request.py +123 -0
  262. byteplussdkkickart/models/validate_avatar_image_response.py +149 -0
  263. byteplussdkllmshield/models/llm_shield_sign.py +1 -1
  264. byteplussdkrdsmssql/__init__.py +1 -1
  265. byteplussdkrdsmssql/models/__init__.py +1 -1
  266. byteplussdkrdsmssql/models/describe_db_instance_specs_response.py +17 -17
  267. byteplussdkrdsmssql/models/{instance_spec_info_for_describe_db_instance_specs_output.py → instance_specs_info_for_describe_db_instance_specs_output.py} +45 -45
  268. byteplussdkvepfs/__init__.py +26 -0
  269. byteplussdkvepfs/api/vepfs_api.py +582 -0
  270. byteplussdkvepfs/models/__init__.py +26 -0
  271. byteplussdkvepfs/models/add_mount_service_clients_request.py +202 -0
  272. byteplussdkvepfs/models/add_mount_service_clients_response.py +123 -0
  273. byteplussdkvepfs/models/client_for_add_mount_service_clients_input.py +149 -0
  274. byteplussdkvepfs/models/client_for_describe_mount_service_tasks_output.py +149 -0
  275. byteplussdkvepfs/models/client_for_remove_mount_service_clients_input.py +149 -0
  276. byteplussdkvepfs/models/client_for_verify_mount_service_clients_input.py +149 -0
  277. byteplussdkvepfs/models/client_snapshot_for_describe_mount_service_task_results_output.py +305 -0
  278. byteplussdkvepfs/models/describe_lens_tasks_request.py +60 -1
  279. byteplussdkvepfs/models/describe_mount_service_clients_request.py +440 -0
  280. byteplussdkvepfs/models/describe_mount_service_clients_response.py +201 -0
  281. byteplussdkvepfs/models/describe_mount_service_task_results_request.py +415 -0
  282. byteplussdkvepfs/models/describe_mount_service_task_results_response.py +201 -0
  283. byteplussdkvepfs/models/describe_mount_service_tasks_request.py +267 -0
  284. byteplussdkvepfs/models/describe_mount_service_tasks_response.py +201 -0
  285. byteplussdkvepfs/models/instance_for_describe_mount_service_clients_output.py +253 -0
  286. byteplussdkvepfs/models/instance_for_describe_mount_service_task_results_output.py +253 -0
  287. byteplussdkvepfs/models/monitor_for_describe_mount_service_clients_output.py +123 -0
  288. byteplussdkvepfs/models/monitor_for_describe_mount_service_task_results_output.py +123 -0
  289. byteplussdkvepfs/models/mount_service_client_for_describe_mount_service_clients_output.py +305 -0
  290. byteplussdkvepfs/models/mount_service_task_result_for_describe_mount_service_task_results_output.py +201 -0
  291. byteplussdkvepfs/models/progress_for_describe_mount_service_tasks_output.py +201 -0
  292. byteplussdkvepfs/models/remove_mount_service_clients_request.py +150 -0
  293. byteplussdkvepfs/models/remove_mount_service_clients_response.py +123 -0
  294. byteplussdkvepfs/models/result_for_verify_mount_service_clients_output.py +175 -0
  295. byteplussdkvepfs/models/task_for_describe_mount_service_tasks_output.py +305 -0
  296. byteplussdkvepfs/models/verify_mount_service_clients_request.py +150 -0
  297. byteplussdkvepfs/models/verify_mount_service_clients_response.py +123 -0
  298. byteplussdkvke/__init__.py +69 -0
  299. byteplussdkvke/api/vke_api.py +1273 -206
  300. byteplussdkvke/models/__init__.py +69 -0
  301. byteplussdkvke/models/action_for_list_remedy_configs_output.py +149 -0
  302. byteplussdkvke/models/affinity_group_config_for_create_node_pool_input.py +149 -0
  303. byteplussdkvke/models/affinity_group_config_for_list_node_pools_output.py +149 -0
  304. byteplussdkvke/models/affinity_group_config_for_update_node_pool_config_input.py +149 -0
  305. byteplussdkvke/models/binding_remedy_config_request.py +262 -0
  306. byteplussdkvke/models/binding_remedy_config_response.py +123 -0
  307. byteplussdkvke/models/cluster_config_for_list_clusters_output.py +27 -1
  308. byteplussdkvke/models/cluster_config_for_update_cluster_config_input.py +53 -1
  309. byteplussdkvke/models/cluster_connector_config_request_for_update_cluster_config_input.py +215 -0
  310. byteplussdkvke/models/config_for_list_remedy_configs_output.py +253 -0
  311. byteplussdkvke/models/container_image_commitment_for_describe_container_image_commitments_output.py +227 -0
  312. byteplussdkvke/models/containerd_config_for_create_default_node_pool_input.py +149 -0
  313. byteplussdkvke/models/containerd_config_for_create_node_pool_input.py +149 -0
  314. byteplussdkvke/models/containerd_config_for_list_node_pools_output.py +149 -0
  315. byteplussdkvke/models/containerd_config_for_update_node_pool_config_input.py +149 -0
  316. byteplussdkvke/models/create_node_pool_request.py +27 -1
  317. byteplussdkvke/models/create_nodes_request.py +81 -3
  318. byteplussdkvke/models/create_snapshot_request.py +255 -0
  319. byteplussdkvke/models/create_snapshot_response.py +123 -0
  320. byteplussdkvke/models/data_volume_for_create_node_pool_input.py +87 -2
  321. byteplussdkvke/models/data_volume_for_list_node_pools_output.py +79 -1
  322. byteplussdkvke/models/data_volume_for_update_node_pool_config_input.py +87 -2
  323. byteplussdkvke/models/delete_nodes_request.py +2 -3
  324. byteplussdkvke/models/delete_snapshot_request.py +124 -0
  325. byteplussdkvke/models/delete_snapshot_response.py +123 -0
  326. byteplussdkvke/models/describe_container_image_commitments_request.py +227 -0
  327. byteplussdkvke/models/describe_container_image_commitments_response.py +149 -0
  328. byteplussdkvke/models/describe_snapshots_request.py +175 -0
  329. byteplussdkvke/models/describe_snapshots_response.py +149 -0
  330. byteplussdkvke/models/drain_for_list_remedy_configs_output.py +123 -0
  331. byteplussdkvke/models/eviction_hard_for_create_default_node_pool_input.py +62 -1
  332. byteplussdkvke/models/eviction_hard_for_create_node_pool_input.py +62 -1
  333. byteplussdkvke/models/eviction_hard_for_list_node_pools_output.py +55 -1
  334. byteplussdkvke/models/eviction_hard_for_update_node_pool_config_input.py +62 -1
  335. byteplussdkvke/models/exec_container_image_commitment_request.py +27 -1
  336. byteplussdkvke/models/exec_container_image_commitment_response.py +29 -1
  337. byteplussdkvke/models/filter_for_list_clusters_input.py +1 -1
  338. byteplussdkvke/models/filter_for_list_nodes_input.py +53 -1
  339. byteplussdkvke/models/filter_for_list_remedy_configs_input.py +234 -0
  340. byteplussdkvke/models/flannel_config_for_list_clusters_output.py +29 -3
  341. byteplussdkvke/models/flannel_config_for_update_cluster_config_input.py +123 -0
  342. byteplussdkvke/models/image_spec_for_describe_container_image_commitments_output.py +201 -0
  343. byteplussdkvke/models/instances_distribution_for_create_node_pool_input.py +201 -0
  344. byteplussdkvke/models/instances_distribution_for_list_node_pools_output.py +201 -0
  345. byteplussdkvke/models/instances_distribution_for_update_node_pool_config_input.py +201 -0
  346. byteplussdkvke/models/intersection_item_for_list_supported_images_output.py +149 -0
  347. byteplussdkvke/models/intervene_cordon_for_list_remedy_configs_output.py +149 -0
  348. byteplussdkvke/models/intervene_drain_for_list_remedy_configs_output.py +149 -0
  349. byteplussdkvke/models/irsa_config_for_list_clusters_output.py +253 -0
  350. byteplussdkvke/models/item_for_list_clusters_output.py +27 -1
  351. byteplussdkvke/models/item_for_list_instance_type_labels_output.py +175 -0
  352. byteplussdkvke/models/item_for_list_node_pools_output.py +27 -1
  353. byteplussdkvke/models/item_for_list_nodes_output.py +105 -1
  354. byteplussdkvke/models/item_for_list_remedy_configs_output.py +305 -0
  355. byteplussdkvke/models/item_for_list_supported_images_output.py +149 -0
  356. byteplussdkvke/models/kube_reserved_for_create_default_node_pool_input.py +7 -0
  357. byteplussdkvke/models/kube_reserved_for_create_node_pool_input.py +7 -0
  358. byteplussdkvke/models/kube_reserved_for_update_node_pool_config_input.py +7 -0
  359. byteplussdkvke/models/kubelet_config_for_create_default_node_pool_input.py +7 -24
  360. byteplussdkvke/models/kubelet_config_for_create_node_pool_input.py +7 -24
  361. byteplussdkvke/models/kubelet_config_for_update_node_pool_config_input.py +7 -24
  362. byteplussdkvke/models/kubernetes_config_for_create_default_node_pool_input.py +105 -1
  363. byteplussdkvke/models/kubernetes_config_for_create_node_pool_input.py +105 -1
  364. byteplussdkvke/models/kubernetes_config_for_list_node_pools_output.py +105 -1
  365. byteplussdkvke/models/kubernetes_config_for_update_node_pool_config_input.py +105 -1
  366. byteplussdkvke/models/label_for_list_instance_type_labels_output.py +149 -0
  367. byteplussdkvke/models/label_for_list_remedy_configs_output.py +149 -0
  368. byteplussdkvke/models/list_instance_type_labels_request.py +123 -0
  369. byteplussdkvke/models/list_instance_type_labels_response.py +123 -0
  370. byteplussdkvke/models/list_remedy_configs_request.py +175 -0
  371. byteplussdkvke/models/list_remedy_configs_response.py +201 -0
  372. byteplussdkvke/models/list_supported_add_instance_types_request.py +95 -0
  373. byteplussdkvke/models/list_supported_add_instance_types_response.py +123 -0
  374. byteplussdkvke/models/list_supported_gpu_driver_versions_request.py +176 -0
  375. byteplussdkvke/models/list_supported_gpu_driver_versions_response.py +123 -0
  376. byteplussdkvke/models/list_supported_images_request.py +175 -0
  377. byteplussdkvke/models/list_supported_images_response.py +149 -0
  378. byteplussdkvke/models/log_setup_for_create_cluster_input.py +1 -1
  379. byteplussdkvke/models/log_setup_for_update_cluster_config_input.py +1 -1
  380. byteplussdkvke/models/management_for_create_node_pool_input.py +149 -0
  381. byteplussdkvke/models/management_for_list_node_pools_output.py +149 -0
  382. byteplussdkvke/models/management_for_update_node_pool_config_input.py +149 -0
  383. byteplussdkvke/models/monitoring_config_for_list_clusters_output.py +27 -1
  384. byteplussdkvke/models/monitoring_config_for_update_cluster_config_input.py +27 -1
  385. byteplussdkvke/models/node_config_for_create_default_node_pool_input.py +27 -1
  386. byteplussdkvke/models/node_config_for_create_node_pool_input.py +216 -1
  387. byteplussdkvke/models/node_config_for_list_node_pools_output.py +209 -1
  388. byteplussdkvke/models/node_config_for_update_node_pool_config_input.py +216 -1
  389. byteplussdkvke/models/pods_config_for_update_cluster_config_input.py +27 -1
  390. byteplussdkvke/models/proxy_config_for_update_cluster_config_input.py +227 -0
  391. byteplussdkvke/models/public_access_config_for_create_node_pool_input.py +1 -1
  392. byteplussdkvke/models/public_access_config_for_update_node_pool_config_input.py +1 -1
  393. byteplussdkvke/models/public_access_network_config_for_create_cluster_input.py +1 -1
  394. byteplussdkvke/models/public_access_network_config_for_update_cluster_config_input.py +1 -1
  395. byteplussdkvke/models/registry_proxy_config_for_create_default_node_pool_input.py +149 -0
  396. byteplussdkvke/models/registry_proxy_config_for_create_node_pool_input.py +149 -0
  397. byteplussdkvke/models/registry_proxy_config_for_list_node_pools_output.py +149 -0
  398. byteplussdkvke/models/registry_proxy_config_for_update_node_pool_config_input.py +149 -0
  399. byteplussdkvke/models/remedy_config_for_create_node_pool_input.py +149 -0
  400. byteplussdkvke/models/remedy_config_for_list_node_pools_output.py +149 -0
  401. byteplussdkvke/models/remedy_config_for_update_node_pool_config_input.py +149 -0
  402. byteplussdkvke/models/remedy_strategy_for_list_remedy_configs_output.py +149 -0
  403. byteplussdkvke/models/rule_for_list_remedy_configs_output.py +175 -0
  404. byteplussdkvke/models/runtime_for_create_default_node_pool_input.py +156 -0
  405. byteplussdkvke/models/runtime_for_create_node_pool_input.py +156 -0
  406. byteplussdkvke/models/runtime_for_list_node_pools_output.py +149 -0
  407. byteplussdkvke/models/runtime_for_update_node_pool_config_input.py +156 -0
  408. byteplussdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
  409. byteplussdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
  410. byteplussdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
  411. byteplussdkvke/models/snapshot_for_describe_snapshots_output.py +461 -0
  412. byteplussdkvke/models/status_for_list_clusters_input.py +1 -1
  413. byteplussdkvke/models/status_for_list_node_pools_input.py +1 -1
  414. byteplussdkvke/models/status_for_list_nodes_input.py +2 -2
  415. byteplussdkvke/models/supported_image_for_list_supported_images_output.py +149 -0
  416. byteplussdkvke/models/system_reserved_for_create_default_node_pool_input.py +7 -0
  417. byteplussdkvke/models/system_reserved_for_create_node_pool_input.py +7 -0
  418. byteplussdkvke/models/system_reserved_for_update_node_pool_config_input.py +7 -0
  419. byteplussdkvke/models/system_volume_for_create_node_pool_input.py +1 -1
  420. byteplussdkvke/models/system_volume_for_update_node_pool_config_input.py +1 -1
  421. byteplussdkvke/models/tag_for_create_snapshot_input.py +149 -0
  422. byteplussdkvke/models/unbinding_remedy_config_request.py +211 -0
  423. byteplussdkvke/models/unbinding_remedy_config_response.py +95 -0
  424. byteplussdkvke/models/update_cluster_config_request.py +27 -1
  425. byteplussdkvke/models/update_node_pool_config_request.py +27 -1
  426. byteplussdkvke/models/vpc_cni_config_for_list_clusters_output.py +29 -3
  427. byteplussdkvke/models/vpc_cni_config_for_update_cluster_config_input.py +29 -3
  428. byteplussdkvpc20250901/__init__.py +149 -0
  429. byteplussdkvpc20250901/api/__init__.py +6 -0
  430. byteplussdkvpc20250901/api/vpc20250901_api.py +4399 -0
  431. byteplussdkvpc20250901/models/__init__.py +145 -0
  432. byteplussdkvpc20250901/models/assign_private_ip_addresses_request.py +202 -0
  433. byteplussdkvpc20250901/models/assign_private_ip_addresses_response.py +201 -0
  434. byteplussdkvpc20250901/models/associate_route_table_request.py +176 -0
  435. byteplussdkvpc20250901/models/associate_route_table_response.py +149 -0
  436. byteplussdkvpc20250901/models/associate_vpc_cidr_block_request.py +150 -0
  437. byteplussdkvpc20250901/models/associate_vpc_cidr_block_response.py +201 -0
  438. byteplussdkvpc20250901/models/associated_elastic_ip_for_describe_network_interface_attributes_output.py +175 -0
  439. byteplussdkvpc20250901/models/associated_elastic_ip_for_describe_network_interfaces_output.py +175 -0
  440. byteplussdkvpc20250901/models/attach_network_interface_request.py +151 -0
  441. byteplussdkvpc20250901/models/attach_network_interface_response.py +149 -0
  442. byteplussdkvpc20250901/models/attachment_for_describe_network_interfaces_output.py +149 -0
  443. byteplussdkvpc20250901/models/authorize_security_group_egress_request.py +309 -0
  444. byteplussdkvpc20250901/models/authorize_security_group_egress_response.py +149 -0
  445. byteplussdkvpc20250901/models/authorize_security_group_ingress_request.py +309 -0
  446. byteplussdkvpc20250901/models/authorize_security_group_ingress_response.py +149 -0
  447. byteplussdkvpc20250901/models/create_network_interface_request.py +396 -0
  448. byteplussdkvpc20250901/models/create_network_interface_response.py +175 -0
  449. byteplussdkvpc20250901/models/create_route_entry_request.py +294 -0
  450. byteplussdkvpc20250901/models/create_route_entry_response.py +175 -0
  451. byteplussdkvpc20250901/models/create_route_table_request.py +266 -0
  452. byteplussdkvpc20250901/models/create_route_table_response.py +175 -0
  453. byteplussdkvpc20250901/models/create_security_group_request.py +254 -0
  454. byteplussdkvpc20250901/models/create_security_group_response.py +175 -0
  455. byteplussdkvpc20250901/models/create_subnet_request.py +294 -0
  456. byteplussdkvpc20250901/models/create_subnet_response.py +175 -0
  457. byteplussdkvpc20250901/models/create_vpc_request.py +292 -0
  458. byteplussdkvpc20250901/models/create_vpc_response.py +201 -0
  459. byteplussdkvpc20250901/models/delete_network_interface_request.py +124 -0
  460. byteplussdkvpc20250901/models/delete_network_interface_response.py +149 -0
  461. byteplussdkvpc20250901/models/delete_route_entry_request.py +124 -0
  462. byteplussdkvpc20250901/models/delete_route_entry_response.py +149 -0
  463. byteplussdkvpc20250901/models/delete_route_table_request.py +124 -0
  464. byteplussdkvpc20250901/models/delete_route_table_response.py +149 -0
  465. byteplussdkvpc20250901/models/delete_security_group_request.py +124 -0
  466. byteplussdkvpc20250901/models/delete_security_group_response.py +149 -0
  467. byteplussdkvpc20250901/models/delete_subnet_request.py +124 -0
  468. byteplussdkvpc20250901/models/delete_subnet_response.py +149 -0
  469. byteplussdkvpc20250901/models/delete_vpc_request.py +124 -0
  470. byteplussdkvpc20250901/models/delete_vpc_response.py +149 -0
  471. byteplussdkvpc20250901/models/describe_network_interface_attributes_request.py +124 -0
  472. byteplussdkvpc20250901/models/describe_network_interface_attributes_response.py +695 -0
  473. byteplussdkvpc20250901/models/describe_network_interfaces_request.py +548 -0
  474. byteplussdkvpc20250901/models/describe_network_interfaces_response.py +253 -0
  475. byteplussdkvpc20250901/models/describe_route_entry_list_request.py +393 -0
  476. byteplussdkvpc20250901/models/describe_route_entry_list_response.py +253 -0
  477. byteplussdkvpc20250901/models/describe_route_table_list_request.py +334 -0
  478. byteplussdkvpc20250901/models/describe_route_table_list_response.py +253 -0
  479. byteplussdkvpc20250901/models/describe_security_group_attributes_request.py +228 -0
  480. byteplussdkvpc20250901/models/describe_security_group_attributes_response.py +461 -0
  481. byteplussdkvpc20250901/models/describe_security_groups_request.py +340 -0
  482. byteplussdkvpc20250901/models/describe_security_groups_response.py +253 -0
  483. byteplussdkvpc20250901/models/describe_subnet_attributes_request.py +124 -0
  484. byteplussdkvpc20250901/models/describe_subnet_attributes_response.py +539 -0
  485. byteplussdkvpc20250901/models/describe_subnets_request.py +438 -0
  486. byteplussdkvpc20250901/models/describe_subnets_response.py +253 -0
  487. byteplussdkvpc20250901/models/describe_vpc_attributes_request.py +124 -0
  488. byteplussdkvpc20250901/models/describe_vpc_attributes_response.py +565 -0
  489. byteplussdkvpc20250901/models/describe_vpcs_request.py +366 -0
  490. byteplussdkvpc20250901/models/describe_vpcs_response.py +253 -0
  491. byteplussdkvpc20250901/models/detach_network_interface_request.py +151 -0
  492. byteplussdkvpc20250901/models/detach_network_interface_response.py +149 -0
  493. byteplussdkvpc20250901/models/disassociate_route_table_request.py +176 -0
  494. byteplussdkvpc20250901/models/disassociate_route_table_response.py +149 -0
  495. byteplussdkvpc20250901/models/disassociate_vpc_cidr_block_request.py +150 -0
  496. byteplussdkvpc20250901/models/disassociate_vpc_cidr_block_response.py +149 -0
  497. byteplussdkvpc20250901/models/list_tags_for_resources_request.py +264 -0
  498. byteplussdkvpc20250901/models/list_tags_for_resources_response.py +175 -0
  499. byteplussdkvpc20250901/models/modify_network_interface_attributes_request.py +266 -0
  500. byteplussdkvpc20250901/models/modify_network_interface_attributes_response.py +149 -0
  501. byteplussdkvpc20250901/models/modify_route_entry_request.py +188 -0
  502. byteplussdkvpc20250901/models/modify_route_entry_response.py +123 -0
  503. byteplussdkvpc20250901/models/modify_route_table_attributes_request.py +188 -0
  504. byteplussdkvpc20250901/models/modify_route_table_attributes_response.py +123 -0
  505. byteplussdkvpc20250901/models/modify_security_group_attributes_request.py +176 -0
  506. byteplussdkvpc20250901/models/modify_security_group_attributes_response.py +123 -0
  507. byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_egress_request.py +283 -0
  508. byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_egress_response.py +123 -0
  509. byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_ingress_request.py +283 -0
  510. byteplussdkvpc20250901/models/modify_security_group_rule_descriptions_ingress_response.py +123 -0
  511. byteplussdkvpc20250901/models/modify_subnet_attributes_request.py +188 -0
  512. byteplussdkvpc20250901/models/modify_subnet_attributes_response.py +149 -0
  513. byteplussdkvpc20250901/models/modify_vpc_attributes_request.py +214 -0
  514. byteplussdkvpc20250901/models/modify_vpc_attributes_response.py +149 -0
  515. byteplussdkvpc20250901/models/network_interface_set_for_describe_network_interfaces_output.py +695 -0
  516. byteplussdkvpc20250901/models/permission_for_describe_security_group_attributes_output.py +331 -0
  517. byteplussdkvpc20250901/models/private_ip_set_for_describe_network_interface_attributes_output.py +175 -0
  518. byteplussdkvpc20250901/models/private_ip_set_for_describe_network_interfaces_output.py +175 -0
  519. byteplussdkvpc20250901/models/private_ip_sets_for_describe_network_interface_attributes_output.py +123 -0
  520. byteplussdkvpc20250901/models/private_ip_sets_for_describe_network_interfaces_output.py +123 -0
  521. byteplussdkvpc20250901/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  522. byteplussdkvpc20250901/models/revoke_security_group_egress_request.py +283 -0
  523. byteplussdkvpc20250901/models/revoke_security_group_egress_response.py +149 -0
  524. byteplussdkvpc20250901/models/revoke_security_group_ingress_request.py +283 -0
  525. byteplussdkvpc20250901/models/revoke_security_group_ingress_response.py +149 -0
  526. byteplussdkvpc20250901/models/route_entry_for_describe_route_entry_list_output.py +357 -0
  527. byteplussdkvpc20250901/models/route_table_for_describe_subnet_attributes_output.py +149 -0
  528. byteplussdkvpc20250901/models/route_table_for_describe_subnets_output.py +149 -0
  529. byteplussdkvpc20250901/models/router_table_list_for_describe_route_table_list_output.py +435 -0
  530. byteplussdkvpc20250901/models/security_group_for_describe_security_groups_output.py +383 -0
  531. byteplussdkvpc20250901/models/subnet_for_describe_subnets_output.py +513 -0
  532. byteplussdkvpc20250901/models/tag_filter_for_describe_network_interfaces_input.py +149 -0
  533. byteplussdkvpc20250901/models/tag_filter_for_describe_route_table_list_input.py +149 -0
  534. byteplussdkvpc20250901/models/tag_filter_for_describe_security_groups_input.py +149 -0
  535. byteplussdkvpc20250901/models/tag_filter_for_describe_subnets_input.py +149 -0
  536. byteplussdkvpc20250901/models/tag_filter_for_describe_vpcs_input.py +149 -0
  537. byteplussdkvpc20250901/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  538. byteplussdkvpc20250901/models/tag_for_create_network_interface_input.py +149 -0
  539. byteplussdkvpc20250901/models/tag_for_create_route_table_input.py +149 -0
  540. byteplussdkvpc20250901/models/tag_for_create_security_group_input.py +149 -0
  541. byteplussdkvpc20250901/models/tag_for_create_subnet_input.py +149 -0
  542. byteplussdkvpc20250901/models/tag_for_create_vpc_input.py +149 -0
  543. byteplussdkvpc20250901/models/tag_for_describe_network_interface_attributes_output.py +149 -0
  544. byteplussdkvpc20250901/models/tag_for_describe_network_interfaces_output.py +149 -0
  545. byteplussdkvpc20250901/models/tag_for_describe_route_table_list_output.py +149 -0
  546. byteplussdkvpc20250901/models/tag_for_describe_security_group_attributes_output.py +149 -0
  547. byteplussdkvpc20250901/models/tag_for_describe_security_groups_output.py +149 -0
  548. byteplussdkvpc20250901/models/tag_for_describe_subnet_attributes_output.py +149 -0
  549. byteplussdkvpc20250901/models/tag_for_describe_subnets_output.py +149 -0
  550. byteplussdkvpc20250901/models/tag_for_describe_vpc_attributes_output.py +149 -0
  551. byteplussdkvpc20250901/models/tag_for_describe_vpcs_output.py +149 -0
  552. byteplussdkvpc20250901/models/tag_for_tag_resources_input.py +150 -0
  553. byteplussdkvpc20250901/models/tag_resources_request.py +183 -0
  554. byteplussdkvpc20250901/models/tag_resources_response.py +123 -0
  555. byteplussdkvpc20250901/models/unassign_private_ip_addresses_request.py +150 -0
  556. byteplussdkvpc20250901/models/unassign_private_ip_addresses_response.py +149 -0
  557. byteplussdkvpc20250901/models/untag_resources_request.py +183 -0
  558. byteplussdkvpc20250901/models/untag_resources_response.py +123 -0
  559. byteplussdkvpc20250901/models/vpc_for_describe_vpcs_output.py +539 -0
  560. {byteplus_python_sdk_v2-3.0.43.dist-info → byteplus_python_sdk_v2-3.0.45.dist-info}/WHEEL +0 -0
  561. {byteplus_python_sdk_v2-3.0.43.dist-info → byteplus_python_sdk_v2-3.0.45.dist-info}/licenses/LICENSE.txt +0 -0
  562. {byteplus_python_sdk_v2-3.0.43.dist-info → byteplus_python_sdk_v2-3.0.45.dist-info}/licenses/NOTICE.md +0 -0
@@ -33,6 +33,103 @@ class VKEApi(object):
33
33
  api_client = byteplussdkcore.ApiClient()
34
34
  self.api_client = api_client
35
35
 
36
+ def binding_remedy_config(self, body, **kwargs): # noqa: E501
37
+ """binding_remedy_config # noqa: E501
38
+
39
+ This method makes a synchronous HTTP request by default. To make an
40
+ asynchronous HTTP request, please pass async_req=True
41
+ >>> thread = api.binding_remedy_config(body, async_req=True)
42
+ >>> result = thread.get()
43
+
44
+ :param async_req bool
45
+ :param BindingRemedyConfigRequest body: (required)
46
+ :return: BindingRemedyConfigResponse
47
+ If the method is called asynchronously,
48
+ returns the request thread.
49
+ """
50
+ kwargs['_return_http_data_only'] = True
51
+ if kwargs.get('async_req'):
52
+ return self.binding_remedy_config_with_http_info(body, **kwargs) # noqa: E501
53
+ else:
54
+ (data) = self.binding_remedy_config_with_http_info(body, **kwargs) # noqa: E501
55
+ return data
56
+
57
+ def binding_remedy_config_with_http_info(self, body, **kwargs): # noqa: E501
58
+ """binding_remedy_config # noqa: E501
59
+
60
+ This method makes a synchronous HTTP request by default. To make an
61
+ asynchronous HTTP request, please pass async_req=True
62
+ >>> thread = api.binding_remedy_config_with_http_info(body, async_req=True)
63
+ >>> result = thread.get()
64
+
65
+ :param async_req bool
66
+ :param BindingRemedyConfigRequest body: (required)
67
+ :return: BindingRemedyConfigResponse
68
+ If the method is called asynchronously,
69
+ returns the request thread.
70
+ """
71
+
72
+ all_params = ['body'] # noqa: E501
73
+ all_params.append('async_req')
74
+ all_params.append('_return_http_data_only')
75
+ all_params.append('_preload_content')
76
+ all_params.append('_request_timeout')
77
+
78
+ params = locals()
79
+ for key, val in six.iteritems(params['kwargs']):
80
+ if key not in all_params:
81
+ raise TypeError(
82
+ "Got an unexpected keyword argument '%s'"
83
+ " to method binding_remedy_config" % key
84
+ )
85
+ params[key] = val
86
+ del params['kwargs']
87
+ # verify the required parameter 'body' is set
88
+ if self.api_client.client_side_validation and ('body' not in params or
89
+ params['body'] is None): # noqa: E501
90
+ raise ValueError("Missing the required parameter `body` when calling `binding_remedy_config`") # noqa: E501
91
+
92
+ collection_formats = {}
93
+
94
+ path_params = {}
95
+
96
+ query_params = []
97
+
98
+ header_params = {}
99
+
100
+ form_params = []
101
+ local_var_files = {}
102
+
103
+ body_params = None
104
+ if 'body' in params:
105
+ body_params = params['body']
106
+ # HTTP header `Accept`
107
+ header_params['Accept'] = self.api_client.select_header_accept(
108
+ ['application/json']) # noqa: E501
109
+
110
+ # HTTP header `Content-Type`
111
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
112
+ ['application/json']) # noqa: E501
113
+
114
+ # Authentication setting
115
+ auth_settings = ['byteplusSign'] # noqa: E501
116
+
117
+ return self.api_client.call_api(
118
+ '/BindingRemedyConfig/2022-05-12/vke/post/application_json/', 'POST',
119
+ path_params,
120
+ query_params,
121
+ header_params,
122
+ body=body_params,
123
+ post_params=form_params,
124
+ files=local_var_files,
125
+ response_type='BindingRemedyConfigResponse', # noqa: E501
126
+ auth_settings=auth_settings,
127
+ async_req=params.get('async_req'),
128
+ _return_http_data_only=params.get('_return_http_data_only'),
129
+ _preload_content=params.get('_preload_content', True),
130
+ _request_timeout=params.get('_request_timeout'),
131
+ collection_formats=collection_formats)
132
+
36
133
  def create_addon(self, body, **kwargs): # noqa: E501
37
134
  """create_addon # noqa: E501
38
135
 
@@ -712,6 +809,103 @@ class VKEApi(object):
712
809
  _request_timeout=params.get('_request_timeout'),
713
810
  collection_formats=collection_formats)
714
811
 
812
+ def create_snapshot(self, body, **kwargs): # noqa: E501
813
+ """create_snapshot # noqa: E501
814
+
815
+ This method makes a synchronous HTTP request by default. To make an
816
+ asynchronous HTTP request, please pass async_req=True
817
+ >>> thread = api.create_snapshot(body, async_req=True)
818
+ >>> result = thread.get()
819
+
820
+ :param async_req bool
821
+ :param CreateSnapshotRequest body: (required)
822
+ :return: CreateSnapshotResponse
823
+ If the method is called asynchronously,
824
+ returns the request thread.
825
+ """
826
+ kwargs['_return_http_data_only'] = True
827
+ if kwargs.get('async_req'):
828
+ return self.create_snapshot_with_http_info(body, **kwargs) # noqa: E501
829
+ else:
830
+ (data) = self.create_snapshot_with_http_info(body, **kwargs) # noqa: E501
831
+ return data
832
+
833
+ def create_snapshot_with_http_info(self, body, **kwargs): # noqa: E501
834
+ """create_snapshot # noqa: E501
835
+
836
+ This method makes a synchronous HTTP request by default. To make an
837
+ asynchronous HTTP request, please pass async_req=True
838
+ >>> thread = api.create_snapshot_with_http_info(body, async_req=True)
839
+ >>> result = thread.get()
840
+
841
+ :param async_req bool
842
+ :param CreateSnapshotRequest body: (required)
843
+ :return: CreateSnapshotResponse
844
+ If the method is called asynchronously,
845
+ returns the request thread.
846
+ """
847
+
848
+ all_params = ['body'] # noqa: E501
849
+ all_params.append('async_req')
850
+ all_params.append('_return_http_data_only')
851
+ all_params.append('_preload_content')
852
+ all_params.append('_request_timeout')
853
+
854
+ params = locals()
855
+ for key, val in six.iteritems(params['kwargs']):
856
+ if key not in all_params:
857
+ raise TypeError(
858
+ "Got an unexpected keyword argument '%s'"
859
+ " to method create_snapshot" % key
860
+ )
861
+ params[key] = val
862
+ del params['kwargs']
863
+ # verify the required parameter 'body' is set
864
+ if self.api_client.client_side_validation and ('body' not in params or
865
+ params['body'] is None): # noqa: E501
866
+ raise ValueError("Missing the required parameter `body` when calling `create_snapshot`") # noqa: E501
867
+
868
+ collection_formats = {}
869
+
870
+ path_params = {}
871
+
872
+ query_params = []
873
+
874
+ header_params = {}
875
+
876
+ form_params = []
877
+ local_var_files = {}
878
+
879
+ body_params = None
880
+ if 'body' in params:
881
+ body_params = params['body']
882
+ # HTTP header `Accept`
883
+ header_params['Accept'] = self.api_client.select_header_accept(
884
+ ['application/json']) # noqa: E501
885
+
886
+ # HTTP header `Content-Type`
887
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
888
+ ['application/json']) # noqa: E501
889
+
890
+ # Authentication setting
891
+ auth_settings = ['byteplusSign'] # noqa: E501
892
+
893
+ return self.api_client.call_api(
894
+ '/CreateSnapshot/2022-05-12/vke/post/application_json/', 'POST',
895
+ path_params,
896
+ query_params,
897
+ header_params,
898
+ body=body_params,
899
+ post_params=form_params,
900
+ files=local_var_files,
901
+ response_type='CreateSnapshotResponse', # noqa: E501
902
+ auth_settings=auth_settings,
903
+ async_req=params.get('async_req'),
904
+ _return_http_data_only=params.get('_return_http_data_only'),
905
+ _preload_content=params.get('_preload_content', True),
906
+ _request_timeout=params.get('_request_timeout'),
907
+ collection_formats=collection_formats)
908
+
715
909
  def delete_addon(self, body, **kwargs): # noqa: E501
716
910
  """delete_addon # noqa: E501
717
911
 
@@ -1294,38 +1488,38 @@ class VKEApi(object):
1294
1488
  _request_timeout=params.get('_request_timeout'),
1295
1489
  collection_formats=collection_formats)
1296
1490
 
1297
- def exec_container_image_commitment(self, body, **kwargs): # noqa: E501
1298
- """exec_container_image_commitment # noqa: E501
1491
+ def delete_snapshot(self, body, **kwargs): # noqa: E501
1492
+ """delete_snapshot # noqa: E501
1299
1493
 
1300
1494
  This method makes a synchronous HTTP request by default. To make an
1301
1495
  asynchronous HTTP request, please pass async_req=True
1302
- >>> thread = api.exec_container_image_commitment(body, async_req=True)
1496
+ >>> thread = api.delete_snapshot(body, async_req=True)
1303
1497
  >>> result = thread.get()
1304
1498
 
1305
1499
  :param async_req bool
1306
- :param ExecContainerImageCommitmentRequest body: (required)
1307
- :return: ExecContainerImageCommitmentResponse
1500
+ :param DeleteSnapshotRequest body: (required)
1501
+ :return: DeleteSnapshotResponse
1308
1502
  If the method is called asynchronously,
1309
1503
  returns the request thread.
1310
1504
  """
1311
1505
  kwargs['_return_http_data_only'] = True
1312
1506
  if kwargs.get('async_req'):
1313
- return self.exec_container_image_commitment_with_http_info(body, **kwargs) # noqa: E501
1507
+ return self.delete_snapshot_with_http_info(body, **kwargs) # noqa: E501
1314
1508
  else:
1315
- (data) = self.exec_container_image_commitment_with_http_info(body, **kwargs) # noqa: E501
1509
+ (data) = self.delete_snapshot_with_http_info(body, **kwargs) # noqa: E501
1316
1510
  return data
1317
1511
 
1318
- def exec_container_image_commitment_with_http_info(self, body, **kwargs): # noqa: E501
1319
- """exec_container_image_commitment # noqa: E501
1512
+ def delete_snapshot_with_http_info(self, body, **kwargs): # noqa: E501
1513
+ """delete_snapshot # noqa: E501
1320
1514
 
1321
1515
  This method makes a synchronous HTTP request by default. To make an
1322
1516
  asynchronous HTTP request, please pass async_req=True
1323
- >>> thread = api.exec_container_image_commitment_with_http_info(body, async_req=True)
1517
+ >>> thread = api.delete_snapshot_with_http_info(body, async_req=True)
1324
1518
  >>> result = thread.get()
1325
1519
 
1326
1520
  :param async_req bool
1327
- :param ExecContainerImageCommitmentRequest body: (required)
1328
- :return: ExecContainerImageCommitmentResponse
1521
+ :param DeleteSnapshotRequest body: (required)
1522
+ :return: DeleteSnapshotResponse
1329
1523
  If the method is called asynchronously,
1330
1524
  returns the request thread.
1331
1525
  """
@@ -1341,14 +1535,14 @@ class VKEApi(object):
1341
1535
  if key not in all_params:
1342
1536
  raise TypeError(
1343
1537
  "Got an unexpected keyword argument '%s'"
1344
- " to method exec_container_image_commitment" % key
1538
+ " to method delete_snapshot" % key
1345
1539
  )
1346
1540
  params[key] = val
1347
1541
  del params['kwargs']
1348
1542
  # verify the required parameter 'body' is set
1349
1543
  if self.api_client.client_side_validation and ('body' not in params or
1350
1544
  params['body'] is None): # noqa: E501
1351
- raise ValueError("Missing the required parameter `body` when calling `exec_container_image_commitment`") # noqa: E501
1545
+ raise ValueError("Missing the required parameter `body` when calling `delete_snapshot`") # noqa: E501
1352
1546
 
1353
1547
  collection_formats = {}
1354
1548
 
@@ -1376,14 +1570,14 @@ class VKEApi(object):
1376
1570
  auth_settings = ['byteplusSign'] # noqa: E501
1377
1571
 
1378
1572
  return self.api_client.call_api(
1379
- '/ExecContainerImageCommitment/2022-05-12/vke/post/application_json/', 'POST',
1573
+ '/DeleteSnapshot/2022-05-12/vke/post/application_json/', 'POST',
1380
1574
  path_params,
1381
1575
  query_params,
1382
1576
  header_params,
1383
1577
  body=body_params,
1384
1578
  post_params=form_params,
1385
1579
  files=local_var_files,
1386
- response_type='ExecContainerImageCommitmentResponse', # noqa: E501
1580
+ response_type='DeleteSnapshotResponse', # noqa: E501
1387
1581
  auth_settings=auth_settings,
1388
1582
  async_req=params.get('async_req'),
1389
1583
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1391,38 +1585,38 @@ class VKEApi(object):
1391
1585
  _request_timeout=params.get('_request_timeout'),
1392
1586
  collection_formats=collection_formats)
1393
1587
 
1394
- def forward_kubernetes_api(self, body, **kwargs): # noqa: E501
1395
- """forward_kubernetes_api # noqa: E501
1588
+ def describe_container_image_commitments(self, body, **kwargs): # noqa: E501
1589
+ """describe_container_image_commitments # noqa: E501
1396
1590
 
1397
1591
  This method makes a synchronous HTTP request by default. To make an
1398
1592
  asynchronous HTTP request, please pass async_req=True
1399
- >>> thread = api.forward_kubernetes_api(body, async_req=True)
1593
+ >>> thread = api.describe_container_image_commitments(body, async_req=True)
1400
1594
  >>> result = thread.get()
1401
1595
 
1402
1596
  :param async_req bool
1403
- :param ForwardKubernetesApiRequest body: (required)
1404
- :return: ForwardKubernetesApiResponse
1597
+ :param DescribeContainerImageCommitmentsRequest body: (required)
1598
+ :return: DescribeContainerImageCommitmentsResponse
1405
1599
  If the method is called asynchronously,
1406
1600
  returns the request thread.
1407
1601
  """
1408
1602
  kwargs['_return_http_data_only'] = True
1409
1603
  if kwargs.get('async_req'):
1410
- return self.forward_kubernetes_api_with_http_info(body, **kwargs) # noqa: E501
1604
+ return self.describe_container_image_commitments_with_http_info(body, **kwargs) # noqa: E501
1411
1605
  else:
1412
- (data) = self.forward_kubernetes_api_with_http_info(body, **kwargs) # noqa: E501
1606
+ (data) = self.describe_container_image_commitments_with_http_info(body, **kwargs) # noqa: E501
1413
1607
  return data
1414
1608
 
1415
- def forward_kubernetes_api_with_http_info(self, body, **kwargs): # noqa: E501
1416
- """forward_kubernetes_api # noqa: E501
1609
+ def describe_container_image_commitments_with_http_info(self, body, **kwargs): # noqa: E501
1610
+ """describe_container_image_commitments # noqa: E501
1417
1611
 
1418
1612
  This method makes a synchronous HTTP request by default. To make an
1419
1613
  asynchronous HTTP request, please pass async_req=True
1420
- >>> thread = api.forward_kubernetes_api_with_http_info(body, async_req=True)
1614
+ >>> thread = api.describe_container_image_commitments_with_http_info(body, async_req=True)
1421
1615
  >>> result = thread.get()
1422
1616
 
1423
1617
  :param async_req bool
1424
- :param ForwardKubernetesApiRequest body: (required)
1425
- :return: ForwardKubernetesApiResponse
1618
+ :param DescribeContainerImageCommitmentsRequest body: (required)
1619
+ :return: DescribeContainerImageCommitmentsResponse
1426
1620
  If the method is called asynchronously,
1427
1621
  returns the request thread.
1428
1622
  """
@@ -1438,14 +1632,14 @@ class VKEApi(object):
1438
1632
  if key not in all_params:
1439
1633
  raise TypeError(
1440
1634
  "Got an unexpected keyword argument '%s'"
1441
- " to method forward_kubernetes_api" % key
1635
+ " to method describe_container_image_commitments" % key
1442
1636
  )
1443
1637
  params[key] = val
1444
1638
  del params['kwargs']
1445
1639
  # verify the required parameter 'body' is set
1446
1640
  if self.api_client.client_side_validation and ('body' not in params or
1447
1641
  params['body'] is None): # noqa: E501
1448
- raise ValueError("Missing the required parameter `body` when calling `forward_kubernetes_api`") # noqa: E501
1642
+ raise ValueError("Missing the required parameter `body` when calling `describe_container_image_commitments`") # noqa: E501
1449
1643
 
1450
1644
  collection_formats = {}
1451
1645
 
@@ -1473,14 +1667,14 @@ class VKEApi(object):
1473
1667
  auth_settings = ['byteplusSign'] # noqa: E501
1474
1668
 
1475
1669
  return self.api_client.call_api(
1476
- '/ForwardKubernetesApi/2022-05-12/vke/post/application_json/', 'POST',
1670
+ '/DescribeContainerImageCommitments/2022-05-12/vke/post/application_json/', 'POST',
1477
1671
  path_params,
1478
1672
  query_params,
1479
1673
  header_params,
1480
1674
  body=body_params,
1481
1675
  post_params=form_params,
1482
1676
  files=local_var_files,
1483
- response_type='ForwardKubernetesApiResponse', # noqa: E501
1677
+ response_type='DescribeContainerImageCommitmentsResponse', # noqa: E501
1484
1678
  auth_settings=auth_settings,
1485
1679
  async_req=params.get('async_req'),
1486
1680
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1488,38 +1682,38 @@ class VKEApi(object):
1488
1682
  _request_timeout=params.get('_request_timeout'),
1489
1683
  collection_formats=collection_formats)
1490
1684
 
1491
- def get_global_default_delete_option(self, body, **kwargs): # noqa: E501
1492
- """get_global_default_delete_option # noqa: E501
1685
+ def describe_snapshots(self, body, **kwargs): # noqa: E501
1686
+ """describe_snapshots # noqa: E501
1493
1687
 
1494
1688
  This method makes a synchronous HTTP request by default. To make an
1495
1689
  asynchronous HTTP request, please pass async_req=True
1496
- >>> thread = api.get_global_default_delete_option(body, async_req=True)
1690
+ >>> thread = api.describe_snapshots(body, async_req=True)
1497
1691
  >>> result = thread.get()
1498
1692
 
1499
1693
  :param async_req bool
1500
- :param GetGlobalDefaultDeleteOptionRequest body: (required)
1501
- :return: GetGlobalDefaultDeleteOptionResponse
1694
+ :param DescribeSnapshotsRequest body: (required)
1695
+ :return: DescribeSnapshotsResponse
1502
1696
  If the method is called asynchronously,
1503
1697
  returns the request thread.
1504
1698
  """
1505
1699
  kwargs['_return_http_data_only'] = True
1506
1700
  if kwargs.get('async_req'):
1507
- return self.get_global_default_delete_option_with_http_info(body, **kwargs) # noqa: E501
1701
+ return self.describe_snapshots_with_http_info(body, **kwargs) # noqa: E501
1508
1702
  else:
1509
- (data) = self.get_global_default_delete_option_with_http_info(body, **kwargs) # noqa: E501
1703
+ (data) = self.describe_snapshots_with_http_info(body, **kwargs) # noqa: E501
1510
1704
  return data
1511
1705
 
1512
- def get_global_default_delete_option_with_http_info(self, body, **kwargs): # noqa: E501
1513
- """get_global_default_delete_option # noqa: E501
1706
+ def describe_snapshots_with_http_info(self, body, **kwargs): # noqa: E501
1707
+ """describe_snapshots # noqa: E501
1514
1708
 
1515
1709
  This method makes a synchronous HTTP request by default. To make an
1516
1710
  asynchronous HTTP request, please pass async_req=True
1517
- >>> thread = api.get_global_default_delete_option_with_http_info(body, async_req=True)
1711
+ >>> thread = api.describe_snapshots_with_http_info(body, async_req=True)
1518
1712
  >>> result = thread.get()
1519
1713
 
1520
1714
  :param async_req bool
1521
- :param GetGlobalDefaultDeleteOptionRequest body: (required)
1522
- :return: GetGlobalDefaultDeleteOptionResponse
1715
+ :param DescribeSnapshotsRequest body: (required)
1716
+ :return: DescribeSnapshotsResponse
1523
1717
  If the method is called asynchronously,
1524
1718
  returns the request thread.
1525
1719
  """
@@ -1535,14 +1729,14 @@ class VKEApi(object):
1535
1729
  if key not in all_params:
1536
1730
  raise TypeError(
1537
1731
  "Got an unexpected keyword argument '%s'"
1538
- " to method get_global_default_delete_option" % key
1732
+ " to method describe_snapshots" % key
1539
1733
  )
1540
1734
  params[key] = val
1541
1735
  del params['kwargs']
1542
1736
  # verify the required parameter 'body' is set
1543
1737
  if self.api_client.client_side_validation and ('body' not in params or
1544
1738
  params['body'] is None): # noqa: E501
1545
- raise ValueError("Missing the required parameter `body` when calling `get_global_default_delete_option`") # noqa: E501
1739
+ raise ValueError("Missing the required parameter `body` when calling `describe_snapshots`") # noqa: E501
1546
1740
 
1547
1741
  collection_formats = {}
1548
1742
 
@@ -1570,14 +1764,14 @@ class VKEApi(object):
1570
1764
  auth_settings = ['byteplusSign'] # noqa: E501
1571
1765
 
1572
1766
  return self.api_client.call_api(
1573
- '/GetGlobalDefaultDeleteOption/2022-05-12/vke/post/application_json/', 'POST',
1767
+ '/DescribeSnapshots/2022-05-12/vke/post/application_json/', 'POST',
1574
1768
  path_params,
1575
1769
  query_params,
1576
1770
  header_params,
1577
1771
  body=body_params,
1578
1772
  post_params=form_params,
1579
1773
  files=local_var_files,
1580
- response_type='GetGlobalDefaultDeleteOptionResponse', # noqa: E501
1774
+ response_type='DescribeSnapshotsResponse', # noqa: E501
1581
1775
  auth_settings=auth_settings,
1582
1776
  async_req=params.get('async_req'),
1583
1777
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1585,38 +1779,38 @@ class VKEApi(object):
1585
1779
  _request_timeout=params.get('_request_timeout'),
1586
1780
  collection_formats=collection_formats)
1587
1781
 
1588
- def grant_permission(self, body, **kwargs): # noqa: E501
1589
- """grant_permission # noqa: E501
1782
+ def exec_container_image_commitment(self, body, **kwargs): # noqa: E501
1783
+ """exec_container_image_commitment # noqa: E501
1590
1784
 
1591
1785
  This method makes a synchronous HTTP request by default. To make an
1592
1786
  asynchronous HTTP request, please pass async_req=True
1593
- >>> thread = api.grant_permission(body, async_req=True)
1787
+ >>> thread = api.exec_container_image_commitment(body, async_req=True)
1594
1788
  >>> result = thread.get()
1595
1789
 
1596
1790
  :param async_req bool
1597
- :param GrantPermissionRequest body: (required)
1598
- :return: GrantPermissionResponse
1791
+ :param ExecContainerImageCommitmentRequest body: (required)
1792
+ :return: ExecContainerImageCommitmentResponse
1599
1793
  If the method is called asynchronously,
1600
1794
  returns the request thread.
1601
1795
  """
1602
1796
  kwargs['_return_http_data_only'] = True
1603
1797
  if kwargs.get('async_req'):
1604
- return self.grant_permission_with_http_info(body, **kwargs) # noqa: E501
1798
+ return self.exec_container_image_commitment_with_http_info(body, **kwargs) # noqa: E501
1605
1799
  else:
1606
- (data) = self.grant_permission_with_http_info(body, **kwargs) # noqa: E501
1800
+ (data) = self.exec_container_image_commitment_with_http_info(body, **kwargs) # noqa: E501
1607
1801
  return data
1608
1802
 
1609
- def grant_permission_with_http_info(self, body, **kwargs): # noqa: E501
1610
- """grant_permission # noqa: E501
1803
+ def exec_container_image_commitment_with_http_info(self, body, **kwargs): # noqa: E501
1804
+ """exec_container_image_commitment # noqa: E501
1611
1805
 
1612
1806
  This method makes a synchronous HTTP request by default. To make an
1613
1807
  asynchronous HTTP request, please pass async_req=True
1614
- >>> thread = api.grant_permission_with_http_info(body, async_req=True)
1808
+ >>> thread = api.exec_container_image_commitment_with_http_info(body, async_req=True)
1615
1809
  >>> result = thread.get()
1616
1810
 
1617
1811
  :param async_req bool
1618
- :param GrantPermissionRequest body: (required)
1619
- :return: GrantPermissionResponse
1812
+ :param ExecContainerImageCommitmentRequest body: (required)
1813
+ :return: ExecContainerImageCommitmentResponse
1620
1814
  If the method is called asynchronously,
1621
1815
  returns the request thread.
1622
1816
  """
@@ -1632,14 +1826,14 @@ class VKEApi(object):
1632
1826
  if key not in all_params:
1633
1827
  raise TypeError(
1634
1828
  "Got an unexpected keyword argument '%s'"
1635
- " to method grant_permission" % key
1829
+ " to method exec_container_image_commitment" % key
1636
1830
  )
1637
1831
  params[key] = val
1638
1832
  del params['kwargs']
1639
1833
  # verify the required parameter 'body' is set
1640
1834
  if self.api_client.client_side_validation and ('body' not in params or
1641
1835
  params['body'] is None): # noqa: E501
1642
- raise ValueError("Missing the required parameter `body` when calling `grant_permission`") # noqa: E501
1836
+ raise ValueError("Missing the required parameter `body` when calling `exec_container_image_commitment`") # noqa: E501
1643
1837
 
1644
1838
  collection_formats = {}
1645
1839
 
@@ -1667,14 +1861,14 @@ class VKEApi(object):
1667
1861
  auth_settings = ['byteplusSign'] # noqa: E501
1668
1862
 
1669
1863
  return self.api_client.call_api(
1670
- '/GrantPermission/2022-05-12/vke/post/application_json/', 'POST',
1864
+ '/ExecContainerImageCommitment/2022-05-12/vke/post/application_json/', 'POST',
1671
1865
  path_params,
1672
1866
  query_params,
1673
1867
  header_params,
1674
1868
  body=body_params,
1675
1869
  post_params=form_params,
1676
1870
  files=local_var_files,
1677
- response_type='GrantPermissionResponse', # noqa: E501
1871
+ response_type='ExecContainerImageCommitmentResponse', # noqa: E501
1678
1872
  auth_settings=auth_settings,
1679
1873
  async_req=params.get('async_req'),
1680
1874
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1682,25 +1876,316 @@ class VKEApi(object):
1682
1876
  _request_timeout=params.get('_request_timeout'),
1683
1877
  collection_formats=collection_formats)
1684
1878
 
1685
- def list_addons(self, body, **kwargs): # noqa: E501
1686
- """list_addons # noqa: E501
1879
+ def forward_kubernetes_api(self, body, **kwargs): # noqa: E501
1880
+ """forward_kubernetes_api # noqa: E501
1687
1881
 
1688
1882
  This method makes a synchronous HTTP request by default. To make an
1689
1883
  asynchronous HTTP request, please pass async_req=True
1690
- >>> thread = api.list_addons(body, async_req=True)
1884
+ >>> thread = api.forward_kubernetes_api(body, async_req=True)
1691
1885
  >>> result = thread.get()
1692
1886
 
1693
1887
  :param async_req bool
1694
- :param ListAddonsRequest body: (required)
1695
- :return: ListAddonsResponse
1888
+ :param ForwardKubernetesApiRequest body: (required)
1889
+ :return: ForwardKubernetesApiResponse
1696
1890
  If the method is called asynchronously,
1697
1891
  returns the request thread.
1698
1892
  """
1699
1893
  kwargs['_return_http_data_only'] = True
1700
1894
  if kwargs.get('async_req'):
1701
- return self.list_addons_with_http_info(body, **kwargs) # noqa: E501
1895
+ return self.forward_kubernetes_api_with_http_info(body, **kwargs) # noqa: E501
1702
1896
  else:
1703
- (data) = self.list_addons_with_http_info(body, **kwargs) # noqa: E501
1897
+ (data) = self.forward_kubernetes_api_with_http_info(body, **kwargs) # noqa: E501
1898
+ return data
1899
+
1900
+ def forward_kubernetes_api_with_http_info(self, body, **kwargs): # noqa: E501
1901
+ """forward_kubernetes_api # noqa: E501
1902
+
1903
+ This method makes a synchronous HTTP request by default. To make an
1904
+ asynchronous HTTP request, please pass async_req=True
1905
+ >>> thread = api.forward_kubernetes_api_with_http_info(body, async_req=True)
1906
+ >>> result = thread.get()
1907
+
1908
+ :param async_req bool
1909
+ :param ForwardKubernetesApiRequest body: (required)
1910
+ :return: ForwardKubernetesApiResponse
1911
+ If the method is called asynchronously,
1912
+ returns the request thread.
1913
+ """
1914
+
1915
+ all_params = ['body'] # noqa: E501
1916
+ all_params.append('async_req')
1917
+ all_params.append('_return_http_data_only')
1918
+ all_params.append('_preload_content')
1919
+ all_params.append('_request_timeout')
1920
+
1921
+ params = locals()
1922
+ for key, val in six.iteritems(params['kwargs']):
1923
+ if key not in all_params:
1924
+ raise TypeError(
1925
+ "Got an unexpected keyword argument '%s'"
1926
+ " to method forward_kubernetes_api" % key
1927
+ )
1928
+ params[key] = val
1929
+ del params['kwargs']
1930
+ # verify the required parameter 'body' is set
1931
+ if self.api_client.client_side_validation and ('body' not in params or
1932
+ params['body'] is None): # noqa: E501
1933
+ raise ValueError("Missing the required parameter `body` when calling `forward_kubernetes_api`") # noqa: E501
1934
+
1935
+ collection_formats = {}
1936
+
1937
+ path_params = {}
1938
+
1939
+ query_params = []
1940
+
1941
+ header_params = {}
1942
+
1943
+ form_params = []
1944
+ local_var_files = {}
1945
+
1946
+ body_params = None
1947
+ if 'body' in params:
1948
+ body_params = params['body']
1949
+ # HTTP header `Accept`
1950
+ header_params['Accept'] = self.api_client.select_header_accept(
1951
+ ['application/json']) # noqa: E501
1952
+
1953
+ # HTTP header `Content-Type`
1954
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1955
+ ['application/json']) # noqa: E501
1956
+
1957
+ # Authentication setting
1958
+ auth_settings = ['byteplusSign'] # noqa: E501
1959
+
1960
+ return self.api_client.call_api(
1961
+ '/ForwardKubernetesApi/2022-05-12/vke/post/application_json/', 'POST',
1962
+ path_params,
1963
+ query_params,
1964
+ header_params,
1965
+ body=body_params,
1966
+ post_params=form_params,
1967
+ files=local_var_files,
1968
+ response_type='ForwardKubernetesApiResponse', # noqa: E501
1969
+ auth_settings=auth_settings,
1970
+ async_req=params.get('async_req'),
1971
+ _return_http_data_only=params.get('_return_http_data_only'),
1972
+ _preload_content=params.get('_preload_content', True),
1973
+ _request_timeout=params.get('_request_timeout'),
1974
+ collection_formats=collection_formats)
1975
+
1976
+ def get_global_default_delete_option(self, body, **kwargs): # noqa: E501
1977
+ """get_global_default_delete_option # noqa: E501
1978
+
1979
+ This method makes a synchronous HTTP request by default. To make an
1980
+ asynchronous HTTP request, please pass async_req=True
1981
+ >>> thread = api.get_global_default_delete_option(body, async_req=True)
1982
+ >>> result = thread.get()
1983
+
1984
+ :param async_req bool
1985
+ :param GetGlobalDefaultDeleteOptionRequest body: (required)
1986
+ :return: GetGlobalDefaultDeleteOptionResponse
1987
+ If the method is called asynchronously,
1988
+ returns the request thread.
1989
+ """
1990
+ kwargs['_return_http_data_only'] = True
1991
+ if kwargs.get('async_req'):
1992
+ return self.get_global_default_delete_option_with_http_info(body, **kwargs) # noqa: E501
1993
+ else:
1994
+ (data) = self.get_global_default_delete_option_with_http_info(body, **kwargs) # noqa: E501
1995
+ return data
1996
+
1997
+ def get_global_default_delete_option_with_http_info(self, body, **kwargs): # noqa: E501
1998
+ """get_global_default_delete_option # noqa: E501
1999
+
2000
+ This method makes a synchronous HTTP request by default. To make an
2001
+ asynchronous HTTP request, please pass async_req=True
2002
+ >>> thread = api.get_global_default_delete_option_with_http_info(body, async_req=True)
2003
+ >>> result = thread.get()
2004
+
2005
+ :param async_req bool
2006
+ :param GetGlobalDefaultDeleteOptionRequest body: (required)
2007
+ :return: GetGlobalDefaultDeleteOptionResponse
2008
+ If the method is called asynchronously,
2009
+ returns the request thread.
2010
+ """
2011
+
2012
+ all_params = ['body'] # noqa: E501
2013
+ all_params.append('async_req')
2014
+ all_params.append('_return_http_data_only')
2015
+ all_params.append('_preload_content')
2016
+ all_params.append('_request_timeout')
2017
+
2018
+ params = locals()
2019
+ for key, val in six.iteritems(params['kwargs']):
2020
+ if key not in all_params:
2021
+ raise TypeError(
2022
+ "Got an unexpected keyword argument '%s'"
2023
+ " to method get_global_default_delete_option" % key
2024
+ )
2025
+ params[key] = val
2026
+ del params['kwargs']
2027
+ # verify the required parameter 'body' is set
2028
+ if self.api_client.client_side_validation and ('body' not in params or
2029
+ params['body'] is None): # noqa: E501
2030
+ raise ValueError("Missing the required parameter `body` when calling `get_global_default_delete_option`") # noqa: E501
2031
+
2032
+ collection_formats = {}
2033
+
2034
+ path_params = {}
2035
+
2036
+ query_params = []
2037
+
2038
+ header_params = {}
2039
+
2040
+ form_params = []
2041
+ local_var_files = {}
2042
+
2043
+ body_params = None
2044
+ if 'body' in params:
2045
+ body_params = params['body']
2046
+ # HTTP header `Accept`
2047
+ header_params['Accept'] = self.api_client.select_header_accept(
2048
+ ['application/json']) # noqa: E501
2049
+
2050
+ # HTTP header `Content-Type`
2051
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2052
+ ['application/json']) # noqa: E501
2053
+
2054
+ # Authentication setting
2055
+ auth_settings = ['byteplusSign'] # noqa: E501
2056
+
2057
+ return self.api_client.call_api(
2058
+ '/GetGlobalDefaultDeleteOption/2022-05-12/vke/post/application_json/', 'POST',
2059
+ path_params,
2060
+ query_params,
2061
+ header_params,
2062
+ body=body_params,
2063
+ post_params=form_params,
2064
+ files=local_var_files,
2065
+ response_type='GetGlobalDefaultDeleteOptionResponse', # noqa: E501
2066
+ auth_settings=auth_settings,
2067
+ async_req=params.get('async_req'),
2068
+ _return_http_data_only=params.get('_return_http_data_only'),
2069
+ _preload_content=params.get('_preload_content', True),
2070
+ _request_timeout=params.get('_request_timeout'),
2071
+ collection_formats=collection_formats)
2072
+
2073
+ def grant_permission(self, body, **kwargs): # noqa: E501
2074
+ """grant_permission # noqa: E501
2075
+
2076
+ This method makes a synchronous HTTP request by default. To make an
2077
+ asynchronous HTTP request, please pass async_req=True
2078
+ >>> thread = api.grant_permission(body, async_req=True)
2079
+ >>> result = thread.get()
2080
+
2081
+ :param async_req bool
2082
+ :param GrantPermissionRequest body: (required)
2083
+ :return: GrantPermissionResponse
2084
+ If the method is called asynchronously,
2085
+ returns the request thread.
2086
+ """
2087
+ kwargs['_return_http_data_only'] = True
2088
+ if kwargs.get('async_req'):
2089
+ return self.grant_permission_with_http_info(body, **kwargs) # noqa: E501
2090
+ else:
2091
+ (data) = self.grant_permission_with_http_info(body, **kwargs) # noqa: E501
2092
+ return data
2093
+
2094
+ def grant_permission_with_http_info(self, body, **kwargs): # noqa: E501
2095
+ """grant_permission # noqa: E501
2096
+
2097
+ This method makes a synchronous HTTP request by default. To make an
2098
+ asynchronous HTTP request, please pass async_req=True
2099
+ >>> thread = api.grant_permission_with_http_info(body, async_req=True)
2100
+ >>> result = thread.get()
2101
+
2102
+ :param async_req bool
2103
+ :param GrantPermissionRequest body: (required)
2104
+ :return: GrantPermissionResponse
2105
+ If the method is called asynchronously,
2106
+ returns the request thread.
2107
+ """
2108
+
2109
+ all_params = ['body'] # noqa: E501
2110
+ all_params.append('async_req')
2111
+ all_params.append('_return_http_data_only')
2112
+ all_params.append('_preload_content')
2113
+ all_params.append('_request_timeout')
2114
+
2115
+ params = locals()
2116
+ for key, val in six.iteritems(params['kwargs']):
2117
+ if key not in all_params:
2118
+ raise TypeError(
2119
+ "Got an unexpected keyword argument '%s'"
2120
+ " to method grant_permission" % key
2121
+ )
2122
+ params[key] = val
2123
+ del params['kwargs']
2124
+ # verify the required parameter 'body' is set
2125
+ if self.api_client.client_side_validation and ('body' not in params or
2126
+ params['body'] is None): # noqa: E501
2127
+ raise ValueError("Missing the required parameter `body` when calling `grant_permission`") # noqa: E501
2128
+
2129
+ collection_formats = {}
2130
+
2131
+ path_params = {}
2132
+
2133
+ query_params = []
2134
+
2135
+ header_params = {}
2136
+
2137
+ form_params = []
2138
+ local_var_files = {}
2139
+
2140
+ body_params = None
2141
+ if 'body' in params:
2142
+ body_params = params['body']
2143
+ # HTTP header `Accept`
2144
+ header_params['Accept'] = self.api_client.select_header_accept(
2145
+ ['application/json']) # noqa: E501
2146
+
2147
+ # HTTP header `Content-Type`
2148
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2149
+ ['application/json']) # noqa: E501
2150
+
2151
+ # Authentication setting
2152
+ auth_settings = ['byteplusSign'] # noqa: E501
2153
+
2154
+ return self.api_client.call_api(
2155
+ '/GrantPermission/2022-05-12/vke/post/application_json/', 'POST',
2156
+ path_params,
2157
+ query_params,
2158
+ header_params,
2159
+ body=body_params,
2160
+ post_params=form_params,
2161
+ files=local_var_files,
2162
+ response_type='GrantPermissionResponse', # noqa: E501
2163
+ auth_settings=auth_settings,
2164
+ async_req=params.get('async_req'),
2165
+ _return_http_data_only=params.get('_return_http_data_only'),
2166
+ _preload_content=params.get('_preload_content', True),
2167
+ _request_timeout=params.get('_request_timeout'),
2168
+ collection_formats=collection_formats)
2169
+
2170
+ def list_addons(self, body, **kwargs): # noqa: E501
2171
+ """list_addons # noqa: E501
2172
+
2173
+ This method makes a synchronous HTTP request by default. To make an
2174
+ asynchronous HTTP request, please pass async_req=True
2175
+ >>> thread = api.list_addons(body, async_req=True)
2176
+ >>> result = thread.get()
2177
+
2178
+ :param async_req bool
2179
+ :param ListAddonsRequest body: (required)
2180
+ :return: ListAddonsResponse
2181
+ If the method is called asynchronously,
2182
+ returns the request thread.
2183
+ """
2184
+ kwargs['_return_http_data_only'] = True
2185
+ if kwargs.get('async_req'):
2186
+ return self.list_addons_with_http_info(body, **kwargs) # noqa: E501
2187
+ else:
2188
+ (data) = self.list_addons_with_http_info(body, **kwargs) # noqa: E501
1704
2189
  return data
1705
2190
 
1706
2191
  def list_addons_with_http_info(self, body, **kwargs): # noqa: E501
@@ -1708,12 +2193,303 @@ class VKEApi(object):
1708
2193
 
1709
2194
  This method makes a synchronous HTTP request by default. To make an
1710
2195
  asynchronous HTTP request, please pass async_req=True
1711
- >>> thread = api.list_addons_with_http_info(body, async_req=True)
2196
+ >>> thread = api.list_addons_with_http_info(body, async_req=True)
2197
+ >>> result = thread.get()
2198
+
2199
+ :param async_req bool
2200
+ :param ListAddonsRequest body: (required)
2201
+ :return: ListAddonsResponse
2202
+ If the method is called asynchronously,
2203
+ returns the request thread.
2204
+ """
2205
+
2206
+ all_params = ['body'] # noqa: E501
2207
+ all_params.append('async_req')
2208
+ all_params.append('_return_http_data_only')
2209
+ all_params.append('_preload_content')
2210
+ all_params.append('_request_timeout')
2211
+
2212
+ params = locals()
2213
+ for key, val in six.iteritems(params['kwargs']):
2214
+ if key not in all_params:
2215
+ raise TypeError(
2216
+ "Got an unexpected keyword argument '%s'"
2217
+ " to method list_addons" % key
2218
+ )
2219
+ params[key] = val
2220
+ del params['kwargs']
2221
+ # verify the required parameter 'body' is set
2222
+ if self.api_client.client_side_validation and ('body' not in params or
2223
+ params['body'] is None): # noqa: E501
2224
+ raise ValueError("Missing the required parameter `body` when calling `list_addons`") # noqa: E501
2225
+
2226
+ collection_formats = {}
2227
+
2228
+ path_params = {}
2229
+
2230
+ query_params = []
2231
+
2232
+ header_params = {}
2233
+
2234
+ form_params = []
2235
+ local_var_files = {}
2236
+
2237
+ body_params = None
2238
+ if 'body' in params:
2239
+ body_params = params['body']
2240
+ # HTTP header `Accept`
2241
+ header_params['Accept'] = self.api_client.select_header_accept(
2242
+ ['application/json']) # noqa: E501
2243
+
2244
+ # HTTP header `Content-Type`
2245
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2246
+ ['application/json']) # noqa: E501
2247
+
2248
+ # Authentication setting
2249
+ auth_settings = ['byteplusSign'] # noqa: E501
2250
+
2251
+ return self.api_client.call_api(
2252
+ '/ListAddons/2022-05-12/vke/post/application_json/', 'POST',
2253
+ path_params,
2254
+ query_params,
2255
+ header_params,
2256
+ body=body_params,
2257
+ post_params=form_params,
2258
+ files=local_var_files,
2259
+ response_type='ListAddonsResponse', # noqa: E501
2260
+ auth_settings=auth_settings,
2261
+ async_req=params.get('async_req'),
2262
+ _return_http_data_only=params.get('_return_http_data_only'),
2263
+ _preload_content=params.get('_preload_content', True),
2264
+ _request_timeout=params.get('_request_timeout'),
2265
+ collection_formats=collection_formats)
2266
+
2267
+ def list_clusters(self, body, **kwargs): # noqa: E501
2268
+ """list_clusters # noqa: E501
2269
+
2270
+ This method makes a synchronous HTTP request by default. To make an
2271
+ asynchronous HTTP request, please pass async_req=True
2272
+ >>> thread = api.list_clusters(body, async_req=True)
2273
+ >>> result = thread.get()
2274
+
2275
+ :param async_req bool
2276
+ :param ListClustersRequest body: (required)
2277
+ :return: ListClustersResponse
2278
+ If the method is called asynchronously,
2279
+ returns the request thread.
2280
+ """
2281
+ kwargs['_return_http_data_only'] = True
2282
+ if kwargs.get('async_req'):
2283
+ return self.list_clusters_with_http_info(body, **kwargs) # noqa: E501
2284
+ else:
2285
+ (data) = self.list_clusters_with_http_info(body, **kwargs) # noqa: E501
2286
+ return data
2287
+
2288
+ def list_clusters_with_http_info(self, body, **kwargs): # noqa: E501
2289
+ """list_clusters # noqa: E501
2290
+
2291
+ This method makes a synchronous HTTP request by default. To make an
2292
+ asynchronous HTTP request, please pass async_req=True
2293
+ >>> thread = api.list_clusters_with_http_info(body, async_req=True)
2294
+ >>> result = thread.get()
2295
+
2296
+ :param async_req bool
2297
+ :param ListClustersRequest body: (required)
2298
+ :return: ListClustersResponse
2299
+ If the method is called asynchronously,
2300
+ returns the request thread.
2301
+ """
2302
+
2303
+ all_params = ['body'] # noqa: E501
2304
+ all_params.append('async_req')
2305
+ all_params.append('_return_http_data_only')
2306
+ all_params.append('_preload_content')
2307
+ all_params.append('_request_timeout')
2308
+
2309
+ params = locals()
2310
+ for key, val in six.iteritems(params['kwargs']):
2311
+ if key not in all_params:
2312
+ raise TypeError(
2313
+ "Got an unexpected keyword argument '%s'"
2314
+ " to method list_clusters" % key
2315
+ )
2316
+ params[key] = val
2317
+ del params['kwargs']
2318
+ # verify the required parameter 'body' is set
2319
+ if self.api_client.client_side_validation and ('body' not in params or
2320
+ params['body'] is None): # noqa: E501
2321
+ raise ValueError("Missing the required parameter `body` when calling `list_clusters`") # noqa: E501
2322
+
2323
+ collection_formats = {}
2324
+
2325
+ path_params = {}
2326
+
2327
+ query_params = []
2328
+
2329
+ header_params = {}
2330
+
2331
+ form_params = []
2332
+ local_var_files = {}
2333
+
2334
+ body_params = None
2335
+ if 'body' in params:
2336
+ body_params = params['body']
2337
+ # HTTP header `Accept`
2338
+ header_params['Accept'] = self.api_client.select_header_accept(
2339
+ ['application/json']) # noqa: E501
2340
+
2341
+ # HTTP header `Content-Type`
2342
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2343
+ ['application/json']) # noqa: E501
2344
+
2345
+ # Authentication setting
2346
+ auth_settings = ['byteplusSign'] # noqa: E501
2347
+
2348
+ return self.api_client.call_api(
2349
+ '/ListClusters/2022-05-12/vke/post/application_json/', 'POST',
2350
+ path_params,
2351
+ query_params,
2352
+ header_params,
2353
+ body=body_params,
2354
+ post_params=form_params,
2355
+ files=local_var_files,
2356
+ response_type='ListClustersResponse', # noqa: E501
2357
+ auth_settings=auth_settings,
2358
+ async_req=params.get('async_req'),
2359
+ _return_http_data_only=params.get('_return_http_data_only'),
2360
+ _preload_content=params.get('_preload_content', True),
2361
+ _request_timeout=params.get('_request_timeout'),
2362
+ collection_formats=collection_formats)
2363
+
2364
+ def list_instance_type_labels(self, body, **kwargs): # noqa: E501
2365
+ """list_instance_type_labels # noqa: E501
2366
+
2367
+ This method makes a synchronous HTTP request by default. To make an
2368
+ asynchronous HTTP request, please pass async_req=True
2369
+ >>> thread = api.list_instance_type_labels(body, async_req=True)
2370
+ >>> result = thread.get()
2371
+
2372
+ :param async_req bool
2373
+ :param ListInstanceTypeLabelsRequest body: (required)
2374
+ :return: ListInstanceTypeLabelsResponse
2375
+ If the method is called asynchronously,
2376
+ returns the request thread.
2377
+ """
2378
+ kwargs['_return_http_data_only'] = True
2379
+ if kwargs.get('async_req'):
2380
+ return self.list_instance_type_labels_with_http_info(body, **kwargs) # noqa: E501
2381
+ else:
2382
+ (data) = self.list_instance_type_labels_with_http_info(body, **kwargs) # noqa: E501
2383
+ return data
2384
+
2385
+ def list_instance_type_labels_with_http_info(self, body, **kwargs): # noqa: E501
2386
+ """list_instance_type_labels # noqa: E501
2387
+
2388
+ This method makes a synchronous HTTP request by default. To make an
2389
+ asynchronous HTTP request, please pass async_req=True
2390
+ >>> thread = api.list_instance_type_labels_with_http_info(body, async_req=True)
2391
+ >>> result = thread.get()
2392
+
2393
+ :param async_req bool
2394
+ :param ListInstanceTypeLabelsRequest body: (required)
2395
+ :return: ListInstanceTypeLabelsResponse
2396
+ If the method is called asynchronously,
2397
+ returns the request thread.
2398
+ """
2399
+
2400
+ all_params = ['body'] # noqa: E501
2401
+ all_params.append('async_req')
2402
+ all_params.append('_return_http_data_only')
2403
+ all_params.append('_preload_content')
2404
+ all_params.append('_request_timeout')
2405
+
2406
+ params = locals()
2407
+ for key, val in six.iteritems(params['kwargs']):
2408
+ if key not in all_params:
2409
+ raise TypeError(
2410
+ "Got an unexpected keyword argument '%s'"
2411
+ " to method list_instance_type_labels" % key
2412
+ )
2413
+ params[key] = val
2414
+ del params['kwargs']
2415
+ # verify the required parameter 'body' is set
2416
+ if self.api_client.client_side_validation and ('body' not in params or
2417
+ params['body'] is None): # noqa: E501
2418
+ raise ValueError("Missing the required parameter `body` when calling `list_instance_type_labels`") # noqa: E501
2419
+
2420
+ collection_formats = {}
2421
+
2422
+ path_params = {}
2423
+
2424
+ query_params = []
2425
+
2426
+ header_params = {}
2427
+
2428
+ form_params = []
2429
+ local_var_files = {}
2430
+
2431
+ body_params = None
2432
+ if 'body' in params:
2433
+ body_params = params['body']
2434
+ # HTTP header `Accept`
2435
+ header_params['Accept'] = self.api_client.select_header_accept(
2436
+ ['application/json']) # noqa: E501
2437
+
2438
+ # HTTP header `Content-Type`
2439
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2440
+ ['application/json']) # noqa: E501
2441
+
2442
+ # Authentication setting
2443
+ auth_settings = ['byteplusSign'] # noqa: E501
2444
+
2445
+ return self.api_client.call_api(
2446
+ '/ListInstanceTypeLabels/2022-05-12/vke/post/application_json/', 'POST',
2447
+ path_params,
2448
+ query_params,
2449
+ header_params,
2450
+ body=body_params,
2451
+ post_params=form_params,
2452
+ files=local_var_files,
2453
+ response_type='ListInstanceTypeLabelsResponse', # noqa: E501
2454
+ auth_settings=auth_settings,
2455
+ async_req=params.get('async_req'),
2456
+ _return_http_data_only=params.get('_return_http_data_only'),
2457
+ _preload_content=params.get('_preload_content', True),
2458
+ _request_timeout=params.get('_request_timeout'),
2459
+ collection_formats=collection_formats)
2460
+
2461
+ def list_kubeconfigs(self, body, **kwargs): # noqa: E501
2462
+ """list_kubeconfigs # noqa: E501
2463
+
2464
+ This method makes a synchronous HTTP request by default. To make an
2465
+ asynchronous HTTP request, please pass async_req=True
2466
+ >>> thread = api.list_kubeconfigs(body, async_req=True)
1712
2467
  >>> result = thread.get()
1713
2468
 
1714
2469
  :param async_req bool
1715
- :param ListAddonsRequest body: (required)
1716
- :return: ListAddonsResponse
2470
+ :param ListKubeconfigsRequest body: (required)
2471
+ :return: ListKubeconfigsResponse
2472
+ If the method is called asynchronously,
2473
+ returns the request thread.
2474
+ """
2475
+ kwargs['_return_http_data_only'] = True
2476
+ if kwargs.get('async_req'):
2477
+ return self.list_kubeconfigs_with_http_info(body, **kwargs) # noqa: E501
2478
+ else:
2479
+ (data) = self.list_kubeconfigs_with_http_info(body, **kwargs) # noqa: E501
2480
+ return data
2481
+
2482
+ def list_kubeconfigs_with_http_info(self, body, **kwargs): # noqa: E501
2483
+ """list_kubeconfigs # noqa: E501
2484
+
2485
+ This method makes a synchronous HTTP request by default. To make an
2486
+ asynchronous HTTP request, please pass async_req=True
2487
+ >>> thread = api.list_kubeconfigs_with_http_info(body, async_req=True)
2488
+ >>> result = thread.get()
2489
+
2490
+ :param async_req bool
2491
+ :param ListKubeconfigsRequest body: (required)
2492
+ :return: ListKubeconfigsResponse
1717
2493
  If the method is called asynchronously,
1718
2494
  returns the request thread.
1719
2495
  """
@@ -1729,14 +2505,14 @@ class VKEApi(object):
1729
2505
  if key not in all_params:
1730
2506
  raise TypeError(
1731
2507
  "Got an unexpected keyword argument '%s'"
1732
- " to method list_addons" % key
2508
+ " to method list_kubeconfigs" % key
1733
2509
  )
1734
2510
  params[key] = val
1735
2511
  del params['kwargs']
1736
2512
  # verify the required parameter 'body' is set
1737
2513
  if self.api_client.client_side_validation and ('body' not in params or
1738
2514
  params['body'] is None): # noqa: E501
1739
- raise ValueError("Missing the required parameter `body` when calling `list_addons`") # noqa: E501
2515
+ raise ValueError("Missing the required parameter `body` when calling `list_kubeconfigs`") # noqa: E501
1740
2516
 
1741
2517
  collection_formats = {}
1742
2518
 
@@ -1764,14 +2540,14 @@ class VKEApi(object):
1764
2540
  auth_settings = ['byteplusSign'] # noqa: E501
1765
2541
 
1766
2542
  return self.api_client.call_api(
1767
- '/ListAddons/2022-05-12/vke/post/application_json/', 'POST',
2543
+ '/ListKubeconfigs/2022-05-12/vke/post/application_json/', 'POST',
1768
2544
  path_params,
1769
2545
  query_params,
1770
2546
  header_params,
1771
2547
  body=body_params,
1772
2548
  post_params=form_params,
1773
2549
  files=local_var_files,
1774
- response_type='ListAddonsResponse', # noqa: E501
2550
+ response_type='ListKubeconfigsResponse', # noqa: E501
1775
2551
  auth_settings=auth_settings,
1776
2552
  async_req=params.get('async_req'),
1777
2553
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1779,38 +2555,232 @@ class VKEApi(object):
1779
2555
  _request_timeout=params.get('_request_timeout'),
1780
2556
  collection_formats=collection_formats)
1781
2557
 
1782
- def list_clusters(self, body, **kwargs): # noqa: E501
1783
- """list_clusters # noqa: E501
2558
+ def list_node_pools(self, body, **kwargs): # noqa: E501
2559
+ """list_node_pools # noqa: E501
1784
2560
 
1785
2561
  This method makes a synchronous HTTP request by default. To make an
1786
2562
  asynchronous HTTP request, please pass async_req=True
1787
- >>> thread = api.list_clusters(body, async_req=True)
2563
+ >>> thread = api.list_node_pools(body, async_req=True)
1788
2564
  >>> result = thread.get()
1789
2565
 
1790
2566
  :param async_req bool
1791
- :param ListClustersRequest body: (required)
1792
- :return: ListClustersResponse
2567
+ :param ListNodePoolsRequest body: (required)
2568
+ :return: ListNodePoolsResponse
1793
2569
  If the method is called asynchronously,
1794
2570
  returns the request thread.
1795
2571
  """
1796
2572
  kwargs['_return_http_data_only'] = True
1797
2573
  if kwargs.get('async_req'):
1798
- return self.list_clusters_with_http_info(body, **kwargs) # noqa: E501
2574
+ return self.list_node_pools_with_http_info(body, **kwargs) # noqa: E501
1799
2575
  else:
1800
- (data) = self.list_clusters_with_http_info(body, **kwargs) # noqa: E501
2576
+ (data) = self.list_node_pools_with_http_info(body, **kwargs) # noqa: E501
1801
2577
  return data
1802
2578
 
1803
- def list_clusters_with_http_info(self, body, **kwargs): # noqa: E501
1804
- """list_clusters # noqa: E501
2579
+ def list_node_pools_with_http_info(self, body, **kwargs): # noqa: E501
2580
+ """list_node_pools # noqa: E501
2581
+
2582
+ This method makes a synchronous HTTP request by default. To make an
2583
+ asynchronous HTTP request, please pass async_req=True
2584
+ >>> thread = api.list_node_pools_with_http_info(body, async_req=True)
2585
+ >>> result = thread.get()
2586
+
2587
+ :param async_req bool
2588
+ :param ListNodePoolsRequest body: (required)
2589
+ :return: ListNodePoolsResponse
2590
+ If the method is called asynchronously,
2591
+ returns the request thread.
2592
+ """
2593
+
2594
+ all_params = ['body'] # noqa: E501
2595
+ all_params.append('async_req')
2596
+ all_params.append('_return_http_data_only')
2597
+ all_params.append('_preload_content')
2598
+ all_params.append('_request_timeout')
2599
+
2600
+ params = locals()
2601
+ for key, val in six.iteritems(params['kwargs']):
2602
+ if key not in all_params:
2603
+ raise TypeError(
2604
+ "Got an unexpected keyword argument '%s'"
2605
+ " to method list_node_pools" % key
2606
+ )
2607
+ params[key] = val
2608
+ del params['kwargs']
2609
+ # verify the required parameter 'body' is set
2610
+ if self.api_client.client_side_validation and ('body' not in params or
2611
+ params['body'] is None): # noqa: E501
2612
+ raise ValueError("Missing the required parameter `body` when calling `list_node_pools`") # noqa: E501
2613
+
2614
+ collection_formats = {}
2615
+
2616
+ path_params = {}
2617
+
2618
+ query_params = []
2619
+
2620
+ header_params = {}
2621
+
2622
+ form_params = []
2623
+ local_var_files = {}
2624
+
2625
+ body_params = None
2626
+ if 'body' in params:
2627
+ body_params = params['body']
2628
+ # HTTP header `Accept`
2629
+ header_params['Accept'] = self.api_client.select_header_accept(
2630
+ ['application/json']) # noqa: E501
2631
+
2632
+ # HTTP header `Content-Type`
2633
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2634
+ ['application/json']) # noqa: E501
2635
+
2636
+ # Authentication setting
2637
+ auth_settings = ['byteplusSign'] # noqa: E501
2638
+
2639
+ return self.api_client.call_api(
2640
+ '/ListNodePools/2022-05-12/vke/post/application_json/', 'POST',
2641
+ path_params,
2642
+ query_params,
2643
+ header_params,
2644
+ body=body_params,
2645
+ post_params=form_params,
2646
+ files=local_var_files,
2647
+ response_type='ListNodePoolsResponse', # noqa: E501
2648
+ auth_settings=auth_settings,
2649
+ async_req=params.get('async_req'),
2650
+ _return_http_data_only=params.get('_return_http_data_only'),
2651
+ _preload_content=params.get('_preload_content', True),
2652
+ _request_timeout=params.get('_request_timeout'),
2653
+ collection_formats=collection_formats)
2654
+
2655
+ def list_nodes(self, body, **kwargs): # noqa: E501
2656
+ """list_nodes # noqa: E501
2657
+
2658
+ This method makes a synchronous HTTP request by default. To make an
2659
+ asynchronous HTTP request, please pass async_req=True
2660
+ >>> thread = api.list_nodes(body, async_req=True)
2661
+ >>> result = thread.get()
2662
+
2663
+ :param async_req bool
2664
+ :param ListNodesRequest body: (required)
2665
+ :return: ListNodesResponse
2666
+ If the method is called asynchronously,
2667
+ returns the request thread.
2668
+ """
2669
+ kwargs['_return_http_data_only'] = True
2670
+ if kwargs.get('async_req'):
2671
+ return self.list_nodes_with_http_info(body, **kwargs) # noqa: E501
2672
+ else:
2673
+ (data) = self.list_nodes_with_http_info(body, **kwargs) # noqa: E501
2674
+ return data
2675
+
2676
+ def list_nodes_with_http_info(self, body, **kwargs): # noqa: E501
2677
+ """list_nodes # noqa: E501
2678
+
2679
+ This method makes a synchronous HTTP request by default. To make an
2680
+ asynchronous HTTP request, please pass async_req=True
2681
+ >>> thread = api.list_nodes_with_http_info(body, async_req=True)
2682
+ >>> result = thread.get()
2683
+
2684
+ :param async_req bool
2685
+ :param ListNodesRequest body: (required)
2686
+ :return: ListNodesResponse
2687
+ If the method is called asynchronously,
2688
+ returns the request thread.
2689
+ """
2690
+
2691
+ all_params = ['body'] # noqa: E501
2692
+ all_params.append('async_req')
2693
+ all_params.append('_return_http_data_only')
2694
+ all_params.append('_preload_content')
2695
+ all_params.append('_request_timeout')
2696
+
2697
+ params = locals()
2698
+ for key, val in six.iteritems(params['kwargs']):
2699
+ if key not in all_params:
2700
+ raise TypeError(
2701
+ "Got an unexpected keyword argument '%s'"
2702
+ " to method list_nodes" % key
2703
+ )
2704
+ params[key] = val
2705
+ del params['kwargs']
2706
+ # verify the required parameter 'body' is set
2707
+ if self.api_client.client_side_validation and ('body' not in params or
2708
+ params['body'] is None): # noqa: E501
2709
+ raise ValueError("Missing the required parameter `body` when calling `list_nodes`") # noqa: E501
2710
+
2711
+ collection_formats = {}
2712
+
2713
+ path_params = {}
2714
+
2715
+ query_params = []
2716
+
2717
+ header_params = {}
2718
+
2719
+ form_params = []
2720
+ local_var_files = {}
2721
+
2722
+ body_params = None
2723
+ if 'body' in params:
2724
+ body_params = params['body']
2725
+ # HTTP header `Accept`
2726
+ header_params['Accept'] = self.api_client.select_header_accept(
2727
+ ['application/json']) # noqa: E501
2728
+
2729
+ # HTTP header `Content-Type`
2730
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2731
+ ['application/json']) # noqa: E501
2732
+
2733
+ # Authentication setting
2734
+ auth_settings = ['byteplusSign'] # noqa: E501
2735
+
2736
+ return self.api_client.call_api(
2737
+ '/ListNodes/2022-05-12/vke/post/application_json/', 'POST',
2738
+ path_params,
2739
+ query_params,
2740
+ header_params,
2741
+ body=body_params,
2742
+ post_params=form_params,
2743
+ files=local_var_files,
2744
+ response_type='ListNodesResponse', # noqa: E501
2745
+ auth_settings=auth_settings,
2746
+ async_req=params.get('async_req'),
2747
+ _return_http_data_only=params.get('_return_http_data_only'),
2748
+ _preload_content=params.get('_preload_content', True),
2749
+ _request_timeout=params.get('_request_timeout'),
2750
+ collection_formats=collection_formats)
2751
+
2752
+ def list_permissions(self, body, **kwargs): # noqa: E501
2753
+ """list_permissions # noqa: E501
2754
+
2755
+ This method makes a synchronous HTTP request by default. To make an
2756
+ asynchronous HTTP request, please pass async_req=True
2757
+ >>> thread = api.list_permissions(body, async_req=True)
2758
+ >>> result = thread.get()
2759
+
2760
+ :param async_req bool
2761
+ :param ListPermissionsRequest body: (required)
2762
+ :return: ListPermissionsResponse
2763
+ If the method is called asynchronously,
2764
+ returns the request thread.
2765
+ """
2766
+ kwargs['_return_http_data_only'] = True
2767
+ if kwargs.get('async_req'):
2768
+ return self.list_permissions_with_http_info(body, **kwargs) # noqa: E501
2769
+ else:
2770
+ (data) = self.list_permissions_with_http_info(body, **kwargs) # noqa: E501
2771
+ return data
2772
+
2773
+ def list_permissions_with_http_info(self, body, **kwargs): # noqa: E501
2774
+ """list_permissions # noqa: E501
1805
2775
 
1806
2776
  This method makes a synchronous HTTP request by default. To make an
1807
2777
  asynchronous HTTP request, please pass async_req=True
1808
- >>> thread = api.list_clusters_with_http_info(body, async_req=True)
2778
+ >>> thread = api.list_permissions_with_http_info(body, async_req=True)
1809
2779
  >>> result = thread.get()
1810
2780
 
1811
2781
  :param async_req bool
1812
- :param ListClustersRequest body: (required)
1813
- :return: ListClustersResponse
2782
+ :param ListPermissionsRequest body: (required)
2783
+ :return: ListPermissionsResponse
1814
2784
  If the method is called asynchronously,
1815
2785
  returns the request thread.
1816
2786
  """
@@ -1826,14 +2796,14 @@ class VKEApi(object):
1826
2796
  if key not in all_params:
1827
2797
  raise TypeError(
1828
2798
  "Got an unexpected keyword argument '%s'"
1829
- " to method list_clusters" % key
2799
+ " to method list_permissions" % key
1830
2800
  )
1831
2801
  params[key] = val
1832
2802
  del params['kwargs']
1833
2803
  # verify the required parameter 'body' is set
1834
2804
  if self.api_client.client_side_validation and ('body' not in params or
1835
2805
  params['body'] is None): # noqa: E501
1836
- raise ValueError("Missing the required parameter `body` when calling `list_clusters`") # noqa: E501
2806
+ raise ValueError("Missing the required parameter `body` when calling `list_permissions`") # noqa: E501
1837
2807
 
1838
2808
  collection_formats = {}
1839
2809
 
@@ -1861,14 +2831,14 @@ class VKEApi(object):
1861
2831
  auth_settings = ['byteplusSign'] # noqa: E501
1862
2832
 
1863
2833
  return self.api_client.call_api(
1864
- '/ListClusters/2022-05-12/vke/post/application_json/', 'POST',
2834
+ '/ListPermissions/2022-05-12/vke/post/application_json/', 'POST',
1865
2835
  path_params,
1866
2836
  query_params,
1867
2837
  header_params,
1868
2838
  body=body_params,
1869
2839
  post_params=form_params,
1870
2840
  files=local_var_files,
1871
- response_type='ListClustersResponse', # noqa: E501
2841
+ response_type='ListPermissionsResponse', # noqa: E501
1872
2842
  auth_settings=auth_settings,
1873
2843
  async_req=params.get('async_req'),
1874
2844
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1876,38 +2846,38 @@ class VKEApi(object):
1876
2846
  _request_timeout=params.get('_request_timeout'),
1877
2847
  collection_formats=collection_formats)
1878
2848
 
1879
- def list_kubeconfigs(self, body, **kwargs): # noqa: E501
1880
- """list_kubeconfigs # noqa: E501
2849
+ def list_remedy_configs(self, body, **kwargs): # noqa: E501
2850
+ """list_remedy_configs # noqa: E501
1881
2851
 
1882
2852
  This method makes a synchronous HTTP request by default. To make an
1883
2853
  asynchronous HTTP request, please pass async_req=True
1884
- >>> thread = api.list_kubeconfigs(body, async_req=True)
2854
+ >>> thread = api.list_remedy_configs(body, async_req=True)
1885
2855
  >>> result = thread.get()
1886
2856
 
1887
2857
  :param async_req bool
1888
- :param ListKubeconfigsRequest body: (required)
1889
- :return: ListKubeconfigsResponse
2858
+ :param ListRemedyConfigsRequest body: (required)
2859
+ :return: ListRemedyConfigsResponse
1890
2860
  If the method is called asynchronously,
1891
2861
  returns the request thread.
1892
2862
  """
1893
2863
  kwargs['_return_http_data_only'] = True
1894
2864
  if kwargs.get('async_req'):
1895
- return self.list_kubeconfigs_with_http_info(body, **kwargs) # noqa: E501
2865
+ return self.list_remedy_configs_with_http_info(body, **kwargs) # noqa: E501
1896
2866
  else:
1897
- (data) = self.list_kubeconfigs_with_http_info(body, **kwargs) # noqa: E501
2867
+ (data) = self.list_remedy_configs_with_http_info(body, **kwargs) # noqa: E501
1898
2868
  return data
1899
2869
 
1900
- def list_kubeconfigs_with_http_info(self, body, **kwargs): # noqa: E501
1901
- """list_kubeconfigs # noqa: E501
2870
+ def list_remedy_configs_with_http_info(self, body, **kwargs): # noqa: E501
2871
+ """list_remedy_configs # noqa: E501
1902
2872
 
1903
2873
  This method makes a synchronous HTTP request by default. To make an
1904
2874
  asynchronous HTTP request, please pass async_req=True
1905
- >>> thread = api.list_kubeconfigs_with_http_info(body, async_req=True)
2875
+ >>> thread = api.list_remedy_configs_with_http_info(body, async_req=True)
1906
2876
  >>> result = thread.get()
1907
2877
 
1908
2878
  :param async_req bool
1909
- :param ListKubeconfigsRequest body: (required)
1910
- :return: ListKubeconfigsResponse
2879
+ :param ListRemedyConfigsRequest body: (required)
2880
+ :return: ListRemedyConfigsResponse
1911
2881
  If the method is called asynchronously,
1912
2882
  returns the request thread.
1913
2883
  """
@@ -1923,14 +2893,14 @@ class VKEApi(object):
1923
2893
  if key not in all_params:
1924
2894
  raise TypeError(
1925
2895
  "Got an unexpected keyword argument '%s'"
1926
- " to method list_kubeconfigs" % key
2896
+ " to method list_remedy_configs" % key
1927
2897
  )
1928
2898
  params[key] = val
1929
2899
  del params['kwargs']
1930
2900
  # verify the required parameter 'body' is set
1931
2901
  if self.api_client.client_side_validation and ('body' not in params or
1932
2902
  params['body'] is None): # noqa: E501
1933
- raise ValueError("Missing the required parameter `body` when calling `list_kubeconfigs`") # noqa: E501
2903
+ raise ValueError("Missing the required parameter `body` when calling `list_remedy_configs`") # noqa: E501
1934
2904
 
1935
2905
  collection_formats = {}
1936
2906
 
@@ -1958,14 +2928,14 @@ class VKEApi(object):
1958
2928
  auth_settings = ['byteplusSign'] # noqa: E501
1959
2929
 
1960
2930
  return self.api_client.call_api(
1961
- '/ListKubeconfigs/2022-05-12/vke/post/application_json/', 'POST',
2931
+ '/ListRemedyConfigs/2022-05-12/vke/post/application_json/', 'POST',
1962
2932
  path_params,
1963
2933
  query_params,
1964
2934
  header_params,
1965
2935
  body=body_params,
1966
2936
  post_params=form_params,
1967
2937
  files=local_var_files,
1968
- response_type='ListKubeconfigsResponse', # noqa: E501
2938
+ response_type='ListRemedyConfigsResponse', # noqa: E501
1969
2939
  auth_settings=auth_settings,
1970
2940
  async_req=params.get('async_req'),
1971
2941
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -1973,38 +2943,38 @@ class VKEApi(object):
1973
2943
  _request_timeout=params.get('_request_timeout'),
1974
2944
  collection_formats=collection_formats)
1975
2945
 
1976
- def list_node_pools(self, body, **kwargs): # noqa: E501
1977
- """list_node_pools # noqa: E501
2946
+ def list_scaling_events(self, body, **kwargs): # noqa: E501
2947
+ """list_scaling_events # noqa: E501
1978
2948
 
1979
2949
  This method makes a synchronous HTTP request by default. To make an
1980
2950
  asynchronous HTTP request, please pass async_req=True
1981
- >>> thread = api.list_node_pools(body, async_req=True)
2951
+ >>> thread = api.list_scaling_events(body, async_req=True)
1982
2952
  >>> result = thread.get()
1983
2953
 
1984
2954
  :param async_req bool
1985
- :param ListNodePoolsRequest body: (required)
1986
- :return: ListNodePoolsResponse
2955
+ :param ListScalingEventsRequest body: (required)
2956
+ :return: ListScalingEventsResponse
1987
2957
  If the method is called asynchronously,
1988
2958
  returns the request thread.
1989
2959
  """
1990
2960
  kwargs['_return_http_data_only'] = True
1991
2961
  if kwargs.get('async_req'):
1992
- return self.list_node_pools_with_http_info(body, **kwargs) # noqa: E501
2962
+ return self.list_scaling_events_with_http_info(body, **kwargs) # noqa: E501
1993
2963
  else:
1994
- (data) = self.list_node_pools_with_http_info(body, **kwargs) # noqa: E501
2964
+ (data) = self.list_scaling_events_with_http_info(body, **kwargs) # noqa: E501
1995
2965
  return data
1996
2966
 
1997
- def list_node_pools_with_http_info(self, body, **kwargs): # noqa: E501
1998
- """list_node_pools # noqa: E501
2967
+ def list_scaling_events_with_http_info(self, body, **kwargs): # noqa: E501
2968
+ """list_scaling_events # noqa: E501
1999
2969
 
2000
2970
  This method makes a synchronous HTTP request by default. To make an
2001
2971
  asynchronous HTTP request, please pass async_req=True
2002
- >>> thread = api.list_node_pools_with_http_info(body, async_req=True)
2972
+ >>> thread = api.list_scaling_events_with_http_info(body, async_req=True)
2003
2973
  >>> result = thread.get()
2004
2974
 
2005
2975
  :param async_req bool
2006
- :param ListNodePoolsRequest body: (required)
2007
- :return: ListNodePoolsResponse
2976
+ :param ListScalingEventsRequest body: (required)
2977
+ :return: ListScalingEventsResponse
2008
2978
  If the method is called asynchronously,
2009
2979
  returns the request thread.
2010
2980
  """
@@ -2020,14 +2990,14 @@ class VKEApi(object):
2020
2990
  if key not in all_params:
2021
2991
  raise TypeError(
2022
2992
  "Got an unexpected keyword argument '%s'"
2023
- " to method list_node_pools" % key
2993
+ " to method list_scaling_events" % key
2024
2994
  )
2025
2995
  params[key] = val
2026
2996
  del params['kwargs']
2027
2997
  # verify the required parameter 'body' is set
2028
2998
  if self.api_client.client_side_validation and ('body' not in params or
2029
2999
  params['body'] is None): # noqa: E501
2030
- raise ValueError("Missing the required parameter `body` when calling `list_node_pools`") # noqa: E501
3000
+ raise ValueError("Missing the required parameter `body` when calling `list_scaling_events`") # noqa: E501
2031
3001
 
2032
3002
  collection_formats = {}
2033
3003
 
@@ -2055,14 +3025,14 @@ class VKEApi(object):
2055
3025
  auth_settings = ['byteplusSign'] # noqa: E501
2056
3026
 
2057
3027
  return self.api_client.call_api(
2058
- '/ListNodePools/2022-05-12/vke/post/application_json/', 'POST',
3028
+ '/ListScalingEvents/2022-05-12/vke/post/application_json/', 'POST',
2059
3029
  path_params,
2060
3030
  query_params,
2061
3031
  header_params,
2062
3032
  body=body_params,
2063
3033
  post_params=form_params,
2064
3034
  files=local_var_files,
2065
- response_type='ListNodePoolsResponse', # noqa: E501
3035
+ response_type='ListScalingEventsResponse', # noqa: E501
2066
3036
  auth_settings=auth_settings,
2067
3037
  async_req=params.get('async_req'),
2068
3038
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -2070,38 +3040,38 @@ class VKEApi(object):
2070
3040
  _request_timeout=params.get('_request_timeout'),
2071
3041
  collection_formats=collection_formats)
2072
3042
 
2073
- def list_nodes(self, body, **kwargs): # noqa: E501
2074
- """list_nodes # noqa: E501
3043
+ def list_scaling_policies(self, body, **kwargs): # noqa: E501
3044
+ """list_scaling_policies # noqa: E501
2075
3045
 
2076
3046
  This method makes a synchronous HTTP request by default. To make an
2077
3047
  asynchronous HTTP request, please pass async_req=True
2078
- >>> thread = api.list_nodes(body, async_req=True)
3048
+ >>> thread = api.list_scaling_policies(body, async_req=True)
2079
3049
  >>> result = thread.get()
2080
3050
 
2081
3051
  :param async_req bool
2082
- :param ListNodesRequest body: (required)
2083
- :return: ListNodesResponse
3052
+ :param ListScalingPoliciesRequest body: (required)
3053
+ :return: ListScalingPoliciesResponse
2084
3054
  If the method is called asynchronously,
2085
3055
  returns the request thread.
2086
3056
  """
2087
3057
  kwargs['_return_http_data_only'] = True
2088
3058
  if kwargs.get('async_req'):
2089
- return self.list_nodes_with_http_info(body, **kwargs) # noqa: E501
3059
+ return self.list_scaling_policies_with_http_info(body, **kwargs) # noqa: E501
2090
3060
  else:
2091
- (data) = self.list_nodes_with_http_info(body, **kwargs) # noqa: E501
3061
+ (data) = self.list_scaling_policies_with_http_info(body, **kwargs) # noqa: E501
2092
3062
  return data
2093
3063
 
2094
- def list_nodes_with_http_info(self, body, **kwargs): # noqa: E501
2095
- """list_nodes # noqa: E501
3064
+ def list_scaling_policies_with_http_info(self, body, **kwargs): # noqa: E501
3065
+ """list_scaling_policies # noqa: E501
2096
3066
 
2097
3067
  This method makes a synchronous HTTP request by default. To make an
2098
3068
  asynchronous HTTP request, please pass async_req=True
2099
- >>> thread = api.list_nodes_with_http_info(body, async_req=True)
3069
+ >>> thread = api.list_scaling_policies_with_http_info(body, async_req=True)
2100
3070
  >>> result = thread.get()
2101
3071
 
2102
3072
  :param async_req bool
2103
- :param ListNodesRequest body: (required)
2104
- :return: ListNodesResponse
3073
+ :param ListScalingPoliciesRequest body: (required)
3074
+ :return: ListScalingPoliciesResponse
2105
3075
  If the method is called asynchronously,
2106
3076
  returns the request thread.
2107
3077
  """
@@ -2117,14 +3087,14 @@ class VKEApi(object):
2117
3087
  if key not in all_params:
2118
3088
  raise TypeError(
2119
3089
  "Got an unexpected keyword argument '%s'"
2120
- " to method list_nodes" % key
3090
+ " to method list_scaling_policies" % key
2121
3091
  )
2122
3092
  params[key] = val
2123
3093
  del params['kwargs']
2124
3094
  # verify the required parameter 'body' is set
2125
3095
  if self.api_client.client_side_validation and ('body' not in params or
2126
3096
  params['body'] is None): # noqa: E501
2127
- raise ValueError("Missing the required parameter `body` when calling `list_nodes`") # noqa: E501
3097
+ raise ValueError("Missing the required parameter `body` when calling `list_scaling_policies`") # noqa: E501
2128
3098
 
2129
3099
  collection_formats = {}
2130
3100
 
@@ -2152,14 +3122,14 @@ class VKEApi(object):
2152
3122
  auth_settings = ['byteplusSign'] # noqa: E501
2153
3123
 
2154
3124
  return self.api_client.call_api(
2155
- '/ListNodes/2022-05-12/vke/post/application_json/', 'POST',
3125
+ '/ListScalingPolicies/2022-05-12/vke/post/application_json/', 'POST',
2156
3126
  path_params,
2157
3127
  query_params,
2158
3128
  header_params,
2159
3129
  body=body_params,
2160
3130
  post_params=form_params,
2161
3131
  files=local_var_files,
2162
- response_type='ListNodesResponse', # noqa: E501
3132
+ response_type='ListScalingPoliciesResponse', # noqa: E501
2163
3133
  auth_settings=auth_settings,
2164
3134
  async_req=params.get('async_req'),
2165
3135
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -2167,38 +3137,38 @@ class VKEApi(object):
2167
3137
  _request_timeout=params.get('_request_timeout'),
2168
3138
  collection_formats=collection_formats)
2169
3139
 
2170
- def list_permissions(self, body, **kwargs): # noqa: E501
2171
- """list_permissions # noqa: E501
3140
+ def list_supported_add_instance_types(self, body, **kwargs): # noqa: E501
3141
+ """list_supported_add_instance_types # noqa: E501
2172
3142
 
2173
3143
  This method makes a synchronous HTTP request by default. To make an
2174
3144
  asynchronous HTTP request, please pass async_req=True
2175
- >>> thread = api.list_permissions(body, async_req=True)
3145
+ >>> thread = api.list_supported_add_instance_types(body, async_req=True)
2176
3146
  >>> result = thread.get()
2177
3147
 
2178
3148
  :param async_req bool
2179
- :param ListPermissionsRequest body: (required)
2180
- :return: ListPermissionsResponse
3149
+ :param ListSupportedAddInstanceTypesRequest body: (required)
3150
+ :return: ListSupportedAddInstanceTypesResponse
2181
3151
  If the method is called asynchronously,
2182
3152
  returns the request thread.
2183
3153
  """
2184
3154
  kwargs['_return_http_data_only'] = True
2185
3155
  if kwargs.get('async_req'):
2186
- return self.list_permissions_with_http_info(body, **kwargs) # noqa: E501
3156
+ return self.list_supported_add_instance_types_with_http_info(body, **kwargs) # noqa: E501
2187
3157
  else:
2188
- (data) = self.list_permissions_with_http_info(body, **kwargs) # noqa: E501
3158
+ (data) = self.list_supported_add_instance_types_with_http_info(body, **kwargs) # noqa: E501
2189
3159
  return data
2190
3160
 
2191
- def list_permissions_with_http_info(self, body, **kwargs): # noqa: E501
2192
- """list_permissions # noqa: E501
3161
+ def list_supported_add_instance_types_with_http_info(self, body, **kwargs): # noqa: E501
3162
+ """list_supported_add_instance_types # noqa: E501
2193
3163
 
2194
3164
  This method makes a synchronous HTTP request by default. To make an
2195
3165
  asynchronous HTTP request, please pass async_req=True
2196
- >>> thread = api.list_permissions_with_http_info(body, async_req=True)
3166
+ >>> thread = api.list_supported_add_instance_types_with_http_info(body, async_req=True)
2197
3167
  >>> result = thread.get()
2198
3168
 
2199
3169
  :param async_req bool
2200
- :param ListPermissionsRequest body: (required)
2201
- :return: ListPermissionsResponse
3170
+ :param ListSupportedAddInstanceTypesRequest body: (required)
3171
+ :return: ListSupportedAddInstanceTypesResponse
2202
3172
  If the method is called asynchronously,
2203
3173
  returns the request thread.
2204
3174
  """
@@ -2214,14 +3184,14 @@ class VKEApi(object):
2214
3184
  if key not in all_params:
2215
3185
  raise TypeError(
2216
3186
  "Got an unexpected keyword argument '%s'"
2217
- " to method list_permissions" % key
3187
+ " to method list_supported_add_instance_types" % key
2218
3188
  )
2219
3189
  params[key] = val
2220
3190
  del params['kwargs']
2221
3191
  # verify the required parameter 'body' is set
2222
3192
  if self.api_client.client_side_validation and ('body' not in params or
2223
3193
  params['body'] is None): # noqa: E501
2224
- raise ValueError("Missing the required parameter `body` when calling `list_permissions`") # noqa: E501
3194
+ raise ValueError("Missing the required parameter `body` when calling `list_supported_add_instance_types`") # noqa: E501
2225
3195
 
2226
3196
  collection_formats = {}
2227
3197
 
@@ -2249,14 +3219,14 @@ class VKEApi(object):
2249
3219
  auth_settings = ['byteplusSign'] # noqa: E501
2250
3220
 
2251
3221
  return self.api_client.call_api(
2252
- '/ListPermissions/2022-05-12/vke/post/application_json/', 'POST',
3222
+ '/ListSupportedAddInstanceTypes/2022-05-12/vke/post/application_json/', 'POST',
2253
3223
  path_params,
2254
3224
  query_params,
2255
3225
  header_params,
2256
3226
  body=body_params,
2257
3227
  post_params=form_params,
2258
3228
  files=local_var_files,
2259
- response_type='ListPermissionsResponse', # noqa: E501
3229
+ response_type='ListSupportedAddInstanceTypesResponse', # noqa: E501
2260
3230
  auth_settings=auth_settings,
2261
3231
  async_req=params.get('async_req'),
2262
3232
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -2264,38 +3234,38 @@ class VKEApi(object):
2264
3234
  _request_timeout=params.get('_request_timeout'),
2265
3235
  collection_formats=collection_formats)
2266
3236
 
2267
- def list_scaling_events(self, body, **kwargs): # noqa: E501
2268
- """list_scaling_events # noqa: E501
3237
+ def list_supported_addons(self, body, **kwargs): # noqa: E501
3238
+ """list_supported_addons # noqa: E501
2269
3239
 
2270
3240
  This method makes a synchronous HTTP request by default. To make an
2271
3241
  asynchronous HTTP request, please pass async_req=True
2272
- >>> thread = api.list_scaling_events(body, async_req=True)
3242
+ >>> thread = api.list_supported_addons(body, async_req=True)
2273
3243
  >>> result = thread.get()
2274
3244
 
2275
3245
  :param async_req bool
2276
- :param ListScalingEventsRequest body: (required)
2277
- :return: ListScalingEventsResponse
3246
+ :param ListSupportedAddonsRequest body: (required)
3247
+ :return: ListSupportedAddonsResponse
2278
3248
  If the method is called asynchronously,
2279
3249
  returns the request thread.
2280
3250
  """
2281
3251
  kwargs['_return_http_data_only'] = True
2282
3252
  if kwargs.get('async_req'):
2283
- return self.list_scaling_events_with_http_info(body, **kwargs) # noqa: E501
3253
+ return self.list_supported_addons_with_http_info(body, **kwargs) # noqa: E501
2284
3254
  else:
2285
- (data) = self.list_scaling_events_with_http_info(body, **kwargs) # noqa: E501
3255
+ (data) = self.list_supported_addons_with_http_info(body, **kwargs) # noqa: E501
2286
3256
  return data
2287
3257
 
2288
- def list_scaling_events_with_http_info(self, body, **kwargs): # noqa: E501
2289
- """list_scaling_events # noqa: E501
3258
+ def list_supported_addons_with_http_info(self, body, **kwargs): # noqa: E501
3259
+ """list_supported_addons # noqa: E501
2290
3260
 
2291
3261
  This method makes a synchronous HTTP request by default. To make an
2292
3262
  asynchronous HTTP request, please pass async_req=True
2293
- >>> thread = api.list_scaling_events_with_http_info(body, async_req=True)
3263
+ >>> thread = api.list_supported_addons_with_http_info(body, async_req=True)
2294
3264
  >>> result = thread.get()
2295
3265
 
2296
3266
  :param async_req bool
2297
- :param ListScalingEventsRequest body: (required)
2298
- :return: ListScalingEventsResponse
3267
+ :param ListSupportedAddonsRequest body: (required)
3268
+ :return: ListSupportedAddonsResponse
2299
3269
  If the method is called asynchronously,
2300
3270
  returns the request thread.
2301
3271
  """
@@ -2311,14 +3281,14 @@ class VKEApi(object):
2311
3281
  if key not in all_params:
2312
3282
  raise TypeError(
2313
3283
  "Got an unexpected keyword argument '%s'"
2314
- " to method list_scaling_events" % key
3284
+ " to method list_supported_addons" % key
2315
3285
  )
2316
3286
  params[key] = val
2317
3287
  del params['kwargs']
2318
3288
  # verify the required parameter 'body' is set
2319
3289
  if self.api_client.client_side_validation and ('body' not in params or
2320
3290
  params['body'] is None): # noqa: E501
2321
- raise ValueError("Missing the required parameter `body` when calling `list_scaling_events`") # noqa: E501
3291
+ raise ValueError("Missing the required parameter `body` when calling `list_supported_addons`") # noqa: E501
2322
3292
 
2323
3293
  collection_formats = {}
2324
3294
 
@@ -2346,14 +3316,14 @@ class VKEApi(object):
2346
3316
  auth_settings = ['byteplusSign'] # noqa: E501
2347
3317
 
2348
3318
  return self.api_client.call_api(
2349
- '/ListScalingEvents/2022-05-12/vke/post/application_json/', 'POST',
3319
+ '/ListSupportedAddons/2022-05-12/vke/post/application_json/', 'POST',
2350
3320
  path_params,
2351
3321
  query_params,
2352
3322
  header_params,
2353
3323
  body=body_params,
2354
3324
  post_params=form_params,
2355
3325
  files=local_var_files,
2356
- response_type='ListScalingEventsResponse', # noqa: E501
3326
+ response_type='ListSupportedAddonsResponse', # noqa: E501
2357
3327
  auth_settings=auth_settings,
2358
3328
  async_req=params.get('async_req'),
2359
3329
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -2361,38 +3331,38 @@ class VKEApi(object):
2361
3331
  _request_timeout=params.get('_request_timeout'),
2362
3332
  collection_formats=collection_formats)
2363
3333
 
2364
- def list_scaling_policies(self, body, **kwargs): # noqa: E501
2365
- """list_scaling_policies # noqa: E501
3334
+ def list_supported_gpu_driver_versions(self, body, **kwargs): # noqa: E501
3335
+ """list_supported_gpu_driver_versions # noqa: E501
2366
3336
 
2367
3337
  This method makes a synchronous HTTP request by default. To make an
2368
3338
  asynchronous HTTP request, please pass async_req=True
2369
- >>> thread = api.list_scaling_policies(body, async_req=True)
3339
+ >>> thread = api.list_supported_gpu_driver_versions(body, async_req=True)
2370
3340
  >>> result = thread.get()
2371
3341
 
2372
3342
  :param async_req bool
2373
- :param ListScalingPoliciesRequest body: (required)
2374
- :return: ListScalingPoliciesResponse
3343
+ :param ListSupportedGpuDriverVersionsRequest body: (required)
3344
+ :return: ListSupportedGpuDriverVersionsResponse
2375
3345
  If the method is called asynchronously,
2376
3346
  returns the request thread.
2377
3347
  """
2378
3348
  kwargs['_return_http_data_only'] = True
2379
3349
  if kwargs.get('async_req'):
2380
- return self.list_scaling_policies_with_http_info(body, **kwargs) # noqa: E501
3350
+ return self.list_supported_gpu_driver_versions_with_http_info(body, **kwargs) # noqa: E501
2381
3351
  else:
2382
- (data) = self.list_scaling_policies_with_http_info(body, **kwargs) # noqa: E501
3352
+ (data) = self.list_supported_gpu_driver_versions_with_http_info(body, **kwargs) # noqa: E501
2383
3353
  return data
2384
3354
 
2385
- def list_scaling_policies_with_http_info(self, body, **kwargs): # noqa: E501
2386
- """list_scaling_policies # noqa: E501
3355
+ def list_supported_gpu_driver_versions_with_http_info(self, body, **kwargs): # noqa: E501
3356
+ """list_supported_gpu_driver_versions # noqa: E501
2387
3357
 
2388
3358
  This method makes a synchronous HTTP request by default. To make an
2389
3359
  asynchronous HTTP request, please pass async_req=True
2390
- >>> thread = api.list_scaling_policies_with_http_info(body, async_req=True)
3360
+ >>> thread = api.list_supported_gpu_driver_versions_with_http_info(body, async_req=True)
2391
3361
  >>> result = thread.get()
2392
3362
 
2393
3363
  :param async_req bool
2394
- :param ListScalingPoliciesRequest body: (required)
2395
- :return: ListScalingPoliciesResponse
3364
+ :param ListSupportedGpuDriverVersionsRequest body: (required)
3365
+ :return: ListSupportedGpuDriverVersionsResponse
2396
3366
  If the method is called asynchronously,
2397
3367
  returns the request thread.
2398
3368
  """
@@ -2408,14 +3378,14 @@ class VKEApi(object):
2408
3378
  if key not in all_params:
2409
3379
  raise TypeError(
2410
3380
  "Got an unexpected keyword argument '%s'"
2411
- " to method list_scaling_policies" % key
3381
+ " to method list_supported_gpu_driver_versions" % key
2412
3382
  )
2413
3383
  params[key] = val
2414
3384
  del params['kwargs']
2415
3385
  # verify the required parameter 'body' is set
2416
3386
  if self.api_client.client_side_validation and ('body' not in params or
2417
3387
  params['body'] is None): # noqa: E501
2418
- raise ValueError("Missing the required parameter `body` when calling `list_scaling_policies`") # noqa: E501
3388
+ raise ValueError("Missing the required parameter `body` when calling `list_supported_gpu_driver_versions`") # noqa: E501
2419
3389
 
2420
3390
  collection_formats = {}
2421
3391
 
@@ -2443,14 +3413,14 @@ class VKEApi(object):
2443
3413
  auth_settings = ['byteplusSign'] # noqa: E501
2444
3414
 
2445
3415
  return self.api_client.call_api(
2446
- '/ListScalingPolicies/2022-05-12/vke/post/application_json/', 'POST',
3416
+ '/ListSupportedGpuDriverVersions/2022-05-12/vke/post/application_json/', 'POST',
2447
3417
  path_params,
2448
3418
  query_params,
2449
3419
  header_params,
2450
3420
  body=body_params,
2451
3421
  post_params=form_params,
2452
3422
  files=local_var_files,
2453
- response_type='ListScalingPoliciesResponse', # noqa: E501
3423
+ response_type='ListSupportedGpuDriverVersionsResponse', # noqa: E501
2454
3424
  auth_settings=auth_settings,
2455
3425
  async_req=params.get('async_req'),
2456
3426
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -2458,38 +3428,38 @@ class VKEApi(object):
2458
3428
  _request_timeout=params.get('_request_timeout'),
2459
3429
  collection_formats=collection_formats)
2460
3430
 
2461
- def list_supported_addons(self, body, **kwargs): # noqa: E501
2462
- """list_supported_addons # noqa: E501
3431
+ def list_supported_images(self, body, **kwargs): # noqa: E501
3432
+ """list_supported_images # noqa: E501
2463
3433
 
2464
3434
  This method makes a synchronous HTTP request by default. To make an
2465
3435
  asynchronous HTTP request, please pass async_req=True
2466
- >>> thread = api.list_supported_addons(body, async_req=True)
3436
+ >>> thread = api.list_supported_images(body, async_req=True)
2467
3437
  >>> result = thread.get()
2468
3438
 
2469
3439
  :param async_req bool
2470
- :param ListSupportedAddonsRequest body: (required)
2471
- :return: ListSupportedAddonsResponse
3440
+ :param ListSupportedImagesRequest body: (required)
3441
+ :return: ListSupportedImagesResponse
2472
3442
  If the method is called asynchronously,
2473
3443
  returns the request thread.
2474
3444
  """
2475
3445
  kwargs['_return_http_data_only'] = True
2476
3446
  if kwargs.get('async_req'):
2477
- return self.list_supported_addons_with_http_info(body, **kwargs) # noqa: E501
3447
+ return self.list_supported_images_with_http_info(body, **kwargs) # noqa: E501
2478
3448
  else:
2479
- (data) = self.list_supported_addons_with_http_info(body, **kwargs) # noqa: E501
3449
+ (data) = self.list_supported_images_with_http_info(body, **kwargs) # noqa: E501
2480
3450
  return data
2481
3451
 
2482
- def list_supported_addons_with_http_info(self, body, **kwargs): # noqa: E501
2483
- """list_supported_addons # noqa: E501
3452
+ def list_supported_images_with_http_info(self, body, **kwargs): # noqa: E501
3453
+ """list_supported_images # noqa: E501
2484
3454
 
2485
3455
  This method makes a synchronous HTTP request by default. To make an
2486
3456
  asynchronous HTTP request, please pass async_req=True
2487
- >>> thread = api.list_supported_addons_with_http_info(body, async_req=True)
3457
+ >>> thread = api.list_supported_images_with_http_info(body, async_req=True)
2488
3458
  >>> result = thread.get()
2489
3459
 
2490
3460
  :param async_req bool
2491
- :param ListSupportedAddonsRequest body: (required)
2492
- :return: ListSupportedAddonsResponse
3461
+ :param ListSupportedImagesRequest body: (required)
3462
+ :return: ListSupportedImagesResponse
2493
3463
  If the method is called asynchronously,
2494
3464
  returns the request thread.
2495
3465
  """
@@ -2505,14 +3475,14 @@ class VKEApi(object):
2505
3475
  if key not in all_params:
2506
3476
  raise TypeError(
2507
3477
  "Got an unexpected keyword argument '%s'"
2508
- " to method list_supported_addons" % key
3478
+ " to method list_supported_images" % key
2509
3479
  )
2510
3480
  params[key] = val
2511
3481
  del params['kwargs']
2512
3482
  # verify the required parameter 'body' is set
2513
3483
  if self.api_client.client_side_validation and ('body' not in params or
2514
3484
  params['body'] is None): # noqa: E501
2515
- raise ValueError("Missing the required parameter `body` when calling `list_supported_addons`") # noqa: E501
3485
+ raise ValueError("Missing the required parameter `body` when calling `list_supported_images`") # noqa: E501
2516
3486
 
2517
3487
  collection_formats = {}
2518
3488
 
@@ -2540,14 +3510,14 @@ class VKEApi(object):
2540
3510
  auth_settings = ['byteplusSign'] # noqa: E501
2541
3511
 
2542
3512
  return self.api_client.call_api(
2543
- '/ListSupportedAddons/2022-05-12/vke/post/application_json/', 'POST',
3513
+ '/ListSupportedImages/2022-05-12/vke/post/application_json/', 'POST',
2544
3514
  path_params,
2545
3515
  query_params,
2546
3516
  header_params,
2547
3517
  body=body_params,
2548
3518
  post_params=form_params,
2549
3519
  files=local_var_files,
2550
- response_type='ListSupportedAddonsResponse', # noqa: E501
3520
+ response_type='ListSupportedImagesResponse', # noqa: E501
2551
3521
  auth_settings=auth_settings,
2552
3522
  async_req=params.get('async_req'),
2553
3523
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -3040,6 +4010,103 @@ class VKEApi(object):
3040
4010
  _request_timeout=params.get('_request_timeout'),
3041
4011
  collection_formats=collection_formats)
3042
4012
 
4013
+ def unbinding_remedy_config(self, body, **kwargs): # noqa: E501
4014
+ """unbinding_remedy_config # noqa: E501
4015
+
4016
+ This method makes a synchronous HTTP request by default. To make an
4017
+ asynchronous HTTP request, please pass async_req=True
4018
+ >>> thread = api.unbinding_remedy_config(body, async_req=True)
4019
+ >>> result = thread.get()
4020
+
4021
+ :param async_req bool
4022
+ :param UnbindingRemedyConfigRequest body: (required)
4023
+ :return: UnbindingRemedyConfigResponse
4024
+ If the method is called asynchronously,
4025
+ returns the request thread.
4026
+ """
4027
+ kwargs['_return_http_data_only'] = True
4028
+ if kwargs.get('async_req'):
4029
+ return self.unbinding_remedy_config_with_http_info(body, **kwargs) # noqa: E501
4030
+ else:
4031
+ (data) = self.unbinding_remedy_config_with_http_info(body, **kwargs) # noqa: E501
4032
+ return data
4033
+
4034
+ def unbinding_remedy_config_with_http_info(self, body, **kwargs): # noqa: E501
4035
+ """unbinding_remedy_config # noqa: E501
4036
+
4037
+ This method makes a synchronous HTTP request by default. To make an
4038
+ asynchronous HTTP request, please pass async_req=True
4039
+ >>> thread = api.unbinding_remedy_config_with_http_info(body, async_req=True)
4040
+ >>> result = thread.get()
4041
+
4042
+ :param async_req bool
4043
+ :param UnbindingRemedyConfigRequest body: (required)
4044
+ :return: UnbindingRemedyConfigResponse
4045
+ If the method is called asynchronously,
4046
+ returns the request thread.
4047
+ """
4048
+
4049
+ all_params = ['body'] # noqa: E501
4050
+ all_params.append('async_req')
4051
+ all_params.append('_return_http_data_only')
4052
+ all_params.append('_preload_content')
4053
+ all_params.append('_request_timeout')
4054
+
4055
+ params = locals()
4056
+ for key, val in six.iteritems(params['kwargs']):
4057
+ if key not in all_params:
4058
+ raise TypeError(
4059
+ "Got an unexpected keyword argument '%s'"
4060
+ " to method unbinding_remedy_config" % key
4061
+ )
4062
+ params[key] = val
4063
+ del params['kwargs']
4064
+ # verify the required parameter 'body' is set
4065
+ if self.api_client.client_side_validation and ('body' not in params or
4066
+ params['body'] is None): # noqa: E501
4067
+ raise ValueError("Missing the required parameter `body` when calling `unbinding_remedy_config`") # noqa: E501
4068
+
4069
+ collection_formats = {}
4070
+
4071
+ path_params = {}
4072
+
4073
+ query_params = []
4074
+
4075
+ header_params = {}
4076
+
4077
+ form_params = []
4078
+ local_var_files = {}
4079
+
4080
+ body_params = None
4081
+ if 'body' in params:
4082
+ body_params = params['body']
4083
+ # HTTP header `Accept`
4084
+ header_params['Accept'] = self.api_client.select_header_accept(
4085
+ ['application/json']) # noqa: E501
4086
+
4087
+ # HTTP header `Content-Type`
4088
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4089
+ ['application/json']) # noqa: E501
4090
+
4091
+ # Authentication setting
4092
+ auth_settings = ['byteplusSign'] # noqa: E501
4093
+
4094
+ return self.api_client.call_api(
4095
+ '/UnbindingRemedyConfig/2022-05-12/vke/post/application_json/', 'POST',
4096
+ path_params,
4097
+ query_params,
4098
+ header_params,
4099
+ body=body_params,
4100
+ post_params=form_params,
4101
+ files=local_var_files,
4102
+ response_type='UnbindingRemedyConfigResponse', # noqa: E501
4103
+ auth_settings=auth_settings,
4104
+ async_req=params.get('async_req'),
4105
+ _return_http_data_only=params.get('_return_http_data_only'),
4106
+ _preload_content=params.get('_preload_content', True),
4107
+ _request_timeout=params.get('_request_timeout'),
4108
+ collection_formats=collection_formats)
4109
+
3043
4110
  def untag_resources(self, body, **kwargs): # noqa: E501
3044
4111
  """untag_resources # noqa: E501
3045
4112