gcore 0.2.0__py3-none-any.whl → 0.4.0__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.

Potentially problematic release.


This version of gcore might be problematic. Click here for more details.

Files changed (315) hide show
  1. gcore/__init__.py +2 -1
  2. gcore/_base_client.py +44 -2
  3. gcore/_client.py +9 -0
  4. gcore/_models.py +2 -0
  5. gcore/_types.py +2 -0
  6. gcore/_version.py +1 -1
  7. gcore/pagination.py +61 -1
  8. gcore/resources/__init__.py +14 -0
  9. gcore/resources/cloud/baremetal/flavors.py +11 -137
  10. gcore/resources/cloud/baremetal/images.py +10 -12
  11. gcore/resources/cloud/baremetal/servers.py +75 -78
  12. gcore/resources/cloud/billing_reservations.py +2 -2
  13. gcore/resources/cloud/file_shares/file_shares.py +7 -8
  14. gcore/resources/cloud/floating_ips.py +9 -14
  15. gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +39 -28
  16. gcore/resources/cloud/gpu_baremetal_clusters/images.py +11 -12
  17. gcore/resources/cloud/gpu_baremetal_clusters/interfaces.py +2 -2
  18. gcore/resources/cloud/gpu_baremetal_clusters/servers.py +12 -8
  19. gcore/resources/cloud/inference/deployments/deployments.py +16 -8
  20. gcore/resources/cloud/inference/registry_credentials.py +2 -2
  21. gcore/resources/cloud/inference/secrets.py +8 -8
  22. gcore/resources/cloud/instances/flavors.py +9 -233
  23. gcore/resources/cloud/instances/images.py +47 -37
  24. gcore/resources/cloud/instances/instances.py +107 -100
  25. gcore/resources/cloud/instances/interfaces.py +6 -6
  26. gcore/resources/cloud/ip_ranges.py +34 -2
  27. gcore/resources/cloud/load_balancers/flavors.py +2 -2
  28. gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +30 -22
  29. gcore/resources/cloud/load_balancers/listeners.py +31 -22
  30. gcore/resources/cloud/load_balancers/load_balancers.py +99 -43
  31. gcore/resources/cloud/load_balancers/metrics.py +2 -2
  32. gcore/resources/cloud/load_balancers/pools/health_monitors.py +2 -2
  33. gcore/resources/cloud/load_balancers/pools/members.py +12 -8
  34. gcore/resources/cloud/networks/networks.py +83 -19
  35. gcore/resources/cloud/networks/routers.py +18 -18
  36. gcore/resources/cloud/networks/subnets.py +55 -15
  37. gcore/resources/cloud/projects.py +38 -24
  38. gcore/resources/cloud/quotas/quotas.py +6 -6
  39. gcore/resources/cloud/quotas/requests.py +8 -8
  40. gcore/resources/cloud/registries/artifacts.py +4 -4
  41. gcore/resources/cloud/registries/registries.py +14 -20
  42. gcore/resources/cloud/registries/repositories.py +4 -4
  43. gcore/resources/cloud/registries/tags.py +2 -2
  44. gcore/resources/cloud/registries/users.py +25 -32
  45. gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +26 -26
  46. gcore/resources/cloud/reserved_fixed_ips/vip.py +10 -10
  47. gcore/resources/cloud/security_groups/rules.py +6 -6
  48. gcore/resources/cloud/security_groups/security_groups.py +70 -31
  49. gcore/resources/cloud/ssh_keys.py +2 -2
  50. gcore/resources/cloud/tasks.py +102 -94
  51. gcore/resources/cloud/users/role_assignments.py +16 -18
  52. gcore/resources/cloud/volumes.py +155 -65
  53. gcore/resources/iam/__init__.py +47 -0
  54. gcore/resources/iam/api_tokens.py +521 -0
  55. gcore/resources/iam/iam.py +199 -0
  56. gcore/resources/iam/users.py +642 -0
  57. gcore/resources/waap/__init__.py +84 -0
  58. gcore/resources/waap/advanced_rules.py +135 -0
  59. gcore/resources/waap/custom_page_sets.py +805 -0
  60. gcore/resources/waap/domains/__init__.py +140 -0
  61. gcore/resources/waap/domains/advanced_rules.py +876 -0
  62. gcore/resources/waap/domains/analytics/__init__.py +33 -0
  63. gcore/resources/waap/domains/analytics/analytics.py +676 -0
  64. gcore/resources/waap/domains/analytics/requests.py +378 -0
  65. gcore/resources/waap/domains/api_discovery/__init__.py +33 -0
  66. gcore/resources/waap/domains/api_discovery/api_discovery.py +530 -0
  67. gcore/resources/waap/domains/api_discovery/scan_results.py +352 -0
  68. gcore/resources/waap/domains/api_path_groups.py +163 -0
  69. gcore/resources/waap/domains/api_paths.py +771 -0
  70. gcore/resources/waap/domains/custom_rules.py +889 -0
  71. gcore/resources/waap/domains/domains.py +399 -0
  72. gcore/resources/waap/domains/firewall_rules.py +884 -0
  73. gcore/resources/waap/domains/insight_silences.py +689 -0
  74. gcore/resources/waap/domains/insights.py +425 -0
  75. gcore/resources/waap/domains/policies.py +173 -0
  76. gcore/resources/waap/domains/settings.py +5 -5
  77. gcore/resources/waap/ip_info.py +1017 -0
  78. gcore/resources/waap/organizations.py +217 -0
  79. gcore/resources/waap/statistics.py +225 -0
  80. gcore/resources/waap/tags.py +233 -0
  81. gcore/resources/waap/waap.py +257 -0
  82. gcore/types/cloud/allowed_address_pairs.py +2 -2
  83. gcore/types/cloud/baremetal/__init__.py +0 -1
  84. gcore/types/cloud/baremetal/baremetal_server.py +1 -1
  85. gcore/types/cloud/baremetal/image_list_params.py +1 -5
  86. gcore/types/cloud/baremetal/server_create_params.py +13 -17
  87. gcore/types/cloud/baremetal/server_list_params.py +8 -12
  88. gcore/types/cloud/baremetal/server_rebuild_params.py +1 -1
  89. gcore/types/cloud/baremetal_flavor.py +3 -3
  90. gcore/types/cloud/container_probe_config.py +1 -1
  91. gcore/types/cloud/container_probe_config_create_param.py +1 -1
  92. gcore/types/cloud/container_scale_triggers.py +2 -2
  93. gcore/types/cloud/ddos_profile.py +9 -3
  94. gcore/types/cloud/file_share_create_params.py +3 -5
  95. gcore/types/cloud/floating_ip_create_params.py +2 -4
  96. gcore/types/cloud/floating_ip_detailed.py +1 -1
  97. gcore/types/cloud/floating_ip_list_params.py +2 -6
  98. gcore/types/cloud/gpu_baremetal_cluster.py +1 -1
  99. gcore/types/cloud/gpu_baremetal_cluster_create_params.py +4 -5
  100. gcore/types/cloud/gpu_baremetal_cluster_delete_params.py +1 -1
  101. gcore/types/cloud/gpu_baremetal_cluster_rebuild_params.py +1 -1
  102. gcore/types/cloud/gpu_baremetal_cluster_server.py +1 -1
  103. gcore/types/cloud/gpu_baremetal_clusters/image_upload_params.py +3 -5
  104. gcore/types/cloud/gpu_baremetal_clusters/server_attach_interface_params.py +10 -10
  105. gcore/types/cloud/gpu_baremetal_flavor.py +3 -3
  106. gcore/types/cloud/health_monitor.py +6 -1
  107. gcore/types/cloud/image.py +1 -1
  108. gcore/types/cloud/inference/deployment_create_params.py +4 -4
  109. gcore/types/cloud/inference/deployment_update_params.py +6 -6
  110. gcore/types/cloud/inference/inference.py +2 -4
  111. gcore/types/cloud/instance.py +1 -1
  112. gcore/types/cloud/instance_create_params.py +15 -18
  113. gcore/types/cloud/instance_list_params.py +8 -12
  114. gcore/types/cloud/instances/__init__.py +0 -2
  115. gcore/types/cloud/instances/image_create_from_volume_params.py +2 -4
  116. gcore/types/cloud/instances/image_list_params.py +1 -5
  117. gcore/types/cloud/instances/image_upload_params.py +2 -4
  118. gcore/types/cloud/instances/instance_flavor.py +3 -3
  119. gcore/types/cloud/instances/interface_attach_params.py +10 -10
  120. gcore/types/cloud/load_balancer_create_params.py +25 -19
  121. gcore/types/cloud/load_balancer_flavor_detail.py +3 -3
  122. gcore/types/cloud/load_balancer_l7_policy.py +5 -5
  123. gcore/types/cloud/load_balancer_list_params.py +5 -9
  124. gcore/types/cloud/load_balancer_listener_detail.py +4 -4
  125. gcore/types/cloud/load_balancer_update_params.py +24 -0
  126. gcore/types/cloud/load_balancers/l7_policy_create_params.py +5 -5
  127. gcore/types/cloud/load_balancers/l7_policy_replace_params.py +5 -5
  128. gcore/types/cloud/load_balancers/listener_create_params.py +4 -4
  129. gcore/types/cloud/load_balancers/listener_update_params.py +3 -3
  130. gcore/types/cloud/load_balancers/pool_create_params.py +10 -5
  131. gcore/types/cloud/load_balancers/pool_update_params.py +10 -5
  132. gcore/types/cloud/load_balancers/pools/member_add_params.py +9 -4
  133. gcore/types/cloud/member.py +8 -3
  134. gcore/types/cloud/network.py +2 -2
  135. gcore/types/cloud/network_create_params.py +2 -3
  136. gcore/types/cloud/network_details.py +2 -2
  137. gcore/types/cloud/network_list_params.py +5 -6
  138. gcore/types/cloud/network_update_params.py +28 -2
  139. gcore/types/cloud/networks/router_list_params.py +2 -2
  140. gcore/types/cloud/networks/subnet_create_params.py +3 -4
  141. gcore/types/cloud/networks/subnet_list_params.py +2 -6
  142. gcore/types/cloud/networks/subnet_update_params.py +25 -0
  143. gcore/types/cloud/region.py +4 -4
  144. gcore/types/cloud/registries/__init__.py +1 -0
  145. gcore/types/cloud/registries/user_create_multiple_params.py +3 -5
  146. gcore/types/cloud/registries/user_create_params.py +3 -5
  147. gcore/types/cloud/registries/user_refresh_secret_response.py +31 -0
  148. gcore/types/cloud/registry_create_params.py +3 -5
  149. gcore/types/cloud/reserved_fixed_ip_create_params.py +2 -2
  150. gcore/types/cloud/reserved_fixed_ip_list_params.py +3 -3
  151. gcore/types/cloud/security_group_list_params.py +3 -7
  152. gcore/types/cloud/security_group_update_params.py +25 -0
  153. gcore/types/cloud/session_persistence.py +1 -1
  154. gcore/types/cloud/ssh_key_created.py +3 -6
  155. gcore/types/cloud/tag_update_map_param.py +2 -2
  156. gcore/types/cloud/task.py +1 -1
  157. gcore/types/cloud/task_list_params.py +49 -45
  158. gcore/types/cloud/users/role_assignment_create_params.py +1 -1
  159. gcore/types/cloud/users/role_assignment_update_params.py +1 -1
  160. gcore/types/cloud/volume_create_params.py +6 -6
  161. gcore/types/cloud/volume_list_params.py +3 -7
  162. gcore/types/cloud/volume_update_params.py +29 -3
  163. gcore/types/iam/__init__.py +17 -0
  164. gcore/types/iam/account_overview.py +488 -0
  165. gcore/types/iam/api_token.py +78 -0
  166. gcore/types/iam/api_token_create.py +15 -0
  167. gcore/types/iam/api_token_create_params.py +42 -0
  168. gcore/types/iam/api_token_list.py +81 -0
  169. gcore/types/iam/api_token_list_params.py +41 -0
  170. gcore/types/iam/user.py +86 -0
  171. gcore/types/iam/user_detailed.py +104 -0
  172. gcore/types/iam/user_invite.py +15 -0
  173. gcore/types/iam/user_invite_params.py +37 -0
  174. gcore/types/iam/user_list_params.py +15 -0
  175. gcore/types/iam/user_update.py +104 -0
  176. gcore/types/iam/user_update_params.py +52 -0
  177. gcore/types/waap/__init__.py +97 -2
  178. gcore/types/waap/custom_page_set_create_params.py +35 -0
  179. gcore/types/waap/custom_page_set_list_params.py +25 -0
  180. gcore/types/waap/custom_page_set_preview_params.py +34 -0
  181. gcore/types/waap/custom_page_set_update_params.py +35 -0
  182. gcore/types/waap/domain_list_rule_sets_response.py +10 -0
  183. gcore/types/waap/domains/__init__.py +42 -0
  184. gcore/types/waap/domains/advanced_rule_create_params.py +80 -0
  185. gcore/types/waap/domains/advanced_rule_list_params.py +58 -0
  186. gcore/types/waap/domains/advanced_rule_update_params.py +83 -0
  187. gcore/types/waap/domains/analytics/__init__.py +5 -0
  188. gcore/types/waap/domains/analytics/request_list_params.py +53 -0
  189. gcore/types/waap/domains/analytics_get_event_statistics_params.py +34 -0
  190. gcore/types/waap/domains/analytics_list_ddos_attacks_params.py +28 -0
  191. gcore/types/waap/domains/analytics_list_ddos_info_params.py +31 -0
  192. gcore/types/waap/domains/analytics_list_event_traffic_params.py +26 -0
  193. gcore/types/waap/domains/analytics_list_event_traffic_response.py +10 -0
  194. gcore/types/waap/domains/api_discovery/__init__.py +7 -0
  195. gcore/types/waap/domains/api_discovery/scan_result_get_response.py +29 -0
  196. gcore/types/waap/domains/api_discovery/scan_result_list_params.py +41 -0
  197. gcore/types/waap/domains/api_discovery/scan_result_list_response.py +29 -0
  198. gcore/types/waap/domains/api_discovery_get_settings_response.py +36 -0
  199. gcore/types/waap/domains/api_discovery_scan_openapi_response.py +10 -0
  200. gcore/types/waap/domains/api_discovery_update_settings_params.py +34 -0
  201. gcore/types/waap/domains/api_discovery_update_settings_response.py +36 -0
  202. gcore/types/waap/domains/api_discovery_upload_openapi_params.py +19 -0
  203. gcore/types/waap/domains/api_discovery_upload_openapi_response.py +10 -0
  204. gcore/types/waap/domains/api_path_create_params.py +31 -0
  205. gcore/types/waap/domains/api_path_create_response.py +50 -0
  206. gcore/types/waap/domains/api_path_get_response.py +50 -0
  207. gcore/types/waap/domains/api_path_group_list_response.py +12 -0
  208. gcore/types/waap/domains/api_path_list_params.py +62 -0
  209. gcore/types/waap/domains/api_path_list_response.py +50 -0
  210. gcore/types/waap/domains/api_path_update_params.py +29 -0
  211. gcore/types/waap/domains/custom_rule_create_params.py +372 -0
  212. gcore/types/waap/domains/custom_rule_delete_multiple_params.py +13 -0
  213. gcore/types/waap/domains/custom_rule_list_params.py +35 -0
  214. gcore/types/waap/domains/custom_rule_update_params.py +375 -0
  215. gcore/types/waap/domains/firewall_rule_create_params.py +75 -0
  216. gcore/types/waap/domains/firewall_rule_delete_multiple_params.py +13 -0
  217. gcore/types/waap/domains/firewall_rule_list_params.py +33 -0
  218. gcore/types/waap/domains/firewall_rule_update_params.py +78 -0
  219. gcore/types/waap/domains/insight_list_params.py +34 -0
  220. gcore/types/waap/domains/insight_replace_params.py +17 -0
  221. gcore/types/waap/domains/insight_silence_create_params.py +28 -0
  222. gcore/types/waap/domains/insight_silence_list_params.py +33 -0
  223. gcore/types/waap/domains/insight_silence_update_params.py +28 -0
  224. gcore/types/waap/domains/setting_update_params.py +7 -0
  225. gcore/types/waap/ip_info_get_attack_time_series_params.py +12 -0
  226. gcore/types/waap/ip_info_get_attack_time_series_response.py +10 -0
  227. gcore/types/waap/ip_info_get_blocked_requests_params.py +15 -0
  228. gcore/types/waap/ip_info_get_blocked_requests_response.py +10 -0
  229. gcore/types/waap/ip_info_get_counts_params.py +19 -0
  230. gcore/types/waap/ip_info_get_ddos_attack_series_params.py +12 -0
  231. gcore/types/waap/ip_info_get_params.py +12 -0
  232. gcore/types/waap/ip_info_get_top_sessions_params.py +15 -0
  233. gcore/types/waap/ip_info_get_top_sessions_response.py +10 -0
  234. gcore/types/waap/ip_info_get_top_urls_params.py +15 -0
  235. gcore/types/waap/ip_info_get_top_urls_response.py +10 -0
  236. gcore/types/waap/ip_info_get_top_user_agents_params.py +15 -0
  237. gcore/types/waap/ip_info_get_top_user_agents_response.py +10 -0
  238. gcore/types/waap/ip_info_list_attacked_countries_params.py +12 -0
  239. gcore/types/waap/ip_info_list_attacked_countries_response.py +10 -0
  240. gcore/types/waap/organization_list_params.py +22 -0
  241. gcore/types/waap/statistic_get_usage_series_params.py +25 -0
  242. gcore/types/waap/tag_list_params.py +28 -0
  243. gcore/types/waap/waap_advanced_rule.py +83 -0
  244. gcore/types/waap/waap_advanced_rule_descriptor.py +49 -0
  245. gcore/types/waap/waap_advanced_rule_descriptor_list.py +15 -0
  246. gcore/types/waap/waap_block_csrf_page_data.py +28 -0
  247. gcore/types/waap/waap_block_csrf_page_data_param.py +28 -0
  248. gcore/types/waap/waap_block_page_data.py +28 -0
  249. gcore/types/waap/waap_block_page_data_param.py +28 -0
  250. gcore/types/waap/waap_blocked_statistics.py +36 -0
  251. gcore/types/waap/waap_captcha_page_data.py +31 -0
  252. gcore/types/waap/waap_captcha_page_data_param.py +31 -0
  253. gcore/types/waap/waap_common_tag.py +16 -0
  254. gcore/types/waap/waap_cookie_disabled_page_data.py +18 -0
  255. gcore/types/waap/waap_cookie_disabled_page_data_param.py +18 -0
  256. gcore/types/waap/waap_count_statistics.py +36 -0
  257. gcore/types/waap/waap_custom_page_preview.py +10 -0
  258. gcore/types/waap/waap_custom_page_set.py +36 -0
  259. gcore/types/waap/waap_custom_rule.py +377 -0
  260. gcore/types/waap/waap_customer_rule_state.py +7 -0
  261. gcore/types/waap/waap_ddos_attack.py +16 -0
  262. gcore/types/waap/waap_ddos_info.py +17 -0
  263. gcore/types/waap/{waap_api_urls.py → waap_domain_api_settings.py} +9 -2
  264. gcore/types/waap/waap_domain_policy.py +29 -0
  265. gcore/types/waap/{waap_domain_settings.py → waap_domain_settings_model.py} +4 -4
  266. gcore/types/waap/waap_event_statistics.py +15 -0
  267. gcore/types/waap/waap_firewall_rule.py +78 -0
  268. gcore/types/waap/waap_get_account_overview_response.py +34 -0
  269. gcore/types/waap/waap_handshake_page_data.py +25 -0
  270. gcore/types/waap/waap_handshake_page_data_param.py +25 -0
  271. gcore/types/waap/waap_insight.py +38 -0
  272. gcore/types/waap/waap_insight_silence.py +28 -0
  273. gcore/types/waap/waap_insight_silence_sort_by.py +9 -0
  274. gcore/types/waap/waap_insight_sort_by.py +20 -0
  275. gcore/types/waap/waap_insight_status.py +7 -0
  276. gcore/types/waap/waap_ip_country_attack.py +16 -0
  277. gcore/types/waap/waap_ip_ddos_info_model.py +23 -0
  278. gcore/types/waap/waap_ip_info.py +57 -0
  279. gcore/types/waap/waap_ip_info_counts.py +16 -0
  280. gcore/types/waap/waap_javascript_disabled_page_data.py +18 -0
  281. gcore/types/waap/waap_javascript_disabled_page_data_param.py +18 -0
  282. gcore/types/waap/waap_network_details.py +17 -0
  283. gcore/types/waap/waap_organization.py +13 -0
  284. gcore/types/waap/waap_page_type.py +9 -0
  285. gcore/types/waap/waap_paginated_custom_page_set.py +22 -0
  286. gcore/types/waap/waap_paginated_ddos_attack.py +22 -0
  287. gcore/types/waap/waap_paginated_ddos_info.py +22 -0
  288. gcore/types/waap/waap_paginated_request_summary.py +22 -0
  289. gcore/types/waap/waap_pattern_matched_tag.py +37 -0
  290. gcore/types/waap/waap_policy_action.py +7 -0
  291. gcore/types/waap/waap_policy_mode.py +10 -0
  292. gcore/types/waap/waap_request_details.py +92 -0
  293. gcore/types/waap/waap_request_organization.py +13 -0
  294. gcore/types/waap/waap_request_summary.py +59 -0
  295. gcore/types/waap/waap_resolution.py +7 -0
  296. gcore/types/waap/waap_rule_action_type.py +7 -0
  297. gcore/types/waap/waap_rule_blocked_requests.py +16 -0
  298. gcore/types/waap/waap_rule_set.py +41 -0
  299. gcore/types/waap/waap_statistic_item.py +18 -0
  300. gcore/types/waap/waap_statistics_series.py +16 -0
  301. gcore/types/waap/waap_tag.py +16 -0
  302. gcore/types/waap/waap_time_series_attack.py +23 -0
  303. gcore/types/waap/waap_top_session.py +24 -0
  304. gcore/types/waap/waap_top_url.py +13 -0
  305. gcore/types/waap/waap_top_user_agent.py +13 -0
  306. gcore/types/waap/waap_traffic_metrics.py +68 -0
  307. gcore/types/waap/waap_traffic_type.py +28 -0
  308. gcore/types/waap/waap_user_agent_details.py +40 -0
  309. {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/METADATA +40 -3
  310. {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/RECORD +312 -149
  311. gcore/types/cloud/baremetal/flavor_list_suitable_params.py +0 -22
  312. gcore/types/cloud/instances/flavor_list_for_resize_params.py +0 -16
  313. gcore/types/cloud/instances/flavor_list_suitable_params.py +0 -56
  314. {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/WHEEL +0 -0
  315. {gcore-0.2.0.dist-info → gcore-0.4.0.dist-info}/licenses/LICENSE +0 -0
@@ -21,7 +21,7 @@ class NetworkDetails(BaseModel):
21
21
  """Task that created this entity"""
22
22
 
23
23
  default: Optional[bool] = None
24
- """True if network has is_default attribute"""
24
+ """True if network has `is_default` attribute"""
25
25
 
26
26
  external: bool
27
27
  """True if the network `router:external` attribute"""
@@ -34,7 +34,7 @@ class NetworkDetails(BaseModel):
34
34
 
35
35
  port_security_enabled: bool
36
36
  """
37
- Indicates port_security_enabled status of all newly created in the network
37
+ Indicates `port_security_enabled` status of all newly created in the network
38
38
  ports.
39
39
  """
40
40
 
@@ -18,6 +18,9 @@ class NetworkListParams(TypedDict, total=False):
18
18
  limit: int
19
19
  """Optional. Limit the number of returned items"""
20
20
 
21
+ name: str
22
+ """Filter networks by name"""
23
+
21
24
  offset: int
22
25
  """Optional.
23
26
 
@@ -31,11 +34,7 @@ class NetworkListParams(TypedDict, total=False):
31
34
  """
32
35
 
33
36
  tag_key: List[str]
34
- """Optional. Filter by tag keys. ?tag_key=key1&tag_key=key2"""
37
+ """Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2"""
35
38
 
36
39
  tag_key_value: str
37
- """Optional.
38
-
39
- Filter by tag key-value pairs. curl -G --data-urlencode "tag_key_value={"key":
40
- "value"}" --url "https://example.com/cloud/v1/resource/1/1"
41
- """
40
+ """Optional. Filter by tag key-value pairs."""
@@ -2,7 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing_extensions import Required, TypedDict
5
+ from typing import Optional
6
+ from typing_extensions import TypedDict
7
+
8
+ from .tag_update_map_param import TagUpdateMapParam
6
9
 
7
10
  __all__ = ["NetworkUpdateParams"]
8
11
 
@@ -14,5 +17,28 @@ class NetworkUpdateParams(TypedDict, total=False):
14
17
  region_id: int
15
18
  """Region ID"""
16
19
 
17
- name: Required[str]
20
+ name: str
18
21
  """Name."""
22
+
23
+ tags: Optional[TagUpdateMapParam]
24
+ """Update key-value tags using JSON Merge Patch semantics (RFC 7386).
25
+
26
+ Provide key-value pairs to add or update tags. Set tag values to `null` to
27
+ remove tags. Unspecified tags remain unchanged. Read-only tags are always
28
+ preserved and cannot be modified. **Examples:**
29
+
30
+ - **Add/update tags:**
31
+ `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
32
+ updates existing ones.
33
+ - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
34
+ - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
35
+ tags are preserved).
36
+ - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
37
+ specified tags.
38
+ - **Mixed operations:**
39
+ `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
40
+ adds/updates 'environment' and '`cost_center`' while removing
41
+ '`deprecated_tag`', preserving other existing tags.
42
+ - **Replace all:** first delete existing tags with null values, then add new
43
+ ones in the same request.
44
+ """
@@ -13,7 +13,7 @@ class RouterListParams(TypedDict, total=False):
13
13
  region_id: int
14
14
 
15
15
  limit: int
16
- """Limit the number of returned limit request entities."""
16
+ """Limit the number of returned routers"""
17
17
 
18
18
  offset: int
19
- """Offset value is used to exclude the first set of records from the result."""
19
+ """Offset value is used to exclude the first set of records from the result"""
@@ -2,11 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable, Optional
5
+ from typing import Dict, List, Iterable, Optional
6
6
  from typing_extensions import Required, TypedDict
7
7
 
8
8
  from ..ip_version import IPVersion
9
- from ..tag_update_map_param import TagUpdateMapParam
10
9
 
11
10
  __all__ = ["SubnetCreateParams", "HostRoute"]
12
11
 
@@ -30,7 +29,7 @@ class SubnetCreateParams(TypedDict, total=False):
30
29
  connect_to_network_router: bool
31
30
  """True if the network's router should get a gateway in this subnet.
32
31
 
33
- Must be explicitly 'false' when gateway_ip is null.
32
+ Must be explicitly 'false' when `gateway_ip` is null.
34
33
  """
35
34
 
36
35
  dns_nameservers: Optional[List[str]]
@@ -60,7 +59,7 @@ class SubnetCreateParams(TypedDict, total=False):
60
59
  find a router created during network creation.
61
60
  """
62
61
 
63
- tags: TagUpdateMapParam
62
+ tags: Dict[str, str]
64
63
  """Key-value tags to associate with the resource.
65
64
 
66
65
  A tag is a key-value pair that can be associated with a resource, enabling
@@ -48,11 +48,7 @@ class SubnetListParams(TypedDict, total=False):
48
48
  """
49
49
 
50
50
  tag_key: List[str]
51
- """Optional. Filter by tag keys. ?tag_key=key1&tag_key=key2"""
51
+ """Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2"""
52
52
 
53
53
  tag_key_value: str
54
- """Optional.
55
-
56
- Filter by tag key-value pairs. curl -G --data-urlencode "tag_key_value={"key":
57
- "value"}" --url "https://example.com/cloud/v1/resource/1/1"
58
- """
54
+ """Optional. Filter by tag key-value pairs."""
@@ -5,6 +5,8 @@ from __future__ import annotations
5
5
  from typing import List, Iterable, Optional
6
6
  from typing_extensions import Required, TypedDict
7
7
 
8
+ from ..tag_update_map_param import TagUpdateMapParam
9
+
8
10
  __all__ = ["SubnetUpdateParams", "HostRoute"]
9
11
 
10
12
 
@@ -35,6 +37,29 @@ class SubnetUpdateParams(TypedDict, total=False):
35
37
  name: Optional[str]
36
38
  """Name"""
37
39
 
40
+ tags: Optional[TagUpdateMapParam]
41
+ """Update key-value tags using JSON Merge Patch semantics (RFC 7386).
42
+
43
+ Provide key-value pairs to add or update tags. Set tag values to `null` to
44
+ remove tags. Unspecified tags remain unchanged. Read-only tags are always
45
+ preserved and cannot be modified. **Examples:**
46
+
47
+ - **Add/update tags:**
48
+ `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
49
+ updates existing ones.
50
+ - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
51
+ - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
52
+ tags are preserved).
53
+ - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
54
+ specified tags.
55
+ - **Mixed operations:**
56
+ `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
57
+ adds/updates 'environment' and '`cost_center`' while removing
58
+ '`deprecated_tag`', preserving other existing tags.
59
+ - **Replace all:** first delete existing tags with null values, then add new
60
+ ones in the same request.
61
+ """
62
+
38
63
 
39
64
  class HostRoute(TypedDict, total=False):
40
65
  destination: Required[str]
@@ -26,7 +26,7 @@ class Region(BaseModel):
26
26
  """AI service API endpoint ID"""
27
27
 
28
28
  available_volume_types: Optional[List[str]] = None
29
- """List of available volume types, 'standard', 'ssd_hiiops', 'cold']."""
29
+ """List of available volume types, 'standard', '`ssd_hiiops`', 'cold']."""
30
30
 
31
31
  coordinates: Optional[Coordinates] = None
32
32
  """Coordinates of the region"""
@@ -67,6 +67,9 @@ class Region(BaseModel):
67
67
  has_basic_vm: bool
68
68
  """Region has basic vm capability"""
69
69
 
70
+ has_dbaas: bool
71
+ """Region has DBAAS service"""
72
+
70
73
  has_k8s: bool
71
74
  """Region has managed kubernetes capability"""
72
75
 
@@ -96,6 +99,3 @@ class Region(BaseModel):
96
99
 
97
100
  zone: Optional[Literal["AMERICAS", "APAC", "EMEA", "RUSSIA_AND_CIS"]] = None
98
101
  """Geographical zone"""
99
-
100
- has_dbaas: Optional[bool] = None
101
- """Region has DBAAS service"""
@@ -12,3 +12,4 @@ from .registry_user_created import RegistryUserCreated as RegistryUserCreated
12
12
  from .registry_artifact_list import RegistryArtifactList as RegistryArtifactList
13
13
  from .registry_repository_list import RegistryRepositoryList as RegistryRepositoryList
14
14
  from .user_create_multiple_params import UserCreateMultipleParams as UserCreateMultipleParams
15
+ from .user_refresh_secret_response import UserRefreshSecretResponse as UserRefreshSecretResponse
@@ -22,11 +22,9 @@ class User(TypedDict, total=False):
22
22
  """User account operating time, days"""
23
23
 
24
24
  name: Required[str]
25
- """A name for the registry user.
26
-
27
- Should be in lowercase, consisting only of numbers and letters,
28
-
29
- with maximum length of 16 characters
25
+ """
26
+ A name for the registry user. Should be in lowercase, consisting only of numbers
27
+ and letters, with maximum length of 16 characters
30
28
  """
