gcore 0.16.0__py3-none-any.whl → 0.23.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 (220) hide show
  1. gcore/_client.py +16 -0
  2. gcore/_models.py +37 -15
  3. gcore/_streaming.py +12 -12
  4. gcore/_utils/_sync.py +3 -31
  5. gcore/_utils/_utils.py +1 -1
  6. gcore/_version.py +1 -1
  7. gcore/resources/cdn/audit_log.py +4 -4
  8. gcore/resources/cdn/cdn.py +120 -21
  9. gcore/resources/cdn/ip_ranges.py +97 -5
  10. gcore/resources/cdn/{logs/logs.py → logs.py} +9 -9
  11. gcore/resources/cdn/resources/resources.py +20 -20
  12. gcore/resources/cdn/statistics.py +56 -58
  13. gcore/resources/cloud/__init__.py +40 -12
  14. gcore/resources/cloud/audit_logs.py +20 -0
  15. gcore/resources/cloud/baremetal/servers.py +48 -14
  16. gcore/resources/cloud/billing_reservations.py +2 -2
  17. gcore/resources/cloud/cloud.py +100 -18
  18. gcore/resources/cloud/databases/__init__.py +33 -0
  19. gcore/resources/cloud/databases/databases.py +102 -0
  20. gcore/resources/cloud/databases/postgres/__init__.py +61 -0
  21. gcore/resources/cloud/databases/postgres/clusters/__init__.py +33 -0
  22. gcore/resources/cloud/databases/postgres/clusters/clusters.py +716 -0
  23. gcore/resources/cloud/databases/postgres/clusters/user_credentials.py +281 -0
  24. gcore/resources/cloud/databases/postgres/configurations.py +169 -0
  25. gcore/resources/cloud/databases/postgres/custom_configurations.py +197 -0
  26. gcore/resources/cloud/databases/postgres/postgres.py +166 -0
  27. gcore/resources/cloud/file_shares/file_shares.py +154 -49
  28. gcore/resources/cloud/floating_ips.py +42 -10
  29. gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +70 -10
  30. gcore/resources/cloud/gpu_baremetal_clusters/images.py +40 -6
  31. gcore/resources/cloud/gpu_baremetal_clusters/servers.py +16 -0
  32. gcore/resources/cloud/gpu_virtual_clusters/__init__.py +89 -0
  33. gcore/resources/cloud/gpu_virtual_clusters/flavors.py +211 -0
  34. gcore/resources/cloud/gpu_virtual_clusters/gpu_virtual_clusters.py +1551 -0
  35. gcore/resources/cloud/gpu_virtual_clusters/images.py +582 -0
  36. gcore/resources/cloud/gpu_virtual_clusters/interfaces.py +187 -0
  37. gcore/resources/cloud/gpu_virtual_clusters/servers.py +506 -0
  38. gcore/resources/cloud/gpu_virtual_clusters/volumes.py +187 -0
  39. gcore/resources/cloud/inference/deployments/deployments.py +52 -4
  40. gcore/resources/cloud/instances/images.py +72 -18
  41. gcore/resources/cloud/instances/instances.py +110 -18
  42. gcore/resources/cloud/instances/interfaces.py +12 -0
  43. gcore/resources/cloud/k8s/__init__.py +12 -12
  44. gcore/resources/cloud/k8s/clusters/clusters.py +25 -25
  45. gcore/resources/cloud/k8s/clusters/pools/pools.py +14 -14
  46. gcore/resources/cloud/k8s/k8s.py +24 -24
  47. gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +1420 -218
  48. gcore/resources/cloud/load_balancers/l7_policies/rules.py +134 -22
  49. gcore/resources/cloud/load_balancers/listeners.py +77 -6
  50. gcore/resources/cloud/load_balancers/load_balancers.py +92 -14
  51. gcore/resources/cloud/load_balancers/pools/pools.py +52 -4
  52. gcore/resources/cloud/networks/networks.py +30 -10
  53. gcore/resources/cloud/networks/subnets.py +26 -10
  54. gcore/resources/cloud/placement_groups.py +8 -0
  55. gcore/resources/cloud/projects.py +99 -119
  56. gcore/resources/cloud/quotas/requests.py +0 -8
  57. gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +18 -0
  58. gcore/resources/cloud/secrets.py +16 -0
  59. gcore/resources/cloud/security_groups/security_groups.py +38 -12
  60. gcore/resources/cloud/ssh_keys.py +10 -0
  61. gcore/resources/cloud/tasks.py +22 -7
  62. gcore/resources/cloud/volumes.py +65 -23
  63. gcore/resources/dns/zones/rrsets.py +10 -10
  64. gcore/resources/dns/zones/zones.py +2 -2
  65. gcore/resources/security/bgp_announces.py +0 -4
  66. gcore/resources/security/profiles.py +31 -7
  67. gcore/resources/storage/credentials.py +0 -28
  68. gcore/resources/storage/storage.py +2 -2
  69. gcore/types/cdn/__init__.py +5 -0
  70. gcore/types/cdn/alibaba_regions.py +22 -0
  71. gcore/types/cdn/audit_log_list_params.py +2 -2
  72. gcore/types/cdn/aws_regions.py +22 -0
  73. gcore/types/cdn/cdn_list_purge_statuses_response.py +10 -0
  74. gcore/types/cdn/cdn_resource.py +17 -12
  75. gcore/types/cdn/ip_range_list_ips_params.py +19 -0
  76. gcore/types/cdn/ip_range_list_params.py +19 -0
  77. gcore/types/cdn/resource_create_params.py +17 -12
  78. gcore/types/cdn/resource_purge_params.py +4 -4
  79. gcore/types/cdn/resource_replace_params.py +17 -12
  80. gcore/types/cdn/resource_update_params.py +17 -12
  81. gcore/types/cdn/resource_usage_stats.py +16 -15
  82. gcore/types/cdn/resources/cdn_resource_rule.py +15 -10
  83. gcore/types/cdn/resources/rule_create_params.py +15 -10
  84. gcore/types/cdn/resources/rule_replace_params.py +15 -10
  85. gcore/types/cdn/resources/rule_update_params.py +15 -10
  86. gcore/types/cdn/rule_template.py +15 -10
  87. gcore/types/cdn/rule_template_create_params.py +15 -10
  88. gcore/types/cdn/rule_template_replace_params.py +15 -10
  89. gcore/types/cdn/rule_template_update_params.py +15 -10
  90. gcore/types/cdn/statistic_get_logs_usage_aggregated_params.py +4 -1
  91. gcore/types/cdn/statistic_get_logs_usage_series_params.py +5 -12
  92. gcore/types/cdn/statistic_get_resource_usage_aggregated_params.py +10 -21
  93. gcore/types/cdn/statistic_get_resource_usage_series_params.py +6 -1
  94. gcore/types/cdn/statistic_get_shield_usage_aggregated_params.py +5 -2
  95. gcore/types/cdn/statistic_get_shield_usage_series_params.py +3 -0
  96. gcore/types/cloud/__init__.py +9 -3
  97. gcore/types/cloud/audit_log_entry.py +9 -3
  98. gcore/types/cloud/audit_log_list_params.py +12 -0
  99. gcore/types/cloud/baremetal/server_create_params.py +7 -7
  100. gcore/types/cloud/baremetal_flavor.py +0 -6
  101. gcore/types/cloud/billing_reservation_list_params.py +1 -1
  102. gcore/types/cloud/blackhole_port.py +4 -1
  103. gcore/types/cloud/databases/postgres/__init__.py +12 -0
  104. gcore/types/cloud/databases/postgres/cluster_create_params.py +108 -0
  105. gcore/types/cloud/databases/postgres/cluster_list_params.py +19 -0
  106. gcore/types/cloud/databases/postgres/cluster_update_params.py +102 -0
  107. gcore/types/cloud/databases/postgres/clusters/__init__.py +5 -0
  108. gcore/types/cloud/databases/postgres/clusters/postgres_user_credentials.py +13 -0
  109. gcore/types/cloud/databases/postgres/custom_configuration_validate_params.py +19 -0
  110. gcore/types/cloud/databases/postgres/pg_conf_validation.py +15 -0
  111. gcore/types/cloud/databases/postgres/postgres_cluster.py +118 -0
  112. gcore/types/cloud/databases/postgres/postgres_cluster_short.py +22 -0
  113. gcore/types/cloud/databases/postgres/postgres_configuration.py +31 -0
  114. gcore/types/cloud/file_share_create_params.py +8 -8
  115. gcore/types/cloud/file_share_update_params.py +7 -2
  116. gcore/types/cloud/floating_ip.py +5 -1
  117. gcore/types/cloud/floating_ip_create_params.py +4 -4
  118. gcore/types/cloud/floating_ip_detailed.py +5 -1
  119. gcore/types/cloud/floating_ip_list_params.py +8 -0
  120. gcore/types/cloud/floating_ip_update_params.py +7 -2
  121. gcore/types/cloud/gpu_baremetal_cluster.py +18 -3
  122. gcore/types/cloud/gpu_baremetal_cluster_action_params.py +7 -2
  123. gcore/types/cloud/gpu_baremetal_cluster_create_params.py +16 -4
  124. gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_cluster_server.py +5 -2
  125. gcore/types/cloud/gpu_baremetal_clusters/image_upload_params.py +4 -4
  126. gcore/types/cloud/gpu_image.py +9 -0
  127. gcore/types/cloud/gpu_virtual_cluster.py +189 -0
  128. gcore/types/cloud/gpu_virtual_cluster_action_params.py +127 -0
  129. gcore/types/cloud/gpu_virtual_cluster_create_params.py +213 -0
  130. gcore/types/cloud/gpu_virtual_cluster_delete_params.py +41 -0
  131. gcore/types/cloud/gpu_virtual_cluster_list_params.py +21 -0
  132. gcore/types/cloud/gpu_virtual_cluster_update_params.py +18 -0
  133. gcore/types/cloud/gpu_virtual_clusters/__init__.py +16 -0
  134. gcore/types/cloud/gpu_virtual_clusters/flavor_list_params.py +21 -0
  135. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_server.py +77 -0
  136. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_server_list.py +16 -0
  137. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_volume.py +64 -0
  138. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_cluster_volume_list.py +16 -0
  139. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_flavor.py +155 -0
  140. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_flavor_list.py +16 -0
  141. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_interface.py +190 -0
  142. gcore/types/cloud/gpu_virtual_clusters/gpu_virtual_interface_list.py +16 -0
  143. gcore/types/cloud/gpu_virtual_clusters/image_upload_params.py +56 -0
  144. gcore/types/cloud/gpu_virtual_clusters/server_delete_params.py +44 -0
  145. gcore/types/cloud/gpu_virtual_clusters/server_list_params.py +75 -0
  146. gcore/types/cloud/image.py +9 -0
  147. gcore/types/cloud/inference/deployment_create_params.py +1 -1
  148. gcore/types/cloud/inference/deployment_update_params.py +1 -1
  149. gcore/types/cloud/inference/inference_deployment.py +1 -1
  150. gcore/types/cloud/instance_create_params.py +27 -27
  151. gcore/types/cloud/instance_update_params.py +7 -2
  152. gcore/types/cloud/instances/image_create_from_volume_params.py +4 -4
  153. gcore/types/cloud/instances/image_update_params.py +4 -4
  154. gcore/types/cloud/instances/image_upload_params.py +4 -4
  155. gcore/types/cloud/k8s/__init__.py +4 -4
  156. gcore/types/cloud/k8s/cluster_update_params.py +5 -5
  157. gcore/types/cloud/k8s/clusters/__init__.py +2 -2
  158. gcore/types/cloud/k8s/clusters/k8s_cluster_pool.py +2 -2
  159. gcore/types/cloud/k8s/clusters/k8s_cluster_pool_list.py +4 -4
  160. gcore/types/cloud/k8s/k8s_cluster.py +4 -4
  161. gcore/types/cloud/k8s/k8s_cluster_certificate.py +2 -2
  162. gcore/types/cloud/k8s/k8s_cluster_kubeconfig.py +14 -2
  163. gcore/types/cloud/k8s/k8s_cluster_list.py +4 -4
  164. gcore/types/cloud/k8s_cluster_version.py +2 -2
  165. gcore/types/cloud/k8s_cluster_version_list.py +4 -4
  166. gcore/types/cloud/load_balancer_create_params.py +14 -8
  167. gcore/types/cloud/load_balancer_flavor_detail.py +2 -2
  168. gcore/types/cloud/load_balancer_l7_policy.py +29 -16
  169. gcore/types/cloud/load_balancer_l7_policy_list.py +3 -3
  170. gcore/types/cloud/load_balancer_l7_rule.py +14 -23
  171. gcore/types/cloud/load_balancer_l7_rule_list.py +3 -3
  172. gcore/types/cloud/load_balancer_listener_detail.py +2 -2
  173. gcore/types/cloud/load_balancer_update_params.py +7 -2
  174. gcore/types/cloud/load_balancers/__init__.py +1 -0
  175. gcore/types/cloud/load_balancers/l7_policies/rule_create_params.py +5 -10
  176. gcore/types/cloud/load_balancers/l7_policies/rule_replace_params.py +7 -11
  177. gcore/types/cloud/load_balancers/l7_policy_create_params.py +102 -18
  178. gcore/types/cloud/load_balancers/l7_policy_replace_params.py +94 -16
  179. gcore/types/cloud/load_balancers/listener_create_params.py +4 -1
  180. gcore/types/cloud/load_balancers/listener_delete_params.py +18 -0
  181. gcore/types/cloud/load_balancers/listener_update_params.py +4 -1
  182. gcore/types/cloud/load_balancers/pool_create_params.py +1 -1
  183. gcore/types/cloud/network_create_params.py +4 -4
  184. gcore/types/cloud/network_update_params.py +7 -2
  185. gcore/types/cloud/networks/subnet_create_params.py +4 -4
  186. gcore/types/cloud/networks/subnet_update_params.py +7 -2
  187. gcore/types/cloud/project_create_params.py +0 -6
  188. gcore/types/cloud/{project_replace_params.py → project_update_params.py} +2 -2
  189. gcore/types/cloud/quotas/request_create_params.py +0 -3
  190. gcore/types/cloud/region.py +3 -3
  191. gcore/types/cloud/security_group.py +8 -1
  192. gcore/types/cloud/security_group_create_params.py +7 -5
  193. gcore/types/cloud/security_group_list_params.py +6 -4
  194. gcore/types/cloud/security_group_update_params.py +7 -2
  195. gcore/types/cloud/ssh_key_list_params.py +7 -0
  196. gcore/types/cloud/tag.py +2 -2
  197. gcore/types/cloud/task_id_list.py +3 -3
  198. gcore/types/cloud/volume_create_params.py +12 -12
  199. gcore/types/cloud/volume_update_params.py +7 -2
  200. gcore/types/dns/zone_list_params.py +1 -1
  201. gcore/types/iam/api_token_create.py +70 -1
  202. gcore/types/security/bgp_announce_list_params.py +0 -2
  203. gcore/types/security/client_profile.py +1 -0
  204. gcore/types/security/profile_create_params.py +4 -2
  205. gcore/types/security/profile_recreate_params.py +4 -2
  206. gcore/types/security/profile_replace_params.py +4 -2
  207. gcore/types/storage/credential_recreate_params.py +0 -17
  208. gcore/types/storage/storage.py +1 -1
  209. gcore/types/storage/storage_create_params.py +1 -1
  210. gcore/types/streaming/stream.py +3 -2
  211. gcore/types/streaming/video.py +1 -1
  212. gcore/types/waap/domains/custom_rule_create_params.py +1 -1
  213. gcore/types/waap/domains/custom_rule_update_params.py +1 -1
  214. gcore/types/waap/domains/waap_custom_rule.py +1 -1
  215. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/METADATA +14 -14
  216. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/RECORD +219 -168
  217. gcore/resources/cdn/logs/__init__.py +0 -19
  218. /gcore/types/{cdn/logs → cloud/databases}/__init__.py +0 -0
  219. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/WHEEL +0 -0
  220. {gcore-0.16.0.dist-info → gcore-0.23.0.dist-info}/licenses/LICENSE +0 -0
