huaweicloudsdkdns 3.1.145__py2.py3-none-any.whl → 3.1.147__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.
- huaweicloudsdkdns/v2/__init__.py +82 -1
- huaweicloudsdkdns/v2/dns_async_client.py +2933 -1055
- huaweicloudsdkdns/v2/dns_client.py +2933 -1055
- huaweicloudsdkdns/v2/model/__init__.py +82 -1
- huaweicloudsdkdns/v2/model/alias_target.py +3 -3
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/associate_or_disassociate_router_with_rule_request_body.py +110 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/associate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/associate_router_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_create_record_set_with_line.py +3 -3
- huaweicloudsdkdns/v2/model/batch_create_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_request_body.py +115 -0
- huaweicloudsdkdns/v2/model/batch_delete_ptr_records_response.py +85 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_set_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +6 -6
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set.py +9 -9
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +12 -12
- huaweicloudsdkdns/v2/model/create_endpoint_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_endpoint_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_line_groups_resp.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +9 -9
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/create_ptr_req.py +12 -12
- huaweicloudsdkdns/v2/model/create_ptr_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_ptr_request_body.py +255 -0
- huaweicloudsdkdns/v2/model/create_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +15 -15
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/create_r_set_batch_lines_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_batch_lines_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +12 -12
- huaweicloudsdkdns/v2/model/create_record_set_with_line_response.py +27 -27
- huaweicloudsdkdns/v2/model/create_resolver_rule_request.py +111 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_request_body.py +198 -0
- huaweicloudsdkdns/v2/model/create_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/create_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/delete_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/delete_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_ptr_response.py +85 -0
- huaweicloudsdkdns/v2/model/delete_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/delete_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/delete_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/delete_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/delete_record_sets_response.py +27 -27
- huaweicloudsdkdns/v2/model/delete_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/delete_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/delete_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/disable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/disable_dnssec_config_response.py +116 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_request.py +142 -0
- huaweicloudsdkdns/v2/model/disassociate_endpoint_ipaddress_response.py +112 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_request.py +139 -0
- huaweicloudsdkdns/v2/model/disassociate_resolver_rule_router_response.py +174 -0
- huaweicloudsdkdns/v2/model/disassociate_router_request.py +3 -3
- huaweicloudsdkdns/v2/model/enable_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/enable_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/endpoint_resp.py +347 -0
- huaweicloudsdkdns/v2/model/floating_ips_ptr.py +339 -0
- huaweicloudsdkdns/v2/model/ip_info.py +115 -0
- huaweicloudsdkdns/v2/model/ip_value.py +115 -0
- huaweicloudsdkdns/v2/model/ipaddress_info.py +143 -0
- huaweicloudsdkdns/v2/model/ipaddresses.py +110 -0
- huaweicloudsdkdns/v2/model/ipaddresses_data.py +289 -0
- huaweicloudsdkdns/v2/model/line.py +6 -6
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_request.py +114 -0
- huaweicloudsdkdns/v2/model/list_endpoint_ipaddresses_response.py +116 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_request.py +173 -0
- huaweicloudsdkdns/v2/model/list_endpoint_vpcs_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_endpoints_request.py +230 -0
- huaweicloudsdkdns/v2/model/list_endpoints_response.py +141 -0
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +15 -15
- huaweicloudsdkdns/v2/model/list_private_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +12 -12
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptrs_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_ptrs_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_request.py +172 -0
- huaweicloudsdkdns/v2/model/list_public_zone_lines_response.py +166 -0
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +18 -18
- huaweicloudsdkdns/v2/model/list_public_zones_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets.py +27 -27
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +24 -24
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +27 -27
- huaweicloudsdkdns/v2/model/list_record_sets_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +33 -33
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_record_sets_with_tags.py +27 -27
- huaweicloudsdkdns/v2/model/list_resolver_rule_param.py +376 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_request.py +289 -0
- huaweicloudsdkdns/v2/model/list_resolver_rules_response.py +191 -0
- huaweicloudsdkdns/v2/model/match.py +3 -3
- huaweicloudsdkdns/v2/model/page_info.py +173 -0
- huaweicloudsdkdns/v2/model/private_zone_resp.py +42 -42
- huaweicloudsdkdns/v2/model/public_ip_req.py +144 -0
- huaweicloudsdkdns/v2/model/public_ip_res.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_lines.py +173 -0
- huaweicloudsdkdns/v2/model/public_zone_resp.py +39 -39
- huaweicloudsdkdns/v2/model/query_record_set_with_line_and_tags_resp.py +57 -28
- huaweicloudsdkdns/v2/model/query_record_set_with_line_resp.py +27 -27
- huaweicloudsdkdns/v2/model/recordset_data.py +27 -27
- huaweicloudsdkdns/v2/model/resolver_rule_param.py +347 -0
- huaweicloudsdkdns/v2/model/restore_ptr_req.py +3 -3
- huaweicloudsdkdns/v2/model/router_for_rule.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request.py +139 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/set_private_zone_proxy_pattern_response.py +85 -0
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +3 -3
- huaweicloudsdkdns/v2/model/set_record_sets_status_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_dnssec_config_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_dnssec_config_response.py +464 -0
- huaweicloudsdkdns/v2/model/show_endpoint_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_line_group_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_name_server_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +42 -42
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +12 -12
- huaweicloudsdkdns/v2/model/show_ptr_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_name_server_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +45 -45
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_record_set_with_line_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_with_line_response.py +27 -27
- huaweicloudsdkdns/v2/model/show_resolver_rule_request.py +114 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_resp_param.py +405 -0
- huaweicloudsdkdns/v2/model/show_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/show_resource_tag_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_custom_line_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_endpoint_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_endpoint_request_body.py +114 -0
- huaweicloudsdkdns/v2/model/update_endpoint_response.py +112 -0
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_line_groups_response.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +39 -39
- huaweicloudsdkdns/v2/model/update_private_zone_status_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_private_zone_status_response.py +518 -0
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +12 -12
- huaweicloudsdkdns/v2/model/update_ptr_req.py +9 -9
- huaweicloudsdkdns/v2/model/update_ptr_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_ptr_request_body.py +172 -0
- huaweicloudsdkdns/v2/model/update_ptr_response.py +311 -0
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +36 -36
- huaweicloudsdkdns/v2/model/update_public_zone_status_request.py +7 -7
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +36 -36
- huaweicloudsdkdns/v2/model/update_record_set_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_record_set_request.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_set_response.py +27 -27
- huaweicloudsdkdns/v2/model/update_record_sets_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_sets_response.py +27 -27
- huaweicloudsdkdns/v2/model/update_resolver_rule_request.py +139 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_request_body.py +144 -0
- huaweicloudsdkdns/v2/model/update_resolver_rule_response.py +112 -0
- huaweicloudsdkdns/v2/model/{update_public_zone_status_request_body.py → update_zone_status_request_body.py} +10 -10
- huaweicloudsdkdns/v2/model/vpcs_data.py +173 -0
- huaweicloudsdkdns/v2/model/zone_data.py +52 -52
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/METADATA +2 -2
- huaweicloudsdkdns-3.1.147.dist-info/RECORD +273 -0
- huaweicloudsdkdns-3.1.145.dist-info/RECORD +0 -192
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.147.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,347 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ResolverRuleParam:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'str',
|
21
|
+
'name': 'str',
|
22
|
+
'domain_name': 'str',
|
23
|
+
'endpoint_id': 'str',
|
24
|
+
'status': 'str',
|
25
|
+
'rule_type': 'str',
|
26
|
+
'ipaddress_count': 'int',
|
27
|
+
'create_time': 'str',
|
28
|
+
'update_time': 'str'
|
29
|
+
}
|
30
|
+
|
31
|
+
attribute_map = {
|
32
|
+
'id': 'id',
|
33
|
+
'name': 'name',
|
34
|
+
'domain_name': 'domain_name',
|
35
|
+
'endpoint_id': 'endpoint_id',
|
36
|
+
'status': 'status',
|
37
|
+
'rule_type': 'rule_type',
|
38
|
+
'ipaddress_count': 'ipaddress_count',
|
39
|
+
'create_time': 'create_time',
|
40
|
+
'update_time': 'update_time'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, id=None, name=None, domain_name=None, endpoint_id=None, status=None, rule_type=None, ipaddress_count=None, create_time=None, update_time=None):
|
44
|
+
r"""ResolverRuleParam
|
45
|
+
|
46
|
+
The model defined in huaweicloud sdk
|
47
|
+
|
48
|
+
:param id: 转发规则ID。
|
49
|
+
:type id: str
|
50
|
+
:param name: 规则名称。
|
51
|
+
:type name: str
|
52
|
+
:param domain_name: 域名。
|
53
|
+
:type domain_name: str
|
54
|
+
:param endpoint_id: 当前规则所属的终端节点ID。
|
55
|
+
:type endpoint_id: str
|
56
|
+
:param status: 资源状态。 取值范围:PENDING_CREATE, ACTIVE, PENDING_DELETE, ERROR。
|
57
|
+
:type status: str
|
58
|
+
:param rule_type: 规则类型。 预留字段,当前默认为FORWARD。
|
59
|
+
:type rule_type: str
|
60
|
+
:param ipaddress_count: 当前规则下的IP地址数量。
|
61
|
+
:type ipaddress_count: int
|
62
|
+
:param create_time: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
63
|
+
:type create_time: str
|
64
|
+
:param update_time: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
65
|
+
:type update_time: str
|
66
|
+
"""
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
self._id = None
|
71
|
+
self._name = None
|
72
|
+
self._domain_name = None
|
73
|
+
self._endpoint_id = None
|
74
|
+
self._status = None
|
75
|
+
self._rule_type = None
|
76
|
+
self._ipaddress_count = None
|
77
|
+
self._create_time = None
|
78
|
+
self._update_time = None
|
79
|
+
self.discriminator = None
|
80
|
+
|
81
|
+
if id is not None:
|
82
|
+
self.id = id
|
83
|
+
if name is not None:
|
84
|
+
self.name = name
|
85
|
+
if domain_name is not None:
|
86
|
+
self.domain_name = domain_name
|
87
|
+
if endpoint_id is not None:
|
88
|
+
self.endpoint_id = endpoint_id
|
89
|
+
if status is not None:
|
90
|
+
self.status = status
|
91
|
+
if rule_type is not None:
|
92
|
+
self.rule_type = rule_type
|
93
|
+
if ipaddress_count is not None:
|
94
|
+
self.ipaddress_count = ipaddress_count
|
95
|
+
if create_time is not None:
|
96
|
+
self.create_time = create_time
|
97
|
+
if update_time is not None:
|
98
|
+
self.update_time = update_time
|
99
|
+
|
100
|
+
@property
|
101
|
+
def id(self):
|
102
|
+
r"""Gets the id of this ResolverRuleParam.
|
103
|
+
|
104
|
+
转发规则ID。
|
105
|
+
|
106
|
+
:return: The id of this ResolverRuleParam.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._id
|
110
|
+
|
111
|
+
@id.setter
|
112
|
+
def id(self, id):
|
113
|
+
r"""Sets the id of this ResolverRuleParam.
|
114
|
+
|
115
|
+
转发规则ID。
|
116
|
+
|
117
|
+
:param id: The id of this ResolverRuleParam.
|
118
|
+
:type id: str
|
119
|
+
"""
|
120
|
+
self._id = id
|
121
|
+
|
122
|
+
@property
|
123
|
+
def name(self):
|
124
|
+
r"""Gets the name of this ResolverRuleParam.
|
125
|
+
|
126
|
+
规则名称。
|
127
|
+
|
128
|
+
:return: The name of this ResolverRuleParam.
|
129
|
+
:rtype: str
|
130
|
+
"""
|
131
|
+
return self._name
|
132
|
+
|
133
|
+
@name.setter
|
134
|
+
def name(self, name):
|
135
|
+
r"""Sets the name of this ResolverRuleParam.
|
136
|
+
|
137
|
+
规则名称。
|
138
|
+
|
139
|
+
:param name: The name of this ResolverRuleParam.
|
140
|
+
:type name: str
|
141
|
+
"""
|
142
|
+
self._name = name
|
143
|
+
|
144
|
+
@property
|
145
|
+
def domain_name(self):
|
146
|
+
r"""Gets the domain_name of this ResolverRuleParam.
|
147
|
+
|
148
|
+
域名。
|
149
|
+
|
150
|
+
:return: The domain_name of this ResolverRuleParam.
|
151
|
+
:rtype: str
|
152
|
+
"""
|
153
|
+
return self._domain_name
|
154
|
+
|
155
|
+
@domain_name.setter
|
156
|
+
def domain_name(self, domain_name):
|
157
|
+
r"""Sets the domain_name of this ResolverRuleParam.
|
158
|
+
|
159
|
+
域名。
|
160
|
+
|
161
|
+
:param domain_name: The domain_name of this ResolverRuleParam.
|
162
|
+
:type domain_name: str
|
163
|
+
"""
|
164
|
+
self._domain_name = domain_name
|
165
|
+
|
166
|
+
@property
|
167
|
+
def endpoint_id(self):
|
168
|
+
r"""Gets the endpoint_id of this ResolverRuleParam.
|
169
|
+
|
170
|
+
当前规则所属的终端节点ID。
|
171
|
+
|
172
|
+
:return: The endpoint_id of this ResolverRuleParam.
|
173
|
+
:rtype: str
|
174
|
+
"""
|
175
|
+
return self._endpoint_id
|
176
|
+
|
177
|
+
@endpoint_id.setter
|
178
|
+
def endpoint_id(self, endpoint_id):
|
179
|
+
r"""Sets the endpoint_id of this ResolverRuleParam.
|
180
|
+
|
181
|
+
当前规则所属的终端节点ID。
|
182
|
+
|
183
|
+
:param endpoint_id: The endpoint_id of this ResolverRuleParam.
|
184
|
+
:type endpoint_id: str
|
185
|
+
"""
|
186
|
+
self._endpoint_id = endpoint_id
|
187
|
+
|
188
|
+
@property
|
189
|
+
def status(self):
|
190
|
+
r"""Gets the status of this ResolverRuleParam.
|
191
|
+
|
192
|
+
资源状态。 取值范围:PENDING_CREATE, ACTIVE, PENDING_DELETE, ERROR。
|
193
|
+
|
194
|
+
:return: The status of this ResolverRuleParam.
|
195
|
+
:rtype: str
|
196
|
+
"""
|
197
|
+
return self._status
|
198
|
+
|
199
|
+
@status.setter
|
200
|
+
def status(self, status):
|
201
|
+
r"""Sets the status of this ResolverRuleParam.
|
202
|
+
|
203
|
+
资源状态。 取值范围:PENDING_CREATE, ACTIVE, PENDING_DELETE, ERROR。
|
204
|
+
|
205
|
+
:param status: The status of this ResolverRuleParam.
|
206
|
+
:type status: str
|
207
|
+
"""
|
208
|
+
self._status = status
|
209
|
+
|
210
|
+
@property
|
211
|
+
def rule_type(self):
|
212
|
+
r"""Gets the rule_type of this ResolverRuleParam.
|
213
|
+
|
214
|
+
规则类型。 预留字段,当前默认为FORWARD。
|
215
|
+
|
216
|
+
:return: The rule_type of this ResolverRuleParam.
|
217
|
+
:rtype: str
|
218
|
+
"""
|
219
|
+
return self._rule_type
|
220
|
+
|
221
|
+
@rule_type.setter
|
222
|
+
def rule_type(self, rule_type):
|
223
|
+
r"""Sets the rule_type of this ResolverRuleParam.
|
224
|
+
|
225
|
+
规则类型。 预留字段,当前默认为FORWARD。
|
226
|
+
|
227
|
+
:param rule_type: The rule_type of this ResolverRuleParam.
|
228
|
+
:type rule_type: str
|
229
|
+
"""
|
230
|
+
self._rule_type = rule_type
|
231
|
+
|
232
|
+
@property
|
233
|
+
def ipaddress_count(self):
|
234
|
+
r"""Gets the ipaddress_count of this ResolverRuleParam.
|
235
|
+
|
236
|
+
当前规则下的IP地址数量。
|
237
|
+
|
238
|
+
:return: The ipaddress_count of this ResolverRuleParam.
|
239
|
+
:rtype: int
|
240
|
+
"""
|
241
|
+
return self._ipaddress_count
|
242
|
+
|
243
|
+
@ipaddress_count.setter
|
244
|
+
def ipaddress_count(self, ipaddress_count):
|
245
|
+
r"""Sets the ipaddress_count of this ResolverRuleParam.
|
246
|
+
|
247
|
+
当前规则下的IP地址数量。
|
248
|
+
|
249
|
+
:param ipaddress_count: The ipaddress_count of this ResolverRuleParam.
|
250
|
+
:type ipaddress_count: int
|
251
|
+
"""
|
252
|
+
self._ipaddress_count = ipaddress_count
|
253
|
+
|
254
|
+
@property
|
255
|
+
def create_time(self):
|
256
|
+
r"""Gets the create_time of this ResolverRuleParam.
|
257
|
+
|
258
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
259
|
+
|
260
|
+
:return: The create_time of this ResolverRuleParam.
|
261
|
+
:rtype: str
|
262
|
+
"""
|
263
|
+
return self._create_time
|
264
|
+
|
265
|
+
@create_time.setter
|
266
|
+
def create_time(self, create_time):
|
267
|
+
r"""Sets the create_time of this ResolverRuleParam.
|
268
|
+
|
269
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
270
|
+
|
271
|
+
:param create_time: The create_time of this ResolverRuleParam.
|
272
|
+
:type create_time: str
|
273
|
+
"""
|
274
|
+
self._create_time = create_time
|
275
|
+
|
276
|
+
@property
|
277
|
+
def update_time(self):
|
278
|
+
r"""Gets the update_time of this ResolverRuleParam.
|
279
|
+
|
280
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
281
|
+
|
282
|
+
:return: The update_time of this ResolverRuleParam.
|
283
|
+
:rtype: str
|
284
|
+
"""
|
285
|
+
return self._update_time
|
286
|
+
|
287
|
+
@update_time.setter
|
288
|
+
def update_time(self, update_time):
|
289
|
+
r"""Sets the update_time of this ResolverRuleParam.
|
290
|
+
|
291
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
292
|
+
|
293
|
+
:param update_time: The update_time of this ResolverRuleParam.
|
294
|
+
:type update_time: str
|
295
|
+
"""
|
296
|
+
self._update_time = update_time
|
297
|
+
|
298
|
+
def to_dict(self):
|
299
|
+
"""Returns the model properties as a dict"""
|
300
|
+
result = {}
|
301
|
+
|
302
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
303
|
+
value = getattr(self, attr)
|
304
|
+
if isinstance(value, list):
|
305
|
+
result[attr] = list(map(
|
306
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
307
|
+
value
|
308
|
+
))
|
309
|
+
elif hasattr(value, "to_dict"):
|
310
|
+
result[attr] = value.to_dict()
|
311
|
+
elif isinstance(value, dict):
|
312
|
+
result[attr] = dict(map(
|
313
|
+
lambda item: (item[0], item[1].to_dict())
|
314
|
+
if hasattr(item[1], "to_dict") else item,
|
315
|
+
value.items()
|
316
|
+
))
|
317
|
+
else:
|
318
|
+
if attr in self.sensitive_list:
|
319
|
+
result[attr] = "****"
|
320
|
+
else:
|
321
|
+
result[attr] = value
|
322
|
+
|
323
|
+
return result
|
324
|
+
|
325
|
+
def to_str(self):
|
326
|
+
"""Returns the string representation of the model"""
|
327
|
+
import simplejson as json
|
328
|
+
if six.PY2:
|
329
|
+
import sys
|
330
|
+
reload(sys)
|
331
|
+
sys.setdefaultencoding("utf-8")
|
332
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
333
|
+
|
334
|
+
def __repr__(self):
|
335
|
+
"""For `print`"""
|
336
|
+
return self.to_str()
|
337
|
+
|
338
|
+
def __eq__(self, other):
|
339
|
+
"""Returns true if both objects are equal"""
|
340
|
+
if not isinstance(other, ResolverRuleParam):
|
341
|
+
return False
|
342
|
+
|
343
|
+
return self.__dict__ == other.__dict__
|
344
|
+
|
345
|
+
def __ne__(self, other):
|
346
|
+
"""Returns true if both objects are not equal"""
|
347
|
+
return not self == other
|
@@ -29,7 +29,7 @@ class RestorePtrReq:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param ptrdname:
|
32
|
+
:param ptrdname: 反向解析记录对应的域名。 此处值为null。
|
33
33
|
:type ptrdname: object
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class RestorePtrReq:
|
|
44
44
|
def ptrdname(self):
|
45
45
|
r"""Gets the ptrdname of this RestorePtrReq.
|
46
46
|
|
47
|
-
|
47
|
+
反向解析记录对应的域名。 此处值为null。
|
48
48
|
|
49
49
|
:return: The ptrdname of this RestorePtrReq.
|
50
50
|
:rtype: object
|
@@ -55,7 +55,7 @@ class RestorePtrReq:
|
|
55
55
|
def ptrdname(self, ptrdname):
|
56
56
|
r"""Sets the ptrdname of this RestorePtrReq.
|
57
57
|
|
58
|
-
|
58
|
+
反向解析记录对应的域名。 此处值为null。
|
59
59
|
|
60
60
|
:param ptrdname: The ptrdname of this RestorePtrReq.
|
61
61
|
:type ptrdname: object
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class RouterForRule:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'router_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'router_id': 'router_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, router_id=None):
|
28
|
+
r"""RouterForRule
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param router_id: Router(VPC)所属VPC的ID。
|
33
|
+
:type router_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._router_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.router_id = router_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def router_id(self):
|
45
|
+
r"""Gets the router_id of this RouterForRule.
|
46
|
+
|
47
|
+
Router(VPC)所属VPC的ID。
|
48
|
+
|
49
|
+
:return: The router_id of this RouterForRule.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._router_id
|
53
|
+
|
54
|
+
@router_id.setter
|
55
|
+
def router_id(self, router_id):
|
56
|
+
r"""Sets the router_id of this RouterForRule.
|
57
|
+
|
58
|
+
Router(VPC)所属VPC的ID。
|
59
|
+
|
60
|
+
:param router_id: The router_id of this RouterForRule.
|
61
|
+
:type router_id: str
|
62
|
+
"""
|
63
|
+
self._router_id = router_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, RouterForRule):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class SetPrivateZoneProxyPatternRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'zone_id': 'str',
|
21
|
+
'body': 'SetPrivateZoneProxyPatternRequestBody'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'zone_id': 'zone_id',
|
26
|
+
'body': 'body'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, zone_id=None, body=None):
|
30
|
+
r"""SetPrivateZoneProxyPatternRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param zone_id: 域名ID。
|
35
|
+
:type zone_id: str
|
36
|
+
:param body: Body of the SetPrivateZoneProxyPatternRequest
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.SetPrivateZoneProxyPatternRequestBody`
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._zone_id = None
|
43
|
+
self._body = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.zone_id = zone_id
|
47
|
+
if body is not None:
|
48
|
+
self.body = body
|
49
|
+
|
50
|
+
@property
|
51
|
+
def zone_id(self):
|
52
|
+
r"""Gets the zone_id of this SetPrivateZoneProxyPatternRequest.
|
53
|
+
|
54
|
+
域名ID。
|
55
|
+
|
56
|
+
:return: The zone_id of this SetPrivateZoneProxyPatternRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._zone_id
|
60
|
+
|
61
|
+
@zone_id.setter
|
62
|
+
def zone_id(self, zone_id):
|
63
|
+
r"""Sets the zone_id of this SetPrivateZoneProxyPatternRequest.
|
64
|
+
|
65
|
+
域名ID。
|
66
|
+
|
67
|
+
:param zone_id: The zone_id of this SetPrivateZoneProxyPatternRequest.
|
68
|
+
:type zone_id: str
|
69
|
+
"""
|
70
|
+
self._zone_id = zone_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def body(self):
|
74
|
+
r"""Gets the body of this SetPrivateZoneProxyPatternRequest.
|
75
|
+
|
76
|
+
:return: The body of this SetPrivateZoneProxyPatternRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.SetPrivateZoneProxyPatternRequestBody`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
r"""Sets the body of this SetPrivateZoneProxyPatternRequest.
|
84
|
+
|
85
|
+
:param body: The body of this SetPrivateZoneProxyPatternRequest.
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.SetPrivateZoneProxyPatternRequestBody`
|
87
|
+
"""
|
88
|
+
self._body = body
|
89
|
+
|
90
|
+
def to_dict(self):
|
91
|
+
"""Returns the model properties as a dict"""
|
92
|
+
result = {}
|
93
|
+
|
94
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
95
|
+
value = getattr(self, attr)
|
96
|
+
if isinstance(value, list):
|
97
|
+
result[attr] = list(map(
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
99
|
+
value
|
100
|
+
))
|
101
|
+
elif hasattr(value, "to_dict"):
|
102
|
+
result[attr] = value.to_dict()
|
103
|
+
elif isinstance(value, dict):
|
104
|
+
result[attr] = dict(map(
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
107
|
+
value.items()
|
108
|
+
))
|
109
|
+
else:
|
110
|
+
if attr in self.sensitive_list:
|
111
|
+
result[attr] = "****"
|
112
|
+
else:
|
113
|
+
result[attr] = value
|
114
|
+
|
115
|
+
return result
|
116
|
+
|
117
|
+
def to_str(self):
|
118
|
+
"""Returns the string representation of the model"""
|
119
|
+
import simplejson as json
|
120
|
+
if six.PY2:
|
121
|
+
import sys
|
122
|
+
reload(sys)
|
123
|
+
sys.setdefaultencoding("utf-8")
|
124
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
125
|
+
|
126
|
+
def __repr__(self):
|
127
|
+
"""For `print`"""
|
128
|
+
return self.to_str()
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
"""Returns true if both objects are equal"""
|
132
|
+
if not isinstance(other, SetPrivateZoneProxyPatternRequest):
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
"""Returns true if both objects are not equal"""
|
139
|
+
return not self == other
|