31
29
 
32
30
  read_only: bool
@@ -16,11 +16,9 @@ class UserCreateParams(TypedDict, total=False):
16
16
  """User account operating time, days"""
17
17
 
18
18
  name: Required[str]
19
- """A name for the registry user.
20
-
21
- Should be in lowercase, consisting only of numbers and letters,
22
-
23
- with maximum length of 16 characters
19
+ """
20
+ A name for the registry user. Should be in lowercase, consisting only of numbers
21
+ and letters, with maximum length of 16 characters
24
22
  """
25
23
 
26
24
  read_only: bool
@@ -0,0 +1,31 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+
6
+ from ...._models import BaseModel
7
+
8
+ __all__ = ["UserRefreshSecretResponse"]
9
+
10
+
11
+ class UserRefreshSecretResponse(BaseModel):
12
+ id: int
13
+ """User ID"""
14
+
15
+ created_at: datetime
16
+ """User creation date-time"""
17
+
18
+ duration: int
19
+ """User account operating time, days"""
20
+
21
+ expires_at: datetime
22
+ """User operation end date-time"""
23
+
24
+ name: str
25
+ """User name"""
26
+
27
+ read_only: Optional[bool] = None
28
+ """Read-only user"""
29
+
30
+ secret: Optional[str] = None
31
+ """User secret"""
@@ -13,11 +13,9 @@ class RegistryCreateParams(TypedDict, total=False):
13
13
  region_id: int
14
14
 
15
15
  name: Required[str]
16
- """A name for the container registry.
17
-
18
- Should be in lowercase, consisting only of numbers, letters and -,
19
-
20
- with maximum length of 24 characters
16
+ """
17
+ A name for the container registry. Should be in lowercase, consisting only of
18
+ numbers, letters and -, with maximum length of 24 characters
21
19
  """