@@ -18,6 +18,7 @@ from ..._response import (
18
18
  )
19
19
  from ...pagination import SyncOffsetPage, AsyncOffsetPage
20
20
  from ...types.cloud import (
21
+ FloatingIPStatus,
21
22
  floating_ip_list_params,
22
23
  floating_ip_assign_params,
23
24
  floating_ip_create_params,
@@ -26,6 +27,7 @@ from ...types.cloud import (
26
27
  from ..._base_client import AsyncPaginator, make_request_options
27
28
  from ...types.cloud.floating_ip import FloatingIP
28
29
  from ...types.cloud.task_id_list import TaskIDList
30
+ from ...types.cloud.floating_ip_status import FloatingIPStatus
29
31
  from ...types.cloud.floating_ip_detailed import FloatingIPDetailed
30
32
  from ...types.cloud.tag_update_map_param import TagUpdateMapParam
31
33
 
@@ -88,9 +90,10 @@ class FloatingIPsResource(SyncAPIResource):
88
90
 
89
91
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
90
92
  can be associated with a resource, enabling efficient filtering and grouping for
91
- better organization and management. Some tags are read-only and cannot be
92
- modified by the user. Tags are also integrated with cost reports, allowing cost
93
- data to be filtered based on tag keys or values.
93
+ better organization and management. Both tag keys and values have a maximum
94
+ length of 255 characters. Some tags are read-only and cannot be modified by the
95
+ user. Tags are also integrated with cost reports, allowing cost data to be
96
+ filtered based on tag keys or values.
94
97
 
95
98
  extra_headers: Send extra headers
96
99
 
@@ -154,15 +157,20 @@ class FloatingIPsResource(SyncAPIResource):
154
157
  - **Add/update tags:**
155
158
  `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
156
159
  updates existing ones.
157
- - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
160
+
161
+ - **Delete tags:** `{'tags': {'old_tag': null}}` removes specific tags.
162
+
158
163
  - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
159
164
  tags are preserved).
165
+
160
166
  - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
161
167
  specified tags.
168
+
162
169
  - **Mixed operations:**
163
- `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
170
+ `{'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}}`
164
171
  adds/updates 'environment' and '`cost_center`' while removing
165
172
  '`deprecated_tag`', preserving other existing tags.
173
+
166
174
  - **Replace all:** first delete existing tags with null values, then add new
167
175
  ones in the same request.
168
176
 
@@ -196,6 +204,7 @@ class FloatingIPsResource(SyncAPIResource):
196
204
  region_id: int | None = None,
197
205
  limit: int | Omit = omit,
198
206
  offset: int | Omit = omit,
207
+ status: FloatingIPStatus | Omit = omit,
199
208
  tag_key: SequenceNotStr[str] | Omit = omit,
200
209
  tag_key_value: str | Omit = omit,
201
210
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -218,6 +227,9 @@ class FloatingIPsResource(SyncAPIResource):
218
227
  offset: Optional. Offset value is used to exclude the first set of records from the
219
228
  result
220
229
 
230
+ status: Filter by floating IP status. DOWN - unassigned (available). ACTIVE - attached
231
+ to a port (in use). ERROR - error state.
232
+
221
233
  tag_key: Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2
222
234
 
223
235
  tag_key_value: Optional. Filter by tag key-value pairs.
@@ -246,6 +258,7 @@ class FloatingIPsResource(SyncAPIResource):
246
258
  {
247
259
  "limit": limit,
248
260
  "offset": offset,
261
+ "status": status,
249
262
  "tag_key": tag_key,
250
263
  "tag_key_value": tag_key_value,
251
264
  },
@@ -445,6 +458,7 @@ class FloatingIPsResource(SyncAPIResource):
445
458
  port_id: Optional[str] | Omit = omit,
446
459
  tags: Dict[str, str] | Omit = omit,
447
460
  polling_interval_seconds: int | Omit = omit,
461
+ polling_timeout_seconds: int | Omit = omit,
448
462
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
449
463
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
450
464
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -472,6 +486,7 @@ class FloatingIPsResource(SyncAPIResource):
472
486
  task_id=response.tasks[0],
473
487
  extra_headers=extra_headers,
474
488
  polling_interval_seconds=polling_interval_seconds,
489
+ polling_timeout_seconds=polling_timeout_seconds,
475
490
  )
476
491
  if task.created_resources is None or task.created_resources.floatingips is None:
477
492
  raise ValueError("Task completed but created_resources or floatingips is missing")
@@ -493,6 +508,7 @@ class FloatingIPsResource(SyncAPIResource):
493
508
  project_id: int | None = None,
494
509
  region_id: int | None = None,
495
510
  polling_interval_seconds: int | Omit = omit,
511
+ polling_timeout_seconds: int | Omit = omit,
496
512
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
497
513
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
498
514
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -518,6 +534,7 @@ class FloatingIPsResource(SyncAPIResource):
518
534
  task_id=response.tasks[0],
519
535
  extra_headers=extra_headers,
520
536
  polling_interval_seconds=polling_interval_seconds,
537
+ polling_timeout_seconds=polling_timeout_seconds,
521
538
  )
