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
@@ -1,12 +1,12 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  from .k8s import (
4
- K8sResource,
5
- AsyncK8sResource,
6
- K8sResourceWithRawResponse,
7
- AsyncK8sResourceWithRawResponse,
8
- K8sResourceWithStreamingResponse,
9
- AsyncK8sResourceWithStreamingResponse,
4
+ K8SResource,
5
+ AsyncK8SResource,
6
+ K8SResourceWithRawResponse,
7
+ AsyncK8SResourceWithRawResponse,
8
+ K8SResourceWithStreamingResponse,
9
+ AsyncK8SResourceWithStreamingResponse,
10
10
  )
11
11
  from .cloud import (
12
12
  CloudResource,
@@ -96,6 +96,14 @@ from .baremetal import (
96
96
  BaremetalResourceWithStreamingResponse,
97
97
  AsyncBaremetalResourceWithStreamingResponse,
98
98
  )
99
+ from .databases import (
100
+ DatabasesResource,
101
+ AsyncDatabasesResource,
102
+ DatabasesResourceWithRawResponse,
103
+ AsyncDatabasesResourceWithRawResponse,
104
+ DatabasesResourceWithStreamingResponse,
105
+ AsyncDatabasesResourceWithStreamingResponse,
106
+ )
99
107
  from .inference import (
100
108
  InferenceResource,
101
109
  AsyncInferenceResource,
@@ -208,6 +216,14 @@ from .billing_reservations import (
208
216
  BillingReservationsResourceWithStreamingResponse,
209
217
  AsyncBillingReservationsResourceWithStreamingResponse,
210
218
  )
219
+ from .gpu_virtual_clusters import (
220
+ GPUVirtualClustersResource,
221
+ AsyncGPUVirtualClustersResource,
222
+ GPUVirtualClustersResourceWithRawResponse,
223
+ AsyncGPUVirtualClustersResourceWithRawResponse,
224
+ GPUVirtualClustersResourceWithStreamingResponse,
225
+ AsyncGPUVirtualClustersResourceWithStreamingResponse,
226
+ )
211
227
  from .gpu_baremetal_clusters import (
212
228
  GPUBaremetalClustersResource,
213
229
  AsyncGPUBaremetalClustersResource,
@@ -344,18 +360,24 @@ __all__ = [
344
360
  "AsyncGPUBaremetalClustersResourceWithRawResponse",
345
361
  "GPUBaremetalClustersResourceWithStreamingResponse",
346
362
  "AsyncGPUBaremetalClustersResourceWithStreamingResponse",
363
+ "GPUVirtualClustersResource",
364
+ "AsyncGPUVirtualClustersResource",
365
+ "GPUVirtualClustersResourceWithRawResponse",
366
+ "AsyncGPUVirtualClustersResourceWithRawResponse",
367
+ "GPUVirtualClustersResourceWithStreamingResponse",
368
+ "AsyncGPUVirtualClustersResourceWithStreamingResponse",
347
369
  "InstancesResource",
348
370
  "AsyncInstancesResource",
349
371
  "InstancesResourceWithRawResponse",
350
372
  "AsyncInstancesResourceWithRawResponse",
351
373
  "InstancesResourceWithStreamingResponse",
352
374
  "AsyncInstancesResourceWithStreamingResponse",
353
- "K8sResource",
354
- "AsyncK8sResource",
355
- "K8sResourceWithRawResponse",
356
- "AsyncK8sResourceWithRawResponse",
357
- "K8sResourceWithStreamingResponse",
358
- "AsyncK8sResourceWithStreamingResponse",
375
+ "K8SResource",
376
+ "AsyncK8SResource",
377
+ "K8SResourceWithRawResponse",
378
+ "AsyncK8SResourceWithRawResponse",
379
+ "K8SResourceWithStreamingResponse",
380
+ "AsyncK8SResourceWithStreamingResponse",
359
381
  "AuditLogsResource",
360
382
  "AsyncAuditLogsResource",
361
383
  "AuditLogsResourceWithRawResponse",
@@ -374,6 +396,12 @@ __all__ = [
374
396
  "AsyncUsageReportsResourceWithRawResponse",
375
397
  "UsageReportsResourceWithStreamingResponse",
376
398
  "AsyncUsageReportsResourceWithStreamingResponse",
399
+ "DatabasesResource",
400
+ "AsyncDatabasesResource",
401
+ "DatabasesResourceWithRawResponse",
402
+ "AsyncDatabasesResourceWithRawResponse",
403
+ "DatabasesResourceWithStreamingResponse",
404
+ "AsyncDatabasesResourceWithStreamingResponse",
377
405
  "CloudResource",
378
406
  "AsyncCloudResource",
379
407
  "CloudResourceWithRawResponse",
@@ -156,7 +156,9 @@ class AuditLogsResource(SyncAPIResource):
156
156
  resource_id: SequenceNotStr[str] | Omit = omit,
157
157
  search_field: str | Omit = omit,
158
158
  sorting: Literal["asc", "desc"] | Omit = omit,
159
+ source_user_ips: SequenceNotStr[str] | Omit = omit,
159
160
  to_timestamp: Union[str, datetime] | Omit = omit,
161
+ user_agents: SequenceNotStr[str] | Omit = omit,
160
162
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
161
163
  # The extra values given here take precedence over values defined on the client or passed to this method.
162
164
  extra_headers: Headers | None = None,
@@ -194,9 +196,15 @@ class AuditLogsResource(SyncAPIResource):
194
196
  sorting: (DEPRECATED Use '`order_by`' instead) Sorting by timestamp. Oldest first, or
195
197
  most recent first
196
198
 
199
+ source_user_ips: Originating IP address of the client making the request. Several options can be
200
+ specified.
201
+
197
202
  to_timestamp: ISO formatted datetime string. Ending timestamp until which user actions are
198
203
  requested
199
204
 
205
+ user_agents: User-Agent string identifying the client making the request. Several options can
206
+ be specified.
207
+
200
208
  extra_headers: Send extra headers
201
209
 
202
210
  extra_query: Add additional query parameters to the request
@@ -226,7 +234,9 @@ class AuditLogsResource(SyncAPIResource):
226
234
  "resource_id": resource_id,
227
235
  "search_field": search_field,
228
236
  "sorting": sorting,
237
+ "source_user_ips": source_user_ips,
229
238
  "to_timestamp": to_timestamp,
239
+ "user_agents": user_agents,
230
240
  },
231
241
  audit_log_list_params.AuditLogListParams,
232
242
  ),
@@ -365,7 +375,9 @@ class AsyncAuditLogsResource(AsyncAPIResource):
365
375
  resource_id: SequenceNotStr[str] | Omit = omit,
366
376
  search_field: str | Omit = omit,
367
377
  sorting: Literal["asc", "desc"] | Omit = omit,
378
+ source_user_ips: SequenceNotStr[str] | Omit = omit,
368
379
  to_timestamp: Union[str, datetime] | Omit = omit,
380
+ user_agents: SequenceNotStr[str] | Omit = omit,
369
381
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
370
382
  # The extra values given here take precedence over values defined on the client or passed to this method.
371
383
  extra_headers: Headers | None = None,
@@ -403,9 +415,15 @@ class AsyncAuditLogsResource(AsyncAPIResource):
403
415
  sorting: (DEPRECATED Use '`order_by`' instead) Sorting by timestamp. Oldest first, or
404
416
  most recent first
405
417
 
418
+ source_user_ips: Originating IP address of the client making the request. Several options can be
419
+ specified.
420
+
406
421
  to_timestamp: ISO formatted datetime string. Ending timestamp until which user actions are
407
422
  requested
408
423
 
424
+ user_agents: User-Agent string identifying the client making the request. Several options can
425
+ be specified.
426
+
409
427
  extra_headers: Send extra headers
410
428
 
411
429
  extra_query: Add additional query parameters to the request
@@ -435,7 +453,9 @@ class AsyncAuditLogsResource(AsyncAPIResource):
435
453
  "resource_id": resource_id,
436
454
  "search_field": search_field,
437
455
  "sorting": sorting,
456
+ "source_user_ips": source_user_ips,
438
457
  "to_timestamp": to_timestamp,
458
+ "user_agents": user_agents,
439
459
  },
440
460
  audit_log_list_params.AuditLogListParams,
441
461
  ),
@@ -54,7 +54,7 @@ class ServersResource(SyncAPIResource):
54
54
  region_id: int | None = None,
55
55
  flavor: str,
56
56
  interfaces: Iterable[server_create_params.Interface],
57
- app_config: Optional[object] | Omit = omit,
57
+ app_config: Optional[Dict[str, object]] | Omit = omit,
58
58
  apptemplate_id: str | Omit = omit,
59
59
  ddos_profile: server_create_params.DDOSProfile | Omit = omit,
60
60
  image_id: str | Omit = omit,
@@ -120,8 +120,8 @@ class ServersResource(SyncAPIResource):
120
120
  name_template: If you want server names to be automatically generated based on IP addresses,
121
121
  you can provide a name template instead of specifying the name manually. The
122
122
  template should include a placeholder that will be replaced during provisioning.
123
- Supported placeholders are: `{`ip_octets`}` (last 3 octets of the IP),
124
- `{`two_ip_octets`}`, and `{`one_ip_octet`}`.
123
+ Supported placeholders are: `{ip_octets}` (last 3 octets of the IP),
124
+ `{two_ip_octets}`, and `{one_ip_octet}`.
125
125
 
126
126
  password: For Linux instances, 'username' and 'password' are used to create a new user.
127
127
  When only 'password' is provided, it is set as the password for the default user
@@ -135,9 +135,10 @@ class ServersResource(SyncAPIResource):
135
135
 
136
136
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
137
137
  can be associated with a resource, enabling efficient filtering and grouping for
138
- better organization and management. Some tags are read-only and cannot be
139
- modified by the user. Tags are also integrated with cost reports, allowing cost
140
- data to be filtered based on tag keys or values.
138
+ better organization and management. Both tag keys and values have a maximum
139
+ length of 255 characters. Some tags are read-only and cannot be modified by the
140
+ user. Tags are also integrated with cost reports, allowing cost data to be
141
+ filtered based on tag keys or values.
141
142
 
142
143
  user_data: String in base64 format. For Linux instances, '`user_data`' is ignored when
143
144
  'password' field is provided. For Windows instances, Admin user password is set
@@ -403,7 +404,7 @@ class ServersResource(SyncAPIResource):
403
404
  region_id: int | None = None,
404
405
  flavor: str,
405
406
  interfaces: Iterable[server_create_params.Interface],
406
- app_config: Optional[object] | Omit = omit,
407
+ app_config: Optional[Dict[str, object]] | Omit = omit,
407
408
  apptemplate_id: str | Omit = omit,
408
409
  ddos_profile: server_create_params.DDOSProfile | Omit = omit,
409
410
  image_id: str | Omit = omit,
@@ -415,6 +416,7 @@ class ServersResource(SyncAPIResource):
415
416
  user_data: str | Omit = omit,
416
417
  username: str | Omit = omit,
417
418
  polling_interval_seconds: int | Omit = omit,
419
+ polling_timeout_seconds: int | Omit = omit,
418
420
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
419
421
  # The extra values given here take precedence over values defined on the client or passed to this method.
420
422
  extra_headers: Headers | None = None,
@@ -450,6 +452,7 @@ class ServersResource(SyncAPIResource):
450
452
  response.tasks[0],
451
453
  extra_headers=extra_headers,
452
454
  polling_interval_seconds=polling_interval_seconds,
455
+ polling_timeout_seconds=polling_timeout_seconds,
453
456
  )