22
20
 
23
21
  storage_limit: int
@@ -56,7 +56,7 @@ class NewReservedFixedIPAnySubnetSerializer(TypedDict, total=False):
56
56
  """Reserved fixed IP will be allocated in a subnet of this network"""
57
57
 
58
58
  type: Required[Literal["any_subnet"]]
59
- """Must be 'any_subnet'."""
59
+ """Must be '`any_subnet`'."""
60
60
 
61
61
  ip_family: Optional[InterfaceIPFamily]
62
62
  """Which subnets should be selected: IPv4, IPv6 or use dual stack."""
@@ -77,7 +77,7 @@ class NewReservedFixedIPSpecificIPAddressSerializer(TypedDict, total=False):
77
77
  """Reserved fixed IP will be allocated in a subnet of this network"""
78
78
 
79
79
  type: Required[Literal["ip_address"]]
80
- """Must be 'ip_address'."""
80
+ """Must be '`ip_address`'."""
81
81
 
82
82
  is_vip: bool
83
83
  """If reserved fixed IP is a VIP"""
@@ -38,9 +38,9 @@ class ReservedFixedIPListParams(TypedDict, total=False):
38
38
 
39
39
  order_by: str
40
40
  """
41
- Ordering reserved fixed IP list result by name, status, updated_at, created_at
42
- or fixed_ip_address fields of the reserved fixed IP and directions (status.asc),
43
- default is "fixed_ip_address.asc"
41
+ Ordering reserved fixed IP list result by name, status, `updated_at`,
42
+ `created_at` or `fixed_ip_address` fields and directions (status.asc), default
43
+ is "`fixed_ip_address`.asc"
44
44
  """