522
539
 
523
540
 
@@ -577,9 +594,10 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
577
594
 
578
595
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
579
596
  can be associated with a resource, enabling efficient filtering and grouping for
580
- better organization and management. Some tags are read-only and cannot be
581
- modified by the user. Tags are also integrated with cost reports, allowing cost
582
- data to be filtered based on tag keys or values.
597
+ better organization and management. Both tag keys and values have a maximum
598
+ length of 255 characters. Some tags are read-only and cannot be modified by the
599
+ user. Tags are also integrated with cost reports, allowing cost data to be
600
+ filtered based on tag keys or values.
583
601
 
584
602
  extra_headers: Send extra headers
585
603
 
@@ -643,15 +661,20 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
643
661
  - **Add/update tags:**
644
662
  `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
645
663
  updates existing ones.
646
- - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
664
+
665
+ - **Delete tags:** `{'tags': {'old_tag': null}}` removes specific tags.
666
+
647
667
  - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
648
668
  tags are preserved).
669
+
649
670
  - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
650
671
  specified tags.
672
+
651
673
  - **Mixed operations:**
652
- `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
674
+ `{'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}}`
653
675
  adds/updates 'environment' and '`cost_center`' while removing
654
676
  '`deprecated_tag`', preserving other existing tags.
677
+
655
678
  - **Replace all:** first delete existing tags with null values, then add new