454
457
  if not task.created_resources or not task.created_resources.instances:
455
458
  raise ValueError("No server was created")
@@ -475,6 +478,7 @@ class ServersResource(SyncAPIResource):
475
478
  image_id: str | Omit = omit,
476
479
  user_data: str | Omit = omit,
477
480
  polling_interval_seconds: int | Omit = omit,
481
+ polling_timeout_seconds: int | Omit = omit,
478
482
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
479
483
  # The extra values given here take precedence over values defined on the client or passed to this method.
480
484
  extra_headers: Headers | None = None,
@@ -500,6 +504,7 @@ class ServersResource(SyncAPIResource):
500
504
  response.tasks[0],
501
505
  extra_headers=extra_headers,
502
506
  polling_interval_seconds=polling_interval_seconds,
507
+ polling_timeout_seconds=polling_timeout_seconds,
503
508
  )
504
509
  servers = self.list(
505
510
  project_id=project_id,
@@ -541,7 +546,7 @@ class AsyncServersResource(AsyncAPIResource):
541
546
  region_id: int | None = None,
542
547
  flavor: str,
543
548
  interfaces: Iterable[server_create_params.Interface],
544
- app_config: Optional[object] | Omit = omit,
549
+ app_config: Optional[Dict[str, object]] | Omit = omit,
545
550
  apptemplate_id: str | Omit = omit,
546
551
  ddos_profile: server_create_params.DDOSProfile | Omit = omit,
547
552
  image_id: str | Omit = omit,
@@ -607,8 +612,8 @@ class AsyncServersResource(AsyncAPIResource):
607
612
  name_template: If you want server names to be automatically generated based on IP addresses,
608
613
  you can provide a name template instead of specifying the name manually. The
609
614
  template should include a placeholder that will be replaced during provisioning.
610
- Supported placeholders are: `{`ip_octets`}` (last 3 octets of the IP),
611
- `{`two_ip_octets`}`, and `{`one_ip_octet`}`.
615
+ Supported placeholders are: `{ip_octets}` (last 3 octets of the IP),
616
+ `{two_ip_octets}`, and `{one_ip_octet}`.
612
617
 
613
618
  password: For Linux instances, 'username' and 'password' are used to create a new user.
614
619
  When only 'password' is provided, it is set as the password for the default user
@@ -622,9 +627,10 @@ class AsyncServersResource(AsyncAPIResource):
622
627
 
623
628
  tags: Key-value tags to associate with the resource. A tag is a key-value pair that
624
629
  can be associated with a resource, enabling efficient filtering and grouping for
625
- better organization and management. Some tags are read-only and cannot be
626
- modified by the user. Tags are also integrated with cost reports, allowing cost
627
- data to be filtered based on tag keys or values.
630
+ better organization and management. Both tag keys and values have a maximum
631
+ length of 255 characters. Some tags are read-only and cannot be modified by the
632
+ user. Tags are also integrated with cost reports, allowing cost data to be
633
+ filtered based on tag keys or values.
628
634
 
629
635
  user_data: String in base64 format. For Linux instances, '`user_data`' is ignored when
630
636
  'password' field is provided. For Windows instances, Admin user password is set
@@ -890,7 +896,7 @@ class AsyncServersResource(AsyncAPIResource):
890
896
  region_id: int | None = None,
891
897
  flavor: str,
892
898
  interfaces: Iterable[server_create_params.Interface],
893
- app_config: Optional[object] | Omit = omit,
899
+ app_config: Optional[Dict[str, object]] | Omit = omit,
894
900
  apptemplate_id: str | Omit = omit,
895
901
  ddos_profile: server_create_params.DDOSProfile | Omit = omit,
896
902
  image_id: str | Omit = omit,
@@ -902,6 +908,7 @@ class AsyncServersResource(AsyncAPIResource):
902
908
  user_data: str | Omit = omit,
903
909
  username: str | Omit = omit,
904
910
  polling_interval_seconds: int | Omit = omit,
911
+ polling_timeout_seconds: int | Omit = omit,
905
912
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
906
913
  # The extra values given here take precedence over values defined on the client or passed to this method.
907
914
  extra_headers: Headers | None = None,
@@ -937,6 +944,7 @@ class AsyncServersResource(AsyncAPIResource):
937
944
  response.tasks[0],
938
945
  extra_headers=extra_headers,
939
946
  polling_interval_seconds=polling_interval_seconds,
947
+ polling_timeout_seconds=polling_timeout_seconds,
940
948
  )
