volcengine-python-sdk 4.0.22__py2.py3-none-any.whl → 4.0.24__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.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/RECORD +215 -42
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/top_level.txt +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +16 -16
- volcenginesdkdirectconnect/models/describe_direct_connect_gateway_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/models.py +192 -192
- volcenginesdkdms20250101/__init__.py +85 -0
- volcenginesdkdms20250101/api/__init__.py +6 -0
- volcenginesdkdms20250101/api/dms20250101_api.py +1974 -0
- volcenginesdkdms20250101/models/__init__.py +81 -0
- volcenginesdkdms20250101/models/address_access_config_for_create_address_input.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_get_address_output.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_list_addresses_output.py +149 -0
- volcenginesdkdms20250101/models/create_address_request.py +211 -0
- volcenginesdkdms20250101/models/create_address_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_group_request.py +226 -0
- volcenginesdkdms20250101/models/create_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_request.py +185 -0
- volcenginesdkdms20250101/models/create_agent_response.py +149 -0
- volcenginesdkdms20250101/models/create_task_request.py +264 -0
- volcenginesdkdms20250101/models/create_task_response.py +149 -0
- volcenginesdkdms20250101/models/delete_address_request.py +124 -0
- volcenginesdkdms20250101/models/delete_address_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_response.py +149 -0
- volcenginesdkdms20250101/models/delete_task_request.py +124 -0
- volcenginesdkdms20250101/models/delete_task_response.py +149 -0
- volcenginesdkdms20250101/models/get_address_request.py +124 -0
- volcenginesdkdms20250101/models/get_address_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_status_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_status_response.py +149 -0
- volcenginesdkdms20250101/models/get_agent_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_response.py +331 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_request.py +150 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_response.py +487 -0
- volcenginesdkdms20250101/models/get_task_request.py +124 -0
- volcenginesdkdms20250101/models/get_task_response.py +409 -0
- volcenginesdkdms20250101/models/item_list_for_list_addresses_output.py +305 -0
- volcenginesdkdms20250101/models/item_list_for_list_agent_groups_output.py +279 -0
- volcenginesdkdms20250101/models/item_list_for_list_agents_output.py +331 -0
- volcenginesdkdms20250101/models/item_list_for_list_tasks_output.py +409 -0
- volcenginesdkdms20250101/models/list_addresses_request.py +203 -0
- volcenginesdkdms20250101/models/list_addresses_response.py +175 -0
- volcenginesdkdms20250101/models/list_agent_groups_request.py +204 -0
- volcenginesdkdms20250101/models/list_agent_groups_response.py +175 -0
- volcenginesdkdms20250101/models/list_agents_request.py +204 -0
- volcenginesdkdms20250101/models/list_agents_response.py +175 -0
- volcenginesdkdms20250101/models/list_config_for_create_task_input.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_get_task_output.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_list_tasks_output.py +227 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_create_task_input.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/list_tasks_request.py +204 -0
- volcenginesdkdms20250101/models/list_tasks_response.py +175 -0
- volcenginesdkdms20250101/models/local_fs_for_create_address_input.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_get_address_output.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_list_addresses_output.py +123 -0
- volcenginesdkdms20250101/models/retry_failed_task_request.py +124 -0
- volcenginesdkdms20250101/models/retry_failed_task_response.py +149 -0
- volcenginesdkdms20250101/models/task_config_for_create_task_input.py +215 -0
- volcenginesdkdms20250101/models/task_config_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/task_config_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/task_context_for_get_task_output.py +149 -0
- volcenginesdkdms20250101/models/task_context_for_list_tasks_output.py +149 -0
- volcenginesdkdms20250101/models/tos_for_create_address_input.py +201 -0
- volcenginesdkdms20250101/models/tos_for_get_address_output.py +201 -0
- volcenginesdkdms20250101/models/tos_for_list_addresses_output.py +201 -0
- volcenginesdkdms20250101/models/update_task_request.py +183 -0
- volcenginesdkdms20250101/models/update_task_response.py +149 -0
- volcenginesdkdts20180101/__init__.py +32 -0
- volcenginesdkdts20180101/api/__init__.py +6 -0
- volcenginesdkdts20180101/api/dts20180101_api.py +422 -0
- volcenginesdkdts20180101/models/__init__.py +28 -0
- volcenginesdkdts20180101/models/data_for_list_vpc_output.py +149 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_request.py +124 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_response.py +201 -0
- volcenginesdkdts20180101/models/list_vpc_request.py +95 -0
- volcenginesdkdts20180101/models/list_vpc_response.py +149 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_request.py +124 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_response.py +149 -0
- volcenginesdkdts20180101/models/pre_check_async_request.py +124 -0
- volcenginesdkdts20180101/models/pre_check_async_response.py +123 -0
- volcenginesdkdts20180101/models/pre_check_for_get_async_pre_check_result_output.py +227 -0
- volcenginesdkdts20180101/models/vpc_subnet_info_for_list_vpc_subnets_output.py +149 -0
- volcenginesdkna/__init__.py +33 -0
- volcenginesdkna/api/__init__.py +6 -0
- volcenginesdkna/api/na_api.py +422 -0
- volcenginesdkna/models/__init__.py +29 -0
- volcenginesdkna/models/create_diagnosis_instance_request.py +178 -0
- volcenginesdkna/models/create_diagnosis_instance_response.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_request.py +124 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_response.py +383 -0
- volcenginesdkna/models/describe_diagnosis_instances_request.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instances_response.py +227 -0
- volcenginesdkna/models/describe_history_diagnosis_request.py +124 -0
- volcenginesdkna/models/describe_history_diagnosis_response.py +123 -0
- volcenginesdkna/models/diagnosis_category_item_for_describe_diagnosis_instance_detail_output.py +149 -0
- volcenginesdkna/models/diagnosis_instance_for_describe_diagnosis_instances_output.py +357 -0
- volcenginesdkna/models/diagnosis_item_for_describe_diagnosis_instance_detail_output.py +201 -0
- volcenginesdkna/models/history_diagnosis_for_describe_history_diagnosis_output.py +175 -0
- volcenginesdkredis/__init__.py +2 -0
- volcenginesdkredis/api/redis_api.py +97 -0
- volcenginesdkredis/models/__init__.py +2 -0
- volcenginesdkredis/models/instance_for_describe_db_instances_output.py +27 -1
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_request.py +177 -0
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_response.py +95 -0
- volcenginesdkredis/models/visit_addr_for_describe_db_instance_detail_output.py +29 -3
- volcenginesdkvefaas/models/create_function_request.py +53 -1
- volcenginesdkvefaas/models/create_function_response.py +53 -1
- volcenginesdkvefaas/models/get_function_response.py +53 -1
- volcenginesdkvefaas/models/item_for_list_functions_output.py +27 -1
- volcenginesdkvefaas/models/update_function_request.py +53 -1
- volcenginesdkvefaas/models/update_function_response.py +27 -1
- volcenginesdkvmp/__init__.py +72 -0
- volcenginesdkvmp/api/vmp_api.py +1339 -78
- volcenginesdkvmp/models/__init__.py +72 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_get_workspace_output.py +149 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_list_workspace_instance_types_output.py +149 -0
- volcenginesdkvmp/models/calculate_price_param_for_get_workspace_output.py +175 -0
- volcenginesdkvmp/models/calculate_price_param_for_list_workspace_instance_types_output.py +175 -0
- volcenginesdkvmp/models/conditions_for_list_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/create_alerting_rule_request.py +53 -1
- volcenginesdkvmp/models/create_integration_task_request.py +334 -0
- volcenginesdkvmp/models/create_integration_task_response.py +123 -0
- volcenginesdkvmp/models/create_rule_file_request.py +27 -1
- volcenginesdkvmp/models/create_silence_policy_request.py +202 -0
- volcenginesdkvmp/models/create_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/create_workspace_request.py +27 -1
- volcenginesdkvmp/models/data_for_delete_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/delete_integration_task_request.py +124 -0
- volcenginesdkvmp/models/delete_integration_task_response.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/disable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/disable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/disable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/disable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/enable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/enable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/enable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/enable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/error_for_delete_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/filter_for_list_silence_policies_input.py +201 -0
- volcenginesdkvmp/models/filters_for_list_integration_tasks_input.py +279 -0
- volcenginesdkvmp/models/get_alerting_rule_response.py +53 -1
- volcenginesdkvmp/models/get_integration_task_request.py +124 -0
- volcenginesdkvmp/models/get_integration_task_response.py +409 -0
- volcenginesdkvmp/models/get_rule_file_response.py +29 -3
- volcenginesdkvmp/models/get_workspace_response.py +105 -1
- volcenginesdkvmp/models/instance_type_for_get_workspace_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_alerting_rules_output.py +53 -1
- volcenginesdkvmp/models/item_for_list_integration_tasks_output.py +409 -0
- volcenginesdkvmp/models/item_for_list_rule_files_output.py +29 -3
- volcenginesdkvmp/models/item_for_list_silence_policies_output.py +357 -0
- volcenginesdkvmp/models/item_for_list_workspace_instance_types_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_workspaces_output.py +131 -1
- volcenginesdkvmp/models/list_alerting_rules_request.py +55 -3
- volcenginesdkvmp/models/list_integration_tasks_request.py +227 -0
- volcenginesdkvmp/models/list_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/list_silence_policies_request.py +227 -0
- volcenginesdkvmp/models/list_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/metric_label_matcher_for_create_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_list_silence_policies_output.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_update_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/periodic_date_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/quota_for_get_workspace_output.py +53 -1
- volcenginesdkvmp/models/quota_for_update_workspace_input.py +53 -1
- volcenginesdkvmp/models/tag_filter_for_list_alerting_rules_input.py +149 -0
- volcenginesdkvmp/models/tag_filter_for_list_integration_tasks_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_alerting_rule_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_integration_task_input.py +149 -0
- volcenginesdkvmp/models/tag_for_get_alerting_rule_output.py +149 -0
- volcenginesdkvmp/models/tag_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_alerting_rules_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/time_range_matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/unsuccessful_item_for_delete_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/update_integration_task_request.py +202 -0
- volcenginesdkvmp/models/update_integration_task_response.py +123 -0
- volcenginesdkvmp/models/update_rule_file_request.py +27 -1
- volcenginesdkvmp/models/update_silence_policy_request.py +228 -0
- volcenginesdkvmp/models/update_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/update_workspace_request.py +131 -1
- volcenginesdkvmp/models/vke_cluster_info_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/vke_cluster_info_for_list_integration_tasks_output.py +149 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
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 CreateAddressRequest(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
|
+
'address_access_config': 'AddressAccessConfigForCreateAddressInput',
|
|
37
|
+
'address_name': 'str',
|
|
38
|
+
'address_type': 'str',
|
|
39
|
+
'protocol_type': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'address_access_config': 'AddressAccessConfig',
|
|
44
|
+
'address_name': 'AddressName',
|
|
45
|
+
'address_type': 'AddressType',
|
|
46
|
+
'protocol_type': 'ProtocolType'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, address_access_config=None, address_name=None, address_type=None, protocol_type=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""CreateAddressRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._address_access_config = None
|
|
56
|
+
self._address_name = None
|
|
57
|
+
self._address_type = None
|
|
58
|
+
self._protocol_type = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if address_access_config is not None:
|
|
62
|
+
self.address_access_config = address_access_config
|
|
63
|
+
self.address_name = address_name
|
|
64
|
+
self.address_type = address_type
|
|
65
|
+
self.protocol_type = protocol_type
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def address_access_config(self):
|
|
69
|
+
"""Gets the address_access_config of this CreateAddressRequest. # noqa: E501
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
:return: The address_access_config of this CreateAddressRequest. # noqa: E501
|
|
73
|
+
:rtype: AddressAccessConfigForCreateAddressInput
|
|
74
|
+
"""
|
|
75
|
+
return self._address_access_config
|
|
76
|
+
|
|
77
|
+
@address_access_config.setter
|
|
78
|
+
def address_access_config(self, address_access_config):
|
|
79
|
+
"""Sets the address_access_config of this CreateAddressRequest.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
:param address_access_config: The address_access_config of this CreateAddressRequest. # noqa: E501
|
|
83
|
+
:type: AddressAccessConfigForCreateAddressInput
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
self._address_access_config = address_access_config
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def address_name(self):
|
|
90
|
+
"""Gets the address_name of this CreateAddressRequest. # noqa: E501
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:return: The address_name of this CreateAddressRequest. # noqa: E501
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._address_name
|
|
97
|
+
|
|
98
|
+
@address_name.setter
|
|
99
|
+
def address_name(self, address_name):
|
|
100
|
+
"""Sets the address_name of this CreateAddressRequest.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param address_name: The address_name of this CreateAddressRequest. # noqa: E501
|
|
104
|
+
:type: str
|
|
105
|
+
"""
|
|
106
|
+
if self._configuration.client_side_validation and address_name is None:
|
|
107
|
+
raise ValueError("Invalid value for `address_name`, must not be `None`") # noqa: E501
|
|
108
|
+
|
|
109
|
+
self._address_name = address_name
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def address_type(self):
|
|
113
|
+
"""Gets the address_type of this CreateAddressRequest. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The address_type of this CreateAddressRequest. # noqa: E501
|
|
117
|
+
:rtype: str
|
|
118
|
+
"""
|
|
119
|
+
return self._address_type
|
|
120
|
+
|
|
121
|
+
@address_type.setter
|
|
122
|
+
def address_type(self, address_type):
|
|
123
|
+
"""Sets the address_type of this CreateAddressRequest.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param address_type: The address_type of this CreateAddressRequest. # noqa: E501
|
|
127
|
+
:type: str
|
|
128
|
+
"""
|
|
129
|
+
if self._configuration.client_side_validation and address_type is None:
|
|
130
|
+
raise ValueError("Invalid value for `address_type`, must not be `None`") # noqa: E501
|
|
131
|
+
allowed_values = ["Source", "Destination"] # noqa: E501
|
|
132
|
+
if (self._configuration.client_side_validation and
|
|
133
|
+
address_type not in allowed_values):
|
|
134
|
+
raise ValueError(
|
|
135
|
+
"Invalid value for `address_type` ({0}), must be one of {1}" # noqa: E501
|
|
136
|
+
.format(address_type, allowed_values)
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
self._address_type = address_type
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def protocol_type(self):
|
|
143
|
+
"""Gets the protocol_type of this CreateAddressRequest. # noqa: E501
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
:return: The protocol_type of this CreateAddressRequest. # noqa: E501
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._protocol_type
|
|
150
|
+
|
|
151
|
+
@protocol_type.setter
|
|
152
|
+
def protocol_type(self, protocol_type):
|
|
153
|
+
"""Sets the protocol_type of this CreateAddressRequest.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param protocol_type: The protocol_type of this CreateAddressRequest. # noqa: E501
|
|
157
|
+
:type: str
|
|
158
|
+
"""
|
|
159
|
+
if self._configuration.client_side_validation and protocol_type is None:
|
|
160
|
+
raise ValueError("Invalid value for `protocol_type`, must not be `None`") # noqa: E501
|
|
161
|
+
|
|
162
|
+
self._protocol_type = protocol_type
|
|
163
|
+
|
|
164
|
+
def to_dict(self):
|
|
165
|
+
"""Returns the model properties as a dict"""
|
|
166
|
+
result = {}
|
|
167
|
+
|
|
168
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
169
|
+
value = getattr(self, attr)
|
|
170
|
+
if isinstance(value, list):
|
|
171
|
+
result[attr] = list(map(
|
|
172
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
173
|
+
value
|
|
174
|
+
))
|
|
175
|
+
elif hasattr(value, "to_dict"):
|
|
176
|
+
result[attr] = value.to_dict()
|
|
177
|
+
elif isinstance(value, dict):
|
|
178
|
+
result[attr] = dict(map(
|
|
179
|
+
lambda item: (item[0], item[1].to_dict())
|
|
180
|
+
if hasattr(item[1], "to_dict") else item,
|
|
181
|
+
value.items()
|
|
182
|
+
))
|
|
183
|
+
else:
|
|
184
|
+
result[attr] = value
|
|
185
|
+
if issubclass(CreateAddressRequest, dict):
|
|
186
|
+
for key, value in self.items():
|
|
187
|
+
result[key] = value
|
|
188
|
+
|
|
189
|
+
return result
|
|
190
|
+
|
|
191
|
+
def to_str(self):
|
|
192
|
+
"""Returns the string representation of the model"""
|
|
193
|
+
return pprint.pformat(self.to_dict())
|
|
194
|
+
|
|
195
|
+
def __repr__(self):
|
|
196
|
+
"""For `print` and `pprint`"""
|
|
197
|
+
return self.to_str()
|
|
198
|
+
|
|
199
|
+
def __eq__(self, other):
|
|
200
|
+
"""Returns true if both objects are equal"""
|
|
201
|
+
if not isinstance(other, CreateAddressRequest):
|
|
202
|
+
return False
|
|
203
|
+
|
|
204
|
+
return self.to_dict() == other.to_dict()
|
|
205
|
+
|
|
206
|
+
def __ne__(self, other):
|
|
207
|
+
"""Returns true if both objects are not equal"""
|
|
208
|
+
if not isinstance(other, CreateAddressRequest):
|
|
209
|
+
return True
|
|
210
|
+
|
|
211
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
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 CreateAddressResponse(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
|
+
'account_id': 'str',
|
|
37
|
+
'id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'account_id': 'AccountId',
|
|
42
|
+
'id': 'Id'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, account_id=None, id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""CreateAddressResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._account_id = None
|
|
52
|
+
self._id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if account_id is not None:
|
|
56
|
+
self.account_id = account_id
|
|
57
|
+
if id is not None:
|
|
58
|
+
self.id = id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def account_id(self):
|
|
62
|
+
"""Gets the account_id of this CreateAddressResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The account_id of this CreateAddressResponse. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._account_id
|
|
69
|
+
|
|
70
|
+
@account_id.setter
|
|
71
|
+
def account_id(self, account_id):
|
|
72
|
+
"""Sets the account_id of this CreateAddressResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param account_id: The account_id of this CreateAddressResponse. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._account_id = account_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def id(self):
|
|
83
|
+
"""Gets the id of this CreateAddressResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The id of this CreateAddressResponse. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._id
|
|
90
|
+
|
|
91
|
+
@id.setter
|
|
92
|
+
def id(self, id):
|
|
93
|
+
"""Sets the id of this CreateAddressResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param id: The id of this CreateAddressResponse. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._id = id
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(CreateAddressResponse, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, CreateAddressResponse):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, CreateAddressResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
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 CreateAgentGroupRequest(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
|
+
'agent_group_name': 'str',
|
|
37
|
+
'deploy_area': 'str',
|
|
38
|
+
'deploy_type': 'str',
|
|
39
|
+
'network_type': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'agent_group_name': 'AgentGroupName',
|
|
44
|
+
'deploy_area': 'DeployArea',
|
|
45
|
+
'deploy_type': 'DeployType',
|
|
46
|
+
'network_type': 'NetworkType'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, agent_group_name=None, deploy_area=None, deploy_type=None, network_type=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""CreateAgentGroupRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._agent_group_name = None
|
|
56
|
+
self._deploy_area = None
|
|
57
|
+
self._deploy_type = None
|
|
58
|
+
self._network_type = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.agent_group_name = agent_group_name
|
|
62
|
+
self.deploy_area = deploy_area
|
|
63
|
+
self.deploy_type = deploy_type
|
|
64
|
+
self.network_type = network_type
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
def agent_group_name(self):
|
|
68
|
+
"""Gets the agent_group_name of this CreateAgentGroupRequest. # noqa: E501
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
:return: The agent_group_name of this CreateAgentGroupRequest. # noqa: E501
|
|
72
|
+
:rtype: str
|
|
73
|
+
"""
|
|
74
|
+
return self._agent_group_name
|
|
75
|
+
|
|
76
|
+
@agent_group_name.setter
|
|
77
|
+
def agent_group_name(self, agent_group_name):
|
|
78
|
+
"""Sets the agent_group_name of this CreateAgentGroupRequest.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
:param agent_group_name: The agent_group_name of this CreateAgentGroupRequest. # noqa: E501
|
|
82
|
+
:type: str
|
|
83
|
+
"""
|
|
84
|
+
if self._configuration.client_side_validation and agent_group_name is None:
|
|
85
|
+
raise ValueError("Invalid value for `agent_group_name`, must not be `None`") # noqa: E501
|
|
86
|
+
|
|
87
|
+
self._agent_group_name = agent_group_name
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def deploy_area(self):
|
|
91
|
+
"""Gets the deploy_area of this CreateAgentGroupRequest. # noqa: E501
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
:return: The deploy_area of this CreateAgentGroupRequest. # noqa: E501
|
|
95
|
+
:rtype: str
|
|
96
|
+
"""
|
|
97
|
+
return self._deploy_area
|
|
98
|
+
|
|
99
|
+
@deploy_area.setter
|
|
100
|
+
def deploy_area(self, deploy_area):
|
|
101
|
+
"""Sets the deploy_area of this CreateAgentGroupRequest.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:param deploy_area: The deploy_area of this CreateAgentGroupRequest. # noqa: E501
|
|
105
|
+
:type: str
|
|
106
|
+
"""
|
|
107
|
+
if self._configuration.client_side_validation and deploy_area is None:
|
|
108
|
+
raise ValueError("Invalid value for `deploy_area`, must not be `None`") # noqa: E501
|
|
109
|
+
allowed_values = ["CloudOverlay", "Premises"] # noqa: E501
|
|
110
|
+
if (self._configuration.client_side_validation and
|
|
111
|
+
deploy_area not in allowed_values):
|
|
112
|
+
raise ValueError(
|
|
113
|
+
"Invalid value for `deploy_area` ({0}), must be one of {1}" # noqa: E501
|
|
114
|
+
.format(deploy_area, allowed_values)
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
self._deploy_area = deploy_area
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def deploy_type(self):
|
|
121
|
+
"""Gets the deploy_type of this CreateAgentGroupRequest. # noqa: E501
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:return: The deploy_type of this CreateAgentGroupRequest. # noqa: E501
|
|
125
|
+
:rtype: str
|
|
126
|
+
"""
|
|
127
|
+
return self._deploy_type
|
|
128
|
+
|
|
129
|
+
@deploy_type.setter
|
|
130
|
+
def deploy_type(self, deploy_type):
|
|
131
|
+
"""Sets the deploy_type of this CreateAgentGroupRequest.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
:param deploy_type: The deploy_type of this CreateAgentGroupRequest. # noqa: E501
|
|
135
|
+
:type: str
|
|
136
|
+
"""
|
|
137
|
+
if self._configuration.client_side_validation and deploy_type is None:
|
|
138
|
+
raise ValueError("Invalid value for `deploy_type`, must not be `None`") # noqa: E501
|
|
139
|
+
allowed_values = ["HalfManaged"] # noqa: E501
|
|
140
|
+
if (self._configuration.client_side_validation and
|
|
141
|
+
deploy_type not in allowed_values):
|
|
142
|
+
raise ValueError(
|
|
143
|
+
"Invalid value for `deploy_type` ({0}), must be one of {1}" # noqa: E501
|
|
144
|
+
.format(deploy_type, allowed_values)
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
self._deploy_type = deploy_type
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def network_type(self):
|
|
151
|
+
"""Gets the network_type of this CreateAgentGroupRequest. # noqa: E501
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
:return: The network_type of this CreateAgentGroupRequest. # noqa: E501
|
|
155
|
+
:rtype: str
|
|
156
|
+
"""
|
|
157
|
+
return self._network_type
|
|
158
|
+
|
|
159
|
+
@network_type.setter
|
|
160
|
+
def network_type(self, network_type):
|
|
161
|
+
"""Sets the network_type of this CreateAgentGroupRequest.
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:param network_type: The network_type of this CreateAgentGroupRequest. # noqa: E501
|
|
165
|
+
:type: str
|
|
166
|
+
"""
|
|
167
|
+
if self._configuration.client_side_validation and network_type is None:
|
|
168
|
+
raise ValueError("Invalid value for `network_type`, must not be `None`") # noqa: E501
|
|
169
|
+
allowed_values = ["Public", "Vpc"] # noqa: E501
|
|
170
|
+
if (self._configuration.client_side_validation and
|
|
171
|
+
network_type not in allowed_values):
|
|
172
|
+
raise ValueError(
|
|
173
|
+
"Invalid value for `network_type` ({0}), must be one of {1}" # noqa: E501
|
|
174
|
+
.format(network_type, allowed_values)
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
self._network_type = network_type
|
|
178
|
+
|
|
179
|
+
def to_dict(self):
|
|
180
|
+
"""Returns the model properties as a dict"""
|
|
181
|
+
result = {}
|
|
182
|
+
|
|
183
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
184
|
+
value = getattr(self, attr)
|
|
185
|
+
if isinstance(value, list):
|
|
186
|
+
result[attr] = list(map(
|
|
187
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
188
|
+
value
|
|
189
|
+
))
|
|
190
|
+
elif hasattr(value, "to_dict"):
|
|
191
|
+
result[attr] = value.to_dict()
|
|
192
|
+
elif isinstance(value, dict):
|
|
193
|
+
result[attr] = dict(map(
|
|
194
|
+
lambda item: (item[0], item[1].to_dict())
|
|
195
|
+
if hasattr(item[1], "to_dict") else item,
|
|
196
|
+
value.items()
|
|
197
|
+
))
|
|
198
|
+
else:
|
|
199
|
+
result[attr] = value
|
|
200
|
+
if issubclass(CreateAgentGroupRequest, dict):
|
|
201
|
+
for key, value in self.items():
|
|
202
|
+
result[key] = value
|
|
203
|
+
|
|
204
|
+
return result
|
|
205
|
+
|
|
206
|
+
def to_str(self):
|
|
207
|
+
"""Returns the string representation of the model"""
|
|
208
|
+
return pprint.pformat(self.to_dict())
|
|
209
|
+
|
|
210
|
+
def __repr__(self):
|
|
211
|
+
"""For `print` and `pprint`"""
|
|
212
|
+
return self.to_str()
|
|
213
|
+
|
|
214
|
+
def __eq__(self, other):
|
|
215
|
+
"""Returns true if both objects are equal"""
|
|
216
|
+
if not isinstance(other, CreateAgentGroupRequest):
|
|
217
|
+
return False
|
|
218
|
+
|
|
219
|
+
return self.to_dict() == other.to_dict()
|
|
220
|
+
|
|
221
|
+
def __ne__(self, other):
|
|
222
|
+
"""Returns true if both objects are not equal"""
|
|
223
|
+
if not isinstance(other, CreateAgentGroupRequest):
|
|
224
|
+
return True
|
|
225
|
+
|
|
226
|
+
return self.to_dict() != other.to_dict()
|