656
679
  ones in the same request.
657
680
 
@@ -685,6 +708,7 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
685
708
  region_id: int | None = None,
686
709
  limit: int | Omit = omit,
687
710
  offset: int | Omit = omit,
711
+ status: FloatingIPStatus | Omit = omit,
688
712
  tag_key: SequenceNotStr[str] | Omit = omit,
689
713
  tag_key_value: str | Omit = omit,
690
714
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -707,6 +731,9 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
707
731
  offset: Optional. Offset value is used to exclude the first set of records from the
708
732
  result
709
733
 
734
+ status: Filter by floating IP status. DOWN - unassigned (available). ACTIVE - attached
735
+ to a port (in use). ERROR - error state.
736
+
710
737
  tag_key: Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2
711
738
 
712
739
  tag_key_value: Optional. Filter by tag key-value pairs.
@@ -735,6 +762,7 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
735
762
  {
736
763
  "limit": limit,
737
764
  "offset": offset,
765
+ "status": status,
738
766
  "tag_key": tag_key,
739
767
  "tag_key_value": tag_key_value,
740
768
  },
@@ -934,6 +962,7 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
934
962
  port_id: Optional[str] | Omit = omit,
935
963
  tags: Dict[str, str] | Omit = omit,
936
964
  polling_interval_seconds: int | Omit = omit,
