gcore 0.2.0__py3-none-any.whl → 0.3.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 +22 -2
- gcore/_models.py +2 -0
- gcore/_types.py +2 -0
- gcore/_version.py +1 -1
- gcore/resources/cloud/baremetal/flavors.py +2 -2
- gcore/resources/cloud/baremetal/images.py +2 -2
- gcore/resources/cloud/baremetal/servers.py +46 -52
- gcore/resources/cloud/floating_ips.py +4 -4
- gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +8 -8
- gcore/resources/cloud/gpu_baremetal_clusters/images.py +2 -2
- gcore/resources/cloud/gpu_baremetal_clusters/servers.py +4 -4
- gcore/resources/cloud/inference/deployments/deployments.py +6 -6
- gcore/resources/cloud/instances/flavors.py +2 -2
- gcore/resources/cloud/instances/images.py +2 -2
- gcore/resources/cloud/instances/instances.py +62 -70
- gcore/resources/cloud/instances/interfaces.py +4 -4
- gcore/resources/cloud/load_balancers/flavors.py +2 -2
- gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +20 -20
- gcore/resources/cloud/load_balancers/listeners.py +14 -14
- gcore/resources/cloud/load_balancers/load_balancers.py +28 -24
- gcore/resources/cloud/load_balancers/pools/members.py +6 -6
- gcore/resources/cloud/networks/networks.py +4 -4
- gcore/resources/cloud/networks/subnets.py +6 -6
- gcore/resources/cloud/registries/registries.py +6 -10
- gcore/resources/cloud/registries/users.py +4 -10
- gcore/resources/cloud/reserved_fixed_ips/reserved_fixed_ips.py +10 -10
- gcore/resources/cloud/security_groups/security_groups.py +2 -2
- gcore/resources/cloud/ssh_keys.py +2 -2
- gcore/resources/cloud/tasks.py +98 -90
- gcore/resources/cloud/users/role_assignments.py +4 -4
- gcore/resources/cloud/volumes.py +18 -18
- gcore/resources/waap/__init__.py +98 -0
- gcore/resources/waap/advanced_rules.py +135 -0
- gcore/resources/waap/clients.py +135 -0
- gcore/resources/waap/custom_page_sets.py +805 -0
- gcore/resources/waap/domains/__init__.py +140 -0
- gcore/resources/waap/domains/advanced_rules.py +876 -0
- gcore/resources/waap/domains/analytics/__init__.py +33 -0
- gcore/resources/waap/domains/analytics/analytics.py +676 -0
- gcore/resources/waap/domains/analytics/requests.py +378 -0
- gcore/resources/waap/domains/api_discovery/__init__.py +33 -0
- gcore/resources/waap/domains/api_discovery/api_discovery.py +530 -0
- gcore/resources/waap/domains/api_discovery/scan_results.py +352 -0
- gcore/resources/waap/domains/api_path_groups.py +163 -0
- gcore/resources/waap/domains/api_paths.py +771 -0
- gcore/resources/waap/domains/custom_rules.py +889 -0
- gcore/resources/waap/domains/domains.py +399 -0
- gcore/resources/waap/domains/firewall_rules.py +884 -0
- gcore/resources/waap/domains/insight_silences.py +689 -0
- gcore/resources/waap/domains/insights.py +425 -0
- gcore/resources/waap/domains/policies.py +173 -0
- gcore/resources/waap/domains/settings.py +5 -5
- gcore/resources/waap/ip_info.py +1017 -0
- gcore/resources/waap/organizations.py +217 -0
- gcore/resources/waap/statistics.py +225 -0
- gcore/resources/waap/tags.py +233 -0
- gcore/resources/waap/waap.py +289 -0
- gcore/types/cloud/allowed_address_pairs.py +2 -2
- gcore/types/cloud/baremetal/baremetal_server.py +1 -1
- gcore/types/cloud/baremetal/image_list_params.py +1 -1
- gcore/types/cloud/baremetal/server_create_params.py +9 -9
- gcore/types/cloud/baremetal/server_list_params.py +8 -8
- gcore/types/cloud/baremetal/server_rebuild_params.py +1 -1
- gcore/types/cloud/baremetal_flavor.py +3 -3
- gcore/types/cloud/container_probe_config.py +1 -1
- gcore/types/cloud/container_probe_config_create_param.py +1 -1
- gcore/types/cloud/container_scale_triggers.py +2 -2
- gcore/types/cloud/floating_ip_detailed.py +1 -1
- gcore/types/cloud/floating_ip_list_params.py +2 -2
- gcore/types/cloud/gpu_baremetal_cluster.py +1 -1
- gcore/types/cloud/gpu_baremetal_cluster_create_params.py +2 -2
- gcore/types/cloud/gpu_baremetal_cluster_delete_params.py +1 -1
- gcore/types/cloud/gpu_baremetal_cluster_rebuild_params.py +1 -1
- gcore/types/cloud/gpu_baremetal_cluster_server.py +1 -1
- gcore/types/cloud/gpu_baremetal_clusters/image_upload_params.py +1 -1
- gcore/types/cloud/gpu_baremetal_clusters/server_attach_interface_params.py +10 -10
- gcore/types/cloud/gpu_baremetal_flavor.py +3 -3
- gcore/types/cloud/image.py +1 -1
- gcore/types/cloud/inference/deployment_create_params.py +4 -4
- gcore/types/cloud/inference/deployment_update_params.py +6 -6
- gcore/types/cloud/inference/inference.py +2 -4
- gcore/types/cloud/instance.py +1 -1
- gcore/types/cloud/instance_create_params.py +8 -10
- gcore/types/cloud/instance_list_params.py +8 -8
- gcore/types/cloud/instances/flavor_list_suitable_params.py +4 -1
- gcore/types/cloud/instances/image_list_params.py +1 -1
- gcore/types/cloud/instances/instance_flavor.py +3 -3
- gcore/types/cloud/instances/interface_attach_params.py +10 -10
- gcore/types/cloud/load_balancer_create_params.py +17 -15
- gcore/types/cloud/load_balancer_flavor_detail.py +3 -3
- gcore/types/cloud/load_balancer_l7_policy.py +5 -5
- gcore/types/cloud/load_balancer_list_params.py +5 -5
- gcore/types/cloud/load_balancer_listener_detail.py +4 -4
- gcore/types/cloud/load_balancers/l7_policy_create_params.py +5 -5
- gcore/types/cloud/load_balancers/l7_policy_replace_params.py +5 -5
- gcore/types/cloud/load_balancers/listener_create_params.py +4 -4
- gcore/types/cloud/load_balancers/listener_update_params.py +3 -3
- gcore/types/cloud/load_balancers/pool_create_params.py +4 -4
- gcore/types/cloud/load_balancers/pool_update_params.py +4 -4
- gcore/types/cloud/load_balancers/pools/member_add_params.py +3 -3
- gcore/types/cloud/member.py +2 -2
- gcore/types/cloud/network.py +2 -2
- gcore/types/cloud/network_details.py +2 -2
- gcore/types/cloud/network_list_params.py +2 -2
- gcore/types/cloud/networks/subnet_create_params.py +1 -1
- gcore/types/cloud/networks/subnet_list_params.py +2 -2
- gcore/types/cloud/region.py +4 -4
- gcore/types/cloud/registries/user_create_multiple_params.py +3 -5
- gcore/types/cloud/registries/user_create_params.py +3 -5
- gcore/types/cloud/registry_create_params.py +3 -5
- gcore/types/cloud/reserved_fixed_ip_create_params.py +2 -2
- gcore/types/cloud/reserved_fixed_ip_list_params.py +3 -3
- gcore/types/cloud/security_group_list_params.py +1 -1
- gcore/types/cloud/session_persistence.py +1 -1
- gcore/types/cloud/ssh_key_created.py +3 -6
- gcore/types/cloud/task.py +1 -1
- gcore/types/cloud/task_list_params.py +49 -45
- gcore/types/cloud/users/role_assignment_create_params.py +1 -1
- gcore/types/cloud/users/role_assignment_update_params.py +1 -1
- gcore/types/cloud/volume_create_params.py +6 -6
- gcore/types/cloud/volume_list_params.py +3 -3
- gcore/types/waap/__init__.py +98 -2
- gcore/types/waap/client_me_response.py +34 -0
- gcore/types/waap/custom_page_set_create_params.py +35 -0
- gcore/types/waap/custom_page_set_list_params.py +25 -0
- gcore/types/waap/custom_page_set_preview_params.py +34 -0
- gcore/types/waap/custom_page_set_update_params.py +35 -0
- gcore/types/waap/domain_list_rule_sets_response.py +10 -0
- gcore/types/waap/domains/__init__.py +42 -0
- gcore/types/waap/domains/advanced_rule_create_params.py +80 -0
- gcore/types/waap/domains/advanced_rule_list_params.py +58 -0
- gcore/types/waap/domains/advanced_rule_update_params.py +83 -0
- gcore/types/waap/domains/analytics/__init__.py +5 -0
- gcore/types/waap/domains/analytics/request_list_params.py +53 -0
- gcore/types/waap/domains/analytics_get_event_statistics_params.py +34 -0
- gcore/types/waap/domains/analytics_list_ddos_attacks_params.py +28 -0
- gcore/types/waap/domains/analytics_list_ddos_info_params.py +31 -0
- gcore/types/waap/domains/analytics_list_event_traffic_params.py +26 -0
- gcore/types/waap/domains/analytics_list_event_traffic_response.py +10 -0
- gcore/types/waap/domains/api_discovery/__init__.py +7 -0
- gcore/types/waap/domains/api_discovery/scan_result_get_response.py +29 -0
- gcore/types/waap/domains/api_discovery/scan_result_list_params.py +41 -0
- gcore/types/waap/domains/api_discovery/scan_result_list_response.py +29 -0
- gcore/types/waap/domains/api_discovery_get_settings_response.py +36 -0
- gcore/types/waap/domains/api_discovery_scan_openapi_response.py +10 -0
- gcore/types/waap/domains/api_discovery_update_settings_params.py +34 -0
- gcore/types/waap/domains/api_discovery_update_settings_response.py +36 -0
- gcore/types/waap/domains/api_discovery_upload_openapi_params.py +19 -0
- gcore/types/waap/domains/api_discovery_upload_openapi_response.py +10 -0
- gcore/types/waap/domains/api_path_create_params.py +31 -0
- gcore/types/waap/domains/api_path_create_response.py +50 -0
- gcore/types/waap/domains/api_path_get_response.py +50 -0
- gcore/types/waap/domains/api_path_group_list_response.py +12 -0
- gcore/types/waap/domains/api_path_list_params.py +62 -0
- gcore/types/waap/domains/api_path_list_response.py +50 -0
- gcore/types/waap/domains/api_path_update_params.py +29 -0
- gcore/types/waap/domains/custom_rule_create_params.py +368 -0
- gcore/types/waap/domains/custom_rule_delete_multiple_params.py +13 -0
- gcore/types/waap/domains/custom_rule_list_params.py +35 -0
- gcore/types/waap/domains/custom_rule_update_params.py +371 -0
- gcore/types/waap/domains/firewall_rule_create_params.py +75 -0
- gcore/types/waap/domains/firewall_rule_delete_multiple_params.py +13 -0
- gcore/types/waap/domains/firewall_rule_list_params.py +33 -0
- gcore/types/waap/domains/firewall_rule_update_params.py +78 -0
- gcore/types/waap/domains/insight_list_params.py +34 -0
- gcore/types/waap/domains/insight_replace_params.py +17 -0
- gcore/types/waap/domains/insight_silence_create_params.py +28 -0
- gcore/types/waap/domains/insight_silence_list_params.py +33 -0
- gcore/types/waap/domains/insight_silence_update_params.py +28 -0
- gcore/types/waap/domains/setting_update_params.py +7 -0
- gcore/types/waap/ip_info_get_attack_time_series_params.py +12 -0
- gcore/types/waap/ip_info_get_attack_time_series_response.py +10 -0
- gcore/types/waap/ip_info_get_blocked_requests_params.py +15 -0
- gcore/types/waap/ip_info_get_blocked_requests_response.py +10 -0
- gcore/types/waap/ip_info_get_counts_params.py +19 -0
- gcore/types/waap/ip_info_get_ddos_attack_series_params.py +12 -0
- gcore/types/waap/ip_info_get_params.py +12 -0
- gcore/types/waap/ip_info_get_top_sessions_params.py +15 -0
- gcore/types/waap/ip_info_get_top_sessions_response.py +10 -0
- gcore/types/waap/ip_info_get_top_urls_params.py +15 -0
- gcore/types/waap/ip_info_get_top_urls_response.py +10 -0
- gcore/types/waap/ip_info_get_top_user_agents_params.py +15 -0
- gcore/types/waap/ip_info_get_top_user_agents_response.py +10 -0
- gcore/types/waap/ip_info_list_attacked_countries_params.py +12 -0
- gcore/types/waap/ip_info_list_attacked_countries_response.py +10 -0
- gcore/types/waap/organization_list_params.py +22 -0
- gcore/types/waap/statistic_get_usage_series_params.py +25 -0
- gcore/types/waap/tag_list_params.py +28 -0
- gcore/types/waap/waap_advanced_rule.py +83 -0
- gcore/types/waap/waap_advanced_rule_descriptor.py +49 -0
- gcore/types/waap/waap_advanced_rule_descriptor_list.py +15 -0
- gcore/types/waap/waap_block_csrf_page_data.py +28 -0
- gcore/types/waap/waap_block_csrf_page_data_param.py +28 -0
- gcore/types/waap/waap_block_page_data.py +28 -0
- gcore/types/waap/waap_block_page_data_param.py +28 -0
- gcore/types/waap/waap_blocked_statistics.py +36 -0
- gcore/types/waap/waap_captcha_page_data.py +31 -0
- gcore/types/waap/waap_captcha_page_data_param.py +31 -0
- gcore/types/waap/waap_common_tag.py +16 -0
- gcore/types/waap/waap_cookie_disabled_page_data.py +18 -0
- gcore/types/waap/waap_cookie_disabled_page_data_param.py +18 -0
- gcore/types/waap/waap_count_statistics.py +36 -0
- gcore/types/waap/waap_custom_page_preview.py +10 -0
- gcore/types/waap/waap_custom_page_set.py +36 -0
- gcore/types/waap/waap_custom_rule.py +373 -0
- gcore/types/waap/waap_customer_rule_state.py +7 -0
- gcore/types/waap/waap_ddos_attack.py +16 -0
- gcore/types/waap/waap_ddos_info.py +17 -0
- gcore/types/waap/{waap_api_urls.py → waap_domain_api_settings.py} +9 -2
- gcore/types/waap/waap_domain_policy.py +29 -0
- gcore/types/waap/{waap_domain_settings.py → waap_domain_settings_model.py} +4 -4
- gcore/types/waap/waap_event_statistics.py +15 -0
- gcore/types/waap/waap_firewall_rule.py +78 -0
- gcore/types/waap/waap_get_account_overview_response.py +34 -0
- gcore/types/waap/waap_handshake_page_data.py +25 -0
- gcore/types/waap/waap_handshake_page_data_param.py +25 -0
- gcore/types/waap/waap_insight.py +38 -0
- gcore/types/waap/waap_insight_silence.py +28 -0
- gcore/types/waap/waap_insight_silence_sort_by.py +9 -0
- gcore/types/waap/waap_insight_sort_by.py +20 -0
- gcore/types/waap/waap_insight_status.py +7 -0
- gcore/types/waap/waap_ip_country_attack.py +16 -0
- gcore/types/waap/waap_ip_ddos_info_model.py +23 -0
- gcore/types/waap/waap_ip_info.py +57 -0
- gcore/types/waap/waap_ip_info_counts.py +16 -0
- gcore/types/waap/waap_javascript_disabled_page_data.py +18 -0
- gcore/types/waap/waap_javascript_disabled_page_data_param.py +18 -0
- gcore/types/waap/waap_network_details.py +17 -0
- gcore/types/waap/waap_organization.py +13 -0
- gcore/types/waap/waap_page_type.py +9 -0
- gcore/types/waap/waap_paginated_custom_page_set.py +22 -0
- gcore/types/waap/waap_paginated_ddos_attack.py +22 -0
- gcore/types/waap/waap_paginated_ddos_info.py +22 -0
- gcore/types/waap/waap_paginated_request_summary.py +22 -0
- gcore/types/waap/waap_pattern_matched_tag.py +37 -0
- gcore/types/waap/waap_policy_action.py +7 -0
- gcore/types/waap/waap_policy_mode.py +10 -0
- gcore/types/waap/waap_request_details.py +92 -0
- gcore/types/waap/waap_request_organization.py +13 -0
- gcore/types/waap/waap_request_summary.py +59 -0
- gcore/types/waap/waap_resolution.py +7 -0
- gcore/types/waap/waap_rule_action_type.py +7 -0
- gcore/types/waap/waap_rule_blocked_requests.py +16 -0
- gcore/types/waap/waap_rule_set.py +41 -0
- gcore/types/waap/waap_statistic_item.py +18 -0
- gcore/types/waap/waap_statistics_series.py +16 -0
- gcore/types/waap/waap_tag.py +16 -0
- gcore/types/waap/waap_time_series_attack.py +23 -0
- gcore/types/waap/waap_top_session.py +24 -0
- gcore/types/waap/waap_top_url.py +13 -0
- gcore/types/waap/waap_top_user_agent.py +13 -0
- gcore/types/waap/waap_traffic_metrics.py +68 -0
- gcore/types/waap/waap_traffic_type.py +28 -0
- gcore/types/waap/waap_user_agent_details.py +40 -0
- {gcore-0.2.0.dist-info → gcore-0.3.0.dist-info}/METADATA +1 -1
- {gcore-0.2.0.dist-info → gcore-0.3.0.dist-info}/RECORD +258 -109
- {gcore-0.2.0.dist-info → gcore-0.3.0.dist-info}/WHEEL +0 -0
- {gcore-0.2.0.dist-info → gcore-0.3.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -28,26 +28,26 @@ class L7PolicyCreateParams(TypedDict, total=False):
|
|
|
28
28
|
redirect_http_code: int
|
|
29
29
|
"""
|
|
30
30
|
Requests matching this policy will be redirected to the specified URL or Prefix
|
|
31
|
-
URL with the HTTP response code. Valid if action is REDIRECT_TO_URL or
|
|
32
|
-
REDIRECT_PREFIX
|
|
31
|
+
URL with the HTTP response code. Valid if action is `REDIRECT_TO_URL` or
|
|
32
|
+
`REDIRECT_PREFIX`. Valid options are 301, 302, 303, 307, or 308. Default is 302.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
redirect_pool_id: str
|
|
36
36
|
"""Requests matching this policy will be redirected to the pool withthis ID.
|
|
37
37
|
|
|
38
|
-
Only valid if action is REDIRECT_TO_POOL
|
|
38
|
+
Only valid if action is `REDIRECT_TO_POOL`.
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
41
|
redirect_prefix: str
|
|
42
42
|
"""Requests matching this policy will be redirected to this Prefix URL.
|
|
43
43
|
|
|
44
|
-
Only valid if action is REDIRECT_PREFIX
|
|
44
|
+
Only valid if action is `REDIRECT_PREFIX`.
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
47
|
redirect_url: str
|
|
48
48
|
"""Requests matching this policy will be redirected to this URL.
|
|
49
49
|
|
|
50
|
-
Only valid if action is REDIRECT_TO_URL
|
|
50
|
+
Only valid if action is `REDIRECT_TO_URL`.
|
|
51
51
|
"""
|
|
52
52
|
|
|
53
53
|
tags: List[str]
|
|
@@ -25,26 +25,26 @@ class L7PolicyReplaceParams(TypedDict, total=False):
|
|
|
25
25
|
redirect_http_code: int
|
|
26
26
|
"""
|
|
27
27
|
Requests matching this policy will be redirected to the specified URL or Prefix
|
|
28
|
-
URL with the HTTP response code. Valid if action is REDIRECT_TO_URL or
|
|
29
|
-
REDIRECT_PREFIX
|
|
28
|
+
URL with the HTTP response code. Valid if action is `REDIRECT_TO_URL` or
|
|
29
|
+
`REDIRECT_PREFIX`. Valid options are 301, 302, 303, 307, or 308. Default is 302.
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
redirect_pool_id: str
|
|
33
33
|
"""Requests matching this policy will be redirected to the pool with this ID.
|
|
34
34
|
|
|
35
|
-
Only valid if action is REDIRECT_TO_POOL
|
|
35
|
+
Only valid if action is `REDIRECT_TO_POOL`.
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
redirect_prefix: str
|
|
39
39
|
"""Requests matching this policy will be redirected to this Prefix URL.
|
|
40
40
|
|
|
41
|
-
Only valid if action is REDIRECT_PREFIX
|
|
41
|
+
Only valid if action is `REDIRECT_PREFIX`.
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
44
|
redirect_url: str
|
|
45
45
|
"""Requests matching this policy will be redirected to this URL.
|
|
46
46
|
|
|
47
|
-
Only valid if action is REDIRECT_TO_URL
|
|
47
|
+
Only valid if action is `REDIRECT_TO_URL`.
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
tags: List[str]
|
|
@@ -38,19 +38,19 @@ class ListenerCreateParams(TypedDict, total=False):
|
|
|
38
38
|
insert_x_forwarded: bool
|
|
39
39
|
"""Add headers X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto to requests.
|
|
40
40
|
|
|
41
|
-
Only used with HTTP or TERMINATED_HTTPS protocols.
|
|
41
|
+
Only used with HTTP or `TERMINATED_HTTPS` protocols.
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
44
|
secret_id: str
|
|
45
45
|
"""
|
|
46
|
-
ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or
|
|
47
|
-
listener
|
|
46
|
+
ID of the secret where PKCS12 file is stored for `TERMINATED_HTTPS` or
|
|
47
|
+
PROMETHEUS listener
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
sni_secret_id: List[str]
|
|
51
51
|
"""
|
|
52
52
|
List of secrets IDs containing PKCS12 format certificate/key bundles for
|
|
53
|
-
TERMINATED_HTTPS or PROMETHEUS listeners
|
|
53
|
+
`TERMINATED_HTTPS` or PROMETHEUS listeners
|
|
54
54
|
"""
|
|
55
55
|
|
|
56
56
|
timeout_client_data: Optional[int]
|
|
@@ -26,14 +26,14 @@ class ListenerUpdateParams(TypedDict, total=False):
|
|
|
26
26
|
|
|
27
27
|
secret_id: Optional[str]
|
|
28
28
|
"""
|
|
29
|
-
ID of the secret where PKCS12 file is stored for TERMINATED_HTTPS or
|
|
30
|
-
load balancer
|
|
29
|
+
ID of the secret where PKCS12 file is stored for `TERMINATED_HTTPS` or
|
|
30
|
+
PROMETHEUS load balancer
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
sni_secret_id: Optional[List[str]]
|
|
34
34
|
"""
|
|
35
35
|
List of secret's ID containing PKCS12 format certificate/key bundfles for
|
|
36
|
-
TERMINATED_HTTPS or PROMETHEUS listeners
|
|
36
|
+
`TERMINATED_HTTPS` or PROMETHEUS listeners
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
39
|
timeout_client_data: Optional[int]
|
|
@@ -108,7 +108,7 @@ class Member(TypedDict, total=False):
|
|
|
108
108
|
"""true if enabled. Defaults to true"""
|
|
109
109
|
|
|
110
110
|
instance_id: Optional[str]
|
|
111
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
111
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
112
112
|
|
|
113
113
|
monitor_address: Optional[str]
|
|
114
114
|
"""An alternate IP address used for health monitoring of a backend member.
|
|
@@ -119,11 +119,11 @@ class Member(TypedDict, total=False):
|
|
|
119
119
|
monitor_port: Optional[int]
|
|
120
120
|
"""An alternate protocol port used for health monitoring of a backend member.
|
|
121
121
|
|
|
122
|
-
Default is null which monitors the member protocol_port
|
|
122
|
+
Default is null which monitors the member `protocol_port`.
|
|
123
123
|
"""
|
|
124
124
|
|
|
125
125
|
subnet_id: Optional[str]
|
|
126
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
126
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
127
127
|
|
|
128
128
|
weight: Optional[int]
|
|
129
129
|
"""Member weight. Valid values: 0 to 256, defaults to 1"""
|
|
@@ -137,7 +137,7 @@ class SessionPersistence(TypedDict, total=False):
|
|
|
137
137
|
"""Should be set if app cookie or http cookie is used"""
|
|
138
138
|
|
|
139
139
|
persistence_granularity: Optional[str]
|
|
140
|
-
"""Subnet mask if source_ip is used. For UDP ports only"""
|
|
140
|
+
"""Subnet mask if `source_ip` is used. For UDP ports only"""
|
|
141
141
|
|
|
142
142
|
persistence_timeout: Optional[int]
|
|
143
143
|
"""Session persistence timeout. For UDP ports only"""
|
|
@@ -106,7 +106,7 @@ class Member(TypedDict, total=False):
|
|
|
106
106
|
"""true if enabled. Defaults to true"""
|
|
107
107
|
|
|
108
108
|
instance_id: Optional[str]
|
|
109
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
109
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
110
110
|
|
|
111
111
|
monitor_address: Optional[str]
|
|
112
112
|
"""An alternate IP address used for health monitoring of a backend member.
|
|
@@ -117,11 +117,11 @@ class Member(TypedDict, total=False):
|
|
|
117
117
|
monitor_port: Optional[int]
|
|
118
118
|
"""An alternate protocol port used for health monitoring of a backend member.
|
|
119
119
|
|
|
120
|
-
Default is null which monitors the member protocol_port
|
|
120
|
+
Default is null which monitors the member `protocol_port`.
|
|
121
121
|
"""
|
|
122
122
|
|
|
123
123
|
subnet_id: Optional[str]
|
|
124
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
124
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
125
125
|
|
|
126
126
|
weight: Optional[int]
|
|
127
127
|
"""Member weight. Valid values: 0 to 256, defaults to 1"""
|
|
@@ -135,7 +135,7 @@ class SessionPersistence(TypedDict, total=False):
|
|
|
135
135
|
"""Should be set if app cookie or http cookie is used"""
|
|
136
136
|
|
|
137
137
|
persistence_granularity: Optional[str]
|
|
138
|
-
"""Subnet mask if source_ip is used. For UDP ports only"""
|
|
138
|
+
"""Subnet mask if `source_ip` is used. For UDP ports only"""
|
|
139
139
|
|
|
140
140
|
persistence_timeout: Optional[int]
|
|
141
141
|
"""Session persistence timeout. For UDP ports only"""
|
|
@@ -25,7 +25,7 @@ class MemberAddParams(TypedDict, total=False):
|
|
|
25
25
|
"""true if enabled. Defaults to true"""
|
|
26
26
|
|
|
27
27
|
instance_id: Optional[str]
|
|
28
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
28
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
29
29
|
|
|
30
30
|
monitor_address: Optional[str]
|
|
31
31
|
"""An alternate IP address used for health monitoring of a backend member.
|
|
@@ -36,11 +36,11 @@ class MemberAddParams(TypedDict, total=False):
|
|
|
36
36
|
monitor_port: Optional[int]
|
|
37
37
|
"""An alternate protocol port used for health monitoring of a backend member.
|
|
38
38
|
|
|
39
|
-
Default is null which monitors the member protocol_port
|
|
39
|
+
Default is null which monitors the member `protocol_port`.
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
subnet_id: Optional[str]
|
|
43
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
43
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
|
44
44
|
|
|
45
45
|
weight: Optional[int]
|
|
46
46
|
"""Member weight. Valid values: 0 to 256, defaults to 1"""
|
gcore/types/cloud/member.py
CHANGED
|
@@ -40,8 +40,8 @@ class Member(BaseModel):
|
|
|
40
40
|
monitor_port: Optional[int] = None
|
|
41
41
|
"""An alternate protocol port used for health monitoring of a backend member.
|
|
42
42
|
|
|
43
|
-
Default is null which monitors the member protocol_port
|
|
43
|
+
Default is null which monitors the member `protocol_port`.
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
46
|
subnet_id: Optional[str] = None
|
|
47
|
-
"""Either subnet_id or instance_id should be provided"""
|
|
47
|
+
"""Either `subnet_id` or `instance_id` should be provided"""
|
gcore/types/cloud/network.py
CHANGED
|
@@ -20,7 +20,7 @@ class Network(BaseModel):
|
|
|
20
20
|
"""Task that created this entity"""
|
|
21
21
|
|
|
22
22
|
default: Optional[bool] = None
|
|
23
|
-
"""True if network has is_default attribute"""
|
|
23
|
+
"""True if network has `is_default` attribute"""
|
|
24
24
|
|
|
25
25
|
external: bool
|
|
26
26
|
"""True if the network `router:external` attribute"""
|
|
@@ -33,7 +33,7 @@ class Network(BaseModel):
|
|
|
33
33
|
|
|
34
34
|
port_security_enabled: bool
|
|
35
35
|
"""
|
|
36
|
-
Indicates port_security_enabled status of all newly created in the network
|
|
36
|
+
Indicates `port_security_enabled` status of all newly created in the network
|
|
37
37
|
ports.
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -21,7 +21,7 @@ class NetworkDetails(BaseModel):
|
|
|
21
21
|
"""Task that created this entity"""
|
|
22
22
|
|
|
23
23
|
default: Optional[bool] = None
|
|
24
|
-
"""True if network has is_default attribute"""
|
|
24
|
+
"""True if network has `is_default` attribute"""
|
|
25
25
|
|
|
26
26
|
external: bool
|
|
27
27
|
"""True if the network `router:external` attribute"""
|
|
@@ -34,7 +34,7 @@ class NetworkDetails(BaseModel):
|
|
|
34
34
|
|
|
35
35
|
port_security_enabled: bool
|
|
36
36
|
"""
|
|
37
|
-
Indicates port_security_enabled status of all newly created in the network
|
|
37
|
+
Indicates `port_security_enabled` status of all newly created in the network
|
|
38
38
|
ports.
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -31,11 +31,11 @@ class NetworkListParams(TypedDict, total=False):
|
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
tag_key: List[str]
|
|
34
|
-
"""Optional. Filter by tag keys.
|
|
34
|
+
"""Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2"""
|
|
35
35
|
|
|
36
36
|
tag_key_value: str
|
|
37
37
|
"""Optional.
|
|
38
38
|
|
|
39
|
-
Filter by tag key-value pairs. curl -G --data-urlencode "tag_key_value
|
|
39
|
+
Filter by tag key-value pairs. curl -G --data-urlencode "`tag_key_value`={"key":
|
|
40
40
|
"value"}" --url "https://example.com/cloud/v1/resource/1/1"
|
|
41
41
|
"""
|
|
@@ -30,7 +30,7 @@ class SubnetCreateParams(TypedDict, total=False):
|
|
|
30
30
|
connect_to_network_router: bool
|
|
31
31
|
"""True if the network's router should get a gateway in this subnet.
|
|
32
32
|
|
|
33
|
-
Must be explicitly 'false' when gateway_ip is null.
|
|
33
|
+
Must be explicitly 'false' when `gateway_ip` is null.
|
|
34
34
|
"""
|
|
35
35
|
|
|
36
36
|
dns_nameservers: Optional[List[str]]
|
|
@@ -48,11 +48,11 @@ class SubnetListParams(TypedDict, total=False):
|
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
tag_key: List[str]
|
|
51
|
-
"""Optional. Filter by tag keys.
|
|
51
|
+
"""Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2"""
|
|
52
52
|
|
|
53
53
|
tag_key_value: str
|
|
54
54
|
"""Optional.
|
|
55
55
|
|
|
56
|
-
Filter by tag key-value pairs. curl -G --data-urlencode "tag_key_value
|
|
56
|
+
Filter by tag key-value pairs. curl -G --data-urlencode "`tag_key_value`={"key":
|
|
57
57
|
"value"}" --url "https://example.com/cloud/v1/resource/1/1"
|
|
58
58
|
"""
|
gcore/types/cloud/region.py
CHANGED
|
@@ -26,7 +26,7 @@ class Region(BaseModel):
|
|
|
26
26
|
"""AI service API endpoint ID"""
|
|
27
27
|
|
|
28
28
|
available_volume_types: Optional[List[str]] = None
|
|
29
|
-
"""List of available volume types, 'standard', 'ssd_hiiops', 'cold']."""
|
|
29
|
+
"""List of available volume types, 'standard', '`ssd_hiiops`', 'cold']."""
|
|
30
30
|
|
|
31
31
|
coordinates: Optional[Coordinates] = None
|
|
32
32
|
"""Coordinates of the region"""
|
|
@@ -67,6 +67,9 @@ class Region(BaseModel):
|
|
|
67
67
|
has_basic_vm: bool
|
|
68
68
|
"""Region has basic vm capability"""
|
|
69
69
|
|
|
70
|
+
has_dbaas: bool
|
|
71
|
+
"""Region has DBAAS service"""
|
|
72
|
+
|
|
70
73
|
has_k8s: bool
|
|
71
74
|
"""Region has managed kubernetes capability"""
|
|
72
75
|
|
|
@@ -96,6 +99,3 @@ class Region(BaseModel):
|
|
|
96
99
|
|
|
97
100
|
zone: Optional[Literal["AMERICAS", "APAC", "EMEA", "RUSSIA_AND_CIS"]] = None
|
|
98
101
|
"""Geographical zone"""
|
|
99
|
-
|
|
100
|
-
has_dbaas: Optional[bool] = None
|
|
101
|
-
"""Region has DBAAS service"""
|
|
@@ -22,11 +22,9 @@ class User(TypedDict, total=False):
|
|
|
22
22
|
"""User account operating time, days"""
|
|
23
23
|
|
|
24
24
|
name: Required[str]
|
|
25
|
-
"""
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
with maximum length of 16 characters
|
|
25
|
+
"""
|
|
26
|
+
A name for the registry user. Should be in lowercase, consisting only of numbers
|
|
27
|
+
and letters, with maximum length of 16 characters
|
|
30
28
|
"""
|
|
31
29
|
|
|
32
30
|
read_only: bool
|
|
@@ -16,11 +16,9 @@ class UserCreateParams(TypedDict, total=False):
|
|
|
16
16
|
"""User account operating time, days"""
|
|
17
17
|
|
|
18
18
|
name: Required[str]
|
|
19
|
-
"""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
with maximum length of 16 characters
|
|
19
|
+
"""
|
|
20
|
+
A name for the registry user. Should be in lowercase, consisting only of numbers
|
|
21
|
+
and letters, with maximum length of 16 characters
|
|
24
22
|
"""
|
|
25
23
|
|
|
26
24
|
read_only: bool
|
|
@@ -13,11 +13,9 @@ class RegistryCreateParams(TypedDict, total=False):
|
|
|
13
13
|
region_id: int
|
|
14
14
|
|
|
15
15
|
name: Required[str]
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
with maximum length of 24 characters
|
|
16
|
+
"""
|
|
17
|
+
A name for the container registry. Should be in lowercase, consisting only of
|
|
18
|
+
numbers, letters and -, with maximum length of 24 characters
|
|
21
19
|
"""
|
|
22
20
|
|
|
23
21
|
storage_limit: int
|
|
@@ -56,7 +56,7 @@ class NewReservedFixedIPAnySubnetSerializer(TypedDict, total=False):
|
|
|
56
56
|
"""Reserved fixed IP will be allocated in a subnet of this network"""
|
|
57
57
|
|
|
58
58
|
type: Required[Literal["any_subnet"]]
|
|
59
|
-
"""Must be 'any_subnet'."""
|
|
59
|
+
"""Must be '`any_subnet`'."""
|
|
60
60
|
|
|
61
61
|
ip_family: Optional[InterfaceIPFamily]
|
|
62
62
|
"""Which subnets should be selected: IPv4, IPv6 or use dual stack."""
|
|
@@ -77,7 +77,7 @@ class NewReservedFixedIPSpecificIPAddressSerializer(TypedDict, total=False):
|
|
|
77
77
|
"""Reserved fixed IP will be allocated in a subnet of this network"""
|
|
78
78
|
|
|
79
79
|
type: Required[Literal["ip_address"]]
|
|
80
|
-
"""Must be 'ip_address'."""
|
|
80
|
+
"""Must be '`ip_address`'."""
|
|
81
81
|
|
|
82
82
|
is_vip: bool
|
|
83
83
|
"""If reserved fixed IP is a VIP"""
|
|
@@ -38,9 +38,9 @@ class ReservedFixedIPListParams(TypedDict, total=False):
|
|
|
38
38
|
|
|
39
39
|
order_by: str
|
|
40
40
|
"""
|
|
41
|
-
Ordering reserved fixed IP list result by name, status, updated_at
|
|
42
|
-
or fixed_ip_address fields of the reserved fixed IP and
|
|
43
|
-
default is "fixed_ip_address
|
|
41
|
+
Ordering reserved fixed IP list result by name, status, `updated_at`,
|
|
42
|
+
`created_at` or `fixed_ip_address` fields of the reserved fixed IP and
|
|
43
|
+
directions (status.asc), default is "`fixed_ip_address`.asc"
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
46
|
vip_only: bool
|
|
@@ -25,6 +25,6 @@ class SecurityGroupListParams(TypedDict, total=False):
|
|
|
25
25
|
tag_key_value: str
|
|
26
26
|
"""Filter by tag key-value pairs.
|
|
27
27
|
|
|
28
|
-
Must be a valid JSON string. curl -G --data-urlencode "tag_key_value
|
|
28
|
+
Must be a valid JSON string. curl -G --data-urlencode "`tag_key_value`={"key":
|
|
29
29
|
"value"}" --url "http://localhost:1111/v1/securitygroups/1/1"
|
|
30
30
|
"""
|
|
@@ -16,7 +16,7 @@ class SessionPersistence(BaseModel):
|
|
|
16
16
|
"""Should be set if app cookie or http cookie is used"""
|
|
17
17
|
|
|
18
18
|
persistence_granularity: Optional[str] = None
|
|
19
|
-
"""Subnet mask if source_ip is used. For UDP ports only"""
|
|
19
|
+
"""Subnet mask if `source_ip` is used. For UDP ports only"""
|
|
20
20
|
|
|
21
21
|
persistence_timeout: Optional[int] = None
|
|
22
22
|
"""Session persistence timeout. For UDP ports only"""
|
|
@@ -26,12 +26,9 @@ class SSHKeyCreated(BaseModel):
|
|
|
26
26
|
"""The private part of an SSH key is the confidential portion of the key pair.
|
|
27
27
|
|
|
28
28
|
It should never be shared or exposed. This key is used to prove your identity
|
|
29
|
-
when connecting to a server.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
private_key will be returned **once** in the API response. Be sure to save it
|
|
33
|
-
securely, as it cannot be retrieved again later.
|
|
34
|
-
|
|
29
|
+
when connecting to a server. If you omit the `public_key`, the platform will
|
|
30
|
+
generate a key for you. The `private_key` will be returned **once** in the API
|
|
31
|
+
response. Be sure to save it securely, as it cannot be retrieved again later.
|
|
35
32
|
Best practice: Save the private key to a secure location on your machine (e.g.,
|
|
36
33
|
`~/.ssh/id_ed25519`) and set the file permissions to be readable only by you.
|
|
37
34
|
"""
|
gcore/types/cloud/task.py
CHANGED
|
@@ -129,7 +129,7 @@ class Task(BaseModel):
|
|
|
129
129
|
"""If task was acknowledged, this field stores acknowledge timestamp"""
|
|
130
130
|
|
|
131
131
|
acknowledged_by: Optional[int] = None
|
|
132
|
-
"""If task was acknowledged, this field stores user_id of the person"""
|
|
132
|
+
"""If task was acknowledged, this field stores `user_id` of the person"""
|
|
133
133
|
|
|
134
134
|
client_id: Optional[int] = None
|
|
135
135
|
"""The client ID"""
|
|
@@ -15,7 +15,7 @@ class TaskListParams(TypedDict, total=False):
|
|
|
15
15
|
from_timestamp: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
|
|
16
16
|
"""ISO formatted datetime string.
|
|
17
17
|
|
|
18
|
-
Filter the tasks by creation date greater than or equal to from_timestamp
|
|
18
|
+
Filter the tasks by creation date greater than or equal to `from_timestamp`
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
21
|
is_acknowledged: Optional[bool]
|
|
@@ -46,7 +46,7 @@ class TaskListParams(TypedDict, total=False):
|
|
|
46
46
|
"""
|
|
47
47
|
|
|
48
48
|
sorting: Literal["asc", "desc"]
|
|
49
|
-
"""(DEPRECATED Use 'order_by' instead) Sorting by creation date.
|
|
49
|
+
"""(DEPRECATED Use '`order_by`' instead) Sorting by creation date.
|
|
50
50
|
|
|
51
51
|
Oldest first, or most recent first
|
|
52
52
|
"""
|
|
@@ -59,52 +59,56 @@ class TaskListParams(TypedDict, total=False):
|
|
|
59
59
|
|
|
60
60
|
task_type: Optional[str]
|
|
61
61
|
"""
|
|
62
|
-
Filter the tasks by their type one of ['activate_ddos_profile',
|
|
63
|
-
'attach_bm_to_reserved_fixed_ip', 'attach_vm_interface',
|
|
64
|
-
'attach_vm_to_reserved_fixed_ip', 'attach_volume',
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
62
|
+
Filter the tasks by their type one of ['`activate_ddos_profile`',
|
|
63
|
+
'`attach_bm_to_reserved_fixed_ip`', '`attach_vm_interface`',
|
|
64
|
+
'`attach_vm_to_reserved_fixed_ip`', '`attach_volume`',
|
|
65
|
+
'`create_ai_cluster_gpu`', '`create_bm`', '`create_caas_container`',
|
|
66
|
+
'`create_dbaas_postgres_cluster`', '`create_ddos_profile`',
|
|
67
|
+
'`create_faas_function`', '`create_faas_namespace`', '`create_fip`',
|
|
68
|
+
'`create_gpu_virtual_cluster`', '`create_image`', '`create_inference_instance`',
|
|
69
|
+
'`create_inference_instance_key`', '`create_k8s_cluster_pool_v2`',
|
|
70
|
+
'`create_k8s_cluster_v2`', '`create_l7policy`', '`create_l7rule`',
|
|
71
|
+
'`create_lblistener`', '`create_lbmember`', '`create_lbpool`',
|
|
72
|
+
'`create_lbpool_health_monitor`', '`create_loadbalancer`', '`create_network`',
|
|
73
|
+
'`create_reserved_fixed_ip`', '`create_router`', '`create_secret`',
|
|
74
|
+
'`create_servergroup`', '`create_sfs`', '`create_snapshot`', '`create_subnet`',
|
|
75
|
+
'`create_vm`', '`create_volume`', '`deactivate_ddos_profile`',
|
|
76
|
+
'`delete_ai_cluster_gpu`', '`delete_caas_container`',
|
|
77
|
+
'`delete_dbaas_postgres_cluster`', '`delete_ddos_profile`',
|
|
78
|
+
'`delete_faas_function`', '`delete_faas_namespace`', '`delete_fip`',
|
|
79
|
+
'`delete_gpu_virtual_cluster`', '`delete_gpu_virtual_server`', '`delete_image`',
|
|
80
|
+
'`delete_inference_instance`', '`delete_k8s_cluster_pool_v2`',
|
|
81
|
+
'`delete_k8s_cluster_v2`', '`delete_l7policy`', '`delete_l7rule`',
|
|
82
|
+
'`delete_lblistener`', '`delete_lbmember`', '`delete_lbmetadata`',
|
|
83
|
+
'`delete_lbpool`', '`delete_loadbalancer`', '`delete_network`',
|
|
84
|
+
'`delete_reserved_fixed_ip`', '`delete_router`', '`delete_secret`',
|
|
85
|
+
'`delete_servergroup`', '`delete_sfs`', '`delete_snapshot`', '`delete_subnet`',
|
|
86
|
+
'`delete_vm`', '`delete_volume`', '`detach_vm_interface`', '`detach_volume`',
|
|
87
|
+
'`download_image`', '`downscale_ai_cluster_gpu`',
|
|
88
|
+
'`downscale_gpu_virtual_cluster`', '`extend_sfs`', '`extend_volume`',
|
|
89
|
+
'`failover_loadbalancer`', '`hard_reboot_gpu_baremetal_server`',
|
|
90
|
+
'`hard_reboot_gpu_virtual_cluster`', '`hard_reboot_gpu_virtual_server`',
|
|
91
|
+
'`hard_reboot_vm`', '`patch_caas_container`', '`patch_dbaas_postgres_cluster`',
|
|
92
|
+
'`patch_faas_function`', '`patch_faas_namespace`', '`patch_lblistener`',
|
|
93
|
+
'`patch_lbpool`', '`put_into_server_group`', '`put_l7policy`', '`put_l7rule`',
|
|
94
|
+
'`rebuild_bm`', '`rebuild_gpu_baremetal_node`', '`remove_from_server_group`',
|
|
95
|
+
'`replace_lbmetadata`', '`resize_k8s_cluster_v2`', '`resize_loadbalancer`',
|
|
96
|
+
'`resize_vm`', '`resume_vm`', '`revert_volume`',
|
|
97
|
+
'`soft_reboot_gpu_baremetal_server`', '`soft_reboot_gpu_virtual_cluster`',
|
|
98
|
+
'`soft_reboot_gpu_virtual_server`', '`soft_reboot_vm`',
|
|
99
|
+
'`start_gpu_baremetal_server`', '`start_gpu_virtual_cluster`',
|
|
100
|
+
'`start_gpu_virtual_server`', '`start_vm`', '`stop_gpu_baremetal_server`',
|
|
101
|
+
'`stop_gpu_virtual_cluster`', '`stop_gpu_virtual_server`', '`stop_vm`',
|
|
102
|
+
'`suspend_vm`', '`sync_private_flavors`', '`update_ddos_profile`',
|
|
103
|
+
'`update_inference_instance`', '`update_inference_instance_key`',
|
|
104
|
+
'`update_k8s_cluster_v2`', '`update_lbmetadata`',
|
|
105
|
+
'`update_port_allowed_address_pairs`', '`update_tags_gpu_virtual_cluster`',
|
|
106
|
+
'`upgrade_k8s_cluster_v2`', '`upscale_ai_cluster_gpu`',
|
|
107
|
+
'`upscale_gpu_virtual_cluster`']
|
|
104
108
|
"""
|
|
105
109
|
|
|
106
110
|
to_timestamp: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
|
|
107
111
|
"""ISO formatted datetime string.
|
|
108
112
|
|
|
109
|
-
Filter the tasks by creation date less than or equal to to_timestamp
|
|
113
|
+
Filter the tasks by creation date less than or equal to `to_timestamp`
|
|
110
114
|
"""
|
|
@@ -16,7 +16,7 @@ class RoleAssignmentCreateParams(TypedDict, total=False):
|
|
|
16
16
|
"""User ID"""
|
|
17
17
|
|
|
18
18
|
client_id: Optional[int]
|
|
19
|
-
"""Client ID. Required if project_id is specified"""
|
|
19
|
+
"""Client ID. Required if `project_id` is specified"""
|
|
20
20
|
|
|
21
21
|
project_id: Optional[int]
|
|
22
22
|
"""Project ID"""
|
|
@@ -16,7 +16,7 @@ class RoleAssignmentUpdateParams(TypedDict, total=False):
|
|
|
16
16
|
"""User ID"""
|
|
17
17
|
|
|
18
18
|
client_id: Optional[int]
|
|
19
|
-
"""Client ID. Required if project_id is specified"""
|
|
19
|
+
"""Client ID. Required if `project_id` is specified"""
|
|
20
20
|
|
|
21
21
|
project_id: Optional[int]
|
|
22
22
|
"""Project ID"""
|
|
@@ -37,11 +37,11 @@ class CreateVolumeFromImageSerializer(TypedDict, total=False):
|
|
|
37
37
|
attachment_tag: str
|
|
38
38
|
"""Block device attachment tag (not exposed in the user tags).
|
|
39
39
|
|
|
40
|
-
Only used in conjunction with instance_id_to_attach_to
|
|
40
|
+
Only used in conjunction with `instance_id_to_attach_to`
|
|
41
41
|
"""
|
|
42
42
|
|
|
43
43
|
instance_id_to_attach_to: str
|
|
44
|
-
"""instance_id to attach newly-created volume to"""
|
|
44
|
+
"""`instance_id` to attach newly-created volume to"""
|
|
45
45
|
|
|
46
46
|
lifecycle_policy_ids: Iterable[int]
|
|
47
47
|
"""
|
|
@@ -86,11 +86,11 @@ class CreateVolumeFromSnapshotSerializer(TypedDict, total=False):
|
|
|
86
86
|
attachment_tag: str
|
|
87
87
|
"""Block device attachment tag (not exposed in the user tags).
|
|
88
88
|
|
|
89
|
-
Only used in conjunction with instance_id_to_attach_to
|
|
89
|
+
Only used in conjunction with `instance_id_to_attach_to`
|
|
90
90
|
"""
|
|
91
91
|
|
|
92
92
|
instance_id_to_attach_to: str
|
|
93
|
-
"""instance_id to attach newly-created volume to"""
|
|
93
|
+
"""`instance_id` to attach newly-created volume to"""
|
|
94
94
|
|
|
95
95
|
lifecycle_policy_ids: Iterable[int]
|
|
96
96
|
"""
|
|
@@ -141,11 +141,11 @@ class CreateNewVolumeSerializer(TypedDict, total=False):
|
|
|
141
141
|
attachment_tag: str
|
|
142
142
|
"""Block device attachment tag (not exposed in the user tags).
|
|
143
143
|
|
|
144
|
-
Only used in conjunction with instance_id_to_attach_to
|
|
144
|
+
Only used in conjunction with `instance_id_to_attach_to`
|
|
145
145
|
"""
|
|
146
146
|
|
|
147
147
|
instance_id_to_attach_to: str
|
|
148
|
-
"""instance_id to attach newly-created volume to"""
|
|
148
|
+
"""`instance_id` to attach newly-created volume to"""
|
|
149
149
|
|
|
150
150
|
lifecycle_policy_ids: Iterable[int]
|
|
151
151
|
"""
|