gcore 0.10.0__py3-none-any.whl → 0.12.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/_base_client.py +3 -3
- gcore/_client.py +18 -0
- gcore/_compat.py +48 -48
- gcore/_models.py +41 -41
- gcore/_types.py +35 -1
- gcore/_utils/__init__.py +9 -2
- gcore/_utils/_compat.py +45 -0
- gcore/_utils/_datetime_parse.py +136 -0
- gcore/_utils/_transform.py +11 -1
- gcore/_utils/_typing.py +6 -1
- gcore/_utils/_utils.py +0 -1
- gcore/_version.py +1 -1
- gcore/resources/__init__.py +28 -0
- gcore/resources/cloud/__init__.py +14 -0
- gcore/resources/cloud/audit_logs.py +3 -3
- gcore/resources/cloud/baremetal/images.py +3 -4
- gcore/resources/cloud/baremetal/servers.py +16 -4
- gcore/resources/cloud/cloud.py +32 -0
- gcore/resources/cloud/cost_reports.py +24 -16
- gcore/resources/cloud/file_shares/access_rules.py +2 -2
- gcore/resources/cloud/file_shares/file_shares.py +30 -14
- gcore/resources/cloud/floating_ips.py +196 -4
- gcore/resources/cloud/gpu_baremetal_clusters/flavors.py +1 -1
- gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +166 -190
- gcore/resources/cloud/gpu_baremetal_clusters/servers.py +268 -12
- gcore/resources/cloud/inference/__init__.py +14 -14
- gcore/resources/cloud/inference/applications/__init__.py +47 -0
- gcore/resources/cloud/inference/applications/applications.py +134 -0
- gcore/resources/cloud/inference/applications/deployments.py +649 -0
- gcore/resources/cloud/inference/applications/templates.py +238 -0
- gcore/resources/cloud/inference/deployments/deployments.py +41 -22
- gcore/resources/cloud/inference/inference.py +32 -32
- gcore/resources/cloud/inference/registry_credentials.py +8 -9
- gcore/resources/cloud/instances/images.py +4 -4
- gcore/resources/cloud/instances/instances.py +254 -4
- gcore/resources/cloud/instances/interfaces.py +544 -0
- gcore/resources/cloud/k8s/__init__.py +47 -0
- gcore/resources/cloud/k8s/clusters/__init__.py +47 -0
- gcore/resources/cloud/k8s/clusters/clusters.py +1391 -0
- gcore/resources/cloud/k8s/clusters/nodes.py +291 -0
- gcore/resources/cloud/k8s/clusters/pools/__init__.py +33 -0
- gcore/resources/cloud/k8s/clusters/pools/nodes.py +303 -0
- gcore/resources/cloud/k8s/clusters/pools/pools.py +870 -0
- gcore/resources/cloud/k8s/flavors.py +209 -0
- gcore/resources/cloud/k8s/k8s.py +233 -0
- gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +11 -12
- gcore/resources/cloud/load_balancers/l7_policies/rules.py +9 -10
- gcore/resources/cloud/load_balancers/listeners.py +18 -18
- gcore/resources/cloud/load_balancers/load_balancers.py +4 -4
- gcore/resources/cloud/load_balancers/pools/health_monitors.py +18 -6
- gcore/resources/cloud/load_balancers/pools/members.py +32 -2
- gcore/resources/cloud/load_balancers/pools/pools.py +32 -8
- gcore/resources/cloud/networks/networks.py +192 -4
- gcore/resources/cloud/networks/subnets.py +140 -8
- gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +608 -0
- gcore/resources/cloud/reserved_fixed_ips/vip.py +5 -7
- gcore/resources/cloud/security_groups/security_groups.py +6 -6
- gcore/resources/cloud/tasks.py +46 -46
- gcore/resources/cloud/users/role_assignments.py +5 -4
- gcore/resources/cloud/volumes.py +1125 -223
- gcore/resources/dns/__init__.py +75 -0
- gcore/resources/dns/dns.py +374 -0
- gcore/resources/dns/locations.py +288 -0
- gcore/resources/dns/metrics.py +214 -0
- gcore/resources/dns/pickers/__init__.py +33 -0
- gcore/resources/dns/pickers/pickers.py +167 -0
- gcore/resources/dns/pickers/presets.py +135 -0
- gcore/resources/dns/zones/__init__.py +47 -0
- gcore/resources/{cloud/inference/models.py → dns/zones/dnssec.py} +80 -122
- gcore/resources/dns/zones/rrsets.py +1005 -0
- gcore/resources/dns/zones/zones.py +1493 -0
- gcore/resources/storage/__init__.py +75 -0
- gcore/resources/storage/buckets/__init__.py +61 -0
- gcore/resources/storage/buckets/buckets.py +470 -0
- gcore/resources/storage/buckets/cors.py +265 -0
- gcore/resources/storage/buckets/lifecycle.py +276 -0
- gcore/resources/storage/buckets/policy.py +345 -0
- gcore/resources/storage/credentials.py +221 -0
- gcore/resources/storage/locations.py +190 -0
- gcore/resources/storage/statistics.py +364 -0
- gcore/resources/storage/storage.py +1046 -0
- gcore/resources/streaming/ai_tasks.py +56 -70
- gcore/resources/streaming/playlists.py +18 -18
- gcore/resources/streaming/quality_sets.py +8 -8
- gcore/resources/streaming/statistics.py +4 -122
- gcore/resources/streaming/streams/overlays.py +6 -6
- gcore/resources/streaming/streams/streams.py +40 -64
- gcore/resources/streaming/videos/subtitles.py +32 -30
- gcore/resources/streaming/videos/videos.py +78 -72
- gcore/resources/waap/domains/advanced_rules.py +2 -2
- gcore/resources/waap/domains/api_paths.py +13 -13
- gcore/resources/waap/domains/custom_rules.py +2 -2
- gcore/resources/waap/domains/domains.py +4 -4
- gcore/resources/waap/domains/firewall_rules.py +2 -2
- gcore/resources/waap/domains/insight_silences.py +6 -6
- gcore/resources/waap/domains/insights.py +7 -7
- gcore/resources/waap/domains/statistics.py +47 -47
- gcore/types/cloud/__init__.py +2 -4
- gcore/types/cloud/audit_log_list_params.py +2 -1
- gcore/types/cloud/baremetal/image_list_params.py +3 -2
- gcore/types/cloud/baremetal/server_create_params.py +8 -6
- gcore/types/cloud/baremetal/server_list_params.py +3 -2
- gcore/types/cloud/baremetal/server_rebuild_params.py +2 -0
- gcore/types/cloud/cost_report_get_aggregated_monthly_params.py +35 -31
- gcore/types/cloud/cost_report_get_aggregated_params.py +26 -25
- gcore/types/cloud/cost_report_get_detailed_params.py +26 -25
- gcore/types/cloud/ddos_profile.py +13 -7
- gcore/types/cloud/ddos_profile_field.py +21 -8
- gcore/types/cloud/ddos_profile_option_list.py +7 -6
- gcore/types/cloud/ddos_profile_status.py +2 -2
- gcore/types/cloud/ddos_profile_template.py +7 -3
- gcore/types/cloud/ddos_profile_template_field.py +12 -3
- gcore/types/cloud/file_share.py +2 -2
- gcore/types/cloud/file_share_create_params.py +12 -6
- gcore/types/cloud/floating_ip_list_params.py +3 -2
- gcore/types/cloud/gpu_baremetal_cluster.py +101 -74
- gcore/types/cloud/gpu_baremetal_cluster_create_params.py +76 -93
- gcore/types/cloud/gpu_baremetal_cluster_delete_params.py +17 -10
- gcore/types/cloud/gpu_baremetal_cluster_list_params.py +14 -3
- gcore/types/cloud/gpu_baremetal_cluster_rebuild_params.py +4 -2
- gcore/types/cloud/gpu_baremetal_clusters/__init__.py +6 -0
- gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_cluster_server.py +74 -0
- gcore/types/cloud/{gpu_baremetal_cluster_server.py → gpu_baremetal_clusters/gpu_baremetal_cluster_server_v1.py} +10 -10
- gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_cluster_server_v1_list.py +16 -0
- gcore/types/cloud/{gpu_baremetal_flavor.py → gpu_baremetal_clusters/gpu_baremetal_flavor.py} +1 -1
- gcore/types/cloud/{gpu_baremetal_flavor_list.py → gpu_baremetal_clusters/gpu_baremetal_flavor_list.py} +1 -1
- gcore/types/cloud/gpu_baremetal_clusters/server_list_params.py +75 -0
- gcore/types/cloud/inference/__init__.py +0 -5
- gcore/types/cloud/inference/applications/__init__.py +12 -0
- gcore/types/cloud/inference/applications/deployment_create_params.py +68 -0
- gcore/types/cloud/inference/applications/deployment_patch_params.py +62 -0
- gcore/types/cloud/inference/applications/inference_application_deployment.py +111 -0
- gcore/types/cloud/inference/applications/inference_application_deployment_list.py +16 -0
- gcore/types/cloud/inference/applications/inference_application_template.py +94 -0
- gcore/types/cloud/inference/applications/inference_application_template_list.py +16 -0
- gcore/types/cloud/inference/deployment_create_params.py +7 -6
- gcore/types/cloud/inference/deployment_update_params.py +7 -6
- gcore/types/cloud/instance_assign_security_group_params.py +4 -2
- gcore/types/cloud/instance_list_params.py +3 -2
- gcore/types/cloud/instance_unassign_security_group_params.py +4 -2
- gcore/types/cloud/instances/image_list_params.py +3 -2
- gcore/types/cloud/k8s/__init__.py +13 -0
- gcore/types/cloud/k8s/cluster_create_params.py +299 -0
- gcore/types/cloud/k8s/cluster_delete_params.py +16 -0
- gcore/types/cloud/k8s/cluster_update_params.py +203 -0
- gcore/types/cloud/k8s/cluster_upgrade_params.py +16 -0
- gcore/types/cloud/k8s/clusters/__init__.py +10 -0
- gcore/types/cloud/k8s/clusters/k8s_cluster_pool.py +66 -0
- gcore/types/cloud/k8s/clusters/k8s_cluster_pool_list.py +16 -0
- gcore/types/cloud/k8s/clusters/node_list_params.py +16 -0
- gcore/types/cloud/k8s/clusters/pool_create_params.py +53 -0
- gcore/types/cloud/k8s/clusters/pool_resize_params.py +18 -0
- gcore/types/cloud/k8s/clusters/pool_update_params.py +34 -0
- gcore/types/cloud/k8s/clusters/pools/__init__.py +5 -0
- gcore/types/cloud/k8s/clusters/pools/node_list_params.py +18 -0
- gcore/types/cloud/k8s/flavor_list_params.py +19 -0
- gcore/types/cloud/k8s/k8s_cluster.py +209 -0
- gcore/types/cloud/k8s/k8s_cluster_certificate.py +13 -0
- gcore/types/cloud/k8s/k8s_cluster_kubeconfig.py +19 -0
- gcore/types/cloud/k8s/k8s_cluster_list.py +16 -0
- gcore/types/cloud/k8s_cluster_version.py +10 -0
- gcore/types/cloud/{gpu_baremetal_cluster_server_list.py → k8s_cluster_version_list.py} +4 -4
- gcore/types/cloud/load_balancer_create_params.py +23 -4
- gcore/types/cloud/load_balancer_list_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policies/rule_create_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policies/rule_replace_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policy_create_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policy_replace_params.py +3 -2
- gcore/types/cloud/load_balancers/listener_create_params.py +4 -3
- gcore/types/cloud/load_balancers/listener_update_params.py +5 -3
- gcore/types/cloud/load_balancers/pool_create_params.py +19 -1
- gcore/types/cloud/load_balancers/pool_update_params.py +19 -1
- gcore/types/cloud/load_balancers/pools/member_add_params.py +19 -1
- gcore/types/cloud/member.py +19 -1
- gcore/types/cloud/network_list_params.py +3 -2
- gcore/types/cloud/networks/subnet_create_params.py +3 -2
- gcore/types/cloud/networks/subnet_list_params.py +3 -2
- gcore/types/cloud/networks/subnet_update_params.py +3 -2
- gcore/types/cloud/project.py +9 -9
- gcore/types/cloud/reserved_fixed_ips/vip_replace_connected_ports_params.py +3 -2
- gcore/types/cloud/reserved_fixed_ips/vip_update_connected_ports_params.py +3 -2
- gcore/types/cloud/security_group_create_params.py +4 -2
- gcore/types/cloud/security_group_list_params.py +3 -2
- gcore/types/cloud/task_id_list.py +8 -1
- gcore/types/cloud/task_list_params.py +23 -23
- gcore/types/cloud/usage_report_get_params.py +26 -25
- gcore/types/cloud/users/role_assignment.py +2 -1
- gcore/types/cloud/users/role_assignment_create_params.py +4 -2
- gcore/types/cloud/users/role_assignment_update_params.py +4 -2
- gcore/types/cloud/volume_list_params.py +3 -2
- gcore/types/dns/__init__.py +31 -0
- gcore/types/dns/dns_get_account_overview_response.py +21 -0
- gcore/types/dns/dns_label_name.py +13 -0
- gcore/types/dns/dns_location_translations.py +11 -0
- gcore/types/dns/dns_lookup_params.py +15 -0
- gcore/types/dns/dns_lookup_response.py +21 -0
- gcore/types/dns/dns_name_server.py +17 -0
- gcore/types/dns/location_list_continents_response.py +10 -0
- gcore/types/dns/location_list_countries_response.py +10 -0
- gcore/types/dns/location_list_regions_response.py +10 -0
- gcore/types/dns/location_list_response.py +16 -0
- gcore/types/dns/metric_list_params.py +24 -0
- gcore/types/dns/metric_list_response.py +7 -0
- gcore/types/dns/picker_list_response.py +10 -0
- gcore/types/dns/pickers/__init__.py +5 -0
- gcore/types/dns/pickers/preset_list_response.py +10 -0
- gcore/types/dns/zone_check_delegation_status_response.py +20 -0
- gcore/types/dns/zone_create_params.py +59 -0
- gcore/types/dns/zone_create_response.py +13 -0
- gcore/types/dns/zone_export_response.py +11 -0
- gcore/types/dns/zone_get_response.py +106 -0
- gcore/types/dns/zone_get_statistics_params.py +43 -0
- gcore/types/dns/zone_get_statistics_response.py +19 -0
- gcore/types/dns/zone_import_params.py +32 -0
- gcore/types/dns/zone_import_response.py +26 -0
- gcore/types/dns/zone_list_params.py +57 -0
- gcore/types/dns/zone_list_response.py +105 -0
- gcore/types/dns/zone_replace_params.py +61 -0
- gcore/types/dns/zones/__init__.py +15 -0
- gcore/types/dns/zones/dns_failover_log.py +19 -0
- gcore/types/dns/zones/dns_output_rrset.py +123 -0
- gcore/types/dns/zones/dnssec_get_response.py +38 -0
- gcore/types/dns/zones/dnssec_update_params.py +11 -0
- gcore/types/dns/zones/dnssec_update_response.py +38 -0
- gcore/types/dns/zones/rrset_create_params.py +82 -0
- gcore/types/dns/zones/rrset_get_failover_logs_params.py +21 -0
- gcore/types/dns/zones/rrset_get_failover_logs_response.py +15 -0
- gcore/types/dns/zones/rrset_list_params.py +21 -0
- gcore/types/dns/zones/rrset_list_response.py +14 -0
- gcore/types/dns/zones/rrset_replace_params.py +82 -0
- gcore/types/security/client_profile.py +1 -1
- gcore/types/security/profile_create_params.py +2 -2
- gcore/types/security/profile_recreate_params.py +2 -2
- gcore/types/security/profile_replace_params.py +2 -2
- gcore/types/storage/__init__.py +21 -0
- gcore/types/storage/bucket.py +15 -0
- gcore/types/storage/bucket_list_params.py +15 -0
- gcore/types/storage/buckets/__init__.py +9 -0
- gcore/types/storage/buckets/bucket_cors.py +18 -0
- gcore/types/storage/buckets/bucket_policy.py +7 -0
- gcore/types/storage/buckets/cor_create_params.py +17 -0
- gcore/types/storage/buckets/lifecycle_create_params.py +18 -0
- gcore/types/storage/buckets/policy_get_response.py +7 -0
- gcore/types/storage/credential_recreate_params.py +36 -0
- gcore/types/storage/location.py +24 -0
- gcore/types/storage/location_list_params.py +13 -0
- gcore/types/storage/statistic_get_usage_aggregated_params.py +24 -0
- gcore/types/storage/statistic_get_usage_series_params.py +38 -0
- gcore/types/storage/statistic_get_usage_series_response.py +12 -0
- gcore/types/storage/storage.py +101 -0
- gcore/types/storage/storage_create_params.py +44 -0
- gcore/types/storage/storage_list_params.py +39 -0
- gcore/types/storage/storage_restore_params.py +11 -0
- gcore/types/storage/storage_update_params.py +18 -0
- gcore/types/storage/usage_series.py +201 -0
- gcore/types/storage/usage_total.py +54 -0
- gcore/types/streaming/__init__.py +0 -4
- gcore/types/streaming/ai_contentmoderation_hardnudity.py +1 -1
- gcore/types/streaming/ai_contentmoderation_nsfw.py +1 -1
- gcore/types/streaming/ai_contentmoderation_softnudity.py +1 -1
- gcore/types/streaming/ai_contentmoderation_sport.py +1 -1
- gcore/types/streaming/ai_task.py +1 -5
- gcore/types/streaming/ai_task_create_params.py +2 -2
- gcore/types/streaming/ai_task_get_response.py +0 -46
- gcore/types/streaming/clip.py +2 -1
- gcore/types/streaming/create_video_param.py +13 -12
- gcore/types/streaming/max_stream_series.py +5 -5
- gcore/types/streaming/playlist.py +1 -1
- gcore/types/streaming/playlist_create_params.py +1 -1
- gcore/types/streaming/playlist_update_params.py +1 -1
- gcore/types/streaming/playlist_video.py +13 -12
- gcore/types/streaming/storage_series.py +5 -5
- gcore/types/streaming/stream.py +86 -49
- gcore/types/streaming/stream_create_clip_params.py +2 -1
- gcore/types/streaming/stream_create_params.py +9 -23
- gcore/types/streaming/stream_series.py +5 -5
- gcore/types/streaming/stream_update_params.py +9 -23
- gcore/types/streaming/video.py +53 -42
- gcore/types/streaming/video_update_params.py +13 -12
- gcore/types/streaming/vod_statistics_series.py +5 -5
- gcore/types/streaming/vod_total_stream_duration_series.py +3 -3
- gcore/types/waap/domain_list_params.py +1 -1
- gcore/types/waap/domain_update_params.py +1 -1
- gcore/types/waap/domains/advanced_rule_create_params.py +7 -4
- gcore/types/waap/domains/advanced_rule_update_params.py +6 -3
- gcore/types/waap/domains/api_path_create_params.py +4 -3
- gcore/types/waap/domains/api_path_list_params.py +3 -1
- gcore/types/waap/domains/api_path_update_params.py +5 -4
- gcore/types/waap/domains/custom_rule_create_params.py +13 -14
- gcore/types/waap/domains/custom_rule_update_params.py +12 -13
- gcore/types/waap/domains/firewall_rule_create_params.py +3 -2
- gcore/types/waap/domains/firewall_rule_update_params.py +2 -1
- gcore/types/waap/domains/insight_list_params.py +4 -2
- gcore/types/waap/domains/insight_replace_params.py +1 -1
- gcore/types/waap/domains/insight_silence_list_params.py +5 -3
- gcore/types/waap/domains/setting_update_params.py +3 -2
- gcore/types/waap/domains/statistic_get_ddos_info_params.py +6 -9
- gcore/types/waap/domains/statistic_get_events_aggregated_params.py +9 -10
- gcore/types/waap/domains/statistic_get_requests_series_params.py +8 -9
- gcore/types/waap/domains/statistic_get_traffic_series_params.py +6 -9
- gcore/types/waap/domains/waap_advanced_rule.py +3 -2
- gcore/types/waap/domains/waap_api_path.py +4 -4
- gcore/types/waap/domains/waap_api_scan_result.py +2 -2
- gcore/types/waap/domains/waap_custom_rule.py +4 -7
- gcore/types/waap/domains/waap_firewall_rule.py +3 -2
- gcore/types/waap/domains/waap_insight.py +1 -1
- gcore/types/waap/domains/waap_request_details.py +5 -4
- gcore/types/waap/waap_ip_ddos_info_model.py +3 -3
- gcore/types/waap/waap_rule_set.py +1 -1
- {gcore-0.10.0.dist-info → gcore-0.12.0.dist-info}/METADATA +7 -2
- {gcore-0.10.0.dist-info → gcore-0.12.0.dist-info}/RECORD +313 -193
- gcore/types/cloud/inference/inference_model.py +0 -65
- gcore/types/cloud/inference/inference_registry_credentials_create.py +0 -22
- gcore/types/cloud/inference/model_list_params.py +0 -21
- gcore/types/streaming/ai_contentmoderation_casm.py +0 -39
- gcore/types/streaming/ai_contentmoderation_weapon.py +0 -39
- gcore/types/streaming/meet_series.py +0 -23
- gcore/types/streaming/statistic_get_meet_series_params.py +0 -20
- {gcore-0.10.0.dist-info → gcore-0.12.0.dist-info}/WHEEL +0 -0
- {gcore-0.10.0.dist-info → gcore-0.12.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -8,7 +8,7 @@ from typing_extensions import Literal
|
|
|
8
8
|
|
|
9
9
|
import httpx
|
|
10
10
|
|
|
11
|
-
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
11
|
+
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
|
|
12
12
|
from ...._utils import maybe_transform, async_maybe_transform
|
|
13
13
|
from ...._compat import cached_property
|
|
14
14
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -124,8 +124,8 @@ class StatisticsResource(SyncAPIResource):
|
|
|
124
124
|
domain_id: int,
|
|
125
125
|
*,
|
|
126
126
|
group_by: Literal["URL", "User-Agent", "IP"],
|
|
127
|
-
start:
|
|
128
|
-
end:
|
|
127
|
+
start: str,
|
|
128
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
129
129
|
limit: int | NotGiven = NOT_GIVEN,
|
|
130
130
|
offset: int | NotGiven = NOT_GIVEN,
|
|
131
131
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -143,10 +143,10 @@ class StatisticsResource(SyncAPIResource):
|
|
|
143
143
|
|
|
144
144
|
group_by: The identity of the requests to group by
|
|
145
145
|
|
|
146
|
-
start: Filter
|
|
146
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
147
147
|
|
|
148
|
-
end: Filter
|
|
149
|
-
defaults to the current date and time.
|
|
148
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
149
|
+
provided, defaults to the current date and time.
|
|
150
150
|
|
|
151
151
|
limit: Number of items to return
|
|
152
152
|
|
|
@@ -186,11 +186,11 @@ class StatisticsResource(SyncAPIResource):
|
|
|
186
186
|
self,
|
|
187
187
|
domain_id: int,
|
|
188
188
|
*,
|
|
189
|
-
start:
|
|
189
|
+
start: str,
|
|
190
190
|
action: Optional[List[Literal["block", "captcha", "handshake", "monitor"]]] | NotGiven = NOT_GIVEN,
|
|
191
|
-
end:
|
|
192
|
-
ip: Optional[
|
|
193
|
-
reference_id: Optional[
|
|
191
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
192
|
+
ip: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN,
|
|
193
|
+
reference_id: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN,
|
|
194
194
|
result: Optional[List[Literal["passed", "blocked", "monitored", "allowed"]]] | NotGiven = NOT_GIVEN,
|
|
195
195
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
196
196
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -205,12 +205,12 @@ class StatisticsResource(SyncAPIResource):
|
|
|
205
205
|
Args:
|
|
206
206
|
domain_id: The domain ID
|
|
207
207
|
|
|
208
|
-
start: Filter
|
|
208
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
209
209
|
|
|
210
210
|
action: A list of action names to filter on.
|
|
211
211
|
|
|
212
|
-
end: Filter
|
|
213
|
-
defaults to the current date and time.
|
|
212
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
213
|
+
provided, defaults to the current date and time.
|
|
214
214
|
|
|
215
215
|
ip: A list of IPs to filter event statistics.
|
|
216
216
|
|
|
@@ -291,10 +291,10 @@ class StatisticsResource(SyncAPIResource):
|
|
|
291
291
|
self,
|
|
292
292
|
domain_id: int,
|
|
293
293
|
*,
|
|
294
|
-
start:
|
|
294
|
+
start: str,
|
|
295
295
|
actions: List[Literal["allow", "block", "captcha", "handshake"]] | NotGiven = NOT_GIVEN,
|
|
296
|
-
countries:
|
|
297
|
-
end:
|
|
296
|
+
countries: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
|
|
297
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
298
298
|
ip: str | NotGiven = NOT_GIVEN,
|
|
299
299
|
limit: int | NotGiven = NOT_GIVEN,
|
|
300
300
|
offset: int | NotGiven = NOT_GIVEN,
|
|
@@ -340,14 +340,14 @@ class StatisticsResource(SyncAPIResource):
|
|
|
340
340
|
Args:
|
|
341
341
|
domain_id: The domain ID
|
|
342
342
|
|
|
343
|
-
start: Filter
|
|
343
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
344
344
|
|
|
345
345
|
actions: Filter the response by actions.
|
|
346
346
|
|
|
347
347
|
countries: Filter the response by country codes in ISO 3166-1 alpha-2 format.
|
|
348
348
|
|
|
349
|
-
end: Filter
|
|
350
|
-
defaults to the current date and time.
|
|
349
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
350
|
+
provided, defaults to the current date and time.
|
|
351
351
|
|
|
352
352
|
ip: Filter the response by IP.
|
|
353
353
|
|
|
@@ -407,8 +407,8 @@ class StatisticsResource(SyncAPIResource):
|
|
|
407
407
|
domain_id: int,
|
|
408
408
|
*,
|
|
409
409
|
resolution: Literal["daily", "hourly", "minutely"],
|
|
410
|
-
start:
|
|
411
|
-
end:
|
|
410
|
+
start: str,
|
|
411
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
412
412
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
413
413
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
414
414
|
extra_headers: Headers | None = None,
|
|
@@ -426,10 +426,10 @@ class StatisticsResource(SyncAPIResource):
|
|
|
426
426
|
|
|
427
427
|
resolution: Specifies the granularity of the result data.
|
|
428
428
|
|
|
429
|
-
start: Filter
|
|
429
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
430
430
|
|
|
431
|
-
end: Filter
|
|
432
|
-
defaults to the current date and time.
|
|
431
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
432
|
+
provided, defaults to the current date and time.
|
|
433
433
|
|
|
434
434
|
extra_headers: Send extra headers
|
|
435
435
|
|
|
@@ -546,8 +546,8 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
546
546
|
domain_id: int,
|
|
547
547
|
*,
|
|
548
548
|
group_by: Literal["URL", "User-Agent", "IP"],
|
|
549
|
-
start:
|
|
550
|
-
end:
|
|
549
|
+
start: str,
|
|
550
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
551
551
|
limit: int | NotGiven = NOT_GIVEN,
|
|
552
552
|
offset: int | NotGiven = NOT_GIVEN,
|
|
553
553
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -565,10 +565,10 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
565
565
|
|
|
566
566
|
group_by: The identity of the requests to group by
|
|
567
567
|
|
|
568
|
-
start: Filter
|
|
568
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
569
569
|
|
|
570
|
-
end: Filter
|
|
571
|
-
defaults to the current date and time.
|
|
570
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
571
|
+
provided, defaults to the current date and time.
|
|
572
572
|
|
|
573
573
|
limit: Number of items to return
|
|
574
574
|
|
|
@@ -608,11 +608,11 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
608
608
|
self,
|
|
609
609
|
domain_id: int,
|
|
610
610
|
*,
|
|
611
|
-
start:
|
|
611
|
+
start: str,
|
|
612
612
|
action: Optional[List[Literal["block", "captcha", "handshake", "monitor"]]] | NotGiven = NOT_GIVEN,
|
|
613
|
-
end:
|
|
614
|
-
ip: Optional[
|
|
615
|
-
reference_id: Optional[
|
|
613
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
614
|
+
ip: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN,
|
|
615
|
+
reference_id: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN,
|
|
616
616
|
result: Optional[List[Literal["passed", "blocked", "monitored", "allowed"]]] | NotGiven = NOT_GIVEN,
|
|
617
617
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
618
618
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -627,12 +627,12 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
627
627
|
Args:
|
|
628
628
|
domain_id: The domain ID
|
|
629
629
|
|
|
630
|
-
start: Filter
|
|
630
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
631
631
|
|
|
632
632
|
action: A list of action names to filter on.
|
|
633
633
|
|
|
634
|
-
end: Filter
|
|
635
|
-
defaults to the current date and time.
|
|
634
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
635
|
+
provided, defaults to the current date and time.
|
|
636
636
|
|
|
637
637
|
ip: A list of IPs to filter event statistics.
|
|
638
638
|
|
|
@@ -713,10 +713,10 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
713
713
|
self,
|
|
714
714
|
domain_id: int,
|
|
715
715
|
*,
|
|
716
|
-
start:
|
|
716
|
+
start: str,
|
|
717
717
|
actions: List[Literal["allow", "block", "captcha", "handshake"]] | NotGiven = NOT_GIVEN,
|
|
718
|
-
countries:
|
|
719
|
-
end:
|
|
718
|
+
countries: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
|
|
719
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
720
720
|
ip: str | NotGiven = NOT_GIVEN,
|
|
721
721
|
limit: int | NotGiven = NOT_GIVEN,
|
|
722
722
|
offset: int | NotGiven = NOT_GIVEN,
|
|
@@ -762,14 +762,14 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
762
762
|
Args:
|
|
763
763
|
domain_id: The domain ID
|
|
764
764
|
|
|
765
|
-
start: Filter
|
|
765
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
766
766
|
|
|
767
767
|
actions: Filter the response by actions.
|
|
768
768
|
|
|
769
769
|
countries: Filter the response by country codes in ISO 3166-1 alpha-2 format.
|
|
770
770
|
|
|
771
|
-
end: Filter
|
|
772
|
-
defaults to the current date and time.
|
|
771
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
772
|
+
provided, defaults to the current date and time.
|
|
773
773
|
|
|
774
774
|
ip: Filter the response by IP.
|
|
775
775
|
|
|
@@ -829,8 +829,8 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
829
829
|
domain_id: int,
|
|
830
830
|
*,
|
|
831
831
|
resolution: Literal["daily", "hourly", "minutely"],
|
|
832
|
-
start:
|
|
833
|
-
end:
|
|
832
|
+
start: str,
|
|
833
|
+
end: Optional[str] | NotGiven = NOT_GIVEN,
|
|
834
834
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
835
835
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
836
836
|
extra_headers: Headers | None = None,
|
|
@@ -848,10 +848,10 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
848
848
|
|
|
849
849
|
resolution: Specifies the granularity of the result data.
|
|
850
850
|
|
|
851
|
-
start: Filter
|
|
851
|
+
start: Filter data items starting from a specified date in ISO 8601 format
|
|
852
852
|
|
|
853
|
-
end: Filter
|
|
854
|
-
defaults to the current date and time.
|
|
853
|
+
end: Filter data items up to a specified end date in ISO 8601 format. If not
|
|
854
|
+
provided, defaults to the current date and time.
|
|
855
855
|
|
|
856
856
|
extra_headers: Send extra headers
|
|
857
857
|
|
gcore/types/cloud/__init__.py
CHANGED
|
@@ -65,6 +65,7 @@ from .billing_reservation import BillingReservation as BillingReservation
|
|
|
65
65
|
from .ddos_profile_status import DDOSProfileStatus as DDOSProfileStatus
|
|
66
66
|
from .fixed_address_short import FixedAddressShort as FixedAddressShort
|
|
67
67
|
from .interface_ip_family import InterfaceIPFamily as InterfaceIPFamily
|
|
68
|
+
from .k8s_cluster_version import K8sClusterVersion as K8sClusterVersion
|
|
68
69
|
from .network_list_params import NetworkListParams as NetworkListParams
|
|
69
70
|
from .project_list_params import ProjectListParams as ProjectListParams
|
|
70
71
|
from .provisioning_status import ProvisioningStatus as ProvisioningStatus
|
|
@@ -73,7 +74,6 @@ from .session_persistence import SessionPersistence as SessionPersistence
|
|
|
73
74
|
from .ssh_key_list_params import SSHKeyListParams as SSHKeyListParams
|
|
74
75
|
from .cost_report_detailed import CostReportDetailed as CostReportDetailed
|
|
75
76
|
from .floating_ip_detailed import FloatingIPDetailed as FloatingIPDetailed
|
|
76
|
-
from .gpu_baremetal_flavor import GPUBaremetalFlavor as GPUBaremetalFlavor
|
|
77
77
|
from .instance_list_params import InstanceListParams as InstanceListParams
|
|
78
78
|
from .lb_listener_protocol import LbListenerProtocol as LbListenerProtocol
|
|
79
79
|
from .load_balancer_status import LoadBalancerStatus as LoadBalancerStatus
|
|
@@ -117,11 +117,11 @@ from .ddos_profile_option_list import DDOSProfileOptionList as DDOSProfileOption
|
|
|
117
117
|
from .file_share_create_params import FileShareCreateParams as FileShareCreateParams
|
|
118
118
|
from .file_share_resize_params import FileShareResizeParams as FileShareResizeParams
|
|
119
119
|
from .file_share_update_params import FileShareUpdateParams as FileShareUpdateParams
|
|
120
|
+
from .k8s_cluster_version_list import K8sClusterVersionList as K8sClusterVersionList
|
|
120
121
|
from .load_balancer_get_params import LoadBalancerGetParams as LoadBalancerGetParams
|
|
121
122
|
from .load_balancer_statistics import LoadBalancerStatistics as LoadBalancerStatistics
|
|
122
123
|
from .floating_ip_assign_params import FloatingIPAssignParams as FloatingIPAssignParams
|
|
123
124
|
from .floating_ip_create_params import FloatingIPCreateParams as FloatingIPCreateParams
|
|
124
|
-
from .gpu_baremetal_flavor_list import GPUBaremetalFlavorList as GPUBaremetalFlavorList
|
|
125
125
|
from .inference_region_capacity import InferenceRegionCapacity as InferenceRegionCapacity
|
|
126
126
|
from .load_balancer_flavor_list import LoadBalancerFlavorList as LoadBalancerFlavorList
|
|
127
127
|
from .load_balancer_list_params import LoadBalancerListParams as LoadBalancerListParams
|
|
@@ -145,7 +145,6 @@ from .load_balancer_listener_list import LoadBalancerListenerList as LoadBalance
|
|
|
145
145
|
from .load_balancer_resize_params import LoadBalancerResizeParams as LoadBalancerResizeParams
|
|
146
146
|
from .load_balancer_update_params import LoadBalancerUpdateParams as LoadBalancerUpdateParams
|
|
147
147
|
from .task_acknowledge_all_params import TaskAcknowledgeAllParams as TaskAcknowledgeAllParams
|
|
148
|
-
from .gpu_baremetal_cluster_server import GPUBaremetalClusterServer as GPUBaremetalClusterServer
|
|
149
148
|
from .load_balancer_l7_policy_list import LoadBalancerL7PolicyList as LoadBalancerL7PolicyList
|
|
150
149
|
from .quota_get_by_region_response import QuotaGetByRegionResponse as QuotaGetByRegionResponse
|
|
151
150
|
from .security_group_create_params import SecurityGroupCreateParams as SecurityGroupCreateParams
|
|
@@ -163,7 +162,6 @@ from .reserved_fixed_ip_create_params import ReservedFixedIPCreateParams as Rese
|
|
|
163
162
|
from .volume_attach_to_instance_params import VolumeAttachToInstanceParams as VolumeAttachToInstanceParams
|
|
164
163
|
from .cost_report_get_aggregated_params import CostReportGetAggregatedParams as CostReportGetAggregatedParams
|
|
165
164
|
from .gpu_baremetal_cluster_list_params import GPUBaremetalClusterListParams as GPUBaremetalClusterListParams
|
|
166
|
-
from .gpu_baremetal_cluster_server_list import GPUBaremetalClusterServerList as GPUBaremetalClusterServerList
|
|
167
165
|
from .laas_index_retention_policy_param import LaasIndexRetentionPolicyParam as LaasIndexRetentionPolicyParam
|
|
168
166
|
from .load_balancer_member_connectivity import LoadBalancerMemberConnectivity as LoadBalancerMemberConnectivity
|
|
169
167
|
from .volume_detach_from_instance_params import VolumeDetachFromInstanceParams as VolumeDetachFromInstanceParams
|
|
@@ -6,6 +6,7 @@ from typing import List, Union, Iterable
|
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from typing_extensions import Literal, Annotated, TypedDict
|
|
8
8
|
|
|
9
|
+
from ..._types import SequenceNotStr
|
|
9
10
|
from ..._utils import PropertyInfo
|
|
10
11
|
|
|
11
12
|
__all__ = ["AuditLogListParams"]
|
|
@@ -136,7 +137,7 @@ class AuditLogListParams(TypedDict, total=False):
|
|
|
136
137
|
region_id: Iterable[int]
|
|
137
138
|
"""Region ID. Several options can be specified."""
|
|
138
139
|
|
|
139
|
-
resource_id:
|
|
140
|
+
resource_id: SequenceNotStr[str]
|
|
140
141
|
"""Resource ID. Several options can be specified."""
|
|
141
142
|
|
|
142
143
|
search_field: str
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List
|
|
6
5
|
from typing_extensions import Literal, TypedDict
|
|
7
6
|
|
|
7
|
+
from ...._types import SequenceNotStr
|
|
8
|
+
|
|
8
9
|
__all__ = ["ImageListParams"]
|
|
9
10
|
|
|
10
11
|
|
|
@@ -19,7 +20,7 @@ class ImageListParams(TypedDict, total=False):
|
|
|
19
20
|
private: str
|
|
20
21
|
"""Any value to show private images"""
|
|
21
22
|
|
|
22
|
-
tag_key:
|
|
23
|
+
tag_key: SequenceNotStr[str]
|
|
23
24
|
"""Filter by tag keys."""
|
|
24
25
|
|
|
25
26
|
tag_key_value: str
|
|
@@ -346,13 +346,12 @@ Interface: TypeAlias = Union[
|
|
|
346
346
|
|
|
347
347
|
class DDOSProfileField(TypedDict, total=False):
|
|
348
348
|
base_field: Optional[int]
|
|
349
|
-
"""
|
|
349
|
+
"""Unique identifier of the DDoS protection field being configured"""
|
|
350
350
|
|
|
351
351
|
field_name: Optional[str]
|
|
352
|
-
"""
|
|
352
|
+
"""Human-readable name of the DDoS protection field being configured"""
|
|
353
353
|
|
|
354
|
-
field_value:
|
|
355
|
-
"""Complex value. Only one of 'value' or '`field_value`' must be specified."""
|
|
354
|
+
field_value: object
|
|
356
355
|
|
|
357
356
|
value: Optional[str]
|
|
358
357
|
"""Basic type value. Only one of 'value' or '`field_value`' must be specified."""
|
|
@@ -360,7 +359,10 @@ class DDOSProfileField(TypedDict, total=False):
|
|
|
360
359
|
|
|
361
360
|
class DDOSProfile(TypedDict, total=False):
|
|
362
361
|
profile_template: Required[int]
|
|
363
|
-
"""
|
|
362
|
+
"""Unique identifier of the DDoS protection template to use for this profile"""
|
|
364
363
|
|
|
365
364
|
fields: Iterable[DDOSProfileField]
|
|
366
|
-
"""
|
|
365
|
+
"""
|
|
366
|
+
List of field configurations that customize the protection parameters for this
|
|
367
|
+
profile
|
|
368
|
+
"""
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import Union
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from typing_extensions import Literal, Annotated, TypedDict
|
|
8
8
|
|
|
9
|
+
from ...._types import SequenceNotStr
|
|
9
10
|
from ...._utils import PropertyInfo
|
|
10
11
|
|
|
11
12
|
__all__ = ["ServerListParams"]
|
|
@@ -87,7 +88,7 @@ class ServerListParams(TypedDict, total=False):
|
|
|
87
88
|
tag_key_value: str
|
|
88
89
|
"""Optional. Filter by tag key-value pairs."""
|
|
89
90
|
|
|
90
|
-
tag_value:
|
|
91
|
+
tag_value: SequenceNotStr[str]
|
|
91
92
|
"""Optional. Filter by tag values. ?`tag_value`=value1&`tag_value`=value2"""
|
|
92
93
|
|
|
93
94
|
type_ddos_profile: Literal["basic", "advanced"]
|
|
@@ -6,6 +6,7 @@ from typing import List, Union, Iterable
|
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
|
|
8
8
|
|
|
9
|
+
from ..._types import SequenceNotStr
|
|
9
10
|
from ..._utils import PropertyInfo
|
|
10
11
|
|
|
11
12
|
__all__ = [
|
|
@@ -42,12 +43,6 @@ __all__ = [
|
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
class CostReportGetAggregatedMonthlyParams(TypedDict, total=False):
|
|
45
|
-
time_from: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
|
|
46
|
-
"""Beginning of the period: YYYY-mm"""
|
|
47
|
-
|
|
48
|
-
time_to: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
|
|
49
|
-
"""End of the period: YYYY-mm"""
|
|
50
|
-
|
|
51
46
|
regions: Iterable[int]
|
|
52
47
|
"""List of region IDs."""
|
|
53
48
|
|
|
@@ -63,6 +58,12 @@ class CostReportGetAggregatedMonthlyParams(TypedDict, total=False):
|
|
|
63
58
|
tags: Tags
|
|
64
59
|
"""Filter by tags"""
|
|
65
60
|
|
|
61
|
+
time_from: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
|
|
62
|
+
"""Deprecated. Use `year_month` instead. Beginning of the period: YYYY-mm"""
|
|
63
|
+
|
|
64
|
+
time_to: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
|
|
65
|
+
"""Deprecated. Use `year_month` instead. End of the period: YYYY-mm"""
|
|
66
|
+
|
|
66
67
|
types: List[
|
|
67
68
|
Literal[
|
|
68
69
|
"ai_cluster",
|
|
@@ -94,6 +95,9 @@ class CostReportGetAggregatedMonthlyParams(TypedDict, total=False):
|
|
|
94
95
|
]
|
|
95
96
|
"""List of resource types to be filtered in the report."""
|
|
96
97
|
|
|
98
|
+
year_month: str
|
|
99
|
+
"""Year and month in the format YYYY-MM"""
|
|
100
|
+
|
|
97
101
|
|
|
98
102
|
class SchemaFilterSchemaFilterSnapshotSerializer(TypedDict, total=False):
|
|
99
103
|
field: Required[Literal["last_name", "last_size", "source_volume_uuid", "type", "uuid", "volume_type"]]
|
|
@@ -101,7 +105,7 @@ class SchemaFilterSchemaFilterSnapshotSerializer(TypedDict, total=False):
|
|
|
101
105
|
|
|
102
106
|
type: Required[Literal["snapshot"]]
|
|
103
107
|
|
|
104
|
-
values: Required[
|
|
108
|
+
values: Required[SequenceNotStr[str]]
|
|
105
109
|
"""List of field values to filter"""
|
|
106
110
|
|
|
107
111
|
|
|
@@ -111,7 +115,7 @@ class SchemaFilterSchemaFilterInstanceSerializer(TypedDict, total=False):
|
|
|
111
115
|
|
|
112
116
|
type: Required[Literal["instance"]]
|
|
113
117
|
|
|
114
|
-
values: Required[
|
|
118
|
+
values: Required[SequenceNotStr[str]]
|
|
115
119
|
"""List of field values to filter"""
|
|
116
120
|
|
|
117
121
|
|
|
@@ -121,7 +125,7 @@ class SchemaFilterSchemaFilterAIClusterSerializer(TypedDict, total=False):
|
|
|
121
125
|
|
|
122
126
|
type: Required[Literal["ai_cluster"]]
|
|
123
127
|
|
|
124
|
-
values: Required[
|
|
128
|
+
values: Required[SequenceNotStr[str]]
|
|
125
129
|
"""List of field values to filter"""
|
|
126
130
|
|
|
127
131
|
|
|
@@ -131,7 +135,7 @@ class SchemaFilterSchemaFilterAIVirtualClusterSerializer(TypedDict, total=False)
|
|
|
131
135
|
|
|
132
136
|
type: Required[Literal["ai_virtual_cluster"]]
|
|
133
137
|
|
|
134
|
-
values: Required[
|
|
138
|
+
values: Required[SequenceNotStr[str]]
|
|
135
139
|
"""List of field values to filter"""
|
|
136
140
|
|
|
137
141
|
|
|
@@ -141,7 +145,7 @@ class SchemaFilterSchemaFilterBasicVmSerializer(TypedDict, total=False):
|
|
|
141
145
|
|
|
142
146
|
type: Required[Literal["basic_vm"]]
|
|
143
147
|
|
|
144
|
-
values: Required[
|
|
148
|
+
values: Required[SequenceNotStr[str]]
|
|
145
149
|
"""List of field values to filter"""
|
|
146
150
|
|
|
147
151
|
|
|
@@ -151,7 +155,7 @@ class SchemaFilterSchemaFilterBaremetalSerializer(TypedDict, total=False):
|
|
|
151
155
|
|
|
152
156
|
type: Required[Literal["baremetal"]]
|
|
153
157
|
|
|
154
|
-
values: Required[
|
|
158
|
+
values: Required[SequenceNotStr[str]]
|
|
155
159
|
"""List of field values to filter"""
|
|
156
160
|
|
|
157
161
|
|
|
@@ -161,7 +165,7 @@ class SchemaFilterSchemaFilterVolumeSerializer(TypedDict, total=False):
|
|
|
161
165
|
|
|
162
166
|
type: Required[Literal["volume"]]
|
|
163
167
|
|
|
164
|
-
values: Required[
|
|
168
|
+
values: Required[SequenceNotStr[str]]
|
|
165
169
|
"""List of field values to filter"""
|
|
166
170
|
|
|
167
171
|
|
|
@@ -171,7 +175,7 @@ class SchemaFilterSchemaFilterFileShareSerializer(TypedDict, total=False):
|
|
|
171
175
|
|
|
172
176
|
type: Required[Literal["file_share"]]
|
|
173
177
|
|
|
174
|
-
values: Required[
|
|
178
|
+
values: Required[SequenceNotStr[str]]
|
|
175
179
|
"""List of field values to filter"""
|
|
176
180
|
|
|
177
181
|
|
|
@@ -181,7 +185,7 @@ class SchemaFilterSchemaFilterImageSerializer(TypedDict, total=False):
|
|
|
181
185
|
|
|
182
186
|
type: Required[Literal["image"]]
|
|
183
187
|
|
|
184
|
-
values: Required[
|
|
188
|
+
values: Required[SequenceNotStr[str]]
|
|
185
189
|
"""List of field values to filter"""
|
|
186
190
|
|
|
187
191
|
|
|
@@ -191,7 +195,7 @@ class SchemaFilterSchemaFilterFloatingIPSerializer(TypedDict, total=False):
|
|
|
191
195
|
|
|
192
196
|
type: Required[Literal["floatingip"]]
|
|
193
197
|
|
|
194
|
-
values: Required[
|
|
198
|
+
values: Required[SequenceNotStr[str]]
|
|
195
199
|
"""List of field values to filter"""
|
|
196
200
|
|
|
197
201
|
|
|
@@ -201,7 +205,7 @@ class SchemaFilterSchemaFilterEgressTrafficSerializer(TypedDict, total=False):
|
|
|
201
205
|
|
|
202
206
|
type: Required[Literal["egress_traffic"]]
|
|
203
207
|
|
|
204
|
-
values: Required[
|
|
208
|
+
values: Required[SequenceNotStr[str]]
|
|
205
209
|
"""List of field values to filter"""
|
|
206
210
|
|
|
207
211
|
|
|
@@ -211,7 +215,7 @@ class SchemaFilterSchemaFilterLoadBalancerSerializer(TypedDict, total=False):
|
|
|
211
215
|
|
|
212
216
|
type: Required[Literal["load_balancer"]]
|
|
213
217
|
|
|
214
|
-
values: Required[
|
|
218
|
+
values: Required[SequenceNotStr[str]]
|
|
215
219
|
"""List of field values to filter"""
|
|
216
220
|
|
|
217
221
|
|
|
@@ -221,7 +225,7 @@ class SchemaFilterSchemaFilterExternalIPSerializer(TypedDict, total=False):
|
|
|
221
225
|
|
|
222
226
|
type: Required[Literal["external_ip"]]
|
|
223
227
|
|
|
224
|
-
values: Required[
|
|
228
|
+
values: Required[SequenceNotStr[str]]
|
|
225
229
|
"""List of field values to filter"""
|
|
226
230
|
|
|
227
231
|
|
|
@@ -231,7 +235,7 @@ class SchemaFilterSchemaFilterBackupSerializer(TypedDict, total=False):
|
|
|
231
235
|
|
|
232
236
|
type: Required[Literal["backup"]]
|
|
233
237
|
|
|
234
|
-
values: Required[
|
|
238
|
+
values: Required[SequenceNotStr[str]]
|
|
235
239
|
"""List of field values to filter"""
|
|
236
240
|
|
|
237
241
|
|
|
@@ -241,7 +245,7 @@ class SchemaFilterSchemaFilterLogIndexSerializer(TypedDict, total=False):
|
|
|
241
245
|
|
|
242
246
|
type: Required[Literal["log_index"]]
|
|
243
247
|
|
|
244
|
-
values: Required[
|
|
248
|
+
values: Required[SequenceNotStr[str]]
|
|
245
249
|
"""List of field values to filter"""
|
|
246
250
|
|
|
247
251
|
|
|
@@ -251,7 +255,7 @@ class SchemaFilterSchemaFilterFunctionsSerializer(TypedDict, total=False):
|
|
|
251
255
|
|
|
252
256
|
type: Required[Literal["functions"]]
|
|
253
257
|
|
|
254
|
-
values: Required[
|
|
258
|
+
values: Required[SequenceNotStr[str]]
|
|
255
259
|
"""List of field values to filter"""
|
|
256
260
|
|
|
257
261
|
|
|
@@ -261,7 +265,7 @@ class SchemaFilterSchemaFilterFunctionsCallsSerializer(TypedDict, total=False):
|
|
|
261
265
|
|
|
262
266
|
type: Required[Literal["functions_calls"]]
|
|
263
267
|
|
|
264
|
-
values: Required[
|
|
268
|
+
values: Required[SequenceNotStr[str]]
|
|
265
269
|
"""List of field values to filter"""
|
|
266
270
|
|
|
267
271
|
|
|
@@ -271,7 +275,7 @@ class SchemaFilterSchemaFilterFunctionsTrafficSerializer(TypedDict, total=False)
|
|
|
271
275
|
|
|
272
276
|
type: Required[Literal["functions_traffic"]]
|
|
273
277
|
|
|
274
|
-
values: Required[
|
|
278
|
+
values: Required[SequenceNotStr[str]]
|
|
275
279
|
"""List of field values to filter"""
|
|
276
280
|
|
|
277
281
|
|
|
@@ -281,7 +285,7 @@ class SchemaFilterSchemaFilterContainersSerializer(TypedDict, total=False):
|
|
|
281
285
|
|
|
282
286
|
type: Required[Literal["containers"]]
|
|
283
287
|
|
|
284
|
-
values: Required[
|
|
288
|
+
values: Required[SequenceNotStr[str]]
|
|
285
289
|
"""List of field values to filter"""
|
|
286
290
|
|
|
287
291
|
|
|
@@ -291,7 +295,7 @@ class SchemaFilterSchemaFilterInferenceSerializer(TypedDict, total=False):
|
|
|
291
295
|
|
|
292
296
|
type: Required[Literal["inference"]]
|
|
293
297
|
|
|
294
|
-
values: Required[
|
|
298
|
+
values: Required[SequenceNotStr[str]]
|
|
295
299
|
"""List of field values to filter"""
|
|
296
300
|
|
|
297
301
|
|
|
@@ -301,7 +305,7 @@ class SchemaFilterSchemaFilterDbaasPostgreSQLVolumeSerializer(TypedDict, total=F
|
|
|
301
305
|
|
|
302
306
|
type: Required[Literal["dbaas_postgresql_volume"]]
|
|
303
307
|
|
|
304
|
-
values: Required[
|
|
308
|
+
values: Required[SequenceNotStr[str]]
|
|
305
309
|
"""List of field values to filter"""
|
|
306
310
|
|
|
307
311
|
|
|
@@ -311,7 +315,7 @@ class SchemaFilterSchemaFilterDbaasPostgreSQLPublicNetworkSerializer(TypedDict,
|
|
|
311
315
|
|
|
312
316
|
type: Required[Literal["dbaas_postgresql_public_network"]]
|
|
313
317
|
|
|
314
|
-
values: Required[
|
|
318
|
+
values: Required[SequenceNotStr[str]]
|
|
315
319
|
"""List of field values to filter"""
|
|
316
320
|
|
|
317
321
|
|
|
@@ -321,7 +325,7 @@ class SchemaFilterSchemaFilterDbaasPostgreSqlcpuSerializer(TypedDict, total=Fals
|
|
|
321
325
|
|
|
322
326
|
type: Required[Literal["dbaas_postgresql_cpu"]]
|
|
323
327
|
|
|
324
|
-
values: Required[
|
|
328
|
+
values: Required[SequenceNotStr[str]]
|
|
325
329
|
"""List of field values to filter"""
|
|
326
330
|
|
|
327
331
|
|
|
@@ -331,7 +335,7 @@ class SchemaFilterSchemaFilterDbaasPostgreSQLMemorySerializer(TypedDict, total=F
|
|
|
331
335
|
|
|
332
336
|
type: Required[Literal["dbaas_postgresql_memory"]]
|
|
333
337
|
|
|
334
|
-
values: Required[
|
|
338
|
+
values: Required[SequenceNotStr[str]]
|
|
335
339
|
"""List of field values to filter"""
|
|
336
340
|
|
|
337
341
|
|
|
@@ -341,7 +345,7 @@ class SchemaFilterSchemaFilterDbaasPostgreSQLPoolerSerializer(TypedDict, total=F
|
|
|
341
345
|
|
|
342
346
|
type: Required[Literal["dbaas_postgresql_connection_pooler"]]
|
|
343
347
|
|
|
344
|
-
values: Required[
|
|
348
|
+
values: Required[SequenceNotStr[str]]
|
|
345
349
|
"""List of field values to filter"""
|
|
346
350
|
|
|
347
351
|
|