965
+ polling_timeout_seconds: int | Omit = omit,
937
966
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
938
967
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
939
968
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -961,6 +990,7 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
961
990
  task_id=response.tasks[0],
962
991
  extra_headers=extra_headers,
963
992
  polling_interval_seconds=polling_interval_seconds,
993
+ polling_timeout_seconds=polling_timeout_seconds,
964
994
  )
965
995
  if task.created_resources is None or task.created_resources.floatingips is None:
966
996
  raise ValueError("Task completed but created_resources or floatingips is missing")
@@ -982,6 +1012,7 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
982
1012
  project_id: int | None = None,
983
1013
  region_id: int | None = None,
984
1014
  polling_interval_seconds: int | Omit = omit,
1015
+ polling_timeout_seconds: int | Omit = omit,
985
1016
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
986
1017
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
987
1018
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1007,6 +1038,7 @@ class AsyncFloatingIPsResource(AsyncAPIResource):
1007
1038
  task_id=response.tasks[0],
1008
1039
  extra_headers=extra_headers,
1009
1040
  polling_interval_seconds=polling_interval_seconds,
1041
+ polling_timeout_seconds=polling_timeout_seconds,
1010
1042
  )
1011
1043
 
1012
1044
 
@@ -141,9 +141,10 @@ class GPUBaremetalClustersResource(SyncAPIResource):
141
141
 
142
142
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
143
143
  can be associated with a resource, enabling efficient filtering and grouping for
144
- better organization and management. Some tags are read-only and cannot be
145
- modified by the user. Tags are also integrated with cost reports, allowing cost
146
- data to be filtered based on tag keys or values.
144
+ better organization and management. Both tag keys and values have a maximum
145
+ length of 255 characters. Some tags are read-only and cannot be modified by the
146
+ user. Tags are also integrated with cost reports, allowing cost data to be
147
+ filtered based on tag keys or values.
147
148
 
148
149
  extra_headers: Send extra headers
149
150
 
@@ -351,15 +352,20 @@ class GPUBaremetalClustersResource(SyncAPIResource):
351
352
  - **Add/update tags:**
352
353
  `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
353
354
  updates existing ones.
354
- - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
355
+
356
+ - **Delete tags:** `{'tags': {'old_tag': null}}` removes specific tags.
357
+
355
358
  - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
356
359
  tags are preserved).
360
+
357
361
  - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
358
362
  specified tags.
363
+
359
364
  - **Mixed operations:**
360
- `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
365
+ `{'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}}`
361
366
  adds/updates 'environment' and '`cost_center`' while removing
362
367
  '`deprecated_tag`', preserving other existing tags.
368
+
363
369
  - **Replace all:** first delete existing tags with null values, then add new
364
370
  ones in the same request.
365
371
 
@@ -635,6 +641,7 @@ class GPUBaremetalClustersResource(SyncAPIResource):
635
641
  servers_settings: gpu_baremetal_cluster_create_params.ServersSettings,
636
642
  tags: Dict[str, str] | Omit = omit,
637
643
  polling_interval_seconds: int | Omit = omit,
644
+ polling_timeout_seconds: int | Omit = omit,
638
645
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
639
646
  # The extra values given here take precedence over values defined on the client or passed to this method.
640
647
  extra_headers: Headers | None = None,
@@ -667,6 +674,7 @@ class GPUBaremetalClustersResource(SyncAPIResource):
667
674
  extra_query=extra_query,
668
675
  extra_body=extra_body,
669
676
  polling_interval_seconds=polling_interval_seconds,
677
+ polling_timeout_seconds=polling_timeout_seconds,
670
678
  )
671
679
  if not task.created_resources or not task.created_resources.ai_clusters:
672
680
  raise ValueError("No cluster was created")
@@ -691,6 +699,7 @@ class GPUBaremetalClustersResource(SyncAPIResource):
691
699
  image_id: Optional[str] | Omit = omit,
692
700
  user_data: Optional[str] | Omit = omit,
693
701
  polling_interval_seconds: int | Omit = omit,
702
+ polling_timeout_seconds: int | Omit = omit,
694
703
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
695
704
  # The extra values given here take precedence over values defined on the client or passed to this method.
696
705
  extra_headers: Headers | None = None,
@@ -721,6 +730,7 @@ class GPUBaremetalClustersResource(SyncAPIResource):
721
730
  extra_query=extra_query,
722
731
  extra_body=extra_body,
723
732
  polling_interval_seconds=polling_interval_seconds,
733
+ polling_timeout_seconds=polling_timeout_seconds,
724
734
  )
725
735
  return self.get( # pyright: ignore[reportDeprecated]
726
736
  cluster_id=cluster_id,
@@ -740,6 +750,7 @@ class GPUBaremetalClustersResource(SyncAPIResource):
740
750
  region_id: int | None = None,
741
751
  instances_count: int,
742
752
  polling_interval_seconds: int | Omit = omit,
753
+ polling_timeout_seconds: int | Omit = omit,
743
754
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
744
755
  # The extra values given here take precedence over values defined on the client or passed to this method.
745
756
  extra_headers: Headers | None = None,
@@ -768,6 +779,7 @@ class GPUBaremetalClustersResource(SyncAPIResource):
768
779
  extra_query=extra_query,
769
780
  extra_body=extra_body,
770
781
  polling_interval_seconds=polling_interval_seconds,
782
+ polling_timeout_seconds=polling_timeout_seconds,
771
783
  )