45
45
 
46
46
  vip_only: bool
@@ -14,17 +14,13 @@ class SecurityGroupListParams(TypedDict, total=False):
14
14
  region_id: int
15
15
 
16
16
  limit: int
17
- """Limit the number of returned limit request entities."""
17
+ """Limit the number of returned security groups"""
18
18
 
19
19
  offset: int
20
- """Offset value is used to exclude the first set of records from the result."""
20
+ """Offset value is used to exclude the first set of records from the result"""
21
21
 
22
22
  tag_key: List[str]
23
23
  """Filter by tag keys."""
24
24
 
25
25
  tag_key_value: str
26
- """Filter by tag key-value pairs.
27
-
28
- Must be a valid JSON string. curl -G --data-urlencode "tag_key_value={"key":
29
- "value"}" --url "http://localhost:1111/v1/securitygroups/1/1"
30
- """
26
+ """Filter by tag key-value pairs. Must be a valid JSON string."""
@@ -5,6 +5,8 @@ from __future__ import annotations
5
5
  from typing import Iterable, Optional
6
6
  from typing_extensions import Literal, Required, TypedDict
7
7
 
8
+ from .tag_update_map_param import TagUpdateMapParam
9
+
8
10
  __all__ = ["SecurityGroupUpdateParams", "ChangedRule"]
