volcengine-python-sdk 4.0.26__py2.py3-none-any.whl → 4.0.27__py2.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 volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/RECORD +168 -44
- volcenginesdkacep/__init__.py +15 -0
- volcenginesdkacep/api/acep_api.py +485 -0
- volcenginesdkacep/models/__init__.py +15 -0
- volcenginesdkacep/models/backup_data_request.py +176 -0
- volcenginesdkacep/models/backup_data_response.py +149 -0
- volcenginesdkacep/models/delete_backup_data_request.py +150 -0
- volcenginesdkacep/models/delete_backup_data_response.py +123 -0
- volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
- volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
- volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
- volcenginesdkacep/models/list_backup_data_request.py +254 -0
- volcenginesdkacep/models/list_backup_data_response.py +149 -0
- volcenginesdkacep/models/restore_data_request.py +203 -0
- volcenginesdkacep/models/restore_data_response.py +149 -0
- volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
- volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
- volcenginesdkclb/__init__.py +10 -0
- volcenginesdkclb/api/clb_api.py +194 -0
- volcenginesdkclb/models/__init__.py +10 -0
- volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
- volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
- volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
- volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
- volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
- volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
- volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
- volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
- volcenginesdkdbw/__init__.py +18 -0
- volcenginesdkdbw/api/dbw_api.py +388 -0
- volcenginesdkdbw/models/__init__.py +18 -0
- volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
- volcenginesdkdbw/models/execute_sql_request.py +231 -0
- volcenginesdkdbw/models/execute_sql_response.py +123 -0
- volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
- volcenginesdkdbw/models/get_table_info_request.py +205 -0
- volcenginesdkdbw/models/get_table_info_response.py +123 -0
- volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
- volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
- volcenginesdkdbw/models/list_databases_request.py +203 -0
- volcenginesdkdbw/models/list_databases_response.py +149 -0
- volcenginesdkdbw/models/list_tables_request.py +230 -0
- volcenginesdkdbw/models/list_tables_response.py +149 -0
- volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
- volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
- volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
- volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
- volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
- volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
- volcenginesdkgraph/__init__.py +48 -0
- volcenginesdkgraph/api/graph_api.py +951 -78
- volcenginesdkgraph/models/__init__.py +48 -0
- volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
- volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
- volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/create_instance_request.py +29 -3
- volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
- volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
- volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
- volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
- volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
- volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
- volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
- volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
- volcenginesdkgraph/models/list_tablets_request.py +254 -0
- volcenginesdkgraph/models/list_tablets_response.py +123 -0
- volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
- volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
- volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
- volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
- volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
- volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
- volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
- volcenginesdklivesaas/__init__.py +3 -0
- volcenginesdklivesaas/models/__init__.py +3 -0
- volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
- volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
- volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
- volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
- volcenginesdkvefaas/__init__.py +4 -0
- volcenginesdkvefaas/api/vefaas_api.py +194 -0
- volcenginesdkvefaas/models/__init__.py +4 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
- volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
- volcenginesdkvod20250101/__init__.py +26 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
- volcenginesdkvod20250101/models/__init__.py +26 -0
- volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
- volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
- volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
- volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
- volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
- volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
- volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
- volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
- volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
- volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/top_level.txt +0 -0
volcenginesdkclb/__init__.py
CHANGED
|
@@ -20,11 +20,13 @@ from volcenginesdkclb.api.clb_api import CLBApi
|
|
|
20
20
|
|
|
21
21
|
# import models into sdk package
|
|
22
22
|
from volcenginesdkclb.models.access_log_for_describe_load_balancer_attributes_output import AccessLogForDescribeLoadBalancerAttributesOutput
|
|
23
|
+
from volcenginesdkclb.models.access_log_for_describe_network_load_balancer_attributes_output import AccessLogForDescribeNetworkLoadBalancerAttributesOutput
|
|
23
24
|
from volcenginesdkclb.models.acl_entry_for_add_acl_entries_input import AclEntryForAddAclEntriesInput
|
|
24
25
|
from volcenginesdkclb.models.acl_entry_for_describe_acl_attributes_output import AclEntryForDescribeAclAttributesOutput
|
|
25
26
|
from volcenginesdkclb.models.acl_for_describe_acls_output import AclForDescribeAclsOutput
|
|
26
27
|
from volcenginesdkclb.models.add_acl_entries_request import AddAclEntriesRequest
|
|
27
28
|
from volcenginesdkclb.models.add_acl_entries_response import AddAclEntriesResponse
|
|
29
|
+
from volcenginesdkclb.models.add_domain_extension_for_modify_listener_domain_extensions_input import AddDomainExtensionForModifyListenerDomainExtensionsInput
|
|
28
30
|
from volcenginesdkclb.models.add_nlb_backend_servers_request import AddNLBBackendServersRequest
|
|
29
31
|
from volcenginesdkclb.models.add_nlb_backend_servers_response import AddNLBBackendServersResponse
|
|
30
32
|
from volcenginesdkclb.models.add_server_group_backend_servers_request import AddServerGroupBackendServersRequest
|
|
@@ -136,6 +138,8 @@ from volcenginesdkclb.models.detach_health_check_log_topic_request import Detach
|
|
|
136
138
|
from volcenginesdkclb.models.detach_health_check_log_topic_response import DetachHealthCheckLogTopicResponse
|
|
137
139
|
from volcenginesdkclb.models.disable_access_log_request import DisableAccessLogRequest
|
|
138
140
|
from volcenginesdkclb.models.disable_access_log_response import DisableAccessLogResponse
|
|
141
|
+
from volcenginesdkclb.models.domain_extension_for_describe_listener_attributes_output import DomainExtensionForDescribeListenerAttributesOutput
|
|
142
|
+
from volcenginesdkclb.models.domain_extension_for_describe_listeners_output import DomainExtensionForDescribeListenersOutput
|
|
139
143
|
from volcenginesdkclb.models.eip_billing_config_for_create_load_balancer_input import EipBillingConfigForCreateLoadBalancerInput
|
|
140
144
|
from volcenginesdkclb.models.eip_for_describe_load_balancer_attributes_output import EipForDescribeLoadBalancerAttributesOutput
|
|
141
145
|
from volcenginesdkclb.models.enable_access_log_request import EnableAccessLogRequest
|
|
@@ -168,8 +172,11 @@ from volcenginesdkclb.models.modify_acl_attributes_request import ModifyAclAttri
|
|
|
168
172
|
from volcenginesdkclb.models.modify_acl_attributes_response import ModifyAclAttributesResponse
|
|
169
173
|
from volcenginesdkclb.models.modify_certificate_attributes_request import ModifyCertificateAttributesRequest
|
|
170
174
|
from volcenginesdkclb.models.modify_certificate_attributes_response import ModifyCertificateAttributesResponse
|
|
175
|
+
from volcenginesdkclb.models.modify_domain_extension_for_modify_listener_domain_extensions_input import ModifyDomainExtensionForModifyListenerDomainExtensionsInput
|
|
171
176
|
from volcenginesdkclb.models.modify_listener_attributes_request import ModifyListenerAttributesRequest
|
|
172
177
|
from volcenginesdkclb.models.modify_listener_attributes_response import ModifyListenerAttributesResponse
|
|
178
|
+
from volcenginesdkclb.models.modify_listener_domain_extensions_request import ModifyListenerDomainExtensionsRequest
|
|
179
|
+
from volcenginesdkclb.models.modify_listener_domain_extensions_response import ModifyListenerDomainExtensionsResponse
|
|
173
180
|
from volcenginesdkclb.models.modify_load_balancer_attributes_request import ModifyLoadBalancerAttributesRequest
|
|
174
181
|
from volcenginesdkclb.models.modify_load_balancer_attributes_response import ModifyLoadBalancerAttributesResponse
|
|
175
182
|
from volcenginesdkclb.models.modify_nlb_backend_servers_attributes_request import ModifyNLBBackendServersAttributesRequest
|
|
@@ -182,6 +189,8 @@ from volcenginesdkclb.models.modify_nlb_security_policy_attributes_request impor
|
|
|
182
189
|
from volcenginesdkclb.models.modify_nlb_security_policy_attributes_response import ModifyNLBSecurityPolicyAttributesResponse
|
|
183
190
|
from volcenginesdkclb.models.modify_nlb_server_group_attributes_request import ModifyNLBServerGroupAttributesRequest
|
|
184
191
|
from volcenginesdkclb.models.modify_nlb_server_group_attributes_response import ModifyNLBServerGroupAttributesResponse
|
|
192
|
+
from volcenginesdkclb.models.modify_network_load_balancer_access_log_request import ModifyNetworkLoadBalancerAccessLogRequest
|
|
193
|
+
from volcenginesdkclb.models.modify_network_load_balancer_access_log_response import ModifyNetworkLoadBalancerAccessLogResponse
|
|
185
194
|
from volcenginesdkclb.models.modify_network_load_balancer_attributes_request import ModifyNetworkLoadBalancerAttributesRequest
|
|
186
195
|
from volcenginesdkclb.models.modify_network_load_balancer_attributes_response import ModifyNetworkLoadBalancerAttributesResponse
|
|
187
196
|
from volcenginesdkclb.models.modify_network_load_balancer_bandwidth_package_request import ModifyNetworkLoadBalancerBandwidthPackageRequest
|
|
@@ -201,6 +210,7 @@ from volcenginesdkclb.models.redirect_config_for_describe_rules_output import Re
|
|
|
201
210
|
from volcenginesdkclb.models.redirect_config_for_modify_rules_input import RedirectConfigForModifyRulesInput
|
|
202
211
|
from volcenginesdkclb.models.remove_acl_entries_request import RemoveAclEntriesRequest
|
|
203
212
|
from volcenginesdkclb.models.remove_acl_entries_response import RemoveAclEntriesResponse
|
|
213
|
+
from volcenginesdkclb.models.remove_domain_extension_for_modify_listener_domain_extensions_input import RemoveDomainExtensionForModifyListenerDomainExtensionsInput
|
|
204
214
|
from volcenginesdkclb.models.remove_nlb_backend_servers_request import RemoveNLBBackendServersRequest
|
|
205
215
|
from volcenginesdkclb.models.remove_nlb_backend_servers_response import RemoveNLBBackendServersResponse
|
|
206
216
|
from volcenginesdkclb.models.remove_server_group_backend_servers_request import RemoveServerGroupBackendServersRequest
|
volcenginesdkclb/api/clb_api.py
CHANGED
|
@@ -5950,6 +5950,103 @@ class CLBApi(object):
|
|
|
5950
5950
|
_request_timeout=params.get('_request_timeout'),
|
|
5951
5951
|
collection_formats=collection_formats)
|
|
5952
5952
|
|
|
5953
|
+
def modify_listener_domain_extensions(self, body, **kwargs): # noqa: E501
|
|
5954
|
+
"""modify_listener_domain_extensions # noqa: E501
|
|
5955
|
+
|
|
5956
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5957
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5958
|
+
>>> thread = api.modify_listener_domain_extensions(body, async_req=True)
|
|
5959
|
+
>>> result = thread.get()
|
|
5960
|
+
|
|
5961
|
+
:param async_req bool
|
|
5962
|
+
:param ModifyListenerDomainExtensionsRequest body: (required)
|
|
5963
|
+
:return: ModifyListenerDomainExtensionsResponse
|
|
5964
|
+
If the method is called asynchronously,
|
|
5965
|
+
returns the request thread.
|
|
5966
|
+
"""
|
|
5967
|
+
kwargs['_return_http_data_only'] = True
|
|
5968
|
+
if kwargs.get('async_req'):
|
|
5969
|
+
return self.modify_listener_domain_extensions_with_http_info(body, **kwargs) # noqa: E501
|
|
5970
|
+
else:
|
|
5971
|
+
(data) = self.modify_listener_domain_extensions_with_http_info(body, **kwargs) # noqa: E501
|
|
5972
|
+
return data
|
|
5973
|
+
|
|
5974
|
+
def modify_listener_domain_extensions_with_http_info(self, body, **kwargs): # noqa: E501
|
|
5975
|
+
"""modify_listener_domain_extensions # noqa: E501
|
|
5976
|
+
|
|
5977
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5978
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5979
|
+
>>> thread = api.modify_listener_domain_extensions_with_http_info(body, async_req=True)
|
|
5980
|
+
>>> result = thread.get()
|
|
5981
|
+
|
|
5982
|
+
:param async_req bool
|
|
5983
|
+
:param ModifyListenerDomainExtensionsRequest body: (required)
|
|
5984
|
+
:return: ModifyListenerDomainExtensionsResponse
|
|
5985
|
+
If the method is called asynchronously,
|
|
5986
|
+
returns the request thread.
|
|
5987
|
+
"""
|
|
5988
|
+
|
|
5989
|
+
all_params = ['body'] # noqa: E501
|
|
5990
|
+
all_params.append('async_req')
|
|
5991
|
+
all_params.append('_return_http_data_only')
|
|
5992
|
+
all_params.append('_preload_content')
|
|
5993
|
+
all_params.append('_request_timeout')
|
|
5994
|
+
|
|
5995
|
+
params = locals()
|
|
5996
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
5997
|
+
if key not in all_params:
|
|
5998
|
+
raise TypeError(
|
|
5999
|
+
"Got an unexpected keyword argument '%s'"
|
|
6000
|
+
" to method modify_listener_domain_extensions" % key
|
|
6001
|
+
)
|
|
6002
|
+
params[key] = val
|
|
6003
|
+
del params['kwargs']
|
|
6004
|
+
# verify the required parameter 'body' is set
|
|
6005
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
6006
|
+
params['body'] is None): # noqa: E501
|
|
6007
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_listener_domain_extensions`") # noqa: E501
|
|
6008
|
+
|
|
6009
|
+
collection_formats = {}
|
|
6010
|
+
|
|
6011
|
+
path_params = {}
|
|
6012
|
+
|
|
6013
|
+
query_params = []
|
|
6014
|
+
|
|
6015
|
+
header_params = {}
|
|
6016
|
+
|
|
6017
|
+
form_params = []
|
|
6018
|
+
local_var_files = {}
|
|
6019
|
+
|
|
6020
|
+
body_params = None
|
|
6021
|
+
if 'body' in params:
|
|
6022
|
+
body_params = params['body']
|
|
6023
|
+
# HTTP header `Accept`
|
|
6024
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
6025
|
+
['application/json']) # noqa: E501
|
|
6026
|
+
|
|
6027
|
+
# HTTP header `Content-Type`
|
|
6028
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
6029
|
+
['text/plain']) # noqa: E501
|
|
6030
|
+
|
|
6031
|
+
# Authentication setting
|
|
6032
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
6033
|
+
|
|
6034
|
+
return self.api_client.call_api(
|
|
6035
|
+
'/ModifyListenerDomainExtensions/2020-04-01/clb/get/text_plain/', 'GET',
|
|
6036
|
+
path_params,
|
|
6037
|
+
query_params,
|
|
6038
|
+
header_params,
|
|
6039
|
+
body=body_params,
|
|
6040
|
+
post_params=form_params,
|
|
6041
|
+
files=local_var_files,
|
|
6042
|
+
response_type='ModifyListenerDomainExtensionsResponse', # noqa: E501
|
|
6043
|
+
auth_settings=auth_settings,
|
|
6044
|
+
async_req=params.get('async_req'),
|
|
6045
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
6046
|
+
_preload_content=params.get('_preload_content', True),
|
|
6047
|
+
_request_timeout=params.get('_request_timeout'),
|
|
6048
|
+
collection_formats=collection_formats)
|
|
6049
|
+
|
|
5953
6050
|
def modify_load_balancer_attributes(self, body, **kwargs): # noqa: E501
|
|
5954
6051
|
"""modify_load_balancer_attributes # noqa: E501
|
|
5955
6052
|
|
|
@@ -6047,6 +6144,103 @@ class CLBApi(object):
|
|
|
6047
6144
|
_request_timeout=params.get('_request_timeout'),
|
|
6048
6145
|
collection_formats=collection_formats)
|
|
6049
6146
|
|
|
6147
|
+
def modify_network_load_balancer_access_log(self, body, **kwargs): # noqa: E501
|
|
6148
|
+
"""modify_network_load_balancer_access_log # noqa: E501
|
|
6149
|
+
|
|
6150
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
6151
|
+
asynchronous HTTP request, please pass async_req=True
|
|
6152
|
+
>>> thread = api.modify_network_load_balancer_access_log(body, async_req=True)
|
|
6153
|
+
>>> result = thread.get()
|
|
6154
|
+
|
|
6155
|
+
:param async_req bool
|
|
6156
|
+
:param ModifyNetworkLoadBalancerAccessLogRequest body: (required)
|
|
6157
|
+
:return: ModifyNetworkLoadBalancerAccessLogResponse
|
|
6158
|
+
If the method is called asynchronously,
|
|
6159
|
+
returns the request thread.
|
|
6160
|
+
"""
|
|
6161
|
+
kwargs['_return_http_data_only'] = True
|
|
6162
|
+
if kwargs.get('async_req'):
|
|
6163
|
+
return self.modify_network_load_balancer_access_log_with_http_info(body, **kwargs) # noqa: E501
|
|
6164
|
+
else:
|
|
6165
|
+
(data) = self.modify_network_load_balancer_access_log_with_http_info(body, **kwargs) # noqa: E501
|
|
6166
|
+
return data
|
|
6167
|
+
|
|
6168
|
+
def modify_network_load_balancer_access_log_with_http_info(self, body, **kwargs): # noqa: E501
|
|
6169
|
+
"""modify_network_load_balancer_access_log # noqa: E501
|
|
6170
|
+
|
|
6171
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
6172
|
+
asynchronous HTTP request, please pass async_req=True
|
|
6173
|
+
>>> thread = api.modify_network_load_balancer_access_log_with_http_info(body, async_req=True)
|
|
6174
|
+
>>> result = thread.get()
|
|
6175
|
+
|
|
6176
|
+
:param async_req bool
|
|
6177
|
+
:param ModifyNetworkLoadBalancerAccessLogRequest body: (required)
|
|
6178
|
+
:return: ModifyNetworkLoadBalancerAccessLogResponse
|
|
6179
|
+
If the method is called asynchronously,
|
|
6180
|
+
returns the request thread.
|
|
6181
|
+
"""
|
|
6182
|
+
|
|
6183
|
+
all_params = ['body'] # noqa: E501
|
|
6184
|
+
all_params.append('async_req')
|
|
6185
|
+
all_params.append('_return_http_data_only')
|
|
6186
|
+
all_params.append('_preload_content')
|
|
6187
|
+
all_params.append('_request_timeout')
|
|
6188
|
+
|
|
6189
|
+
params = locals()
|
|
6190
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
6191
|
+
if key not in all_params:
|
|
6192
|
+
raise TypeError(
|
|
6193
|
+
"Got an unexpected keyword argument '%s'"
|
|
6194
|
+
" to method modify_network_load_balancer_access_log" % key
|
|
6195
|
+
)
|
|
6196
|
+
params[key] = val
|
|
6197
|
+
del params['kwargs']
|
|
6198
|
+
# verify the required parameter 'body' is set
|
|
6199
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
6200
|
+
params['body'] is None): # noqa: E501
|
|
6201
|
+
raise ValueError("Missing the required parameter `body` when calling `modify_network_load_balancer_access_log`") # noqa: E501
|
|
6202
|
+
|
|
6203
|
+
collection_formats = {}
|
|
6204
|
+
|
|
6205
|
+
path_params = {}
|
|
6206
|
+
|
|
6207
|
+
query_params = []
|
|
6208
|
+
|
|
6209
|
+
header_params = {}
|
|
6210
|
+
|
|
6211
|
+
form_params = []
|
|
6212
|
+
local_var_files = {}
|
|
6213
|
+
|
|
6214
|
+
body_params = None
|
|
6215
|
+
if 'body' in params:
|
|
6216
|
+
body_params = params['body']
|
|
6217
|
+
# HTTP header `Accept`
|
|
6218
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
6219
|
+
['application/json']) # noqa: E501
|
|
6220
|
+
|
|
6221
|
+
# HTTP header `Content-Type`
|
|
6222
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
6223
|
+
['text/plain']) # noqa: E501
|
|
6224
|
+
|
|
6225
|
+
# Authentication setting
|
|
6226
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
6227
|
+
|
|
6228
|
+
return self.api_client.call_api(
|
|
6229
|
+
'/ModifyNetworkLoadBalancerAccessLog/2020-04-01/clb/get/text_plain/', 'GET',
|
|
6230
|
+
path_params,
|
|
6231
|
+
query_params,
|
|
6232
|
+
header_params,
|
|
6233
|
+
body=body_params,
|
|
6234
|
+
post_params=form_params,
|
|
6235
|
+
files=local_var_files,
|
|
6236
|
+
response_type='ModifyNetworkLoadBalancerAccessLogResponse', # noqa: E501
|
|
6237
|
+
auth_settings=auth_settings,
|
|
6238
|
+
async_req=params.get('async_req'),
|
|
6239
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
6240
|
+
_preload_content=params.get('_preload_content', True),
|
|
6241
|
+
_request_timeout=params.get('_request_timeout'),
|
|
6242
|
+
collection_formats=collection_formats)
|
|
6243
|
+
|
|
6050
6244
|
def modify_network_load_balancer_attributes(self, body, **kwargs): # noqa: E501
|
|
6051
6245
|
"""modify_network_load_balancer_attributes # noqa: E501
|
|
6052
6246
|
|
|
@@ -16,11 +16,13 @@ from __future__ import absolute_import
|
|
|
16
16
|
|
|
17
17
|
# import models into model package
|
|
18
18
|
from volcenginesdkclb.models.access_log_for_describe_load_balancer_attributes_output import AccessLogForDescribeLoadBalancerAttributesOutput
|
|
19
|
+
from volcenginesdkclb.models.access_log_for_describe_network_load_balancer_attributes_output import AccessLogForDescribeNetworkLoadBalancerAttributesOutput
|
|
19
20
|
from volcenginesdkclb.models.acl_entry_for_add_acl_entries_input import AclEntryForAddAclEntriesInput
|
|
20
21
|
from volcenginesdkclb.models.acl_entry_for_describe_acl_attributes_output import AclEntryForDescribeAclAttributesOutput
|
|
21
22
|
from volcenginesdkclb.models.acl_for_describe_acls_output import AclForDescribeAclsOutput
|
|
22
23
|
from volcenginesdkclb.models.add_acl_entries_request import AddAclEntriesRequest
|
|
23
24
|
from volcenginesdkclb.models.add_acl_entries_response import AddAclEntriesResponse
|
|
25
|
+
from volcenginesdkclb.models.add_domain_extension_for_modify_listener_domain_extensions_input import AddDomainExtensionForModifyListenerDomainExtensionsInput
|
|
24
26
|
from volcenginesdkclb.models.add_nlb_backend_servers_request import AddNLBBackendServersRequest
|
|
25
27
|
from volcenginesdkclb.models.add_nlb_backend_servers_response import AddNLBBackendServersResponse
|
|
26
28
|
from volcenginesdkclb.models.add_server_group_backend_servers_request import AddServerGroupBackendServersRequest
|
|
@@ -132,6 +134,8 @@ from volcenginesdkclb.models.detach_health_check_log_topic_request import Detach
|
|
|
132
134
|
from volcenginesdkclb.models.detach_health_check_log_topic_response import DetachHealthCheckLogTopicResponse
|
|
133
135
|
from volcenginesdkclb.models.disable_access_log_request import DisableAccessLogRequest
|
|
134
136
|
from volcenginesdkclb.models.disable_access_log_response import DisableAccessLogResponse
|
|
137
|
+
from volcenginesdkclb.models.domain_extension_for_describe_listener_attributes_output import DomainExtensionForDescribeListenerAttributesOutput
|
|
138
|
+
from volcenginesdkclb.models.domain_extension_for_describe_listeners_output import DomainExtensionForDescribeListenersOutput
|
|
135
139
|
from volcenginesdkclb.models.eip_billing_config_for_create_load_balancer_input import EipBillingConfigForCreateLoadBalancerInput
|
|
136
140
|
from volcenginesdkclb.models.eip_for_describe_load_balancer_attributes_output import EipForDescribeLoadBalancerAttributesOutput
|
|
137
141
|
from volcenginesdkclb.models.enable_access_log_request import EnableAccessLogRequest
|
|
@@ -164,8 +168,11 @@ from volcenginesdkclb.models.modify_acl_attributes_request import ModifyAclAttri
|
|
|
164
168
|
from volcenginesdkclb.models.modify_acl_attributes_response import ModifyAclAttributesResponse
|
|
165
169
|
from volcenginesdkclb.models.modify_certificate_attributes_request import ModifyCertificateAttributesRequest
|
|
166
170
|
from volcenginesdkclb.models.modify_certificate_attributes_response import ModifyCertificateAttributesResponse
|
|
171
|
+
from volcenginesdkclb.models.modify_domain_extension_for_modify_listener_domain_extensions_input import ModifyDomainExtensionForModifyListenerDomainExtensionsInput
|
|
167
172
|
from volcenginesdkclb.models.modify_listener_attributes_request import ModifyListenerAttributesRequest
|
|
168
173
|
from volcenginesdkclb.models.modify_listener_attributes_response import ModifyListenerAttributesResponse
|
|
174
|
+
from volcenginesdkclb.models.modify_listener_domain_extensions_request import ModifyListenerDomainExtensionsRequest
|
|
175
|
+
from volcenginesdkclb.models.modify_listener_domain_extensions_response import ModifyListenerDomainExtensionsResponse
|
|
169
176
|
from volcenginesdkclb.models.modify_load_balancer_attributes_request import ModifyLoadBalancerAttributesRequest
|
|
170
177
|
from volcenginesdkclb.models.modify_load_balancer_attributes_response import ModifyLoadBalancerAttributesResponse
|
|
171
178
|
from volcenginesdkclb.models.modify_nlb_backend_servers_attributes_request import ModifyNLBBackendServersAttributesRequest
|
|
@@ -178,6 +185,8 @@ from volcenginesdkclb.models.modify_nlb_security_policy_attributes_request impor
|
|
|
178
185
|
from volcenginesdkclb.models.modify_nlb_security_policy_attributes_response import ModifyNLBSecurityPolicyAttributesResponse
|
|
179
186
|
from volcenginesdkclb.models.modify_nlb_server_group_attributes_request import ModifyNLBServerGroupAttributesRequest
|
|
180
187
|
from volcenginesdkclb.models.modify_nlb_server_group_attributes_response import ModifyNLBServerGroupAttributesResponse
|
|
188
|
+
from volcenginesdkclb.models.modify_network_load_balancer_access_log_request import ModifyNetworkLoadBalancerAccessLogRequest
|
|
189
|
+
from volcenginesdkclb.models.modify_network_load_balancer_access_log_response import ModifyNetworkLoadBalancerAccessLogResponse
|
|
181
190
|
from volcenginesdkclb.models.modify_network_load_balancer_attributes_request import ModifyNetworkLoadBalancerAttributesRequest
|
|
182
191
|
from volcenginesdkclb.models.modify_network_load_balancer_attributes_response import ModifyNetworkLoadBalancerAttributesResponse
|
|
183
192
|
from volcenginesdkclb.models.modify_network_load_balancer_bandwidth_package_request import ModifyNetworkLoadBalancerBandwidthPackageRequest
|
|
@@ -197,6 +206,7 @@ from volcenginesdkclb.models.redirect_config_for_describe_rules_output import Re
|
|
|
197
206
|
from volcenginesdkclb.models.redirect_config_for_modify_rules_input import RedirectConfigForModifyRulesInput
|
|
198
207
|
from volcenginesdkclb.models.remove_acl_entries_request import RemoveAclEntriesRequest
|
|
199
208
|
from volcenginesdkclb.models.remove_acl_entries_response import RemoveAclEntriesResponse
|
|
209
|
+
from volcenginesdkclb.models.remove_domain_extension_for_modify_listener_domain_extensions_input import RemoveDomainExtensionForModifyListenerDomainExtensionsInput
|
|
200
210
|
from volcenginesdkclb.models.remove_nlb_backend_servers_request import RemoveNLBBackendServersRequest
|
|
201
211
|
from volcenginesdkclb.models.remove_nlb_backend_servers_response import RemoveNLBBackendServersResponse
|
|
202
212
|
from volcenginesdkclb.models.remove_server_group_backend_servers_request import RemoveServerGroupBackendServersRequest
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
clb
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class AccessLogForDescribeNetworkLoadBalancerAttributesOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'access_log_enabled': 'bool',
|
|
37
|
+
'project_id': 'str',
|
|
38
|
+
'topic_id': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'access_log_enabled': 'AccessLogEnabled',
|
|
43
|
+
'project_id': 'ProjectId',
|
|
44
|
+
'topic_id': 'TopicId'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, access_log_enabled=None, project_id=None, topic_id=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""AccessLogForDescribeNetworkLoadBalancerAttributesOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._access_log_enabled = None
|
|
54
|
+
self._project_id = None
|
|
55
|
+
self._topic_id = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if access_log_enabled is not None:
|
|
59
|
+
self.access_log_enabled = access_log_enabled
|
|
60
|
+
if project_id is not None:
|
|
61
|
+
self.project_id = project_id
|
|
62
|
+
if topic_id is not None:
|
|
63
|
+
self.topic_id = topic_id
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def access_log_enabled(self):
|
|
67
|
+
"""Gets the access_log_enabled of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The access_log_enabled of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
71
|
+
:rtype: bool
|
|
72
|
+
"""
|
|
73
|
+
return self._access_log_enabled
|
|
74
|
+
|
|
75
|
+
@access_log_enabled.setter
|
|
76
|
+
def access_log_enabled(self, access_log_enabled):
|
|
77
|
+
"""Sets the access_log_enabled of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param access_log_enabled: The access_log_enabled of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
81
|
+
:type: bool
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._access_log_enabled = access_log_enabled
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def project_id(self):
|
|
88
|
+
"""Gets the project_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The project_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._project_id
|
|
95
|
+
|
|
96
|
+
@project_id.setter
|
|
97
|
+
def project_id(self, project_id):
|
|
98
|
+
"""Sets the project_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param project_id: The project_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._project_id = project_id
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def topic_id(self):
|
|
109
|
+
"""Gets the topic_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The topic_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._topic_id
|
|
116
|
+
|
|
117
|
+
@topic_id.setter
|
|
118
|
+
def topic_id(self, topic_id):
|
|
119
|
+
"""Sets the topic_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param topic_id: The topic_id of this AccessLogForDescribeNetworkLoadBalancerAttributesOutput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._topic_id = topic_id
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(AccessLogForDescribeNetworkLoadBalancerAttributesOutput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, AccessLogForDescribeNetworkLoadBalancerAttributesOutput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, AccessLogForDescribeNetworkLoadBalancerAttributesOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
clb
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class AddDomainExtensionForModifyListenerDomainExtensionsInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'cert_center_certificate_id': 'str',
|
|
37
|
+
'certificate_source': 'str',
|
|
38
|
+
'domain': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'cert_center_certificate_id': 'CertCenterCertificateId',
|
|
43
|
+
'certificate_source': 'CertificateSource',
|
|
44
|
+
'domain': 'Domain'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, cert_center_certificate_id=None, certificate_source=None, domain=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""AddDomainExtensionForModifyListenerDomainExtensionsInput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._cert_center_certificate_id = None
|
|
54
|
+
self._certificate_source = None
|
|
55
|
+
self._domain = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if cert_center_certificate_id is not None:
|
|
59
|
+
self.cert_center_certificate_id = cert_center_certificate_id
|
|
60
|
+
if certificate_source is not None:
|
|
61
|
+
self.certificate_source = certificate_source
|
|
62
|
+
if domain is not None:
|
|
63
|
+
self.domain = domain
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def cert_center_certificate_id(self):
|
|
67
|
+
"""Gets the cert_center_certificate_id of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The cert_center_certificate_id of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._cert_center_certificate_id
|
|
74
|
+
|
|
75
|
+
@cert_center_certificate_id.setter
|
|
76
|
+
def cert_center_certificate_id(self, cert_center_certificate_id):
|
|
77
|
+
"""Sets the cert_center_certificate_id of this AddDomainExtensionForModifyListenerDomainExtensionsInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param cert_center_certificate_id: The cert_center_certificate_id of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._cert_center_certificate_id = cert_center_certificate_id
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def certificate_source(self):
|
|
88
|
+
"""Gets the certificate_source of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The certificate_source of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._certificate_source
|
|
95
|
+
|
|
96
|
+
@certificate_source.setter
|
|
97
|
+
def certificate_source(self, certificate_source):
|
|
98
|
+
"""Sets the certificate_source of this AddDomainExtensionForModifyListenerDomainExtensionsInput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param certificate_source: The certificate_source of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._certificate_source = certificate_source
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def domain(self):
|
|
109
|
+
"""Gets the domain of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The domain of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._domain
|
|
116
|
+
|
|
117
|
+
@domain.setter
|
|
118
|
+
def domain(self, domain):
|
|
119
|
+
"""Sets the domain of this AddDomainExtensionForModifyListenerDomainExtensionsInput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param domain: The domain of this AddDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._domain = domain
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(AddDomainExtensionForModifyListenerDomainExtensionsInput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, AddDomainExtensionForModifyListenerDomainExtensionsInput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, AddDomainExtensionForModifyListenerDomainExtensionsInput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|