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
|
@@ -172,8 +172,9 @@ class LoadBalancersResource(SyncAPIResource):
|
|
|
172
172
|
|
|
173
173
|
preferred_connectivity: Preferred option to establish connectivity between load balancer and its pools
|
|
174
174
|
members. L2 provides best performance, L3 provides less IPs usage. It is taking
|
|
175
|
-
effect only if instance_id + ip_address is provided, not subnet_id +
|
|
176
|
-
because we're considering this as intentional subnet_id
|
|
175
|
+
effect only if `instance_id` + `ip_address` is provided, not `subnet_id` +
|
|
176
|
+
`ip_address`, because we're considering this as intentional `subnet_id`
|
|
177
|
+
specification.
|
|
177
178
|
|
|
178
179
|
tags: Key-value tags to associate with the resource. A tag is a key-value pair that
|
|
179
180
|
can be associated with a resource, enabling efficient filtering and grouping for
|
|
@@ -181,16 +182,17 @@ class LoadBalancersResource(SyncAPIResource):
|
|
|
181
182
|
modified by the user. Tags are also integrated with cost reports, allowing cost
|
|
182
183
|
data to be filtered based on tag keys or values.
|
|
183
184
|
|
|
184
|
-
vip_ip_family: IP family for load balancer subnet auto-selection if vip_network_id is
|
|
185
|
+
vip_ip_family: IP family for load balancer subnet auto-selection if `vip_network_id` is
|
|
186
|
+
specified
|
|
185
187
|
|
|
186
188
|
vip_network_id: Network ID for load balancer. If not specified, default external network will be
|
|
187
|
-
used. Mutually exclusive with vip_port_id
|
|
189
|
+
used. Mutually exclusive with `vip_port_id`
|
|
188
190
|
|
|
189
191
|
vip_port_id: Existing Reserved Fixed IP port ID for load balancer. Mutually exclusive with
|
|
190
|
-
vip_network_id
|
|
192
|
+
`vip_network_id`
|
|
191
193
|
|
|
192
|
-
vip_subnet_id: Subnet ID for load balancer. If not specified, any subnet from vip_network_id
|
|
193
|
-
will be selected. Ignored when vip_network_id is not specified.
|
|
194
|
+
vip_subnet_id: Subnet ID for load balancer. If not specified, any subnet from `vip_network_id`
|
|
195
|
+
will be selected. Ignored when `vip_network_id` is not specified.
|
|
194
196
|
|
|
195
197
|
extra_headers: Send extra headers
|
|
196
198
|
|
|
@@ -323,17 +325,17 @@ class LoadBalancersResource(SyncAPIResource):
|
|
|
323
325
|
|
|
324
326
|
offset: Offset value is used to exclude the first set of records from the result.
|
|
325
327
|
|
|
326
|
-
order_by: Ordering Load Balancer list result by name, created_at
|
|
327
|
-
operating_status
|
|
328
|
-
fields of the load balancer and directions (name.asc), default is
|
|
329
|
-
"created_at
|
|
328
|
+
order_by: Ordering Load Balancer list result by name, `created_at`, `updated_at`,
|
|
329
|
+
`operating_status`, `provisioning_status`, `vip_address`, `vip_ip_family` and
|
|
330
|
+
flavor fields of the load balancer and directions (name.asc), default is
|
|
331
|
+
"`created_at`.asc"
|
|
330
332
|
|
|
331
333
|
show_stats: Show statistics
|
|
332
334
|
|
|
333
335
|
tag_key: Filter by tag keys.
|
|
334
336
|
|
|
335
337
|
tag_key_value: Filter by tag key-value pairs. Must be a valid JSON string. curl -G
|
|
336
|
-
--data-urlencode "tag_key_value
|
|
338
|
+
--data-urlencode "`tag_key_value`={"key": "value"}" --url
|
|
337
339
|
"http://localhost:1111/v1/loadbalancers/1/1"
|
|
338
340
|
|
|
339
341
|
with_ddos: Show Advanced DDoS protection profile, if exists
|
|
@@ -827,8 +829,9 @@ class AsyncLoadBalancersResource(AsyncAPIResource):
|
|
|
827
829
|
|
|
828
830
|
preferred_connectivity: Preferred option to establish connectivity between load balancer and its pools
|
|
829
831
|
members. L2 provides best performance, L3 provides less IPs usage. It is taking
|
|
830
|
-
effect only if instance_id + ip_address is provided, not subnet_id +
|
|
831
|
-
because we're considering this as intentional subnet_id
|
|
832
|
+
effect only if `instance_id` + `ip_address` is provided, not `subnet_id` +
|
|
833
|
+
`ip_address`, because we're considering this as intentional `subnet_id`
|
|
834
|
+
specification.
|
|
832
835
|
|
|
833
836
|
tags: Key-value tags to associate with the resource. A tag is a key-value pair that
|
|
834
837
|
can be associated with a resource, enabling efficient filtering and grouping for
|
|
@@ -836,16 +839,17 @@ class AsyncLoadBalancersResource(AsyncAPIResource):
|
|
|
836
839
|
modified by the user. Tags are also integrated with cost reports, allowing cost
|
|
837
840
|
data to be filtered based on tag keys or values.
|
|
838
841
|
|
|
839
|
-
vip_ip_family: IP family for load balancer subnet auto-selection if vip_network_id is
|
|
842
|
+
vip_ip_family: IP family for load balancer subnet auto-selection if `vip_network_id` is
|
|
843
|
+
specified
|
|
840
844
|
|
|
841
845
|
vip_network_id: Network ID for load balancer. If not specified, default external network will be
|
|
842
|
-
used. Mutually exclusive with vip_port_id
|
|
846
|
+
used. Mutually exclusive with `vip_port_id`
|
|
843
847
|
|
|
844
848
|
vip_port_id: Existing Reserved Fixed IP port ID for load balancer. Mutually exclusive with
|
|
845
|
-
vip_network_id
|
|
849
|
+
`vip_network_id`
|
|
846
850
|
|
|
847
|
-
vip_subnet_id: Subnet ID for load balancer. If not specified, any subnet from vip_network_id
|
|
848
|
-
will be selected. Ignored when vip_network_id is not specified.
|
|
851
|
+
vip_subnet_id: Subnet ID for load balancer. If not specified, any subnet from `vip_network_id`
|
|
852
|
+
will be selected. Ignored when `vip_network_id` is not specified.
|
|
849
853
|
|
|
850
854
|
extra_headers: Send extra headers
|
|
851
855
|
|
|
@@ -978,17 +982,17 @@ class AsyncLoadBalancersResource(AsyncAPIResource):
|
|
|
978
982
|
|
|
979
983
|
offset: Offset value is used to exclude the first set of records from the result.
|
|
980
984
|
|
|
981
|
-
order_by: Ordering Load Balancer list result by name, created_at
|
|
982
|
-
operating_status
|
|
983
|
-
fields of the load balancer and directions (name.asc), default is
|
|
984
|
-
"created_at
|
|
985
|
+
order_by: Ordering Load Balancer list result by name, `created_at`, `updated_at`,
|
|
986
|
+
`operating_status`, `provisioning_status`, `vip_address`, `vip_ip_family` and
|
|
987
|
+
flavor fields of the load balancer and directions (name.asc), default is
|
|
988
|
+
"`created_at`.asc"
|
|
985
989
|
|
|
986
990
|
show_stats: Show statistics
|
|
987
991
|
|
|
988
992
|
tag_key: Filter by tag keys.
|
|
989
993
|
|
|
990
994
|
tag_key_value: Filter by tag key-value pairs. Must be a valid JSON string. curl -G
|
|
991
|
-
--data-urlencode "tag_key_value
|
|
995
|
+
--data-urlencode "`tag_key_value`={"key": "value"}" --url
|
|
992
996
|
"http://localhost:1111/v1/loadbalancers/1/1"
|
|
993
997
|
|
|
994
998
|
with_ddos: Show Advanced DDoS protection profile, if exists
|
|
@@ -80,15 +80,15 @@ class MembersResource(SyncAPIResource):
|
|
|
80
80
|
|
|
81
81
|
admin_state_up: true if enabled. Defaults to true
|
|
82
82
|
|
|
83
|
-
instance_id: Either subnet_id or instance_id should be provided
|
|
83
|
+
instance_id: Either `subnet_id` or `instance_id` should be provided
|
|
84
84
|
|
|
85
85
|
monitor_address: An alternate IP address used for health monitoring of a backend member. Default
|
|
86
86
|
is null which monitors the member address.
|
|
87
87
|
|
|
88
88
|
monitor_port: An alternate protocol port used for health monitoring of a backend member.
|
|
89
|
-
Default is null which monitors the member protocol_port
|
|
89
|
+
Default is null which monitors the member `protocol_port`.
|
|
90
90
|
|
|
91
|
-
subnet_id: Either subnet_id or instance_id should be provided
|
|
91
|
+
subnet_id: Either `subnet_id` or `instance_id` should be provided
|
|
92
92
|
|
|
93
93
|
weight: Member weight. Valid values: 0 to 256, defaults to 1
|
|
94
94
|
|
|
@@ -235,15 +235,15 @@ class AsyncMembersResource(AsyncAPIResource):
|
|
|
235
235
|
|
|
236
236
|
admin_state_up: true if enabled. Defaults to true
|
|
237
237
|
|
|
238
|
-
instance_id: Either subnet_id or instance_id should be provided
|
|
238
|
+
instance_id: Either `subnet_id` or `instance_id` should be provided
|
|
239
239
|
|
|
240
240
|
monitor_address: An alternate IP address used for health monitoring of a backend member. Default
|
|
241
241
|
is null which monitors the member address.
|
|
242
242
|
|
|
243
243
|
monitor_port: An alternate protocol port used for health monitoring of a backend member.
|
|
244
|
-
Default is null which monitors the member protocol_port
|
|
244
|
+
Default is null which monitors the member `protocol_port`.
|
|
245
245
|
|
|
246
|
-
subnet_id: Either subnet_id or instance_id should be provided
|
|
246
|
+
subnet_id: Either `subnet_id` or `instance_id` should be provided
|
|
247
247
|
|
|
248
248
|
weight: Member weight. Valid values: 0 to 256, defaults to 1
|
|
249
249
|
|
|
@@ -218,10 +218,10 @@ class NetworksResource(SyncAPIResource):
|
|
|
218
218
|
order_by: Ordering networks list result by `name`, `created_at` fields of the network and
|
|
219
219
|
directions (`created_at.desc`).
|
|
220
220
|
|
|
221
|
-
tag_key: Optional. Filter by tag keys.
|
|
221
|
+
tag_key: Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2
|
|
222
222
|
|
|
223
223
|
tag_key_value: Optional. Filter by tag key-value pairs. curl -G --data-urlencode
|
|
224
|
-
"tag_key_value
|
|
224
|
+
"`tag_key_value`={"key": "value"}" --url
|
|
225
225
|
"https://example.com/cloud/v1/resource/1/1"
|
|
226
226
|
|
|
227
227
|
extra_headers: Send extra headers
|
|
@@ -524,10 +524,10 @@ class AsyncNetworksResource(AsyncAPIResource):
|
|
|
524
524
|
order_by: Ordering networks list result by `name`, `created_at` fields of the network and
|
|
525
525
|
directions (`created_at.desc`).
|
|
526
526
|
|
|
527
|
-
tag_key: Optional. Filter by tag keys.
|
|
527
|
+
tag_key: Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2
|
|
528
528
|
|
|
529
529
|
tag_key_value: Optional. Filter by tag key-value pairs. curl -G --data-urlencode
|
|
530
|
-
"tag_key_value
|
|
530
|
+
"`tag_key_value`={"key": "value"}" --url
|
|
531
531
|
"https://example.com/cloud/v1/resource/1/1"
|
|
532
532
|
|
|
533
533
|
extra_headers: Send extra headers
|
|
@@ -87,7 +87,7 @@ class SubnetsResource(SyncAPIResource):
|
|
|
87
87
|
network_id: Network ID
|
|
88
88
|
|
|
89
89
|
connect_to_network_router: True if the network's router should get a gateway in this subnet. Must be
|
|
90
|
-
explicitly 'false' when gateway_ip is null.
|
|
90
|
+
explicitly 'false' when `gateway_ip` is null.
|
|
91
91
|
|
|
92
92
|
dns_nameservers: List IP addresses of DNS servers to advertise via DHCP.
|
|
93
93
|
|
|
@@ -272,10 +272,10 @@ class SubnetsResource(SyncAPIResource):
|
|
|
272
272
|
`available_ips`, `total_ips`, and `cidr` (default) fields of the subnet and
|
|
273
273
|
directions (`name.asc`).
|
|
274
274
|
|
|
275
|
-
tag_key: Optional. Filter by tag keys.
|
|
275
|
+
tag_key: Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2
|
|
276
276
|
|
|
277
277
|
tag_key_value: Optional. Filter by tag key-value pairs. curl -G --data-urlencode
|
|
278
|
-
"tag_key_value
|
|
278
|
+
"`tag_key_value`={"key": "value"}" --url
|
|
279
279
|
"https://example.com/cloud/v1/resource/1/1"
|
|
280
280
|
|
|
281
281
|
extra_headers: Send extra headers
|
|
@@ -463,7 +463,7 @@ class AsyncSubnetsResource(AsyncAPIResource):
|
|
|
463
463
|
network_id: Network ID
|
|
464
464
|
|
|
465
465
|
connect_to_network_router: True if the network's router should get a gateway in this subnet. Must be
|
|
466
|
-
explicitly 'false' when gateway_ip is null.
|
|
466
|
+
explicitly 'false' when `gateway_ip` is null.
|
|
467
467
|
|
|
468
468
|
dns_nameservers: List IP addresses of DNS servers to advertise via DHCP.
|
|
469
469
|
|
|
@@ -648,10 +648,10 @@ class AsyncSubnetsResource(AsyncAPIResource):
|
|
|
648
648
|
`available_ips`, `total_ips`, and `cidr` (default) fields of the subnet and
|
|
649
649
|
directions (`name.asc`).
|
|
650
650
|
|
|
651
|
-
tag_key: Optional. Filter by tag keys.
|
|
651
|
+
tag_key: Optional. Filter by tag keys. ?`tag_key`=key1&`tag_key`=key2
|
|
652
652
|
|
|
653
653
|
tag_key_value: Optional. Filter by tag key-value pairs. curl -G --data-urlencode
|
|
654
|
-
"tag_key_value
|
|
654
|
+
"`tag_key_value`={"key": "value"}" --url
|
|
655
655
|
"https://example.com/cloud/v1/resource/1/1"
|
|
656
656
|
|
|
657
657
|
extra_headers: Send extra headers
|
|
@@ -104,15 +104,13 @@ class RegistriesResource(SyncAPIResource):
|
|
|
104
104
|
extra_body: Body | None = None,
|
|
105
105
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
106
106
|
) -> Registry:
|
|
107
|
-
"""
|
|
108
|
-
Create a registry
|
|
107
|
+
"""Create a registry
|
|
109
108
|
|
|
110
109
|
Args:
|
|
111
110
|
name: A name for the container registry.
|
|
112
111
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
with maximum length of 24 characters
|
|
112
|
+
Should be in lowercase, consisting only of
|
|
113
|
+
numbers, letters and -, with maximum length of 24 characters
|
|
116
114
|
|
|
117
115
|
storage_limit: Registry storage limit, GiB
|
|
118
116
|
|
|
@@ -346,15 +344,13 @@ class AsyncRegistriesResource(AsyncAPIResource):
|
|
|
346
344
|
extra_body: Body | None = None,
|
|
347
345
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
348
346
|
) -> Registry:
|
|
349
|
-
"""
|
|
350
|
-
Create a registry
|
|
347
|
+
"""Create a registry
|
|
351
348
|
|
|
352
349
|
Args:
|
|
353
350
|
name: A name for the container registry.
|
|
354
351
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
with maximum length of 24 characters
|
|
352
|
+
Should be in lowercase, consisting only of
|
|
353
|
+
numbers, letters and -, with maximum length of 24 characters
|
|
358
354
|
|
|
359
355
|
storage_limit: Registry storage limit, GiB
|
|
360
356
|
|
|
@@ -68,11 +68,8 @@ class UsersResource(SyncAPIResource):
|
|
|
68
68
|
Args:
|
|
69
69
|
duration: User account operating time, days
|
|
70
70
|
|
|
71
|
-
name: A name for the registry user.
|
|
72
|
-
|
|
73
|
-
Should be in lowercase, consisting only of numbers and letters,
|
|
74
|
-
|
|
75
|
-
with maximum length of 16 characters
|
|
71
|
+
name: A name for the registry user. Should be in lowercase, consisting only of numbers
|
|
72
|
+
and letters, with maximum length of 16 characters
|
|
76
73
|
|
|
77
74
|
read_only: Read-only user
|
|
78
75
|
|
|
@@ -358,11 +355,8 @@ class AsyncUsersResource(AsyncAPIResource):
|
|
|
358
355
|
Args:
|
|
359
356
|
duration: User account operating time, days
|
|
360
357
|
|
|
361
|
-
name: A name for the registry user.
|
|
362
|
-
|
|
363
|
-
Should be in lowercase, consisting only of numbers and letters,
|
|
364
|
-
|
|
365
|
-
with maximum length of 16 characters
|
|
358
|
+
name: A name for the registry user. Should be in lowercase, consisting only of numbers
|
|
359
|
+
and letters, with maximum length of 16 characters
|
|
366
360
|
|
|
367
361
|
read_only: Read-only user
|
|
368
362
|
|
|
@@ -154,7 +154,7 @@ class ReservedFixedIPsResource(SyncAPIResource):
|
|
|
154
154
|
Args:
|
|
155
155
|
network_id: Reserved fixed IP will be allocated in a subnet of this network
|
|
156
156
|
|
|
157
|
-
type: Must be 'any_subnet'.
|
|
157
|
+
type: Must be '`any_subnet`'.
|
|
158
158
|
|
|
159
159
|
ip_family: Which subnets should be selected: IPv4, IPv6 or use dual stack.
|
|
160
160
|
|
|
@@ -195,7 +195,7 @@ class ReservedFixedIPsResource(SyncAPIResource):
|
|
|
195
195
|
|
|
196
196
|
network_id: Reserved fixed IP will be allocated in a subnet of this network
|
|
197
197
|
|
|
198
|
-
type: Must be 'ip_address'.
|
|
198
|
+
type: Must be '`ip_address`'.
|
|
199
199
|
|
|
200
200
|
is_vip: If reserved fixed IP is a VIP
|
|
201
201
|
|
|
@@ -333,9 +333,9 @@ class ReservedFixedIPsResource(SyncAPIResource):
|
|
|
333
333
|
|
|
334
334
|
offset: Offset value is used to exclude the first set of records from the result
|
|
335
335
|
|
|
336
|
-
order_by: Ordering reserved fixed IP list result by name, status, updated_at
|
|
337
|
-
or fixed_ip_address fields of the reserved fixed IP and
|
|
338
|
-
default is "fixed_ip_address
|
|
336
|
+
order_by: Ordering reserved fixed IP list result by name, status, `updated_at`,
|
|
337
|
+
`created_at` or `fixed_ip_address` fields of the reserved fixed IP and
|
|
338
|
+
directions (status.asc), default is "`fixed_ip_address`.asc"
|
|
339
339
|
|
|
340
340
|
vip_only: Set to true if the response should only list VIPs
|
|
341
341
|
|
|
@@ -575,7 +575,7 @@ class AsyncReservedFixedIPsResource(AsyncAPIResource):
|
|
|
575
575
|
Args:
|
|
576
576
|
network_id: Reserved fixed IP will be allocated in a subnet of this network
|
|
577
577
|
|
|
578
|
-
type: Must be 'any_subnet'.
|
|
578
|
+
type: Must be '`any_subnet`'.
|
|
579
579
|
|
|
580
580
|
ip_family: Which subnets should be selected: IPv4, IPv6 or use dual stack.
|
|
581
581
|
|
|
@@ -616,7 +616,7 @@ class AsyncReservedFixedIPsResource(AsyncAPIResource):
|
|
|
616
616
|
|
|
617
617
|
network_id: Reserved fixed IP will be allocated in a subnet of this network
|
|
618
618
|
|
|
619
|
-
type: Must be 'ip_address'.
|
|
619
|
+
type: Must be '`ip_address`'.
|
|
620
620
|
|
|
621
621
|
is_vip: If reserved fixed IP is a VIP
|
|
622
622
|
|
|
@@ -754,9 +754,9 @@ class AsyncReservedFixedIPsResource(AsyncAPIResource):
|
|
|
754
754
|
|
|
755
755
|
offset: Offset value is used to exclude the first set of records from the result
|
|
756
756
|
|
|
757
|
-
order_by: Ordering reserved fixed IP list result by name, status, updated_at
|
|
758
|
-
or fixed_ip_address fields of the reserved fixed IP and
|
|
759
|
-
default is "fixed_ip_address
|
|
757
|
+
order_by: Ordering reserved fixed IP list result by name, status, `updated_at`,
|
|
758
|
+
`created_at` or `fixed_ip_address` fields of the reserved fixed IP and
|
|
759
|
+
directions (status.asc), default is "`fixed_ip_address`.asc"
|
|
760
760
|
|
|
761
761
|
vip_only: Set to true if the response should only list VIPs
|
|
762
762
|
|
|
@@ -189,7 +189,7 @@ class SecurityGroupsResource(SyncAPIResource):
|
|
|
189
189
|
tag_key: Filter by tag keys.
|
|
190
190
|
|
|
191
191
|
tag_key_value: Filter by tag key-value pairs. Must be a valid JSON string. curl -G
|
|
192
|
-
--data-urlencode "tag_key_value
|
|
192
|
+
--data-urlencode "`tag_key_value`={"key": "value"}" --url
|
|
193
193
|
"http://localhost:1111/v1/securitygroups/1/1"
|
|
194
194
|
|
|
195
195
|
extra_headers: Send extra headers
|
|
@@ -540,7 +540,7 @@ class AsyncSecurityGroupsResource(AsyncAPIResource):
|
|
|
540
540
|
tag_key: Filter by tag keys.
|
|
541
541
|
|
|
542
542
|
tag_key_value: Filter by tag key-value pairs. Must be a valid JSON string. curl -G
|
|
543
|
-
--data-urlencode "tag_key_value
|
|
543
|
+
--data-urlencode "`tag_key_value`={"key": "value"}" --url
|
|
544
544
|
"http://localhost:1111/v1/securitygroups/1/1"
|
|
545
545
|
|
|
546
546
|
extra_headers: Send extra headers
|
|
@@ -60,7 +60,7 @@ class SSHKeysResource(SyncAPIResource):
|
|
|
60
60
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
61
61
|
) -> SSHKeyCreated:
|
|
62
62
|
"""
|
|
63
|
-
To generate a key, omit the public_key parameter from the request body
|
|
63
|
+
To generate a key, omit the `public_key` parameter from the request body
|
|
64
64
|
|
|
65
65
|
Args:
|
|
66
66
|
project_id: Project ID
|
|
@@ -322,7 +322,7 @@ class AsyncSSHKeysResource(AsyncAPIResource):
|
|
|
322
322
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
323
323
|
) -> SSHKeyCreated:
|
|
324
324
|
"""
|
|
325
|
-
To generate a key, omit the public_key parameter from the request body
|
|
325
|
+
To generate a key, omit the `public_key` parameter from the request body
|
|
326
326
|
|
|
327
327
|
Args:
|
|
328
328
|
project_id: Project ID
|