9
11
 
10
12
 
@@ -19,6 +21,29 @@ class SecurityGroupUpdateParams(TypedDict, total=False):
19
21
  name: str
20
22
  """Name"""
21
23
 
24
+ tags: Optional[TagUpdateMapParam]
25
+ """Update key-value tags using JSON Merge Patch semantics (RFC 7386).
26
+
27
+ Provide key-value pairs to add or update tags. Set tag values to `null` to
28
+ remove tags. Unspecified tags remain unchanged. Read-only tags are always
29
+ preserved and cannot be modified. **Examples:**
30
+
31
+ - **Add/update tags:**
32
+ `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
33
+ updates existing ones.
34
+ - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
35
+ - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
36
+ tags are preserved).
37
+ - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
38
+ specified tags.
39
+ - **Mixed operations:**
40
+ `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
41
+ adds/updates 'environment' and '`cost_center`' while removing
42
+ '`deprecated_tag`', preserving other existing tags.
43
+ - **Replace all:** first delete existing tags with null values, then add new
44
+ ones in the same request.
45
+ """
46
+
22
47
 
23
48
  class ChangedRule(TypedDict, total=False):
24
49
  action: Required[Literal["create", "delete"]]
@@ -16,7 +16,7 @@ class SessionPersistence(BaseModel):
16
16
  """Should be set if app cookie or http cookie is used"""
