huaweicloudsdkdns 3.1.145__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.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/METADATA +2 -2
- huaweicloudsdkdns-3.1.146.dist-info/RECORD +273 -0
- huaweicloudsdkdns-3.1.145.dist-info/RECORD +0 -192
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.145.dist-info → huaweicloudsdkdns-3.1.146.dist-info}/top_level.txt +0 -0
@@ -60,37 +60,37 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
60
60
|
|
61
61
|
The model defined in huaweicloud sdk
|
62
62
|
|
63
|
-
:param id:
|
63
|
+
:param id: 域名的ID,UUID形式的一个资源标识。
|
64
64
|
:type id: str
|
65
|
-
:param name:
|
65
|
+
:param name: 域名。
|
66
66
|
:type name: str
|
67
|
-
:param description:
|
67
|
+
:param description: 对域名的描述信息。
|
68
68
|
:type description: str
|
69
|
-
:param email:
|
69
|
+
:param email: 管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
70
70
|
:type email: str
|
71
|
-
:param zone_type:
|
71
|
+
:param zone_type: 域名类型,内网(private)。
|
72
72
|
:type zone_type: str
|
73
|
-
:param ttl:
|
73
|
+
:param ttl: 该域名下SOA记录中的ttl值。
|
74
74
|
:type ttl: int
|
75
|
-
:param serial:
|
75
|
+
:param serial: 该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
|
76
76
|
:type serial: int
|
77
|
-
:param status:
|
77
|
+
:param status: 资源状态。
|
78
78
|
:type status: str
|
79
|
-
:param record_num:
|
79
|
+
:param record_num: 该域名下的记录集个数。
|
80
80
|
:type record_num: int
|
81
|
-
:param pool_id:
|
81
|
+
:param pool_id: 托管该域名的pool,由系统分配。
|
82
82
|
:type pool_id: str
|
83
|
-
:param project_id:
|
83
|
+
:param project_id: 域名所属的项目ID。
|
84
84
|
:type project_id: str
|
85
|
-
:param created_at: 创建时间。
|
85
|
+
:param created_at: 创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
86
86
|
:type created_at: str
|
87
|
-
:param updated_at: 更新时间。
|
87
|
+
:param updated_at: 更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
88
88
|
:type updated_at: str
|
89
89
|
:param links:
|
90
90
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
91
91
|
:param masters: 主从模式中,从DNS服务器获取DNS信息。
|
92
92
|
:type masters: list[str]
|
93
|
-
:param routers:
|
93
|
+
:param routers: 与该域名关联的Router(VPC)列表。
|
94
94
|
:type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
|
95
95
|
"""
|
96
96
|
|
@@ -151,7 +151,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
151
151
|
def id(self):
|
152
152
|
r"""Gets the id of this DeletePrivateZoneResponse.
|
153
153
|
|
154
|
-
|
154
|
+
域名的ID,UUID形式的一个资源标识。
|
155
155
|
|
156
156
|
:return: The id of this DeletePrivateZoneResponse.
|
157
157
|
:rtype: str
|
@@ -162,7 +162,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
162
162
|
def id(self, id):
|
163
163
|
r"""Sets the id of this DeletePrivateZoneResponse.
|
164
164
|
|
165
|
-
|
165
|
+
域名的ID,UUID形式的一个资源标识。
|
166
166
|
|
167
167
|
:param id: The id of this DeletePrivateZoneResponse.
|
168
168
|
:type id: str
|
@@ -173,7 +173,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
173
173
|
def name(self):
|
174
174
|
r"""Gets the name of this DeletePrivateZoneResponse.
|
175
175
|
|
176
|
-
|
176
|
+
域名。
|
177
177
|
|
178
178
|
:return: The name of this DeletePrivateZoneResponse.
|
179
179
|
:rtype: str
|
@@ -184,7 +184,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
184
184
|
def name(self, name):
|
185
185
|
r"""Sets the name of this DeletePrivateZoneResponse.
|
186
186
|
|
187
|
-
|
187
|
+
域名。
|
188
188
|
|
189
189
|
:param name: The name of this DeletePrivateZoneResponse.
|
190
190
|
:type name: str
|
@@ -195,7 +195,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
195
195
|
def description(self):
|
196
196
|
r"""Gets the description of this DeletePrivateZoneResponse.
|
197
197
|
|
198
|
-
|
198
|
+
对域名的描述信息。
|
199
199
|
|
200
200
|
:return: The description of this DeletePrivateZoneResponse.
|
201
201
|
:rtype: str
|
@@ -206,7 +206,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
206
206
|
def description(self, description):
|
207
207
|
r"""Sets the description of this DeletePrivateZoneResponse.
|
208
208
|
|
209
|
-
|
209
|
+
对域名的描述信息。
|
210
210
|
|
211
211
|
:param description: The description of this DeletePrivateZoneResponse.
|
212
212
|
:type description: str
|
@@ -217,7 +217,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
217
217
|
def email(self):
|
218
218
|
r"""Gets the email of this DeletePrivateZoneResponse.
|
219
219
|
|
220
|
-
|
220
|
+
管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
221
221
|
|
222
222
|
:return: The email of this DeletePrivateZoneResponse.
|
223
223
|
:rtype: str
|
@@ -228,7 +228,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
228
228
|
def email(self, email):
|
229
229
|
r"""Sets the email of this DeletePrivateZoneResponse.
|
230
230
|
|
231
|
-
|
231
|
+
管理该域名的管理员邮箱,用于生成该域名的SOA记录。
|
232
232
|
|
233
233
|
:param email: The email of this DeletePrivateZoneResponse.
|
234
234
|
:type email: str
|
@@ -239,7 +239,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
239
239
|
def zone_type(self):
|
240
240
|
r"""Gets the zone_type of this DeletePrivateZoneResponse.
|
241
241
|
|
242
|
-
|
242
|
+
域名类型,内网(private)。
|
243
243
|
|
244
244
|
:return: The zone_type of this DeletePrivateZoneResponse.
|
245
245
|
:rtype: str
|
@@ -250,7 +250,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
250
250
|
def zone_type(self, zone_type):
|
251
251
|
r"""Sets the zone_type of this DeletePrivateZoneResponse.
|
252
252
|
|
253
|
-
|
253
|
+
域名类型,内网(private)。
|
254
254
|
|
255
255
|
:param zone_type: The zone_type of this DeletePrivateZoneResponse.
|
256
256
|
:type zone_type: str
|
@@ -261,7 +261,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
261
261
|
def ttl(self):
|
262
262
|
r"""Gets the ttl of this DeletePrivateZoneResponse.
|
263
263
|
|
264
|
-
|
264
|
+
该域名下SOA记录中的ttl值。
|
265
265
|
|
266
266
|
:return: The ttl of this DeletePrivateZoneResponse.
|
267
267
|
:rtype: int
|
@@ -272,7 +272,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
272
272
|
def ttl(self, ttl):
|
273
273
|
r"""Sets the ttl of this DeletePrivateZoneResponse.
|
274
274
|
|
275
|
-
|
275
|
+
该域名下SOA记录中的ttl值。
|
276
276
|
|
277
277
|
:param ttl: The ttl of this DeletePrivateZoneResponse.
|
278
278
|
:type ttl: int
|
@@ -283,7 +283,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
283
283
|
def serial(self):
|
284
284
|
r"""Gets the serial of this DeletePrivateZoneResponse.
|
285
285
|
|
286
|
-
|
286
|
+
该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
|
287
287
|
|
288
288
|
:return: The serial of this DeletePrivateZoneResponse.
|
289
289
|
:rtype: int
|
@@ -294,7 +294,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
294
294
|
def serial(self, serial):
|
295
295
|
r"""Sets the serial of this DeletePrivateZoneResponse.
|
296
296
|
|
297
|
-
|
297
|
+
该域名下SOA记录中用于标识域名文件变更的序列值,用于主从节点同步。
|
298
298
|
|
299
299
|
:param serial: The serial of this DeletePrivateZoneResponse.
|
300
300
|
:type serial: int
|
@@ -305,7 +305,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
305
305
|
def status(self):
|
306
306
|
r"""Gets the status of this DeletePrivateZoneResponse.
|
307
307
|
|
308
|
-
|
308
|
+
资源状态。
|
309
309
|
|
310
310
|
:return: The status of this DeletePrivateZoneResponse.
|
311
311
|
:rtype: str
|
@@ -316,7 +316,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
316
316
|
def status(self, status):
|
317
317
|
r"""Sets the status of this DeletePrivateZoneResponse.
|
318
318
|
|
319
|
-
|
319
|
+
资源状态。
|
320
320
|
|
321
321
|
:param status: The status of this DeletePrivateZoneResponse.
|
322
322
|
:type status: str
|
@@ -327,7 +327,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
327
327
|
def record_num(self):
|
328
328
|
r"""Gets the record_num of this DeletePrivateZoneResponse.
|
329
329
|
|
330
|
-
|
330
|
+
该域名下的记录集个数。
|
331
331
|
|
332
332
|
:return: The record_num of this DeletePrivateZoneResponse.
|
333
333
|
:rtype: int
|
@@ -338,7 +338,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
338
338
|
def record_num(self, record_num):
|
339
339
|
r"""Sets the record_num of this DeletePrivateZoneResponse.
|
340
340
|
|
341
|
-
|
341
|
+
该域名下的记录集个数。
|
342
342
|
|
343
343
|
:param record_num: The record_num of this DeletePrivateZoneResponse.
|
344
344
|
:type record_num: int
|
@@ -349,7 +349,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
349
349
|
def pool_id(self):
|
350
350
|
r"""Gets the pool_id of this DeletePrivateZoneResponse.
|
351
351
|
|
352
|
-
|
352
|
+
托管该域名的pool,由系统分配。
|
353
353
|
|
354
354
|
:return: The pool_id of this DeletePrivateZoneResponse.
|
355
355
|
:rtype: str
|
@@ -360,7 +360,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
360
360
|
def pool_id(self, pool_id):
|
361
361
|
r"""Sets the pool_id of this DeletePrivateZoneResponse.
|
362
362
|
|
363
|
-
|
363
|
+
托管该域名的pool,由系统分配。
|
364
364
|
|
365
365
|
:param pool_id: The pool_id of this DeletePrivateZoneResponse.
|
366
366
|
:type pool_id: str
|
@@ -371,7 +371,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
371
371
|
def project_id(self):
|
372
372
|
r"""Gets the project_id of this DeletePrivateZoneResponse.
|
373
373
|
|
374
|
-
|
374
|
+
域名所属的项目ID。
|
375
375
|
|
376
376
|
:return: The project_id of this DeletePrivateZoneResponse.
|
377
377
|
:rtype: str
|
@@ -382,7 +382,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
382
382
|
def project_id(self, project_id):
|
383
383
|
r"""Sets the project_id of this DeletePrivateZoneResponse.
|
384
384
|
|
385
|
-
|
385
|
+
域名所属的项目ID。
|
386
386
|
|
387
387
|
:param project_id: The project_id of this DeletePrivateZoneResponse.
|
388
388
|
:type project_id: str
|
@@ -393,7 +393,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
393
393
|
def created_at(self):
|
394
394
|
r"""Gets the created_at of this DeletePrivateZoneResponse.
|
395
395
|
|
396
|
-
创建时间。
|
396
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
397
397
|
|
398
398
|
:return: The created_at of this DeletePrivateZoneResponse.
|
399
399
|
:rtype: str
|
@@ -404,7 +404,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
404
404
|
def created_at(self, created_at):
|
405
405
|
r"""Sets the created_at of this DeletePrivateZoneResponse.
|
406
406
|
|
407
|
-
创建时间。
|
407
|
+
创建时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
408
408
|
|
409
409
|
:param created_at: The created_at of this DeletePrivateZoneResponse.
|
410
410
|
:type created_at: str
|
@@ -415,7 +415,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
415
415
|
def updated_at(self):
|
416
416
|
r"""Gets the updated_at of this DeletePrivateZoneResponse.
|
417
417
|
|
418
|
-
更新时间。
|
418
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
419
419
|
|
420
420
|
:return: The updated_at of this DeletePrivateZoneResponse.
|
421
421
|
:rtype: str
|
@@ -426,7 +426,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
426
426
|
def updated_at(self, updated_at):
|
427
427
|
r"""Sets the updated_at of this DeletePrivateZoneResponse.
|
428
428
|
|
429
|
-
更新时间。
|
429
|
+
更新时间。 格式:yyyy-MM-dd'T'HH:mm:ss.SSS。
|
430
430
|
|
431
431
|
:param updated_at: The updated_at of this DeletePrivateZoneResponse.
|
432
432
|
:type updated_at: str
|
@@ -477,7 +477,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
477
477
|
def routers(self):
|
478
478
|
r"""Gets the routers of this DeletePrivateZoneResponse.
|
479
479
|
|
480
|
-
|
480
|
+
与该域名关联的Router(VPC)列表。
|
481
481
|
|
482
482
|
:return: The routers of this DeletePrivateZoneResponse.
|
483
483
|
:rtype: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
|
@@ -488,7 +488,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
488
488
|
def routers(self, routers):
|
489
489
|
r"""Sets the routers of this DeletePrivateZoneResponse.
|
490
490
|
|
491
|
-
|
491
|
+
与该域名关联的Router(VPC)列表。
|
492
492
|
|
493
493
|
:param routers: The routers of this DeletePrivateZoneResponse.
|
494
494
|
:type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
|
@@ -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 DeletePtrRequest:
|
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
|
+
'ptr_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'ptr_id': 'ptr_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, ptr_id=None):
|
28
|
+
r"""DeletePtrRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param ptr_id: 反向解析ID。
|
33
|
+
:type ptr_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._ptr_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.ptr_id = ptr_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def ptr_id(self):
|
45
|
+
r"""Gets the ptr_id of this DeletePtrRequest.
|
46
|
+
|
47
|
+
反向解析ID。
|
48
|
+
|
49
|
+
:return: The ptr_id of this DeletePtrRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._ptr_id
|
53
|
+
|
54
|
+
@ptr_id.setter
|
55
|
+
def ptr_id(self, ptr_id):
|
56
|
+
r"""Sets the ptr_id of this DeletePtrRequest.
|
57
|
+
|
58
|
+
反向解析ID。
|
59
|
+
|
60
|
+
:param ptr_id: The ptr_id of this DeletePtrRequest.
|
61
|
+
:type ptr_id: str
|
62
|
+
"""
|
63
|
+
self._ptr_id = ptr_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, DeletePtrRequest):
|
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,85 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class DeletePtrResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
}
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""DeletePtrResponse
|
28
|
+
|
29
|
+
The model defined in huaweicloud sdk
|
30
|
+
|
31
|
+
"""
|
32
|
+
|
33
|
+
super(DeletePtrResponse, self).__init__()
|
34
|
+
self.discriminator = None
|
35
|
+
|
36
|
+
def to_dict(self):
|
37
|
+
"""Returns the model properties as a dict"""
|
38
|
+
result = {}
|
39
|
+
|
40
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
41
|
+
value = getattr(self, attr)
|
42
|
+
if isinstance(value, list):
|
43
|
+
result[attr] = list(map(
|
44
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
45
|
+
value
|
46
|
+
))
|
47
|
+
elif hasattr(value, "to_dict"):
|
48
|
+
result[attr] = value.to_dict()
|
49
|
+
elif isinstance(value, dict):
|
50
|
+
result[attr] = dict(map(
|
51
|
+
lambda item: (item[0], item[1].to_dict())
|
52
|
+
if hasattr(item[1], "to_dict") else item,
|
53
|
+
value.items()
|
54
|
+
))
|
55
|
+
else:
|
56
|
+
if attr in self.sensitive_list:
|
57
|
+
result[attr] = "****"
|
58
|
+
else:
|
59
|
+
result[attr] = value
|
60
|
+
|
61
|
+
return result
|
62
|
+
|
63
|
+
def to_str(self):
|
64
|
+
"""Returns the string representation of the model"""
|
65
|
+
import simplejson as json
|
66
|
+
if six.PY2:
|
67
|
+
import sys
|
68
|
+
reload(sys)
|
69
|
+
sys.setdefaultencoding("utf-8")
|
70
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
"""For `print`"""
|
74
|
+
return self.to_str()
|
75
|
+
|
76
|
+
def __eq__(self, other):
|
77
|
+
"""Returns true if both objects are equal"""
|
78
|
+
if not isinstance(other, DeletePtrResponse):
|
79
|
+
return False
|
80
|
+
|
81
|
+
return self.__dict__ == other.__dict__
|
82
|
+
|
83
|
+
def __ne__(self, other):
|
84
|
+
"""Returns true if both objects are not equal"""
|
85
|
+
return not self == other
|
@@ -29,7 +29,7 @@ class DeletePublicZoneRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param zone_id:
|
32
|
+
:param zone_id: 域名ID。
|
33
33
|
:type zone_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class DeletePublicZoneRequest:
|
|
44
44
|
def zone_id(self):
|
45
45
|
r"""Gets the zone_id of this DeletePublicZoneRequest.
|
46
46
|
|
47
|
-
|
47
|
+
域名ID。
|
48
48
|
|
49
49
|
:return: The zone_id of this DeletePublicZoneRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class DeletePublicZoneRequest:
|
|
55
55
|
def zone_id(self, zone_id):
|
56
56
|
r"""Sets the zone_id of this DeletePublicZoneRequest.
|
57
57
|
|
58
|
-
|
58
|
+
域名ID。
|
59
59
|
|
60
60
|
:param zone_id: The zone_id of this DeletePublicZoneRequest.
|
61
61
|
:type zone_id: str
|