gcore 0.5.0__py3-none-any.whl → 0.7.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.
- gcore/_client.py +9 -0
- gcore/_models.py +24 -3
- gcore/_version.py +1 -1
- gcore/pagination.py +101 -1
- gcore/resources/__init__.py +14 -0
- gcore/resources/cloud/__init__.py +42 -0
- gcore/resources/cloud/audit_logs.py +480 -0
- gcore/resources/cloud/cloud.py +96 -0
- gcore/resources/cloud/cost_reports.py +811 -0
- gcore/resources/cloud/file_shares/file_shares.py +74 -9
- gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +61 -26
- gcore/resources/cloud/inference/__init__.py +14 -0
- gcore/resources/cloud/inference/api_keys.py +621 -0
- gcore/resources/cloud/inference/inference.py +32 -0
- gcore/resources/cloud/inference/registry_credentials.py +4 -6
- gcore/resources/cloud/load_balancers/pools/members.py +22 -6
- gcore/resources/cloud/usage_reports.py +337 -0
- gcore/resources/streaming/__init__.py +159 -0
- gcore/resources/streaming/ai_tasks.py +1288 -0
- gcore/resources/streaming/broadcasts.py +579 -0
- gcore/resources/streaming/directories.py +515 -0
- gcore/resources/streaming/players.py +577 -0
- gcore/resources/streaming/playlists.py +1059 -0
- gcore/resources/streaming/quality_sets.py +331 -0
- gcore/resources/streaming/restreams.py +484 -0
- gcore/resources/streaming/statistics.py +3224 -0
- gcore/resources/streaming/streaming.py +390 -0
- gcore/resources/streaming/streams/__init__.py +33 -0
- gcore/resources/streaming/streams/overlays.py +716 -0
- gcore/resources/streaming/streams/streams.py +1592 -0
- gcore/resources/streaming/videos/__init__.py +33 -0
- gcore/resources/streaming/videos/subtitles.py +623 -0
- gcore/resources/streaming/videos/videos.py +1553 -0
- gcore/resources/waap/ip_info.py +28 -10
- gcore/types/cloud/__init__.py +12 -0
- gcore/types/cloud/audit_log_entry.py +254 -0
- gcore/types/cloud/audit_log_list_params.py +158 -0
- gcore/types/cloud/cost_report_aggregated.py +865 -0
- gcore/types/cloud/cost_report_aggregated_monthly.py +865 -0
- gcore/types/cloud/cost_report_detailed.py +1343 -0
- gcore/types/cloud/cost_report_get_aggregated_monthly_params.py +394 -0
- gcore/types/cloud/cost_report_get_aggregated_params.py +409 -0
- gcore/types/cloud/cost_report_get_detailed_params.py +435 -0
- gcore/types/cloud/file_share.py +37 -3
- gcore/types/cloud/file_share_create_params.py +16 -0
- gcore/types/cloud/file_share_update_params.py +29 -3
- gcore/types/cloud/gpu_baremetal_cluster.py +2 -2
- gcore/types/cloud/gpu_baremetal_cluster_create_params.py +9 -0
- gcore/types/cloud/inference/__init__.py +5 -0
- gcore/types/cloud/inference/api_key_create_params.py +21 -0
- gcore/types/cloud/inference/api_key_list_params.py +21 -0
- gcore/types/cloud/inference/api_key_update_params.py +16 -0
- gcore/types/cloud/inference/inference_api_key.py +24 -0
- gcore/types/cloud/inference/inference_api_key_create.py +27 -0
- gcore/types/cloud/load_balancer_create_params.py +14 -3
- gcore/types/cloud/load_balancers/pool_create_params.py +14 -3
- gcore/types/cloud/load_balancers/pool_update_params.py +14 -3
- gcore/types/cloud/load_balancers/pools/member_add_params.py +14 -3
- gcore/types/cloud/member.py +12 -4
- gcore/types/cloud/quota_get_all_response.py +24 -2
- gcore/types/cloud/quota_get_by_region_response.py +24 -2
- gcore/types/cloud/quotas/request_create_params.py +12 -1
- gcore/types/cloud/quotas/request_get_response.py +12 -1
- gcore/types/cloud/quotas/request_list_response.py +12 -1
- gcore/types/cloud/usage_report.py +1612 -0
- gcore/types/cloud/usage_report_get_params.py +432 -0
- gcore/types/streaming/__init__.py +143 -0
- gcore/types/streaming/ai_contentmoderation_casm.py +39 -0
- gcore/types/streaming/ai_contentmoderation_hardnudity.py +54 -0
- gcore/types/streaming/ai_contentmoderation_nsfw.py +39 -0
- gcore/types/streaming/ai_contentmoderation_softnudity.py +66 -0
- gcore/types/streaming/ai_contentmoderation_sport.py +39 -0
- gcore/types/streaming/ai_contentmoderation_weapon.py +39 -0
- gcore/types/streaming/ai_task.py +205 -0
- gcore/types/streaming/ai_task_cancel_response.py +12 -0
- gcore/types/streaming/ai_task_create_params.py +168 -0
- gcore/types/streaming/ai_task_create_response.py +10 -0
- gcore/types/streaming/ai_task_get_ai_settings_params.py +27 -0
- gcore/types/streaming/ai_task_get_ai_settings_response.py +12 -0
- gcore/types/streaming/ai_task_get_response.py +313 -0
- gcore/types/streaming/ai_task_list_params.py +50 -0
- gcore/types/streaming/broadcast.py +71 -0
- gcore/types/streaming/broadcast_create_params.py +76 -0
- gcore/types/streaming/broadcast_list_params.py +12 -0
- gcore/types/streaming/broadcast_spectators_count.py +12 -0
- gcore/types/streaming/broadcast_update_params.py +76 -0
- gcore/types/streaming/clip.py +78 -0
- gcore/types/streaming/create_video_param.py +214 -0
- gcore/types/streaming/direct_upload_parameters.py +33 -0
- gcore/types/streaming/directories_tree.py +19 -0
- gcore/types/streaming/directory_base.py +31 -0
- gcore/types/streaming/directory_create_params.py +15 -0
- gcore/types/streaming/directory_get_response.py +19 -0
- gcore/types/streaming/directory_item.py +13 -0
- gcore/types/streaming/directory_update_params.py +18 -0
- gcore/types/streaming/directory_video.py +13 -0
- gcore/types/streaming/ffprobes.py +25 -0
- gcore/types/streaming/max_stream_series.py +21 -0
- gcore/types/streaming/meet_series.py +23 -0
- gcore/types/streaming/player.py +114 -0
- gcore/types/streaming/player_create_params.py +18 -0
- gcore/types/streaming/player_list_params.py +12 -0
- gcore/types/streaming/player_param.py +114 -0
- gcore/types/streaming/player_update_params.py +18 -0
- gcore/types/streaming/playlist.py +102 -0
- gcore/types/streaming/playlist_create.py +12 -0
- gcore/types/streaming/playlist_create_params.py +102 -0
- gcore/types/streaming/playlist_list_params.py +12 -0
- gcore/types/streaming/playlist_list_videos_response.py +10 -0
- gcore/types/streaming/playlist_update_params.py +102 -0
- gcore/types/streaming/playlist_video.py +215 -0
- gcore/types/streaming/popular_videos.py +17 -0
- gcore/types/streaming/quality_set_set_default_params.py +23 -0
- gcore/types/streaming/quality_sets.py +57 -0
- gcore/types/streaming/restream.py +37 -0
- gcore/types/streaming/restream_create_params.py +41 -0
- gcore/types/streaming/restream_list_params.py +12 -0
- gcore/types/streaming/restream_update_params.py +41 -0
- gcore/types/streaming/statistic_get_ffprobes_params.py +22 -0
- gcore/types/streaming/statistic_get_live_unique_viewers_params.py +26 -0
- gcore/types/streaming/statistic_get_live_unique_viewers_response.py +25 -0
- gcore/types/streaming/statistic_get_live_watch_time_cdn_params.py +32 -0
- gcore/types/streaming/statistic_get_live_watch_time_total_cdn_params.py +30 -0
- gcore/types/streaming/statistic_get_max_streams_series_params.py +20 -0
- gcore/types/streaming/statistic_get_meet_series_params.py +20 -0
- gcore/types/streaming/statistic_get_popular_videos_params.py +15 -0
- gcore/types/streaming/statistic_get_storage_series_params.py +20 -0
- gcore/types/streaming/statistic_get_stream_series_params.py +20 -0
- gcore/types/streaming/statistic_get_unique_viewers_cdn_params.py +27 -0
- gcore/types/streaming/statistic_get_unique_viewers_params.py +34 -0
- gcore/types/streaming/statistic_get_views_by_browsers_params.py +15 -0
- gcore/types/streaming/statistic_get_views_by_country_params.py +15 -0
- gcore/types/streaming/statistic_get_views_by_hostname_params.py +15 -0
- gcore/types/streaming/statistic_get_views_by_operating_system_params.py +15 -0
- gcore/types/streaming/statistic_get_views_by_referer_params.py +15 -0
- gcore/types/streaming/statistic_get_views_by_region_params.py +15 -0
- gcore/types/streaming/statistic_get_views_heatmap_params.py +21 -0
- gcore/types/streaming/statistic_get_views_params.py +34 -0
- gcore/types/streaming/statistic_get_vod_storage_volume_params.py +17 -0
- gcore/types/streaming/statistic_get_vod_transcoding_duration_params.py +17 -0
- gcore/types/streaming/statistic_get_vod_unique_viewers_cdn_params.py +26 -0
- gcore/types/streaming/statistic_get_vod_watch_time_cdn_params.py +32 -0
- gcore/types/streaming/statistic_get_vod_watch_time_total_cdn_params.py +30 -0
- gcore/types/streaming/statistic_get_vod_watch_time_total_cdn_response.py +22 -0
- gcore/types/streaming/storage_series.py +23 -0
- gcore/types/streaming/stream.py +420 -0
- gcore/types/streaming/stream_create_clip_params.py +48 -0
- gcore/types/streaming/stream_create_params.py +165 -0
- gcore/types/streaming/stream_list_clips_response.py +10 -0
- gcore/types/streaming/stream_list_params.py +18 -0
- gcore/types/streaming/stream_series.py +21 -0
- gcore/types/streaming/stream_start_recording_response.py +76 -0
- gcore/types/streaming/stream_update_params.py +169 -0
- gcore/types/streaming/streams/__init__.py +11 -0
- gcore/types/streaming/streams/overlay.py +43 -0
- gcore/types/streaming/streams/overlay_create_params.py +36 -0
- gcore/types/streaming/streams/overlay_create_response.py +10 -0
- gcore/types/streaming/streams/overlay_list_response.py +10 -0
- gcore/types/streaming/streams/overlay_update_multiple_params.py +39 -0
- gcore/types/streaming/streams/overlay_update_multiple_response.py +10 -0
- gcore/types/streaming/streams/overlay_update_params.py +33 -0
- gcore/types/streaming/subtitle.py +12 -0
- gcore/types/streaming/subtitle_base.py +18 -0
- gcore/types/streaming/subtitle_base_param.py +18 -0
- gcore/types/streaming/unique_viewers.py +35 -0
- gcore/types/streaming/unique_viewers_cdn.py +17 -0
- gcore/types/streaming/video.py +444 -0
- gcore/types/streaming/video_create_multiple_params.py +28 -0
- gcore/types/streaming/video_create_multiple_response.py +10 -0
- gcore/types/streaming/video_create_params.py +13 -0
- gcore/types/streaming/video_create_response.py +10 -0
- gcore/types/streaming/video_list_names_params.py +13 -0
- gcore/types/streaming/video_list_params.py +59 -0
- gcore/types/streaming/video_update_params.py +214 -0
- gcore/types/streaming/videos/__init__.py +7 -0
- gcore/types/streaming/videos/subtitle_create_params.py +17 -0
- gcore/types/streaming/videos/subtitle_list_response.py +10 -0
- gcore/types/streaming/videos/subtitle_update_params.py +20 -0
- gcore/types/streaming/views.py +35 -0
- gcore/types/streaming/views_by_browser.py +17 -0
- gcore/types/streaming/views_by_country.py +19 -0
- gcore/types/streaming/views_by_hostname.py +17 -0
- gcore/types/streaming/views_by_operating_system.py +17 -0
- gcore/types/streaming/views_by_referer.py +17 -0
- gcore/types/streaming/views_by_region.py +19 -0
- gcore/types/streaming/views_heatmap.py +19 -0
- gcore/types/streaming/vod_statistics_series.py +21 -0
- gcore/types/streaming/vod_total_stream_duration_series.py +22 -0
- gcore/types/waap/domains/custom_rule_create_params.py +4 -4
- gcore/types/waap/domains/custom_rule_update_params.py +4 -4
- gcore/types/waap/ip_info_get_blocked_requests_params.py +5 -1
- gcore/types/waap/ip_info_get_counts_params.py +2 -1
- gcore/types/waap/ip_info_get_top_sessions_params.py +5 -1
- gcore/types/waap/ip_info_get_top_urls_params.py +5 -1
- gcore/types/waap/ip_info_get_top_user_agents_params.py +5 -1
- gcore/types/waap/waap_custom_rule.py +4 -4
- {gcore-0.5.0.dist-info → gcore-0.7.0.dist-info}/METADATA +2 -3
- {gcore-0.5.0.dist-info → gcore-0.7.0.dist-info}/RECORD +200 -43
- {gcore-0.5.0.dist-info → gcore-0.7.0.dist-info}/WHEEL +0 -0
- {gcore-0.5.0.dist-info → gcore-0.7.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["APIKeyUpdateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class APIKeyUpdateParams(TypedDict, total=False):
|
|
12
|
+
project_id: int
|
|
13
|
+
"""Project ID"""
|
|
14
|
+
|
|
15
|
+
description: Optional[str]
|
|
16
|
+
"""Description of the API Key."""
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from ...._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["InferenceAPIKey"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InferenceAPIKey(BaseModel):
|
|
11
|
+
created_at: str
|
|
12
|
+
"""Timestamp when the API Key was created."""
|
|
13
|
+
|
|
14
|
+
deployment_names: List[str]
|
|
15
|
+
"""List of inference deployment names to which this API Key has been attached."""
|
|
16
|
+
|
|
17
|
+
description: Optional[str] = None
|
|
18
|
+
"""Description of the API Key."""
|
|
19
|
+
|
|
20
|
+
expires_at: Optional[str] = None
|
|
21
|
+
"""Timestamp when the API Key will expire."""
|
|
22
|
+
|
|
23
|
+
name: str
|
|
24
|
+
"""API Key name."""
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from ...._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["InferenceAPIKeyCreate"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class InferenceAPIKeyCreate(BaseModel):
|
|
11
|
+
created_at: str
|
|
12
|
+
"""Timestamp when the API Key was created."""
|
|
13
|
+
|
|
14
|
+
deployment_names: List[str]
|
|
15
|
+
"""List of inference deployment names to which this API Key has been attached."""
|
|
16
|
+
|
|
17
|
+
description: Optional[str] = None
|
|
18
|
+
"""Description of the API Key."""
|
|
19
|
+
|
|
20
|
+
expires_at: Optional[str] = None
|
|
21
|
+
"""Timestamp when the API Key will expire."""
|
|
22
|
+
|
|
23
|
+
name: str
|
|
24
|
+
"""API Key name."""
|
|
25
|
+
|
|
26
|
+
secret: str
|
|
27
|
+
"""The actual API Key secret."""
|
|
@@ -173,7 +173,7 @@ class ListenerPoolMember(TypedDict, total=False):
|
|
|
173
173
|
protocol_port: Required[int]
|
|
174
174
|
"""Member IP port"""
|
|
175
175
|
|
|
176
|
-
admin_state_up:
|
|
176
|
+
admin_state_up: bool
|
|
177
177
|
"""Administrative state of the resource.
|
|
178
178
|
|
|
179
179
|
When set to true, the resource is enabled and operational. When set to false,
|
|
@@ -181,6 +181,14 @@ class ListenerPoolMember(TypedDict, total=False):
|
|
|
181
181
|
value is skipped and defaults to true.
|
|
182
182
|
"""
|
|
183
183
|
|
|
184
|
+
backup: bool
|
|
185
|
+
"""
|
|
186
|
+
Set to true if the member is a backup member, to which traffic will be sent
|
|
187
|
+
exclusively when all non-backup members will be unreachable. It allows to
|
|
188
|
+
realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP
|
|
189
|
+
configuration. Default is false.
|
|
190
|
+
"""
|
|
191
|
+
|
|
184
192
|
instance_id: Optional[str]
|
|
185
193
|
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
186
194
|
|
|
@@ -197,10 +205,13 @@ class ListenerPoolMember(TypedDict, total=False):
|
|
|
197
205
|
"""
|
|
198
206
|
|
|
199
207
|
subnet_id: Optional[str]
|
|
200
|
-
"""
|
|
208
|
+
"""`subnet_id` in which `address` is present.
|
|
209
|
+
|
|
210
|
+
Either `subnet_id` or `instance_id` should be provided
|
|
211
|
+
"""
|
|
201
212
|
|
|
202
213
|
weight: Optional[int]
|
|
203
|
-
"""Member weight. Valid values
|
|
214
|
+
"""Member weight. Valid values are 0 < `weight` <= 256, defaults to 1."""
|
|
204
215
|
|
|
205
216
|
|
|
206
217
|
class ListenerPoolSessionPersistence(TypedDict, total=False):
|
|
@@ -104,7 +104,7 @@ class Member(TypedDict, total=False):
|
|
|
104
104
|
protocol_port: Required[int]
|
|
105
105
|
"""Member IP port"""
|
|
106
106
|
|
|
107
|
-
admin_state_up:
|
|
107
|
+
admin_state_up: bool
|
|
108
108
|
"""Administrative state of the resource.
|
|
109
109
|
|
|
110
110
|
When set to true, the resource is enabled and operational. When set to false,
|
|
@@ -112,6 +112,14 @@ class Member(TypedDict, total=False):
|
|
|
112
112
|
value is skipped and defaults to true.
|
|
113
113
|
"""
|
|
114
114
|
|
|
115
|
+
backup: bool
|
|
116
|
+
"""
|
|
117
|
+
Set to true if the member is a backup member, to which traffic will be sent
|
|
118
|
+
exclusively when all non-backup members will be unreachable. It allows to
|
|
119
|
+
realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP
|
|
120
|
+
configuration. Default is false.
|
|
121
|
+
"""
|
|
122
|
+
|
|
115
123
|
instance_id: Optional[str]
|
|
116
124
|
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
117
125
|
|
|
@@ -128,10 +136,13 @@ class Member(TypedDict, total=False):
|
|
|
128
136
|
"""
|
|
129
137
|
|
|
130
138
|
subnet_id: Optional[str]
|
|
131
|
-
"""
|
|
139
|
+
"""`subnet_id` in which `address` is present.
|
|
140
|
+
|
|
141
|
+
Either `subnet_id` or `instance_id` should be provided
|
|
142
|
+
"""
|
|
132
143
|
|
|
133
144
|
weight: Optional[int]
|
|
134
|
-
"""Member weight. Valid values
|
|
145
|
+
"""Member weight. Valid values are 0 < `weight` <= 256, defaults to 1."""
|
|
135
146
|
|
|
136
147
|
|
|
137
148
|
class SessionPersistence(TypedDict, total=False):
|
|
@@ -102,7 +102,7 @@ class Member(TypedDict, total=False):
|
|
|
102
102
|
protocol_port: Required[int]
|
|
103
103
|
"""Member IP port"""
|
|
104
104
|
|
|
105
|
-
admin_state_up:
|
|
105
|
+
admin_state_up: bool
|
|
106
106
|
"""Administrative state of the resource.
|
|
107
107
|
|
|
108
108
|
When set to true, the resource is enabled and operational. When set to false,
|
|
@@ -110,6 +110,14 @@ class Member(TypedDict, total=False):
|
|
|
110
110
|
value is skipped and defaults to true.
|
|
111
111
|
"""
|
|
112
112
|
|
|
113
|
+
backup: bool
|
|
114
|
+
"""
|
|
115
|
+
Set to true if the member is a backup member, to which traffic will be sent
|
|
116
|
+
exclusively when all non-backup members will be unreachable. It allows to
|
|
117
|
+
realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP
|
|
118
|
+
configuration. Default is false.
|
|
119
|
+
"""
|
|
120
|
+
|
|
113
121
|
instance_id: Optional[str]
|
|
114
122
|
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
115
123
|
|
|
@@ -126,10 +134,13 @@ class Member(TypedDict, total=False):
|
|
|
126
134
|
"""
|
|
127
135
|
|
|
128
136
|
subnet_id: Optional[str]
|
|
129
|
-
"""
|
|
137
|
+
"""`subnet_id` in which `address` is present.
|
|
138
|
+
|
|
139
|
+
Either `subnet_id` or `instance_id` should be provided
|
|
140
|
+
"""
|
|
130
141
|
|
|
131
142
|
weight: Optional[int]
|
|
132
|
-
"""Member weight. Valid values
|
|
143
|
+
"""Member weight. Valid values are 0 < `weight` <= 256, defaults to 1."""
|
|
133
144
|
|
|
134
145
|
|
|
135
146
|
class SessionPersistence(TypedDict, total=False):
|
|
@@ -21,7 +21,7 @@ class MemberAddParams(TypedDict, total=False):
|
|
|
21
21
|
protocol_port: Required[int]
|
|
22
22
|
"""Member IP port"""
|
|
23
23
|
|
|
24
|
-
admin_state_up:
|
|
24
|
+
admin_state_up: bool
|
|
25
25
|
"""Administrative state of the resource.
|
|
26
26
|
|
|
27
27
|
When set to true, the resource is enabled and operational. When set to false,
|
|
@@ -29,6 +29,14 @@ class MemberAddParams(TypedDict, total=False):
|
|
|
29
29
|
value is skipped and defaults to true.
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
|
+
backup: bool
|
|
33
|
+
"""
|
|
34
|
+
Set to true if the member is a backup member, to which traffic will be sent
|
|
35
|
+
exclusively when all non-backup members will be unreachable. It allows to
|
|
36
|
+
realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP
|
|
37
|
+
configuration. Default is false.
|
|
38
|
+
"""
|
|
39
|
+
|
|
32
40
|
instance_id: Optional[str]
|
|
33
41
|
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
34
42
|
|
|
@@ -45,7 +53,10 @@ class MemberAddParams(TypedDict, total=False):
|
|
|
45
53
|
"""
|
|
46
54
|
|
|
47
55
|
subnet_id: Optional[str]
|
|
48
|
-
"""
|
|
56
|
+
"""`subnet_id` in which `address` is present.
|
|
57
|
+
|
|
58
|
+
Either `subnet_id` or `instance_id` should be provided
|
|
59
|
+
"""
|
|
49
60
|
|
|
50
61
|
weight: Optional[int]
|
|
51
|
-
"""Member weight. Valid values
|
|
62
|
+
"""Member weight. Valid values are 0 < `weight` <= 256, defaults to 1."""
|
gcore/types/cloud/member.py
CHANGED
|
@@ -24,6 +24,14 @@ class Member(BaseModel):
|
|
|
24
24
|
value is skipped and defaults to true.
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
+
backup: bool
|
|
28
|
+
"""
|
|
29
|
+
Set to true if the member is a backup member, to which traffic will be sent
|
|
30
|
+
exclusively when all non-backup members will be unreachable. It allows to
|
|
31
|
+
realize ACTIVE-BACKUP load balancing without thinking about VRRP and VIP
|
|
32
|
+
configuration. Default is false
|
|
33
|
+
"""
|
|
34
|
+
|
|
27
35
|
operating_status: LoadBalancerOperatingStatus
|
|
28
36
|
"""Member operating status of the entity"""
|
|
29
37
|
|
|
@@ -33,8 +41,11 @@ class Member(BaseModel):
|
|
|
33
41
|
provisioning_status: ProvisioningStatus
|
|
34
42
|
"""Pool member lifecycle status"""
|
|
35
43
|
|
|
44
|
+
subnet_id: Optional[str] = None
|
|
45
|
+
"""`subnet_id` in which `address` is present."""
|
|
46
|
+
|
|
36
47
|
weight: int
|
|
37
|
-
"""Member weight. Valid values
|
|
48
|
+
"""Member weight. Valid values are 0 < `weight` <= 256."""
|
|
38
49
|
|
|
39
50
|
monitor_address: Optional[str] = None
|
|
40
51
|
"""An alternate IP address used for health monitoring of a backend member.
|
|
@@ -47,6 +58,3 @@ class Member(BaseModel):
|
|
|
47
58
|
|
|
48
59
|
Default is null which monitors the member `protocol_port`.
|
|
49
60
|
"""
|
|
50
|
-
|
|
51
|
-
subnet_id: Optional[str] = None
|
|
52
|
-
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
@@ -65,10 +65,20 @@ class RegionalQuota(BaseModel):
|
|
|
65
65
|
"""Baremetal A100 GPU card count usage"""
|
|
66
66
|
|
|
67
67
|
baremetal_gpu_count_limit: Optional[int] = None
|
|
68
|
-
"""AI GPU bare metal servers
|
|
68
|
+
"""Total number of AI GPU bare metal servers.
|
|
69
|
+
|
|
70
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
71
|
+
of `baremetal_gpu_a100_count_limit`, `baremetal_gpu_h100_count_limit`,
|
|
72
|
+
`baremetal_gpu_h200_count_limit`, and `baremetal_gpu_l40s_count_limit`.
|
|
73
|
+
"""
|
|
69
74
|
|
|
70
75
|
baremetal_gpu_count_usage: Optional[int] = None
|
|
71
|
-
"""
|
|
76
|
+
"""Baremetal Gpu Count Usage.
|
|
77
|
+
|
|
78
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
79
|
+
of `baremetal_gpu_a100_count_usage`, `baremetal_gpu_h100_count_usage`,
|
|
80
|
+
`baremetal_gpu_h200_count_usage`, and `baremetal_gpu_l40s_count_usage`.
|
|
81
|
+
"""
|
|
72
82
|
|
|
73
83
|
baremetal_gpu_h100_count_limit: Optional[int] = None
|
|
74
84
|
"""Baremetal H100 GPU card count limit"""
|
|
@@ -76,6 +86,12 @@ class RegionalQuota(BaseModel):
|
|
|
76
86
|
baremetal_gpu_h100_count_usage: Optional[int] = None
|
|
77
87
|
"""Baremetal H100 GPU card count usage"""
|
|
78
88
|
|
|
89
|
+
baremetal_gpu_h200_count_limit: Optional[int] = None
|
|
90
|
+
"""Baremetal H200 GPU card count limit"""
|
|
91
|
+
|
|
92
|
+
baremetal_gpu_h200_count_usage: Optional[int] = None
|
|
93
|
+
"""Baremetal H200 GPU card count usage"""
|
|
94
|
+
|
|
79
95
|
baremetal_gpu_l40s_count_limit: Optional[int] = None
|
|
80
96
|
"""Baremetal L40S GPU card count limit"""
|
|
81
97
|
|
|
@@ -208,6 +224,12 @@ class RegionalQuota(BaseModel):
|
|
|
208
224
|
gpu_virtual_h100_count_usage: Optional[int] = None
|
|
209
225
|
"""Virtual H100 GPU card count usage"""
|
|
210
226
|
|
|
227
|
+
gpu_virtual_h200_count_limit: Optional[int] = None
|
|
228
|
+
"""Virtual H200 GPU card count limit"""
|
|
229
|
+
|
|
230
|
+
gpu_virtual_h200_count_usage: Optional[int] = None
|
|
231
|
+
"""Virtual H200 GPU card count usage"""
|
|
232
|
+
|
|
211
233
|
gpu_virtual_l40s_count_limit: Optional[int] = None
|
|
212
234
|
"""Virtual L40S GPU card count limit"""
|
|
213
235
|
|
|
@@ -21,10 +21,20 @@ class QuotaGetByRegionResponse(BaseModel):
|
|
|
21
21
|
"""Baremetal A100 GPU card count usage"""
|
|
22
22
|
|
|
23
23
|
baremetal_gpu_count_limit: Optional[int] = None
|
|
24
|
-
"""AI GPU bare metal servers
|
|
24
|
+
"""Total number of AI GPU bare metal servers.
|
|
25
|
+
|
|
26
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
27
|
+
of `baremetal_gpu_a100_count_limit`, `baremetal_gpu_h100_count_limit`,
|
|
28
|
+
`baremetal_gpu_h200_count_limit`, and `baremetal_gpu_l40s_count_limit`.
|
|
29
|
+
"""
|
|
25
30
|
|
|
26
31
|
baremetal_gpu_count_usage: Optional[int] = None
|
|
27
|
-
"""
|
|
32
|
+
"""Baremetal Gpu Count Usage.
|
|
33
|
+
|
|
34
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
35
|
+
of `baremetal_gpu_a100_count_usage`, `baremetal_gpu_h100_count_usage`,
|
|
36
|
+
`baremetal_gpu_h200_count_usage`, and `baremetal_gpu_l40s_count_usage`.
|
|
37
|
+
"""
|
|
28
38
|
|
|
29
39
|
baremetal_gpu_h100_count_limit: Optional[int] = None
|
|
30
40
|
"""Baremetal H100 GPU card count limit"""
|
|
@@ -32,6 +42,12 @@ class QuotaGetByRegionResponse(BaseModel):
|
|
|
32
42
|
baremetal_gpu_h100_count_usage: Optional[int] = None
|
|
33
43
|
"""Baremetal H100 GPU card count usage"""
|
|
34
44
|
|
|
45
|
+
baremetal_gpu_h200_count_limit: Optional[int] = None
|
|
46
|
+
"""Baremetal H200 GPU card count limit"""
|
|
47
|
+
|
|
48
|
+
baremetal_gpu_h200_count_usage: Optional[int] = None
|
|
49
|
+
"""Baremetal H200 GPU card count usage"""
|
|
50
|
+
|
|
35
51
|
baremetal_gpu_l40s_count_limit: Optional[int] = None
|
|
36
52
|
"""Baremetal L40S GPU card count limit"""
|
|
37
53
|
|
|
@@ -164,6 +180,12 @@ class QuotaGetByRegionResponse(BaseModel):
|
|
|
164
180
|
gpu_virtual_h100_count_usage: Optional[int] = None
|
|
165
181
|
"""Virtual H100 GPU card count usage"""
|
|
166
182
|
|
|
183
|
+
gpu_virtual_h200_count_limit: Optional[int] = None
|
|
184
|
+
"""Virtual H200 GPU card count limit"""
|
|
185
|
+
|
|
186
|
+
gpu_virtual_h200_count_usage: Optional[int] = None
|
|
187
|
+
"""Virtual H200 GPU card count usage"""
|
|
188
|
+
|
|
167
189
|
gpu_virtual_l40s_count_limit: Optional[int] = None
|
|
168
190
|
"""Virtual L40S GPU card count limit"""
|
|
169
191
|
|
|
@@ -50,11 +50,19 @@ class RequestedLimitsRegionalLimit(TypedDict, total=False):
|
|
|
50
50
|
"""Baremetal A100 GPU card count limit"""
|
|
51
51
|
|
|
52
52
|
baremetal_gpu_count_limit: int
|
|
53
|
-
"""AI GPU bare metal servers
|
|
53
|
+
"""Total number of AI GPU bare metal servers.
|
|
54
|
+
|
|
55
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
56
|
+
of `baremetal_gpu_a100_count_limit`, `baremetal_gpu_h100_count_limit`,
|
|
57
|
+
`baremetal_gpu_h200_count_limit`, and `baremetal_gpu_l40s_count_limit`.
|
|
58
|
+
"""
|
|
54
59
|
|
|
55
60
|
baremetal_gpu_h100_count_limit: int
|
|
56
61
|
"""Baremetal H100 GPU card count limit"""
|
|
57
62
|
|
|
63
|
+
baremetal_gpu_h200_count_limit: int
|
|
64
|
+
"""Baremetal H200 GPU card count limit"""
|
|
65
|
+
|
|
58
66
|
baremetal_gpu_l40s_count_limit: int
|
|
59
67
|
"""Baremetal L40S GPU card count limit"""
|
|
60
68
|
|
|
@@ -121,6 +129,9 @@ class RequestedLimitsRegionalLimit(TypedDict, total=False):
|
|
|
121
129
|
gpu_virtual_h100_count_limit: int
|
|
122
130
|
"""Virtual H100 GPU card count limit"""
|
|
123
131
|
|
|
132
|
+
gpu_virtual_h200_count_limit: int
|
|
133
|
+
"""Virtual H200 GPU card count limit"""
|
|
134
|
+
|
|
124
135
|
gpu_virtual_l40s_count_limit: int
|
|
125
136
|
"""Virtual L40S GPU card count limit"""
|
|
126
137
|
|
|
@@ -39,11 +39,19 @@ class RequestedLimitsRegionalLimit(BaseModel):
|
|
|
39
39
|
"""Baremetal A100 GPU card count limit"""
|
|
40
40
|
|
|
41
41
|
baremetal_gpu_count_limit: Optional[int] = None
|
|
42
|
-
"""AI GPU bare metal servers
|
|
42
|
+
"""Total number of AI GPU bare metal servers.
|
|
43
|
+
|
|
44
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
45
|
+
of `baremetal_gpu_a100_count_limit`, `baremetal_gpu_h100_count_limit`,
|
|
46
|
+
`baremetal_gpu_h200_count_limit`, and `baremetal_gpu_l40s_count_limit`.
|
|
47
|
+
"""
|
|
43
48
|
|
|
44
49
|
baremetal_gpu_h100_count_limit: Optional[int] = None
|
|
45
50
|
"""Baremetal H100 GPU card count limit"""
|
|
46
51
|
|
|
52
|
+
baremetal_gpu_h200_count_limit: Optional[int] = None
|
|
53
|
+
"""Baremetal H200 GPU card count limit"""
|
|
54
|
+
|
|
47
55
|
baremetal_gpu_l40s_count_limit: Optional[int] = None
|
|
48
56
|
"""Baremetal L40S GPU card count limit"""
|
|
49
57
|
|
|
@@ -110,6 +118,9 @@ class RequestedLimitsRegionalLimit(BaseModel):
|
|
|
110
118
|
gpu_virtual_h100_count_limit: Optional[int] = None
|
|
111
119
|
"""Virtual H100 GPU card count limit"""
|
|
112
120
|
|
|
121
|
+
gpu_virtual_h200_count_limit: Optional[int] = None
|
|
122
|
+
"""Virtual H200 GPU card count limit"""
|
|
123
|
+
|
|
113
124
|
gpu_virtual_l40s_count_limit: Optional[int] = None
|
|
114
125
|
"""Virtual L40S GPU card count limit"""
|
|
115
126
|
|
|
@@ -39,11 +39,19 @@ class RequestedLimitsRegionalLimit(BaseModel):
|
|
|
39
39
|
"""Baremetal A100 GPU card count limit"""
|
|
40
40
|
|
|
41
41
|
baremetal_gpu_count_limit: Optional[int] = None
|
|
42
|
-
"""AI GPU bare metal servers
|
|
42
|
+
"""Total number of AI GPU bare metal servers.
|
|
43
|
+
|
|
44
|
+
This field is deprecated and is now always calculated automatically as the sum
|
|
45
|
+
of `baremetal_gpu_a100_count_limit`, `baremetal_gpu_h100_count_limit`,
|
|
46
|
+
`baremetal_gpu_h200_count_limit`, and `baremetal_gpu_l40s_count_limit`.
|
|
47
|
+
"""
|
|
43
48
|
|
|
44
49
|
baremetal_gpu_h100_count_limit: Optional[int] = None
|
|
45
50
|
"""Baremetal H100 GPU card count limit"""
|
|
46
51
|
|
|
52
|
+
baremetal_gpu_h200_count_limit: Optional[int] = None
|
|
53
|
+
"""Baremetal H200 GPU card count limit"""
|
|
54
|
+
|
|
47
55
|
baremetal_gpu_l40s_count_limit: Optional[int] = None
|
|
48
56
|
"""Baremetal L40S GPU card count limit"""
|
|
49
57
|
|
|
@@ -110,6 +118,9 @@ class RequestedLimitsRegionalLimit(BaseModel):
|
|
|
110
118
|
gpu_virtual_h100_count_limit: Optional[int] = None
|
|
111
119
|
"""Virtual H100 GPU card count limit"""
|
|
112
120
|
|
|
121
|
+
gpu_virtual_h200_count_limit: Optional[int] = None
|
|
122
|
+
"""Virtual H200 GPU card count limit"""
|
|
123
|
+
|
|
113
124
|
gpu_virtual_l40s_count_limit: Optional[int] = None
|
|
114
125
|
"""Virtual L40S GPU card count limit"""
|
|
115
126
|
|