17
17
 
18
18
  persistence_granularity: Optional[str] = None
19
- """Subnet mask if source_ip is used. For UDP ports only"""
19
+ """Subnet mask if `source_ip` is used. For UDP ports only"""
20
20
 
21
21
  persistence_timeout: Optional[int] = None
22
22
  """Session persistence timeout. For UDP ports only"""
@@ -26,12 +26,9 @@ class SSHKeyCreated(BaseModel):
26
26
  """The private part of an SSH key is the confidential portion of the key pair.
27
27
 
28
28
  It should never be shared or exposed. This key is used to prove your identity
29
- when connecting to a server.
30
-
31
- If you omit the `public_key`, the platform will generate a key for you. The
32
- private_key will be returned **once** in the API response. Be sure to save it
33
- securely, as it cannot be retrieved again later.
34
-
29
+ when connecting to a server. If you omit the `public_key`, the platform will
30
+ generate a key for you. The `private_key` will be returned **once** in the API
31
+ response. Be sure to save it securely, as it cannot be retrieved again later.
35
32
  Best practice: Save the private key to a secure location on your machine (e.g.,
36
33
  `~/.ssh/id_ed25519`) and set the file permissions to be readable only by you.
37
34
  """
@@ -2,9 +2,9 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict
5
+ from typing import Dict, Optional
6
6
  from typing_extensions import TypeAlias
7
7
 