772
784
  return self.get( # pyright: ignore[reportDeprecated]
773
785
  cluster_id=cluster_id,
@@ -854,9 +866,10 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
854
866
 
855
867
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
856
868
  can be associated with a resource, enabling efficient filtering and grouping for
857
- better organization and management. Some tags are read-only and cannot be
858
- modified by the user. Tags are also integrated with cost reports, allowing cost
859
- data to be filtered based on tag keys or values.
869
+ better organization and management. Both tag keys and values have a maximum
870
+ length of 255 characters. Some tags are read-only and cannot be modified by the
871
+ user. Tags are also integrated with cost reports, allowing cost data to be
872
+ filtered based on tag keys or values.
860
873
 
861
874
  extra_headers: Send extra headers
862
875
 
@@ -1064,15 +1077,20 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1064
1077
  - **Add/update tags:**
1065
1078
  `{'tags': {'environment': 'production', 'team': 'backend'}}` adds new tags or
1066
1079
  updates existing ones.
1067
- - **Delete tags:** `{'tags': {'`old_tag`': null}}` removes specific tags.
1080
+
1081
+ - **Delete tags:** `{'tags': {'old_tag': null}}` removes specific tags.
1082
+
1068
1083
  - **Remove all tags:** `{'tags': null}` removes all user-managed tags (read-only
1069
1084
  tags are preserved).
1085
+
1070
1086
  - **Partial update:** `{'tags': {'environment': 'staging'}}` only updates
1071
1087
  specified tags.
1088
+
1072
1089
  - **Mixed operations:**
1073
- `{'tags': {'environment': 'production', '`cost_center`': 'engineering', '`deprecated_tag`': null}}`
1090
+ `{'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}}`
1074
1091
  adds/updates 'environment' and '`cost_center`' while removing
1075
1092
  '`deprecated_tag`', preserving other existing tags.
1093
+
1076
1094
  - **Replace all:** first delete existing tags with null values, then add new
1077
1095
  ones in the same request.
1078
1096
 
@@ -1348,6 +1366,7 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1348
1366
  servers_settings: gpu_baremetal_cluster_create_params.ServersSettings,
1349
1367
  tags: Dict[str, str] | Omit = omit,
1350
1368
  polling_interval_seconds: int | Omit = omit,
1369
+ polling_timeout_seconds: int | Omit = omit,
1351
1370
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1352
1371
  # The extra values given here take precedence over values defined on the client or passed to this method.
1353
1372
  extra_headers: Headers | None = None,
@@ -1380,6 +1399,7 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1380
1399
  extra_query=extra_query,
1381
1400
  extra_body=extra_body,
1382
1401
  polling_interval_seconds=polling_interval_seconds,
1402
+ polling_timeout_seconds=polling_timeout_seconds,
1383
1403
  )
1384
1404
  if not task.created_resources or not task.created_resources.ai_clusters:
1385
1405
  raise ValueError("No cluster was created")
@@ -1404,6 +1424,7 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1404
1424
  image_id: Optional[str] | Omit = omit,
1405
1425
  user_data: Optional[str] | Omit = omit,
1406
1426
  polling_interval_seconds: int | Omit = omit,
1427
+ polling_timeout_seconds: int | Omit = omit,
1407
1428
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1408
1429
  # The extra values given here take precedence over values defined on the client or passed to this method.
1409
1430
  extra_headers: Headers | None = None,
@@ -1434,6 +1455,7 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1434
1455
  extra_query=extra_query,
1435
1456
  extra_body=extra_body,
1436
1457
  polling_interval_seconds=polling_interval_seconds,
1458
+ polling_timeout_seconds=polling_timeout_seconds,
1437
1459
  )
1438
1460
  return await self.get( # pyright: ignore[reportDeprecated]
1439
1461
  cluster_id=cluster_id,
@@ -1453,6 +1475,7 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1453
1475
  region_id: int | None = None,
1454
1476
  instances_count: int,
1455
1477
  polling_interval_seconds: int | Omit = omit,
1478
+ polling_timeout_seconds: int | Omit = omit,
1456
1479
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1457
1480
  # The extra values given here take precedence over values defined on the client or passed to this method.
1458
1481
  extra_headers: Headers | None = None,
@@ -1481,6 +1504,7 @@ class AsyncGPUBaremetalClustersResource(AsyncAPIResource):
1481
1504
  extra_query=extra_query,
1482
1505
  extra_body=extra_body,
1483
1506
  polling_interval_seconds=polling_interval_seconds,
1507
+ polling_timeout_seconds=polling_timeout_seconds,
1484
1508
  )
