huaweicloudsdkdns 3.1.86__py2.py3-none-any.whl → 3.1.132__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 +20 -5
- huaweicloudsdkdns/v2/dns_async_client.py +299 -11
- huaweicloudsdkdns/v2/dns_client.py +299 -11
- huaweicloudsdkdns/v2/model/__init__.py +20 -5
- huaweicloudsdkdns/v2/model/associate_router_response.py +6 -6
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
- huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
- huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +4 -4
- huaweicloudsdkdns/v2/model/{batch_update_record_set_with_line_req.py → batch_update_record_set_with_line_request_body.py} +7 -7
- huaweicloudsdkdns/v2/model/create_custom_line_request.py +4 -4
- huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +15 -15
- huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +9 -9
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +3 -3
- huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/delete_private_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/disassociate_router_response.py +6 -6
- huaweicloudsdkdns/v2/model/link.py +115 -0
- huaweicloudsdkdns/v2/model/list_custom_line_request.py +64 -6
- huaweicloudsdkdns/v2/model/list_line_groups_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_private_zones_request.py +125 -9
- huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
- huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
- huaweicloudsdkdns/v2/model/list_public_zones_request.py +100 -13
- huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +6 -6
- huaweicloudsdkdns/v2/model/list_record_sets_request.py +6 -6
- huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +36 -7
- huaweicloudsdkdns/v2/model/private_zone_resp.py +9 -9
- huaweicloudsdkdns/v2/model/public_zone_resp.py +6 -6
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +3 -3
- huaweicloudsdkdns/v2/model/router.py +6 -6
- huaweicloudsdkdns/v2/model/router_with_status.py +6 -6
- huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +4 -4
- huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +7 -7
- huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_private_zone_response.py +9 -9
- huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +3 -3
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +6 -6
- huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +35 -35
- huaweicloudsdkdns/v2/model/show_resource_tag_response.py +3 -32
- huaweicloudsdkdns/v2/model/tag_values.py +6 -6
- huaweicloudsdkdns/v2/model/update_custom_line_request.py +7 -7
- huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +15 -15
- huaweicloudsdkdns/v2/model/update_line_groups_request.py +7 -7
- huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py} +15 -15
- huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
- huaweicloudsdkdns/v2/model/update_private_zone_response.py +9 -9
- huaweicloudsdkdns/v2/model/update_ptr_record_request.py +3 -3
- huaweicloudsdkdns/v2/model/update_ptr_record_response.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +6 -6
- huaweicloudsdkdns/v2/model/update_record_set_req.py +4 -2
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- huaweicloudsdkdns/v2/region/dns_region.py +21 -0
- {huaweicloudsdkdns-3.1.86.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkdns-3.1.86.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/RECORD +81 -66
- {huaweicloudsdkdns-3.1.86.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkdns-3.1.86.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.86.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,7 @@ class ListRecordSetsWithLineRequest:
|
|
21
21
|
'marker': 'str',
|
22
22
|
'limit': 'int',
|
23
23
|
'offset': 'int',
|
24
|
+
'zone_id': 'str',
|
24
25
|
'line_id': 'str',
|
25
26
|
'tags': 'str',
|
26
27
|
'status': 'str',
|
@@ -39,6 +40,7 @@ class ListRecordSetsWithLineRequest:
|
|
39
40
|
'marker': 'marker',
|
40
41
|
'limit': 'limit',
|
41
42
|
'offset': 'offset',
|
43
|
+
'zone_id': 'zone_id',
|
42
44
|
'line_id': 'line_id',
|
43
45
|
'tags': 'tags',
|
44
46
|
'status': 'status',
|
@@ -52,7 +54,7 @@ class ListRecordSetsWithLineRequest:
|
|
52
54
|
'search_mode': 'search_mode'
|
53
55
|
}
|
54
56
|
|
55
|
-
def __init__(self, zone_type=None, marker=None, limit=None, offset=None, line_id=None, tags=None, status=None, type=None, name=None, id=None, records=None, sort_key=None, sort_dir=None, health_check_id=None, search_mode=None):
|
57
|
+
def __init__(self, zone_type=None, marker=None, limit=None, offset=None, zone_id=None, line_id=None, tags=None, status=None, type=None, name=None, id=None, records=None, sort_key=None, sort_dir=None, health_check_id=None, search_mode=None):
|
56
58
|
"""ListRecordSetsWithLineRequest
|
57
59
|
|
58
60
|
The model defined in huaweicloud sdk
|
@@ -65,6 +67,8 @@ class ListRecordSetsWithLineRequest:
|
|
65
67
|
:type limit: int
|
66
68
|
:param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
|
67
69
|
:type offset: int
|
70
|
+
:param zone_id: zone的ID。
|
71
|
+
:type zone_id: str
|
68
72
|
:param line_id: 解析线路ID。
|
69
73
|
:type line_id: str
|
70
74
|
:param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。
|
@@ -75,11 +79,11 @@ class ListRecordSetsWithLineRequest:
|
|
75
79
|
:type type: str
|
76
80
|
:param name: 待查询的Record Set的域名中包含此name。 搜索模式默认为模糊搜索。 默认值为空。
|
77
81
|
:type name: str
|
78
|
-
:param id: 待查询的Record Set的id包含此id。
|
82
|
+
:param id: 待查询的Record Set的id包含此id。
|
79
83
|
:type id: str
|
80
84
|
:param records: 待查询的Record Set的值中包含此records。 搜索模式默认为模糊搜索。 默认值为空。
|
81
85
|
:type records: str
|
82
|
-
:param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name
|
86
|
+
:param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
|
83
87
|
:type sort_key: str
|
84
88
|
:param sort_dir: 查询结果中Record Set列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
|
85
89
|
:type sort_dir: str
|
@@ -95,6 +99,7 @@ class ListRecordSetsWithLineRequest:
|
|
95
99
|
self._marker = None
|
96
100
|
self._limit = None
|
97
101
|
self._offset = None
|
102
|
+
self._zone_id = None
|
98
103
|
self._line_id = None
|
99
104
|
self._tags = None
|
100
105
|
self._status = None
|
@@ -116,6 +121,8 @@ class ListRecordSetsWithLineRequest:
|
|
116
121
|
self.limit = limit
|
117
122
|
if offset is not None:
|
118
123
|
self.offset = offset
|
124
|
+
if zone_id is not None:
|
125
|
+
self.zone_id = zone_id
|
119
126
|
if line_id is not None:
|
120
127
|
self.line_id = line_id
|
121
128
|
if tags is not None:
|
@@ -227,6 +234,28 @@ class ListRecordSetsWithLineRequest:
|
|
227
234
|
"""
|
228
235
|
self._offset = offset
|
229
236
|
|
237
|
+
@property
|
238
|
+
def zone_id(self):
|
239
|
+
"""Gets the zone_id of this ListRecordSetsWithLineRequest.
|
240
|
+
|
241
|
+
zone的ID。
|
242
|
+
|
243
|
+
:return: The zone_id of this ListRecordSetsWithLineRequest.
|
244
|
+
:rtype: str
|
245
|
+
"""
|
246
|
+
return self._zone_id
|
247
|
+
|
248
|
+
@zone_id.setter
|
249
|
+
def zone_id(self, zone_id):
|
250
|
+
"""Sets the zone_id of this ListRecordSetsWithLineRequest.
|
251
|
+
|
252
|
+
zone的ID。
|
253
|
+
|
254
|
+
:param zone_id: The zone_id of this ListRecordSetsWithLineRequest.
|
255
|
+
:type zone_id: str
|
256
|
+
"""
|
257
|
+
self._zone_id = zone_id
|
258
|
+
|
230
259
|
@property
|
231
260
|
def line_id(self):
|
232
261
|
"""Gets the line_id of this ListRecordSetsWithLineRequest.
|
@@ -341,7 +370,7 @@ class ListRecordSetsWithLineRequest:
|
|
341
370
|
def id(self):
|
342
371
|
"""Gets the id of this ListRecordSetsWithLineRequest.
|
343
372
|
|
344
|
-
待查询的Record Set的id包含此id。
|
373
|
+
待查询的Record Set的id包含此id。
|
345
374
|
|
346
375
|
:return: The id of this ListRecordSetsWithLineRequest.
|
347
376
|
:rtype: str
|
@@ -352,7 +381,7 @@ class ListRecordSetsWithLineRequest:
|
|
352
381
|
def id(self, id):
|
353
382
|
"""Sets the id of this ListRecordSetsWithLineRequest.
|
354
383
|
|
355
|
-
待查询的Record Set的id包含此id。
|
384
|
+
待查询的Record Set的id包含此id。
|
356
385
|
|
357
386
|
:param id: The id of this ListRecordSetsWithLineRequest.
|
358
387
|
:type id: str
|
@@ -385,7 +414,7 @@ class ListRecordSetsWithLineRequest:
|
|
385
414
|
def sort_key(self):
|
386
415
|
"""Gets the sort_key of this ListRecordSetsWithLineRequest.
|
387
416
|
|
388
|
-
查询结果中Record Set列表的排序字段。 取值范围: name
|
417
|
+
查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
|
389
418
|
|
390
419
|
:return: The sort_key of this ListRecordSetsWithLineRequest.
|
391
420
|
:rtype: str
|
@@ -396,7 +425,7 @@ class ListRecordSetsWithLineRequest:
|
|
396
425
|
def sort_key(self, sort_key):
|
397
426
|
"""Sets the sort_key of this ListRecordSetsWithLineRequest.
|
398
427
|
|
399
|
-
查询结果中Record Set列表的排序字段。 取值范围: name
|
428
|
+
查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
|
400
429
|
|
401
430
|
:param sort_key: The sort_key of this ListRecordSetsWithLineRequest.
|
402
431
|
:type sort_key: str
|
@@ -71,7 +71,7 @@ class PrivateZoneResp:
|
|
71
71
|
:type name: str
|
72
72
|
:param description: 对zone的描述信息。
|
73
73
|
:type description: str
|
74
|
-
:param email: 管理该zone
|
74
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
75
75
|
:type email: str
|
76
76
|
:param zone_type: zone类型,内网(private)。
|
77
77
|
:type zone_type: str
|
@@ -83,7 +83,7 @@ class PrivateZoneResp:
|
|
83
83
|
:type status: str
|
84
84
|
:param record_num: 该zone下的recordset个数。
|
85
85
|
:type record_num: int
|
86
|
-
:param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
86
|
+
:param proxy_pattern: 内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
87
87
|
:type proxy_pattern: str
|
88
88
|
:param pool_id: 托管该zone的pool,由系统分配。
|
89
89
|
:type pool_id: str
|
@@ -97,7 +97,7 @@ class PrivateZoneResp:
|
|
97
97
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
98
98
|
:param tags: 资源标签。
|
99
99
|
:type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
|
100
|
-
:param masters: 主从模式中,从DNS
|
100
|
+
:param masters: 主从模式中,从DNS服务器获取DNS信息。
|
101
101
|
:type masters: list[str]
|
102
102
|
:param routers: 与该zone关联的Router(VPC)列表。
|
103
103
|
:type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
|
@@ -237,7 +237,7 @@ class PrivateZoneResp:
|
|
237
237
|
def email(self):
|
238
238
|
"""Gets the email of this PrivateZoneResp.
|
239
239
|
|
240
|
-
管理该zone
|
240
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
241
241
|
|
242
242
|
:return: The email of this PrivateZoneResp.
|
243
243
|
:rtype: str
|
@@ -248,7 +248,7 @@ class PrivateZoneResp:
|
|
248
248
|
def email(self, email):
|
249
249
|
"""Sets the email of this PrivateZoneResp.
|
250
250
|
|
251
|
-
管理该zone
|
251
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
252
252
|
|
253
253
|
:param email: The email of this PrivateZoneResp.
|
254
254
|
:type email: str
|
@@ -369,7 +369,7 @@ class PrivateZoneResp:
|
|
369
369
|
def proxy_pattern(self):
|
370
370
|
"""Gets the proxy_pattern of this PrivateZoneResp.
|
371
371
|
|
372
|
-
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
372
|
+
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
373
373
|
|
374
374
|
:return: The proxy_pattern of this PrivateZoneResp.
|
375
375
|
:rtype: str
|
@@ -380,7 +380,7 @@ class PrivateZoneResp:
|
|
380
380
|
def proxy_pattern(self, proxy_pattern):
|
381
381
|
"""Sets the proxy_pattern of this PrivateZoneResp.
|
382
382
|
|
383
|
-
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone
|
383
|
+
内网Zone的子域名递归解析代理模式。 取值范围: AUTHORITY:当前Zone未开启递归解析代理 RECURSIVE:当前Zone已开启递归解析代理
|
384
384
|
|
385
385
|
:param proxy_pattern: The proxy_pattern of this PrivateZoneResp.
|
386
386
|
:type proxy_pattern: str
|
@@ -519,7 +519,7 @@ class PrivateZoneResp:
|
|
519
519
|
def masters(self):
|
520
520
|
"""Gets the masters of this PrivateZoneResp.
|
521
521
|
|
522
|
-
主从模式中,从DNS
|
522
|
+
主从模式中,从DNS服务器获取DNS信息。
|
523
523
|
|
524
524
|
:return: The masters of this PrivateZoneResp.
|
525
525
|
:rtype: list[str]
|
@@ -530,7 +530,7 @@ class PrivateZoneResp:
|
|
530
530
|
def masters(self, masters):
|
531
531
|
"""Sets the masters of this PrivateZoneResp.
|
532
532
|
|
533
|
-
主从模式中,从DNS
|
533
|
+
主从模式中,从DNS服务器获取DNS信息。
|
534
534
|
|
535
535
|
:param masters: The masters of this PrivateZoneResp.
|
536
536
|
:type masters: list[str]
|
@@ -67,7 +67,7 @@ class PublicZoneResp:
|
|
67
67
|
:type name: str
|
68
68
|
:param description: 对zone的描述信息。
|
69
69
|
:type description: str
|
70
|
-
:param email: 管理该zone
|
70
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
71
71
|
:type email: str
|
72
72
|
:param zone_type: zone类型,公网(public)。
|
73
73
|
:type zone_type: str
|
@@ -91,7 +91,7 @@ class PublicZoneResp:
|
|
91
91
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
92
92
|
:param tags: 资源标签。
|
93
93
|
:type tags: list[:class:`huaweicloudsdkdns.v2.Tag`]
|
94
|
-
:param masters: 主从模式中,从DNS
|
94
|
+
:param masters: 主从模式中,从DNS服务器获取DNS信息。
|
95
95
|
:type masters: list[str]
|
96
96
|
:param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
|
97
97
|
:type enterprise_project_id: str
|
@@ -223,7 +223,7 @@ class PublicZoneResp:
|
|
223
223
|
def email(self):
|
224
224
|
"""Gets the email of this PublicZoneResp.
|
225
225
|
|
226
|
-
管理该zone
|
226
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
227
227
|
|
228
228
|
:return: The email of this PublicZoneResp.
|
229
229
|
:rtype: str
|
@@ -234,7 +234,7 @@ class PublicZoneResp:
|
|
234
234
|
def email(self, email):
|
235
235
|
"""Sets the email of this PublicZoneResp.
|
236
236
|
|
237
|
-
管理该zone
|
237
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
238
238
|
|
239
239
|
:param email: The email of this PublicZoneResp.
|
240
240
|
:type email: str
|
@@ -483,7 +483,7 @@ class PublicZoneResp:
|
|
483
483
|
def masters(self):
|
484
484
|
"""Gets the masters of this PublicZoneResp.
|
485
485
|
|
486
|
-
主从模式中,从DNS
|
486
|
+
主从模式中,从DNS服务器获取DNS信息。
|
487
487
|
|
488
488
|
:return: The masters of this PublicZoneResp.
|
489
489
|
:rtype: list[str]
|
@@ -494,7 +494,7 @@ class PublicZoneResp:
|
|
494
494
|
def masters(self, masters):
|
495
495
|
"""Sets the masters of this PublicZoneResp.
|
496
496
|
|
497
|
-
主从模式中,从DNS
|
497
|
+
主从模式中,从DNS服务器获取DNS信息。
|
498
498
|
|
499
499
|
:param masters: The masters of this PublicZoneResp.
|
500
500
|
:type masters: list[str]
|