8
8
  __all__ = ["TagUpdateMapParam"]
9
9
 
10
- TagUpdateMapParam: TypeAlias = Dict[str, str]
10
+ TagUpdateMapParam: TypeAlias = Dict[str, Optional[str]]
gcore/types/cloud/task.py CHANGED
@@ -129,7 +129,7 @@ class Task(BaseModel):
129
129
  """If task was acknowledged, this field stores acknowledge timestamp"""
130
130
 
131
131
  acknowledged_by: Optional[int] = None
132
- """If task was acknowledged, this field stores user_id of the person"""
132
+ """If task was acknowledged, this field stores `user_id` of the person"""
133
133
 
134
134
  client_id: Optional[int] = None
135
135
  """The client ID"""
@@ -15,7 +15,7 @@ class TaskListParams(TypedDict, total=False):
15
15
  from_timestamp: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
16
16
  """ISO formatted datetime string.
17
17
 
18
- Filter the tasks by creation date greater than or equal to from_timestamp
18
+ Filter the tasks by creation date greater than or equal to `from_timestamp`
19
19
  """
20
20
 
21
21
  is_acknowledged: Optional[bool]
@@ -46,7 +46,7 @@ class TaskListParams(TypedDict, total=False):
46
46
  """
47
47
 
48
48
  sorting: Literal["asc", "desc"]
49
- """(DEPRECATED Use 'order_by' instead) Sorting by creation date.
49
+ """(DEPRECATED Use '`order_by`' instead) Sorting by creation date.
50
50
 
51
51
  Oldest first, or most recent first
52
52
  """
@@ -59,52 +59,56 @@ class TaskListParams(TypedDict, total=False):
59
59
 
60
60
  task_type: Optional[str]
61
61
  """
62
- Filter the tasks by their type one of ['activate_ddos_profile',
63
- 'attach_bm_to_reserved_fixed_ip', 'attach_vm_interface',
64
- 'attach_vm_to_reserved_fixed_ip', 'attach_volume', 'create_ai_cluster_gpu',
65
- 'create_bm', 'create_caas_container', 'create_dbaas_postgres_cluster',
66
- 'create_ddos_profile', 'create_faas_function', 'create_faas_namespace',
67
- 'create_fip', 'create_gpu_virtual_cluster', 'create_image',
68
- 'create_inference_instance', 'create_inference_instance_key',
69
- 'create_k8s_cluster_pool_v2', 'create_k8s_cluster_v2', 'create_l7policy',
70
- 'create_l7rule', 'create_lblistener', 'create_lbmember', 'create_lbpool',
71
- 'create_lbpool_health_monitor', 'create_loadbalancer', 'create_network',
72
- 'create_reserved_fixed_ip', 'create_router', 'create_secret',
73
- 'create_servergroup', 'create_sfs', 'create_snapshot', 'create_subnet',
74
- 'create_vm', 'create_volume', 'deactivate_ddos_profile',
75
- 'delete_ai_cluster_gpu', 'delete_caas_container',
76
- 'delete_dbaas_postgres_cluster', 'delete_ddos_profile', 'delete_faas_function',
77
- 'delete_faas_namespace', 'delete_fip', 'delete_gpu_virtual_cluster',
78
- 'delete_gpu_virtual_server', 'delete_image', 'delete_inference_instance',
79
- 'delete_k8s_cluster_pool_v2', 'delete_k8s_cluster_v2', 'delete_l7policy',
80
- 'delete_l7rule', 'delete_lblistener', 'delete_lbmember', 'delete_lbmetadata',
81
- 'delete_lbpool', 'delete_loadbalancer', 'delete_network',
82
- 'delete_reserved_fixed_ip', 'delete_router', 'delete_secret',
83
- 'delete_servergroup', 'delete_sfs', 'delete_snapshot', 'delete_subnet',
84
- 'delete_vm', 'delete_volume', 'detach_vm_interface', 'detach_volume',
85
- 'download_image', 'downscale_ai_cluster_gpu', 'downscale_gpu_virtual_cluster',
86
- 'extend_sfs', 'extend_volume', 'failover_loadbalancer',
87
- 'hard_reboot_gpu_baremetal_server', 'hard_reboot_gpu_virtual_cluster',
88
- 'hard_reboot_gpu_virtual_server', 'hard_reboot_vm', 'patch_caas_container',
89
- 'patch_dbaas_postgres_cluster', 'patch_faas_function', 'patch_faas_namespace',
90
- 'patch_lblistener', 'patch_lbpool', 'put_into_server_group', 'put_l7policy',
91
- 'put_l7rule', 'rebuild_bm', 'rebuild_gpu_baremetal_node',
92
- 'remove_from_server_group', 'replace_lbmetadata', 'resize_k8s_cluster_v2',
93
- 'resize_loadbalancer', 'resize_vm', 'resume_vm', 'revert_volume',
94
- 'soft_reboot_gpu_baremetal_server', 'soft_reboot_gpu_virtual_cluster',
95
- 'soft_reboot_gpu_virtual_server', 'soft_reboot_vm',
96
- 'start_gpu_baremetal_server', 'start_gpu_virtual_cluster',
97
- 'start_gpu_virtual_server', 'start_vm', 'stop_gpu_baremetal_server',
98
- 'stop_gpu_virtual_cluster', 'stop_gpu_virtual_server', 'stop_vm', 'suspend_vm',
99
- 'sync_private_flavors', 'update_ddos_profile', 'update_inference_instance',
100
- 'update_inference_instance_key', 'update_k8s_cluster_v2', 'update_lbmetadata',
101
- 'update_port_allowed_address_pairs', 'update_tags_gpu_virtual_cluster',
102
- 'upgrade_k8s_cluster_v2', 'upscale_ai_cluster_gpu',
103
- 'upscale_gpu_virtual_cluster']
62
+ Filter the tasks by their type one of ['`activate_ddos_profile`',
63
+ '`attach_bm_to_reserved_fixed_ip`', '`attach_vm_interface`',
64
+ '`attach_vm_to_reserved_fixed_ip`', '`attach_volume`',
65
+ '`create_ai_cluster_gpu`', '`create_bm`', '`create_caas_container`',
66
+ '`create_dbaas_postgres_cluster`', '`create_ddos_profile`',
67
+ '`create_faas_function`', '`create_faas_namespace`', '`create_fip`',
68
+ '`create_gpu_virtual_cluster`', '`create_image`', '`create_inference_instance`',
69
+ '`create_inference_instance_key`', '`create_k8s_cluster_pool_v2`',
70
+ '`create_k8s_cluster_v2`', '`create_l7policy`', '`create_l7rule`',
71
+ '`create_lblistener`', '`create_lbmember`', '`create_lbpool`',
72
+ '`create_lbpool_health_monitor`', '`create_loadbalancer`', '`create_network`',
73
+ '`create_reserved_fixed_ip`', '`create_router`', '`create_secret`',
74
+ '`create_servergroup`', '`create_sfs`', '`create_snapshot`', '`create_subnet`',
75
+ '`create_vm`', '`create_volume`', '`deactivate_ddos_profile`',
76
+ '`delete_ai_cluster_gpu`', '`delete_caas_container`',
77
+ '`delete_dbaas_postgres_cluster`', '`delete_ddos_profile`',
78
+ '`delete_faas_function`', '`delete_faas_namespace`', '`delete_fip`',
79
+ '`delete_gpu_virtual_cluster`', '`delete_gpu_virtual_server`', '`delete_image`',
80
+ '`delete_inference_instance`', '`delete_k8s_cluster_pool_v2`',
81
+ '`delete_k8s_cluster_v2`', '`delete_l7policy`', '`delete_l7rule`',
82
+ '`delete_lblistener`', '`delete_lbmember`', '`delete_lbmetadata`',
83
+ '`delete_lbpool`', '`delete_loadbalancer`', '`delete_network`',
84
+ '`delete_reserved_fixed_ip`', '`delete_router`', '`delete_secret`',
85
+ '`delete_servergroup`', '`delete_sfs`', '`delete_snapshot`', '`delete_subnet`',
86
+ '`delete_vm`', '`delete_volume`', '`detach_vm_interface`', '`detach_volume`',
87
+ '`download_image`', '`downscale_ai_cluster_gpu`',
88
+ '`downscale_gpu_virtual_cluster`', '`extend_sfs`', '`extend_volume`',
89
+ '`failover_loadbalancer`', '`hard_reboot_gpu_baremetal_server`',
90
+ '`hard_reboot_gpu_virtual_cluster`', '`hard_reboot_gpu_virtual_server`',
91
+ '`hard_reboot_vm`', '`patch_caas_container`', '`patch_dbaas_postgres_cluster`',
92
+ '`patch_faas_function`', '`patch_faas_namespace`', '`patch_lblistener`',
93
+ '`patch_lbpool`', '`put_into_server_group`', '`put_l7policy`', '`put_l7rule`',
94
+ '`rebuild_bm`', '`rebuild_gpu_baremetal_node`', '`remove_from_server_group`',
95
+ '`replace_lbmetadata`', '`resize_k8s_cluster_v2`', '`resize_loadbalancer`',
96
+ '`resize_vm`', '`resume_vm`', '`revert_volume`',
97
+ '`soft_reboot_gpu_baremetal_server`', '`soft_reboot_gpu_virtual_cluster`',
98
+ '`soft_reboot_gpu_virtual_server`', '`soft_reboot_vm`',
99
+ '`start_gpu_baremetal_server`', '`start_gpu_virtual_cluster`',
100
+ '`start_gpu_virtual_server`', '`start_vm`', '`stop_gpu_baremetal_server`',
101
+ '`stop_gpu_virtual_cluster`', '`stop_gpu_virtual_server`', '`stop_vm`',
102
+ '`suspend_vm`', '`sync_private_flavors`', '`update_ddos_profile`',
103
+ '`update_inference_instance`', '`update_inference_instance_key`',
104
+ '`update_k8s_cluster_v2`', '`update_lbmetadata`',
105
+ '`update_port_allowed_address_pairs`', '`update_tags_gpu_virtual_cluster`',
106
+ '`upgrade_k8s_cluster_v2`', '`upscale_ai_cluster_gpu`',
107
+ '`upscale_gpu_virtual_cluster`']
104
108
  """