1485
1509
  return await self.get( # pyright: ignore[reportDeprecated]
1486
1510
  cluster_id=cluster_id,
@@ -1524,6 +1548,15 @@ class GPUBaremetalClustersResourceWithRawResponse:
1524
1548
  self.resize = to_raw_response_wrapper(
1525
1549
  gpu_baremetal_clusters.resize,
1526
1550
  )
1551
+ self.create_and_poll = to_raw_response_wrapper(
1552
+ gpu_baremetal_clusters.create_and_poll,
1553
+ )
1554
+ self.rebuild_and_poll = to_raw_response_wrapper(
1555
+ gpu_baremetal_clusters.rebuild_and_poll,
1556
+ )
1557
+ self.resize_and_poll = to_raw_response_wrapper(
1558
+ gpu_baremetal_clusters.resize_and_poll,
1559
+ )
1527
1560
 
1528
1561
  @cached_property
1529
1562
  def interfaces(self) -> InterfacesResourceWithRawResponse:
@@ -1573,6 +1606,15 @@ class AsyncGPUBaremetalClustersResourceWithRawResponse:
1573
1606
  self.resize = async_to_raw_response_wrapper(
1574
1607
  gpu_baremetal_clusters.resize,
1575
1608
  )
1609
+ self.create_and_poll = async_to_raw_response_wrapper(
1610
+ gpu_baremetal_clusters.create_and_poll,
1611
+ )
1612
+ self.rebuild_and_poll = async_to_raw_response_wrapper(
1613
+ gpu_baremetal_clusters.rebuild_and_poll,
1614
+ )
1615
+ self.resize_and_poll = async_to_raw_response_wrapper(
1616
+ gpu_baremetal_clusters.resize_and_poll,
1617
+ )
1576
1618
 
1577
1619
  @cached_property
1578
1620
  def interfaces(self) -> AsyncInterfacesResourceWithRawResponse:
@@ -1622,6 +1664,15 @@ class GPUBaremetalClustersResourceWithStreamingResponse:
1622
1664
  self.resize = to_streamed_response_wrapper(
1623
1665
  gpu_baremetal_clusters.resize,
1624
1666
  )
1667
+ self.create_and_poll = to_streamed_response_wrapper(
1668
+ gpu_baremetal_clusters.create_and_poll,
1669
+ )
1670
+ self.rebuild_and_poll = to_streamed_response_wrapper(
1671
+ gpu_baremetal_clusters.rebuild_and_poll,
1672
+ )
1673
+ self.resize_and_poll = to_streamed_response_wrapper(
1674
+ gpu_baremetal_clusters.resize_and_poll,
1675
+ )
1625
1676
 
1626
1677
  @cached_property
1627
1678
  def interfaces(self) -> InterfacesResourceWithStreamingResponse:
@@ -1671,6 +1722,15 @@ class AsyncGPUBaremetalClustersResourceWithStreamingResponse:
1671
1722
  self.resize = async_to_streamed_response_wrapper(
1672
1723
  gpu_baremetal_clusters.resize,
1673
1724
  )
1725
+ self.create_and_poll = async_to_streamed_response_wrapper(
1726
+ gpu_baremetal_clusters.create_and_poll,
1727
+ )
1728
+ self.rebuild_and_poll = async_to_streamed_response_wrapper(
1729
+ gpu_baremetal_clusters.rebuild_and_poll,
1730
+ )
1731
+ self.resize_and_poll = async_to_streamed_response_wrapper(
1732
+ gpu_baremetal_clusters.resize_and_poll,
1733
+ )
1674
1734
 
1675
1735
  @cached_property
1676
1736
  def interfaces(self) -> AsyncInterfacesResourceWithStreamingResponse:
@@ -138,6 +138,7 @@ class ImagesResource(SyncAPIResource):
138
138
  project_id: int | None = None,
139
139
  region_id: int | None = None,
140
140
  polling_interval_seconds: int | Omit = omit,
141
+ polling_timeout_seconds: int | Omit = omit,
141
142
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
142
143
  # The extra values given here take precedence over values defined on the client or passed to this method.
143
144
  extra_headers: Headers | None = None,
@@ -165,6 +166,7 @@ class ImagesResource(SyncAPIResource):
165
166
  extra_query=extra_query,
166
167
  extra_body=extra_body,
167
168
  polling_interval_seconds=polling_interval_seconds,
169
+ polling_timeout_seconds=polling_timeout_seconds,
168
170
  )
169
171
 
170
172
  def get(
@@ -263,9 +265,10 @@ class ImagesResource(SyncAPIResource):
263
265
 
264
266
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
265
267
  can be associated with a resource, enabling efficient filtering and grouping for
266
- better organization and management. Some tags are read-only and cannot be
267
- modified by the user. Tags are also integrated with cost reports, allowing cost
268
- data to be filtered based on tag keys or values.
268
+ better organization and management. Both tag keys and values have a maximum
269
+ length of 255 characters. Some tags are read-only and cannot be modified by the
270
+ user. Tags are also integrated with cost reports, allowing cost data to be
271
+ filtered based on tag keys or values.
269
272
 
270
273
  extra_headers: Send extra headers
271
274
 
@@ -318,6 +321,7 @@ class ImagesResource(SyncAPIResource):
318
321
  ssh_key: Literal["allow", "deny", "required"] | Omit = omit,
319
322
  tags: Dict[str, str] | Omit = omit,
320
323
  polling_interval_seconds: int | Omit = omit,
324
+ polling_timeout_seconds: int | Omit = omit,
321
325
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
322
326
  # The extra values given here take precedence over values defined on the client or passed to this method.
323
327
  extra_headers: Headers | None = None,
@@ -354,6 +358,7 @@ class ImagesResource(SyncAPIResource):
354
358
  extra_query=extra_query,
355
359
  extra_body=extra_body,
356
360
  polling_interval_seconds=polling_interval_seconds,
361
+ polling_timeout_seconds=polling_timeout_seconds,
357
362
  )
358
363
  if not task.created_resources or not task.created_resources.images:
359
364
  raise ValueError("No image was created")
@@ -481,6 +486,7 @@ class AsyncImagesResource(AsyncAPIResource):
481
486
  project_id: int | None = None,
482
487
  region_id: int | None = None,
483
488
  polling_interval_seconds: int | Omit = omit,
489
+ polling_timeout_seconds: int | Omit = omit,
484
490
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
485
491
  # The extra values given here take precedence over values defined on the client or passed to this method.
486
492
  extra_headers: Headers | None = None,
@@ -508,6 +514,7 @@ class AsyncImagesResource(AsyncAPIResource):
508
514
  extra_query=extra_query,
509
515
  extra_body=extra_body,
510
516
  polling_interval_seconds=polling_interval_seconds,
517
+ polling_timeout_seconds=polling_timeout_seconds,
511
518
  )
512
519
 
513
520
  async def get(
@@ -606,9 +613,10 @@ class AsyncImagesResource(AsyncAPIResource):
606
613
 
607
614
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
608
615
  can be associated with a resource, enabling efficient filtering and grouping for
609
- better organization and management. Some tags are read-only and cannot be
610
- modified by the user. Tags are also integrated with cost reports, allowing cost
611
- data to be filtered based on tag keys or values.
616
+ better organization and management. Both tag keys and values have a maximum
617
+ length of 255 characters. Some tags are read-only and cannot be modified by the
618
+ user. Tags are also integrated with cost reports, allowing cost data to be
619
+ filtered based on tag keys or values.
612
620
 
613
621
  extra_headers: Send extra headers
614
622
 
@@ -661,6 +669,7 @@ class AsyncImagesResource(AsyncAPIResource):
661
669
  ssh_key: Literal["allow", "deny", "required"] | Omit = omit,
662
670
  tags: Dict[str, str] | Omit = omit,
663
671
  polling_interval_seconds: int | Omit = omit,
672
+ polling_timeout_seconds: int | Omit = omit,
664
673
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
665
674
  # The extra values given here take precedence over values defined on the client or passed to this method.
666
675
  extra_headers: Headers | None = None,
@@ -697,6 +706,7 @@ class AsyncImagesResource(AsyncAPIResource):
697
706
  extra_query=extra_query,
698
707
  extra_body=extra_body,
699
708
  polling_interval_seconds=polling_interval_seconds,
709
+ polling_timeout_seconds=polling_timeout_seconds,
700
710
  )