941
949
  if not task.created_resources or not task.created_resources.instances:
942
950
  raise ValueError("No server was created")
@@ -962,6 +970,7 @@ class AsyncServersResource(AsyncAPIResource):
962
970
  image_id: str | Omit = omit,
963
971
  user_data: str | Omit = omit,
964
972
  polling_interval_seconds: int | Omit = omit,
973
+ polling_timeout_seconds: int | Omit = omit,
965
974
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
966
975
  # The extra values given here take precedence over values defined on the client or passed to this method.
967
976
  extra_headers: Headers | None = None,
@@ -987,6 +996,7 @@ class AsyncServersResource(AsyncAPIResource):
987
996
  response.tasks[0],
988
997
  extra_headers=extra_headers,
989
998
  polling_interval_seconds=polling_interval_seconds,
999
+ polling_timeout_seconds=polling_timeout_seconds,
990
1000
  )
991
1001
  servers = await self.list(
992
1002
  project_id=project_id,
@@ -1014,6 +1024,12 @@ class ServersResourceWithRawResponse:
1014
1024
  self.rebuild = to_raw_response_wrapper(
1015
1025
  servers.rebuild,
1016
1026
  )
1027
+ self.create_and_poll = to_raw_response_wrapper(
1028
+ servers.create_and_poll,
1029
+ )
1030
+ self.rebuild_and_poll = to_raw_response_wrapper(
1031
+ servers.rebuild_and_poll,
1032
+ )
1017
1033
 
1018
1034
 
1019
1035
  class AsyncServersResourceWithRawResponse:
@@ -1029,6 +1045,12 @@ class AsyncServersResourceWithRawResponse:
1029
1045
  self.rebuild = async_to_raw_response_wrapper(
1030
1046
  servers.rebuild,
1031
1047
  )
1048
+ self.create_and_poll = async_to_raw_response_wrapper(
1049
+ servers.create_and_poll,
1050
+ )
1051
+ self.rebuild_and_poll = async_to_raw_response_wrapper(
1052
+ servers.rebuild_and_poll,
1053
+ )
1032
1054
 
1033
1055
 
1034
1056
  class ServersResourceWithStreamingResponse:
@@ -1044,6 +1066,12 @@ class ServersResourceWithStreamingResponse:
1044
1066
  self.rebuild = to_streamed_response_wrapper(
1045
1067
  servers.rebuild,
1046
1068
  )
1069
+ self.create_and_poll = to_streamed_response_wrapper(
1070
+ servers.create_and_poll,
1071
+ )
1072
+ self.rebuild_and_poll = to_streamed_response_wrapper(
1073
+ servers.rebuild_and_poll,
1074
+ )
1047
1075
 
1048
1076
 
1049
1077
  class AsyncServersResourceWithStreamingResponse:
@@ -1059,3 +1087,9 @@ class AsyncServersResourceWithStreamingResponse:
1059
1087
  self.rebuild = async_to_streamed_response_wrapper(
1060
1088
  servers.rebuild,
1061
1089
  )
1090
+ self.create_and_poll = async_to_streamed_response_wrapper(
1091
+ servers.create_and_poll,
1092
+ )
1093
+ self.rebuild_and_poll = async_to_streamed_response_wrapper(
1094
+ servers.rebuild_and_poll,
1095
+ )
@@ -62,7 +62,7 @@ class BillingReservationsResource(SyncAPIResource):
62
62
  configurations and associated pricing.
63
63
 
64
64
  Args:
65
- metric_name: Name from billing features for specific resource
65
+ metric_name: Metric name for the resource (e.g., 'bm1-hf-`medium_min`')
66
66
 
67
67
  order_by: Order by field and direction.
68
68
 
@@ -138,7 +138,7 @@ class AsyncBillingReservationsResource(AsyncAPIResource):
138
138
  configurations and associated pricing.
139
139
 
140
140
  Args:
141
- metric_name: Name from billing features for specific resource
141
+ metric_name: Metric name for the resource (e.g., 'bm1-hf-`medium_min`')
142
142
 
143
143
  order_by: Order by field and direction.
144
144
 
@@ -11,12 +11,12 @@ from .tasks import (
11
11
  AsyncTasksResourceWithStreamingResponse,
12
12
  )
13
13
  from .k8s.k8s import (
14
- K8sResource,
15
- AsyncK8sResource,
16
- K8sResourceWithRawResponse,
17
- AsyncK8sResourceWithRawResponse,
18
- K8sResourceWithStreamingResponse,
19
- AsyncK8sResourceWithStreamingResponse,
14
+ K8SResource,
15
+ AsyncK8SResource,
16
+ K8SResourceWithRawResponse,
17
+ AsyncK8SResourceWithRawResponse,
18
+ K8SResourceWithStreamingResponse,
19
+ AsyncK8SResourceWithStreamingResponse,
20
20
  )
21
21
  from .regions import (
22
22
  RegionsResource,
@@ -140,6 +140,14 @@ from .baremetal.baremetal import (
140
140
  BaremetalResourceWithStreamingResponse,
141
141
  AsyncBaremetalResourceWithStreamingResponse,
142
142
  )
143
+ from .databases.databases import (
144
+ DatabasesResource,
145
+ AsyncDatabasesResource,
146
+ DatabasesResourceWithRawResponse,
147
+ AsyncDatabasesResourceWithRawResponse,
148
+ DatabasesResourceWithStreamingResponse,
149
+ AsyncDatabasesResourceWithStreamingResponse,
150
+ )
143
151
  from .inference.inference import (
144
152
  InferenceResource,
145
153
  AsyncInferenceResource,
@@ -204,6 +212,14 @@ from .reserved_fixed_ips.reserved_fixed_ips import (
204
212
  ReservedFixedIPsResourceWithStreamingResponse,
205
213
  AsyncReservedFixedIPsResourceWithStreamingResponse,
206
214
  )
215
+ from .gpu_virtual_clusters.gpu_virtual_clusters import (
216
+ GPUVirtualClustersResource,
217
+ AsyncGPUVirtualClustersResource,
218
+ GPUVirtualClustersResourceWithRawResponse,
219
+ AsyncGPUVirtualClustersResourceWithRawResponse,
220
+ GPUVirtualClustersResourceWithStreamingResponse,
221
+ AsyncGPUVirtualClustersResourceWithStreamingResponse,
222
+ )
207
223
  from .gpu_baremetal_clusters.gpu_baremetal_clusters import (
208
224
  GPUBaremetalClustersResource,
209
225
  AsyncGPUBaremetalClustersResource,
@@ -283,6 +299,9 @@ class CloudResource(SyncAPIResource):
283
299
 
284
300
  @cached_property
285
301
  def placement_groups(self) -> PlacementGroupsResource:
302
+ """
303
+ Placement Groups allow you to specific a policy that determines whether Virtual Machines will be hosted on the same physical server or on different ones.
304
+ """
286
305
  return PlacementGroupsResource(self._client)
287
306
 
288
307
  @cached_property
@@ -305,13 +324,17 @@ class CloudResource(SyncAPIResource):
305
324
  def gpu_baremetal_clusters(self) -> GPUBaremetalClustersResource:
306
325
  return GPUBaremetalClustersResource(self._client)
307
326
 
327
+ @cached_property
328
+ def gpu_virtual_clusters(self) -> GPUVirtualClustersResource:
329
+ return GPUVirtualClustersResource(self._client)
330
+
308
331
  @cached_property
309
332
  def instances(self) -> InstancesResource:
310
333
  return InstancesResource(self._client)
311
334
 
312
335
  @cached_property
313
- def k8s(self) -> K8sResource:
314
- return K8sResource(self._client)
336
+ def k8s(self) -> K8SResource:
337
+ return K8SResource(self._client)
315
338
 
316
339
  @cached_property
317
340
  def audit_logs(self) -> AuditLogsResource:
@@ -325,6 +348,10 @@ class CloudResource(SyncAPIResource):
325
348
  def usage_reports(self) -> UsageReportsResource:
326
349
  return UsageReportsResource(self._client)
327
350
 
351
+ @cached_property
352
+ def databases(self) -> DatabasesResource:
353
+ return DatabasesResource(self._client)
354
+
328
355
  @cached_property
329
356
  def with_raw_response(self) -> CloudResourceWithRawResponse:
330
357
  """
@@ -412,6 +439,9 @@ class AsyncCloudResource(AsyncAPIResource):
412
439
 
413
440
  @cached_property
414
441
  def placement_groups(self) -> AsyncPlacementGroupsResource:
442
+ """
443
+ Placement Groups allow you to specific a policy that determines whether Virtual Machines will be hosted on the same physical server or on different ones.
444
+ """
415
445
  return AsyncPlacementGroupsResource(self._client)
416
446
 
417
447
  @cached_property
@@ -434,13 +464,17 @@ class AsyncCloudResource(AsyncAPIResource):
434
464
  def gpu_baremetal_clusters(self) -> AsyncGPUBaremetalClustersResource:
435
465
  return AsyncGPUBaremetalClustersResource(self._client)
436
466
 
467
+ @cached_property
468
+ def gpu_virtual_clusters(self) -> AsyncGPUVirtualClustersResource:
469
+ return AsyncGPUVirtualClustersResource(self._client)
470
+
437
471
  @cached_property
438
472
  def instances(self) -> AsyncInstancesResource:
439
473
  return AsyncInstancesResource(self._client)
440
474
 
441
475
  @cached_property
442
- def k8s(self) -> AsyncK8sResource:
443
- return AsyncK8sResource(self._client)
476
+ def k8s(self) -> AsyncK8SResource:
477
+ return AsyncK8SResource(self._client)
444
478
 
445
479
  @cached_property
446
480
  def audit_logs(self) -> AsyncAuditLogsResource:
@@ -454,6 +488,10 @@ class AsyncCloudResource(AsyncAPIResource):
454
488
  def usage_reports(self) -> AsyncUsageReportsResource:
455
489
  return AsyncUsageReportsResource(self._client)
456
490
 
491
+ @cached_property
492
+ def databases(self) -> AsyncDatabasesResource:
493
+ return AsyncDatabasesResource(self._client)
494
+
457
495
  @cached_property
458
496
  def with_raw_response(self) -> AsyncCloudResourceWithRawResponse:
459
497
  """
@@ -544,6 +582,9 @@ class CloudResourceWithRawResponse:
544
582
 
545
583
  @cached_property
546
584
  def placement_groups(self) -> PlacementGroupsResourceWithRawResponse:
585
+ """
586
+ Placement Groups allow you to specific a policy that determines whether Virtual Machines will be hosted on the same physical server or on different ones.
587
+ """
547
588
  return PlacementGroupsResourceWithRawResponse(self._cloud.placement_groups)
548
589
 
549
590
  @cached_property
@@ -566,13 +607,17 @@ class CloudResourceWithRawResponse:
566
607
  def gpu_baremetal_clusters(self) -> GPUBaremetalClustersResourceWithRawResponse:
567
608
  return GPUBaremetalClustersResourceWithRawResponse(self._cloud.gpu_baremetal_clusters)
568
609
 
610
+ @cached_property
611
+ def gpu_virtual_clusters(self) -> GPUVirtualClustersResourceWithRawResponse:
612
+ return GPUVirtualClustersResourceWithRawResponse(self._cloud.gpu_virtual_clusters)
613
+
569
614
  @cached_property
570
615
  def instances(self) -> InstancesResourceWithRawResponse:
571
616
  return InstancesResourceWithRawResponse(self._cloud.instances)
572
617
 
573
618
  @cached_property
574
- def k8s(self) -> K8sResourceWithRawResponse:
575
- return K8sResourceWithRawResponse(self._cloud.k8s)
619
+ def k8s(self) -> K8SResourceWithRawResponse:
620
+ return K8SResourceWithRawResponse(self._cloud.k8s)
576
621
 
577
622
  @cached_property
578
623
  def audit_logs(self) -> AuditLogsResourceWithRawResponse:
@@ -586,6 +631,10 @@ class CloudResourceWithRawResponse:
586
631
  def usage_reports(self) -> UsageReportsResourceWithRawResponse:
587
632
  return UsageReportsResourceWithRawResponse(self._cloud.usage_reports)
588
633
 
634
+ @cached_property
635
+ def databases(self) -> DatabasesResourceWithRawResponse:
636
+ return DatabasesResourceWithRawResponse(self._cloud.databases)
637
+
589
638
 
590
639
  class AsyncCloudResourceWithRawResponse:
591
640
  def __init__(self, cloud: AsyncCloudResource) -> None:
@@ -657,6 +706,9 @@ class AsyncCloudResourceWithRawResponse:
657
706
 
658
707
  @cached_property
659
708
  def placement_groups(self) -> AsyncPlacementGroupsResourceWithRawResponse:
709
+ """
710
+ Placement Groups allow you to specific a policy that determines whether Virtual Machines will be hosted on the same physical server or on different ones.
711
+ """
660
712
  return AsyncPlacementGroupsResourceWithRawResponse(self._cloud.placement_groups)
661
713
 
662
714
  @cached_property
@@ -679,13 +731,17 @@ class AsyncCloudResourceWithRawResponse:
679
731
  def gpu_baremetal_clusters(self) -> AsyncGPUBaremetalClustersResourceWithRawResponse:
680
732
  return AsyncGPUBaremetalClustersResourceWithRawResponse(self._cloud.gpu_baremetal_clusters)
681
733
 
734
+ @cached_property
735
+ def gpu_virtual_clusters(self) -> AsyncGPUVirtualClustersResourceWithRawResponse:
736
+ return AsyncGPUVirtualClustersResourceWithRawResponse(self._cloud.gpu_virtual_clusters)
737
+
682
738
  @cached_property
683
739
  def instances(self) -> AsyncInstancesResourceWithRawResponse:
684
740
  return AsyncInstancesResourceWithRawResponse(self._cloud.instances)
685
741
 
686
742
  @cached_property
687
- def k8s(self) -> AsyncK8sResourceWithRawResponse:
688
- return AsyncK8sResourceWithRawResponse(self._cloud.k8s)
743
+ def k8s(self) -> AsyncK8SResourceWithRawResponse:
744
+ return AsyncK8SResourceWithRawResponse(self._cloud.k8s)
689
745
 
690
746
  @cached_property
691
747
  def audit_logs(self) -> AsyncAuditLogsResourceWithRawResponse:
@@ -699,6 +755,10 @@ class AsyncCloudResourceWithRawResponse:
699
755
  def usage_reports(self) -> AsyncUsageReportsResourceWithRawResponse:
700
756
  return AsyncUsageReportsResourceWithRawResponse(self._cloud.usage_reports)
701
757
 
758
+ @cached_property
759
+ def databases(self) -> AsyncDatabasesResourceWithRawResponse:
760
+ return AsyncDatabasesResourceWithRawResponse(self._cloud.databases)
761
+
702
762
 
703
763
  class CloudResourceWithStreamingResponse:
704
764
  def __init__(self, cloud: CloudResource) -> None:
@@ -770,6 +830,9 @@ class CloudResourceWithStreamingResponse:
770
830
 
771
831
  @cached_property
772
832
  def placement_groups(self) -> PlacementGroupsResourceWithStreamingResponse:
833
+ """
834
+ Placement Groups allow you to specific a policy that determines whether Virtual Machines will be hosted on the same physical server or on different ones.
835
+ """
773
836
  return PlacementGroupsResourceWithStreamingResponse(self._cloud.placement_groups)
774
837
 
775
838
  @cached_property
@@ -792,13 +855,17 @@ class CloudResourceWithStreamingResponse:
792
855
  def gpu_baremetal_clusters(self) -> GPUBaremetalClustersResourceWithStreamingResponse:
793
856
  return GPUBaremetalClustersResourceWithStreamingResponse(self._cloud.gpu_baremetal_clusters)
794
857
 
858
+ @cached_property
859
+ def gpu_virtual_clusters(self) -> GPUVirtualClustersResourceWithStreamingResponse:
860
+ return GPUVirtualClustersResourceWithStreamingResponse(self._cloud.gpu_virtual_clusters)
861
+
795
862
  @cached_property
796
863
  def instances(self) -> InstancesResourceWithStreamingResponse:
797
864
  return InstancesResourceWithStreamingResponse(self._cloud.instances)
798
865
 
799
866
  @cached_property
800
- def k8s(self) -> K8sResourceWithStreamingResponse:
801
- return K8sResourceWithStreamingResponse(self._cloud.k8s)
867
+ def k8s(self) -> K8SResourceWithStreamingResponse:
868
+ return K8SResourceWithStreamingResponse(self._cloud.k8s)
802
869
 
803
870
  @cached_property
804
871
  def audit_logs(self) -> AuditLogsResourceWithStreamingResponse:
@@ -812,6 +879,10 @@ class CloudResourceWithStreamingResponse:
812
879
  def usage_reports(self) -> UsageReportsResourceWithStreamingResponse:
813
880
  return UsageReportsResourceWithStreamingResponse(self._cloud.usage_reports)
814
881
 
882
+ @cached_property
883
+ def databases(self) -> DatabasesResourceWithStreamingResponse:
884
+ return DatabasesResourceWithStreamingResponse(self._cloud.databases)
885
+
815
886
 
816
887
  class AsyncCloudResourceWithStreamingResponse:
817
888
  def __init__(self, cloud: AsyncCloudResource) -> None:
@@ -883,6 +954,9 @@ class AsyncCloudResourceWithStreamingResponse:
883
954
 
884
955
  @cached_property
885
956
  def placement_groups(self) -> AsyncPlacementGroupsResourceWithStreamingResponse:
957
+ """
958
+ Placement Groups allow you to specific a policy that determines whether Virtual Machines will be hosted on the same physical server or on different ones.
959
+ """
886
960
  return AsyncPlacementGroupsResourceWithStreamingResponse(self._cloud.placement_groups)
887
961
 
888
962
  @cached_property
@@ -905,13 +979,17 @@ class AsyncCloudResourceWithStreamingResponse:
905
979
  def gpu_baremetal_clusters(self) -> AsyncGPUBaremetalClustersResourceWithStreamingResponse:
906
980
  return AsyncGPUBaremetalClustersResourceWithStreamingResponse(self._cloud.gpu_baremetal_clusters)
907
981
 
982
+ @cached_property
983
+ def gpu_virtual_clusters(self) -> AsyncGPUVirtualClustersResourceWithStreamingResponse:
984
+ return AsyncGPUVirtualClustersResourceWithStreamingResponse(self._cloud.gpu_virtual_clusters)
985
+
908
986
  @cached_property
909
987
  def instances(self) -> AsyncInstancesResourceWithStreamingResponse:
910
988
  return AsyncInstancesResourceWithStreamingResponse(self._cloud.instances)
911
989
 
912
990
  @cached_property
913
- def k8s(self) -> AsyncK8sResourceWithStreamingResponse:
914
- return AsyncK8sResourceWithStreamingResponse(self._cloud.k8s)
991
+ def k8s(self) -> AsyncK8SResourceWithStreamingResponse:
992
+ return AsyncK8SResourceWithStreamingResponse(self._cloud.k8s)
915
993
 
916
994
  @cached_property
917
995
  def audit_logs(self) -> AsyncAuditLogsResourceWithStreamingResponse:
@@ -924,3 +1002,7 @@ class AsyncCloudResourceWithStreamingResponse:
924
1002
  @cached_property
925
1003
  def usage_reports(self) -> AsyncUsageReportsResourceWithStreamingResponse:
926
1004
  return AsyncUsageReportsResourceWithStreamingResponse(self._cloud.usage_reports)
1005
+
1006
+ @cached_property
1007
+ def databases(self) -> AsyncDatabasesResourceWithStreamingResponse:
1008
+ return AsyncDatabasesResourceWithStreamingResponse(self._cloud.databases)