105
109
 
106
110
  to_timestamp: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
107
111
  """ISO formatted datetime string.
108
112
 
109
- Filter the tasks by creation date less than or equal to to_timestamp
113
+ Filter the tasks by creation date less than or equal to `to_timestamp`
110
114
  """
@@ -16,7 +16,7 @@ class RoleAssignmentCreateParams(TypedDict, total=False):
16
16
  """User ID"""
17
17
 
18
18
  client_id: Optional[int]
19
- """Client ID. Required if project_id is specified"""
19
+ """Client ID. Required if `project_id` is specified"""
20
20
 
21
21
  project_id: Optional[int]
22
22
  """Project ID"""
@@ -16,7 +16,7 @@ class RoleAssignmentUpdateParams(TypedDict, total=False):
16
16
  """User ID"""
17
17
 
18
18
  client_id: Optional[int]
19
- """Client ID. Required if project_id is specified"""
19
+ """Client ID. Required if `project_id` is specified"""
20
20
 
21
21
  project_id: Optional[int]
22
22
  """Project ID"""
@@ -37,11 +37,11 @@ class CreateVolumeFromImageSerializer(TypedDict, total=False):
37
37
  attachment_tag: str
38
38
  """Block device attachment tag (not exposed in the user tags).
39
39
 
40
- Only used in conjunction with instance_id_to_attach_to
40
+ Only used in conjunction with `instance_id_to_attach_to`
41
41
  """
42
42
 
43
43
  instance_id_to_attach_to: str
44
- """instance_id to attach newly-created volume to"""
44
+ """`instance_id` to attach newly-created volume to"""
45
45
 
46
46
  lifecycle_policy_ids: Iterable[int]
47
47
  """
@@ -86,11 +86,11 @@ class CreateVolumeFromSnapshotSerializer(TypedDict, total=False):
86
86
  attachment_tag: str
87
87
  """Block device attachment tag (not exposed in the user tags).
88
88
 
89
- Only used in conjunction with instance_id_to_attach_to
89
+ Only used in conjunction with `instance_id_to_attach_to`
90
90
  """
91
91
 
92
92
  instance_id_to_attach_to: str
93
- """instance_id to attach newly-created volume to"""
93
+ """`instance_id` to attach newly-created volume to"""
94
94
 
95
95
  lifecycle_policy_ids: Iterable[int]
96
96
  """
@@ -141,11 +141,11 @@ class CreateNewVolumeSerializer(TypedDict, total=False):
141
141
  attachment_tag: str
142
142
  """Block device attachment tag (not exposed in the user tags).
143
143
 
144
- Only used in conjunction with instance_id_to_attach_to
144
+ Only used in conjunction with `instance_id_to_attach_to`
145
145
  """
146
146
 
147
147
  instance_id_to_attach_to: str
148
- """instance_id to attach newly-created volume to"""
148
+ """`instance_id` to attach newly-created volume to"""
149
149
 
150
150
  lifecycle_policy_ids: Iterable[int]
151
151
  """