huaweicloudsdkdns 3.1.144__py2.py3-none-any.whl → 3.1.146__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.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/METADATA +2 -2
- huaweicloudsdkdns-3.1.146.dist-info/RECORD +273 -0
- huaweicloudsdkdns-3.1.144.dist-info/RECORD +0 -192
- {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.144.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/top_level.txt +0 -0
@@ -62,33 +62,33 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
62
62
|
|
63
63
|
The model defined in huaweicloud sdk
|
64
64
|
|
65
|
-
:param id:
|
65
|
+
:param id: 域名的ID,UUID形式的一个资源标识。
|
66
66
|
:type id: str
|
67
|
-
:param name:
|
67
|
+
:param name: 域名。
|
68
68
|
:type name: str
|
69
|
-
:param description:
|
69
|
+
:param description: 对域名的描述信息。
|
70
70
|
:type description: str
|
71
|
-
:param email:
|
71
|
+
:param email: 管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
72
72
|
:type email: str
|
73
|
-
:param zone_type:
|
73
|
+
:param zone_type: 域名类型,内网(private)。
|
74
74
|
:type zone_type: str
|
75
|
-
:param ttl:
|
75
|
+
:param ttl: 该域名下SOA记录中的ttl值。
|
76
76
|
:type ttl: int
|
77
|
-
:param serial:
|
77
|
+
:param serial: 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 该参数暂未使用。
|
78
78
|
:type serial: int
|
79
79
|
:param status: 资源状态。
|
80
80
|
:type status: str
|
81
|
-
:param record_num:
|
81
|
+
:param record_num: 该域名下的记录集个数。
|
82
82
|
:type record_num: int
|
83
|
-
:param proxy_pattern:
|
83
|
+
:param proxy_pattern: 内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
84
84
|
:type proxy_pattern: str
|
85
|
-
:param pool_id:
|
85
|
+
:param pool_id: 托管该域名的pool,由系统分配。
|
86
86
|
:type pool_id: str
|
87
|
-
:param project_id:
|
87
|
+
:param project_id: 域名所属的项目ID。
|
88
88
|
:type project_id: str
|
89
|
-
:param created_at: 创建时间。
|
89
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
90
90
|
:type created_at: str
|
91
|
-
:param updated_at: 更新时间。
|
91
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
92
92
|
:type updated_at: str
|
93
93
|
:param links:
|
94
94
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
@@ -158,7 +158,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
158
158
|
def id(self):
|
159
159
|
r"""Gets the id of this CreatePrivateZoneResponse.
|
160
160
|
|
161
|
-
|
161
|
+
域名的ID,UUID形式的一个资源标识。
|
162
162
|
|
163
163
|
:return: The id of this CreatePrivateZoneResponse.
|
164
164
|
:rtype: str
|
@@ -169,7 +169,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
169
169
|
def id(self, id):
|
170
170
|
r"""Sets the id of this CreatePrivateZoneResponse.
|
171
171
|
|
172
|
-
|
172
|
+
域名的ID,UUID形式的一个资源标识。
|
173
173
|
|
174
174
|
:param id: The id of this CreatePrivateZoneResponse.
|
175
175
|
:type id: str
|
@@ -180,7 +180,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
180
180
|
def name(self):
|
181
181
|
r"""Gets the name of this CreatePrivateZoneResponse.
|
182
182
|
|
183
|
-
|
183
|
+
域名。
|
184
184
|
|
185
185
|
:return: The name of this CreatePrivateZoneResponse.
|
186
186
|
:rtype: str
|
@@ -191,7 +191,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
191
191
|
def name(self, name):
|
192
192
|
r"""Sets the name of this CreatePrivateZoneResponse.
|
193
193
|
|
194
|
-
|
194
|
+
域名。
|
195
195
|
|
196
196
|
:param name: The name of this CreatePrivateZoneResponse.
|
197
197
|
:type name: str
|
@@ -202,7 +202,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
202
202
|
def description(self):
|
203
203
|
r"""Gets the description of this CreatePrivateZoneResponse.
|
204
204
|
|
205
|
-
|
205
|
+
对域名的描述信息。
|
206
206
|
|
207
207
|
:return: The description of this CreatePrivateZoneResponse.
|
208
208
|
:rtype: str
|
@@ -213,7 +213,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
213
213
|
def description(self, description):
|
214
214
|
r"""Sets the description of this CreatePrivateZoneResponse.
|
215
215
|
|
216
|
-
|
216
|
+
对域名的描述信息。
|
217
217
|
|
218
218
|
:param description: The description of this CreatePrivateZoneResponse.
|
219
219
|
:type description: str
|
@@ -224,7 +224,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
224
224
|
def email(self):
|
225
225
|
r"""Gets the email of this CreatePrivateZoneResponse.
|
226
226
|
|
227
|
-
|
227
|
+
管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
228
228
|
|
229
229
|
:return: The email of this CreatePrivateZoneResponse.
|
230
230
|
:rtype: str
|
@@ -235,7 +235,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
235
235
|
def email(self, email):
|
236
236
|
r"""Sets the email of this CreatePrivateZoneResponse.
|
237
237
|
|
238
|
-
|
238
|
+
管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
239
239
|
|
240
240
|
:param email: The email of this CreatePrivateZoneResponse.
|
241
241
|
:type email: str
|
@@ -246,7 +246,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
246
246
|
def zone_type(self):
|
247
247
|
r"""Gets the zone_type of this CreatePrivateZoneResponse.
|
248
248
|
|
249
|
-
|
249
|
+
域名类型,内网(private)。
|
250
250
|
|
251
251
|
:return: The zone_type of this CreatePrivateZoneResponse.
|
252
252
|
:rtype: str
|
@@ -257,7 +257,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
257
257
|
def zone_type(self, zone_type):
|
258
258
|
r"""Sets the zone_type of this CreatePrivateZoneResponse.
|
259
259
|
|
260
|
-
|
260
|
+
域名类型,内网(private)。
|
261
261
|
|
262
262
|
:param zone_type: The zone_type of this CreatePrivateZoneResponse.
|
263
263
|
:type zone_type: str
|
@@ -268,7 +268,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
268
268
|
def ttl(self):
|
269
269
|
r"""Gets the ttl of this CreatePrivateZoneResponse.
|
270
270
|
|
271
|
-
|
271
|
+
该域名下SOA记录中的ttl值。
|
272
272
|
|
273
273
|
:return: The ttl of this CreatePrivateZoneResponse.
|
274
274
|
:rtype: int
|
@@ -279,7 +279,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
279
279
|
def ttl(self, ttl):
|
280
280
|
r"""Sets the ttl of this CreatePrivateZoneResponse.
|
281
281
|
|
282
|
-
|
282
|
+
该域名下SOA记录中的ttl值。
|
283
283
|
|
284
284
|
:param ttl: The ttl of this CreatePrivateZoneResponse.
|
285
285
|
:type ttl: int
|
@@ -290,7 +290,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
290
290
|
def serial(self):
|
291
291
|
r"""Gets the serial of this CreatePrivateZoneResponse.
|
292
292
|
|
293
|
-
|
293
|
+
该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 该参数暂未使用。
|
294
294
|
|
295
295
|
:return: The serial of this CreatePrivateZoneResponse.
|
296
296
|
:rtype: int
|
@@ -301,7 +301,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
301
301
|
def serial(self, serial):
|
302
302
|
r"""Sets the serial of this CreatePrivateZoneResponse.
|
303
303
|
|
304
|
-
|
304
|
+
该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。 该参数暂未使用。
|
305
305
|
|
306
306
|
:param serial: The serial of this CreatePrivateZoneResponse.
|
307
307
|
:type serial: int
|
@@ -334,7 +334,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
334
334
|
def record_num(self):
|
335
335
|
r"""Gets the record_num of this CreatePrivateZoneResponse.
|
336
336
|
|
337
|
-
|
337
|
+
该域名下的记录集个数。
|
338
338
|
|
339
339
|
:return: The record_num of this CreatePrivateZoneResponse.
|
340
340
|
:rtype: int
|
@@ -345,7 +345,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
345
345
|
def record_num(self, record_num):
|
346
346
|
r"""Sets the record_num of this CreatePrivateZoneResponse.
|
347
347
|
|
348
|
-
|
348
|
+
该域名下的记录集个数。
|
349
349
|
|
350
350
|
:param record_num: The record_num of this CreatePrivateZoneResponse.
|
351
351
|
:type record_num: int
|
@@ -356,7 +356,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
356
356
|
def proxy_pattern(self):
|
357
357
|
r"""Gets the proxy_pattern of this CreatePrivateZoneResponse.
|
358
358
|
|
359
|
-
|
359
|
+
内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
360
360
|
|
361
361
|
:return: The proxy_pattern of this CreatePrivateZoneResponse.
|
362
362
|
:rtype: str
|
@@ -367,7 +367,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
367
367
|
def proxy_pattern(self, proxy_pattern):
|
368
368
|
r"""Sets the proxy_pattern of this CreatePrivateZoneResponse.
|
369
369
|
|
370
|
-
|
370
|
+
内网域名的子域名递归解析代理模式。 取值范围: AUTHORITY:当前域名未开启递归解析代理 RECURSIVE:当前域名已开启递归解析代理
|
371
371
|
|
372
372
|
:param proxy_pattern: The proxy_pattern of this CreatePrivateZoneResponse.
|
373
373
|
:type proxy_pattern: str
|
@@ -378,7 +378,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
378
378
|
def pool_id(self):
|
379
379
|
r"""Gets the pool_id of this CreatePrivateZoneResponse.
|
380
380
|
|
381
|
-
|
381
|
+
托管该域名的pool,由系统分配。
|
382
382
|
|
383
383
|
:return: The pool_id of this CreatePrivateZoneResponse.
|
384
384
|
:rtype: str
|
@@ -389,7 +389,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
389
389
|
def pool_id(self, pool_id):
|
390
390
|
r"""Sets the pool_id of this CreatePrivateZoneResponse.
|
391
391
|
|
392
|
-
|
392
|
+
托管该域名的pool,由系统分配。
|
393
393
|
|
394
394
|
:param pool_id: The pool_id of this CreatePrivateZoneResponse.
|
395
395
|
:type pool_id: str
|
@@ -400,7 +400,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
400
400
|
def project_id(self):
|
401
401
|
r"""Gets the project_id of this CreatePrivateZoneResponse.
|
402
402
|
|
403
|
-
|
403
|
+
域名所属的项目ID。
|
404
404
|
|
405
405
|
:return: The project_id of this CreatePrivateZoneResponse.
|
406
406
|
:rtype: str
|
@@ -411,7 +411,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
411
411
|
def project_id(self, project_id):
|
412
412
|
r"""Sets the project_id of this CreatePrivateZoneResponse.
|
413
413
|
|
414
|
-
|
414
|
+
域名所属的项目ID。
|
415
415
|
|
416
416
|
:param project_id: The project_id of this CreatePrivateZoneResponse.
|
417
417
|
:type project_id: str
|
@@ -422,7 +422,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
422
422
|
def created_at(self):
|
423
423
|
r"""Gets the created_at of this CreatePrivateZoneResponse.
|
424
424
|
|
425
|
-
创建时间。
|
425
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
426
426
|
|
427
427
|
:return: The created_at of this CreatePrivateZoneResponse.
|
428
428
|
:rtype: str
|
@@ -433,7 +433,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
433
433
|
def created_at(self, created_at):
|
434
434
|
r"""Sets the created_at of this CreatePrivateZoneResponse.
|
435
435
|
|
436
|
-
创建时间。
|
436
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
437
437
|
|
438
438
|
:param created_at: The created_at of this CreatePrivateZoneResponse.
|
439
439
|
:type created_at: str
|
@@ -444,7 +444,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
444
444
|
def updated_at(self):
|
445
445
|
r"""Gets the updated_at of this CreatePrivateZoneResponse.
|
446
446
|
|
447
|
-
更新时间。
|
447
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
448
448
|
|
449
449
|
:return: The updated_at of this CreatePrivateZoneResponse.
|
450
450
|
:rtype: str
|
@@ -455,7 +455,7 @@ class CreatePrivateZoneResponse(SdkResponse):
|
|
455
455
|
def updated_at(self, updated_at):
|
456
456
|
r"""Sets the updated_at of this CreatePrivateZoneResponse.
|
457
457
|
|
458
|
-
更新时间。
|
458
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
459
459
|
|
460
460
|
:param updated_at: The updated_at of this CreatePrivateZoneResponse.
|
461
461
|
:type updated_at: str
|
@@ -37,13 +37,13 @@ class CreatePtrReq:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param ptrdname:
|
40
|
+
:param ptrdname: 反向解析记录对应的域名。
|
41
41
|
:type ptrdname: str
|
42
|
-
:param description:
|
42
|
+
:param description: 对反向解析记录的描述。
|
43
43
|
:type description: str
|
44
|
-
:param ttl:
|
44
|
+
:param ttl: 反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。取值范围:1~2147483647
|
45
45
|
:type ttl: int
|
46
|
-
:param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36
|
46
|
+
:param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36个字符。默认值为0。
|
47
47
|
:type enterprise_project_id: str
|
48
48
|
:param tags: 资源标签。
|
49
49
|
:type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
|
@@ -72,7 +72,7 @@ class CreatePtrReq:
|
|
72
72
|
def ptrdname(self):
|
73
73
|
r"""Gets the ptrdname of this CreatePtrReq.
|
74
74
|
|
75
|
-
|
75
|
+
反向解析记录对应的域名。
|
76
76
|
|
77
77
|
:return: The ptrdname of this CreatePtrReq.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class CreatePtrReq:
|
|
83
83
|
def ptrdname(self, ptrdname):
|
84
84
|
r"""Sets the ptrdname of this CreatePtrReq.
|
85
85
|
|
86
|
-
|
86
|
+
反向解析记录对应的域名。
|
87
87
|
|
88
88
|
:param ptrdname: The ptrdname of this CreatePtrReq.
|
89
89
|
:type ptrdname: str
|
@@ -94,7 +94,7 @@ class CreatePtrReq:
|
|
94
94
|
def description(self):
|
95
95
|
r"""Gets the description of this CreatePtrReq.
|
96
96
|
|
97
|
-
|
97
|
+
对反向解析记录的描述。
|
98
98
|
|
99
99
|
:return: The description of this CreatePtrReq.
|
100
100
|
:rtype: str
|
@@ -105,7 +105,7 @@ class CreatePtrReq:
|
|
105
105
|
def description(self, description):
|
106
106
|
r"""Sets the description of this CreatePtrReq.
|
107
107
|
|
108
|
-
|
108
|
+
对反向解析记录的描述。
|
109
109
|
|
110
110
|
:param description: The description of this CreatePtrReq.
|
111
111
|
:type description: str
|
@@ -116,7 +116,7 @@ class CreatePtrReq:
|
|
116
116
|
def ttl(self):
|
117
117
|
r"""Gets the ttl of this CreatePtrReq.
|
118
118
|
|
119
|
-
|
119
|
+
反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。取值范围:1~2147483647
|
120
120
|
|
121
121
|
:return: The ttl of this CreatePtrReq.
|
122
122
|
:rtype: int
|
@@ -127,7 +127,7 @@ class CreatePtrReq:
|
|
127
127
|
def ttl(self, ttl):
|
128
128
|
r"""Sets the ttl of this CreatePtrReq.
|
129
129
|
|
130
|
-
|
130
|
+
反向解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。取值范围:1~2147483647
|
131
131
|
|
132
132
|
:param ttl: The ttl of this CreatePtrReq.
|
133
133
|
:type ttl: int
|
@@ -138,7 +138,7 @@ class CreatePtrReq:
|
|
138
138
|
def enterprise_project_id(self):
|
139
139
|
r"""Gets the enterprise_project_id of this CreatePtrReq.
|
140
140
|
|
141
|
-
反向解析关联的企业项目ID,长度不超过36
|
141
|
+
反向解析关联的企业项目ID,长度不超过36个字符。默认值为0。
|
142
142
|
|
143
143
|
:return: The enterprise_project_id of this CreatePtrReq.
|
144
144
|
:rtype: str
|
@@ -149,7 +149,7 @@ class CreatePtrReq:
|
|
149
149
|
def enterprise_project_id(self, enterprise_project_id):
|
150
150
|
r"""Sets the enterprise_project_id of this CreatePtrReq.
|
151
151
|
|
152
|
-
反向解析关联的企业项目ID,长度不超过36
|
152
|
+
反向解析关联的企业项目ID,长度不超过36个字符。默认值为0。
|
153
153
|
|
154
154
|
:param enterprise_project_id: The enterprise_project_id of this CreatePtrReq.
|
155
155
|
:type enterprise_project_id: str
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreatePtrRequest:
|
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
|
+
'body': 'CreatePtrRequestBody'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""CreatePtrRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreatePtrRequest
|
33
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreatePtrRequestBody`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._body = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if body is not None:
|
42
|
+
self.body = body
|
43
|
+
|
44
|
+
@property
|
45
|
+
def body(self):
|
46
|
+
r"""Gets the body of this CreatePtrRequest.
|
47
|
+
|
48
|
+
:return: The body of this CreatePtrRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkdns.v2.CreatePtrRequestBody`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this CreatePtrRequest.
|
56
|
+
|
57
|
+
:param body: The body of this CreatePtrRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkdns.v2.CreatePtrRequestBody`
|
59
|
+
"""
|
60
|
+
self._body = body
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
if attr in self.sensitive_list:
|
83
|
+
result[attr] = "****"
|
84
|
+
else:
|
85
|
+
result[attr] = value
|
86
|
+
|
87
|
+
return result
|
88
|
+
|
89
|
+
def to_str(self):
|
90
|
+
"""Returns the string representation of the model"""
|
91
|
+
import simplejson as json
|
92
|
+
if six.PY2:
|
93
|
+
import sys
|
94
|
+
reload(sys)
|
95
|
+
sys.setdefaultencoding("utf-8")
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
97
|
+
|
98
|
+
def __repr__(self):
|
99
|
+
"""For `print`"""
|
100
|
+
return self.to_str()
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
"""Returns true if both objects are equal"""
|
104
|
+
if not isinstance(other, CreatePtrRequest):
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
"""Returns true if both objects are not equal"""
|
111
|
+
return not self == other
|