701
711
  if not task.created_resources or not task.created_resources.images:
702
712
  raise ValueError("No image was created")
@@ -728,6 +738,12 @@ class ImagesResourceWithRawResponse:
728
738
  self.upload = to_raw_response_wrapper(
729
739
  images.upload,
730
740
  )
741
+ self.delete_and_poll = to_raw_response_wrapper(
742
+ images.delete_and_poll,
743
+ )
744
+ self.upload_and_poll = to_raw_response_wrapper(
745
+ images.upload_and_poll,
746
+ )
731
747
 
732
748
 
733
749
  class AsyncImagesResourceWithRawResponse:
@@ -746,6 +762,12 @@ class AsyncImagesResourceWithRawResponse:
746
762
  self.upload = async_to_raw_response_wrapper(
747
763
  images.upload,
748
764
  )
765
+ self.delete_and_poll = async_to_raw_response_wrapper(
766
+ images.delete_and_poll,
767
+ )
768
+ self.upload_and_poll = async_to_raw_response_wrapper(
769
+ images.upload_and_poll,
770
+ )
749
771
 
750
772
 
751
773
  class ImagesResourceWithStreamingResponse:
@@ -764,6 +786,12 @@ class ImagesResourceWithStreamingResponse:
764
786
  self.upload = to_streamed_response_wrapper(
765
787
  images.upload,
766
788
  )
789
+ self.delete_and_poll = to_streamed_response_wrapper(
790
+ images.delete_and_poll,
791
+ )
792
+ self.upload_and_poll = to_streamed_response_wrapper(
793
+ images.upload_and_poll,
794
+ )
767
795
 
768
796
 
769
797
  class AsyncImagesResourceWithStreamingResponse:
@@ -782,3 +810,9 @@ class AsyncImagesResourceWithStreamingResponse:
782
810
  self.upload = async_to_streamed_response_wrapper(
783
811
  images.upload,
784
812
  )
813
+ self.delete_and_poll = async_to_streamed_response_wrapper(
814
+ images.delete_and_poll,
815
+ )
816
+ self.upload_and_poll = async_to_streamed_response_wrapper(
817
+ images.upload_and_poll,
818
+ )
@@ -229,6 +229,7 @@ class ServersResource(SyncAPIResource):
229
229
  cluster_id: str,
230
230
  delete_floatings: bool | Omit = omit,
231
231
  polling_interval_seconds: int | Omit = omit,
232
+ polling_timeout_seconds: int | Omit = omit,
232
233
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
233
234
  # The extra values given here take precedence over values defined on the client or passed to this method.
234
235
  extra_headers: Headers | None = None,
@@ -258,6 +259,7 @@ class ServersResource(SyncAPIResource):
258
259
  extra_query=extra_query,
259
260
  extra_body=extra_body,
260
261
  polling_interval_seconds=polling_interval_seconds,
262
+ polling_timeout_seconds=polling_timeout_seconds,
261
263
  )
262
264
 
263
265
  @overload
@@ -876,6 +878,7 @@ class AsyncServersResource(AsyncAPIResource):
876
878
  cluster_id: str,
877
879
  delete_floatings: bool | Omit = omit,
878
880
  polling_interval_seconds: int | Omit = omit,
881
+ polling_timeout_seconds: int | Omit = omit,
879
882
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
880
883
  # The extra values given here take precedence over values defined on the client or passed to this method.
881
884
  extra_headers: Headers | None = None,
@@ -905,6 +908,7 @@ class AsyncServersResource(AsyncAPIResource):
905
908
  extra_query=extra_query,
906
909
  extra_body=extra_body,
907
910
  polling_interval_seconds=polling_interval_seconds,
911
+ polling_timeout_seconds=polling_timeout_seconds,
908
912
  )
909
913
 
910
914
  @overload
@@ -1351,6 +1355,9 @@ class ServersResourceWithRawResponse:
1351
1355
  self.reboot = to_raw_response_wrapper(
1352
1356
  servers.reboot,
1353
1357
  )
1358
+ self.delete_and_poll = to_raw_response_wrapper(
1359
+ servers.delete_and_poll,
1360
+ )
1354
1361
 
1355
1362
 
1356
1363
  class AsyncServersResourceWithRawResponse:
@@ -1378,6 +1385,9 @@ class AsyncServersResourceWithRawResponse:
1378
1385
  self.reboot = async_to_raw_response_wrapper(
1379
1386
  servers.reboot,
1380
1387
  )
1388
+ self.delete_and_poll = async_to_raw_response_wrapper(
1389
+ servers.delete_and_poll,
1390
+ )
1381
1391
 
1382
1392
 
1383
1393
  class ServersResourceWithStreamingResponse:
@@ -1405,6 +1415,9 @@ class ServersResourceWithStreamingResponse:
1405
1415
  self.reboot = to_streamed_response_wrapper(
1406
1416
  servers.reboot,
1407
1417
  )
1418
+ self.delete_and_poll = to_streamed_response_wrapper(
1419
+ servers.delete_and_poll,
1420
+ )
1408
1421
 
1409
1422
 
1410
1423
  class AsyncServersResourceWithStreamingResponse:
@@ -1432,3 +1445,6 @@ class AsyncServersResourceWithStreamingResponse:
1432
1445
  self.reboot = async_to_streamed_response_wrapper(
1433
1446
  servers.reboot,
1434
1447
  )
1448
+ self.delete_and_poll = async_to_streamed_response_wrapper(
1449
+ servers.delete_and_poll,
1450
+ )