huaweicloudsdkdns 3.1.85__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.
Files changed (81) hide show
  1. huaweicloudsdkdns/v2/__init__.py +20 -5
  2. huaweicloudsdkdns/v2/dns_async_client.py +299 -11
  3. huaweicloudsdkdns/v2/dns_client.py +299 -11
  4. huaweicloudsdkdns/v2/model/__init__.py +20 -5
  5. huaweicloudsdkdns/v2/model/associate_router_response.py +6 -6
  6. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  7. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  8. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  9. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  10. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  11. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  12. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  13. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  14. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  15. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  16. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  17. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  18. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +4 -4
  19. huaweicloudsdkdns/v2/model/{batch_update_record_set_with_line_req.py → batch_update_record_set_with_line_request_body.py} +7 -7
  20. huaweicloudsdkdns/v2/model/create_custom_line_request.py +4 -4
  21. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +15 -15
  22. huaweicloudsdkdns/v2/model/create_eip_record_set_request.py +3 -3
  23. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +3 -3
  24. huaweicloudsdkdns/v2/model/create_private_zone_req.py +6 -6
  25. huaweicloudsdkdns/v2/model/create_private_zone_response.py +9 -9
  26. huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
  27. huaweicloudsdkdns/v2/model/create_public_zone_response.py +6 -6
  28. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
  29. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +3 -3
  30. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
  31. huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
  32. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +6 -6
  33. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +6 -6
  34. huaweicloudsdkdns/v2/model/disassociate_router_response.py +6 -6
  35. huaweicloudsdkdns/v2/model/link.py +115 -0
  36. huaweicloudsdkdns/v2/model/list_custom_line_request.py +64 -6
  37. huaweicloudsdkdns/v2/model/list_line_groups_request.py +3 -3
  38. huaweicloudsdkdns/v2/model/list_private_zones_request.py +125 -9
  39. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +3 -3
  40. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
  41. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
  42. huaweicloudsdkdns/v2/model/list_public_zones_request.py +100 -13
  43. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +6 -6
  44. huaweicloudsdkdns/v2/model/list_record_sets_request.py +6 -6
  45. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +36 -7
  46. huaweicloudsdkdns/v2/model/private_zone_resp.py +9 -9
  47. huaweicloudsdkdns/v2/model/public_zone_resp.py +6 -6
  48. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  49. huaweicloudsdkdns/v2/model/restore_ptr_record_request.py +3 -3
  50. huaweicloudsdkdns/v2/model/router.py +6 -6
  51. huaweicloudsdkdns/v2/model/router_with_status.py +6 -6
  52. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +4 -4
  53. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +7 -7
  54. huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
  55. huaweicloudsdkdns/v2/model/show_private_zone_response.py +9 -9
  56. huaweicloudsdkdns/v2/model/show_ptr_record_set_request.py +3 -3
  57. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
  58. huaweicloudsdkdns/v2/model/show_public_zone_response.py +6 -6
  59. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +6 -6
  60. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +35 -35
  61. huaweicloudsdkdns/v2/model/show_resource_tag_response.py +3 -32
  62. huaweicloudsdkdns/v2/model/tag_values.py +6 -6
  63. huaweicloudsdkdns/v2/model/update_custom_line_request.py +7 -7
  64. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +15 -15
  65. huaweicloudsdkdns/v2/model/update_line_groups_request.py +7 -7
  66. huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py} +15 -15
  67. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
  68. huaweicloudsdkdns/v2/model/update_private_zone_response.py +9 -9
  69. huaweicloudsdkdns/v2/model/update_ptr_record_request.py +3 -3
  70. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +3 -3
  71. huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
  72. huaweicloudsdkdns/v2/model/update_public_zone_response.py +6 -6
  73. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +6 -6
  74. huaweicloudsdkdns/v2/model/update_record_set_req.py +4 -2
  75. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  76. huaweicloudsdkdns/v2/region/dns_region.py +21 -0
  77. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/METADATA +2 -2
  78. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/RECORD +81 -66
  79. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/WHEEL +1 -1
  80. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/LICENSE +0 -0
  81. {huaweicloudsdkdns-3.1.85.dist-info → huaweicloudsdkdns-3.1.132.dist-info}/top_level.txt +0 -0
@@ -23,9 +23,13 @@ class ListPrivateZonesRequest:
23
23
  'offset': 'int',
24
24
  'tags': 'str',
25
25
  'name': 'str',
26
+ 'id': 'str',
26
27
  'status': 'str',
27
28
  'search_mode': 'str',
28
- 'enterprise_project_id': 'str'
29
+ 'sort_key': 'str',
30
+ 'sort_dir': 'str',
31
+ 'enterprise_project_id': 'str',
32
+ 'router_id': 'str'
29
33
  }
30
34
 
31
35
  attribute_map = {
@@ -35,12 +39,16 @@ class ListPrivateZonesRequest:
35
39
  'offset': 'offset',
36
40
  'tags': 'tags',
37
41
  'name': 'name',
42
+ 'id': 'id',
38
43
  'status': 'status',
39
44
  'search_mode': 'search_mode',
40
- 'enterprise_project_id': 'enterprise_project_id'
45
+ 'sort_key': 'sort_key',
46
+ 'sort_dir': 'sort_dir',
47
+ 'enterprise_project_id': 'enterprise_project_id',
48
+ 'router_id': 'router_id'
41
49
  }
42
50
 
43
- def __init__(self, type=None, limit=None, marker=None, offset=None, tags=None, name=None, status=None, search_mode=None, enterprise_project_id=None):
51
+ def __init__(self, type=None, limit=None, marker=None, offset=None, tags=None, name=None, id=None, status=None, search_mode=None, sort_key=None, sort_dir=None, enterprise_project_id=None, router_id=None):
44
52
  """ListPrivateZonesRequest
45
53
 
46
54
  The model defined in huaweicloud sdk
@@ -55,14 +63,22 @@ class ListPrivateZonesRequest:
55
63
  :type offset: int
56
64
  :param tags: 资源标签。
57
65
  :type tags: str
58
- :param name: zone名称。
66
+ :param name: Zone名称。 搜索模式默认为模糊搜索。
59
67
  :type name: str
68
+ :param id: Zone ID。
69
+ :type id: str
60
70
  :param status: 资源状态。
61
71
  :type status: str
62
72
  :param search_mode: 查询条件搜索模式。 取值范围: like:模糊搜索 equal:精确搜索
63
73
  :type search_mode: str
64
- :param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。 默认值为0。
74
+ :param sort_key: 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
75
+ :type sort_key: str
76
+ :param sort_dir: 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
77
+ :type sort_dir: str
78
+ :param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
65
79
  :type enterprise_project_id: str
80
+ :param router_id: 关联VPC的ID。
81
+ :type router_id: str
66
82
  """
67
83
 
68
84
 
@@ -73,9 +89,13 @@ class ListPrivateZonesRequest:
73
89
  self._offset = None
74
90
  self._tags = None
75
91
  self._name = None
92
+ self._id = None
76
93
  self._status = None
77
94
  self._search_mode = None
95
+ self._sort_key = None
96
+ self._sort_dir = None
78
97
  self._enterprise_project_id = None
98
+ self._router_id = None
79
99
  self.discriminator = None
80
100
 
81
101
  self.type = type
@@ -89,12 +109,20 @@ class ListPrivateZonesRequest:
89
109
  self.tags = tags
90
110
  if name is not None:
91
111
  self.name = name
112
+ if id is not None:
113
+ self.id = id
92
114
  if status is not None:
93
115
  self.status = status
94
116
  if search_mode is not None:
95
117
  self.search_mode = search_mode
118
+ if sort_key is not None:
119
+ self.sort_key = sort_key
120
+ if sort_dir is not None:
121
+ self.sort_dir = sort_dir
96
122
  if enterprise_project_id is not None:
97
123
  self.enterprise_project_id = enterprise_project_id
124
+ if router_id is not None:
125
+ self.router_id = router_id
98
126
 
99
127
  @property
100
128
  def type(self):
@@ -210,7 +238,7 @@ class ListPrivateZonesRequest:
210
238
  def name(self):
211
239
  """Gets the name of this ListPrivateZonesRequest.
212
240
 
213
- zone名称。
241
+ Zone名称。 搜索模式默认为模糊搜索。
214
242
 
215
243
  :return: The name of this ListPrivateZonesRequest.
216
244
  :rtype: str
@@ -221,13 +249,35 @@ class ListPrivateZonesRequest:
221
249
  def name(self, name):
222
250
  """Sets the name of this ListPrivateZonesRequest.
223
251
 
224
- zone名称。
252
+ Zone名称。 搜索模式默认为模糊搜索。
225
253
 
226
254
  :param name: The name of this ListPrivateZonesRequest.
227
255
  :type name: str
228
256
  """
229
257
  self._name = name
230
258
 
259
+ @property
260
+ def id(self):
261
+ """Gets the id of this ListPrivateZonesRequest.
262
+
263
+ Zone ID。
264
+
265
+ :return: The id of this ListPrivateZonesRequest.
266
+ :rtype: str
267
+ """
268
+ return self._id
269
+
270
+ @id.setter
271
+ def id(self, id):
272
+ """Sets the id of this ListPrivateZonesRequest.
273
+
274
+ Zone ID。
275
+
276
+ :param id: The id of this ListPrivateZonesRequest.
277
+ :type id: str
278
+ """
279
+ self._id = id
280
+
231
281
  @property
232
282
  def status(self):
233
283
  """Gets the status of this ListPrivateZonesRequest.
@@ -272,11 +322,55 @@ class ListPrivateZonesRequest:
272
322
  """
273
323
  self._search_mode = search_mode
274
324
 
325
+ @property
326
+ def sort_key(self):
327
+ """Gets the sort_key of this ListPrivateZonesRequest.
328
+
329
+ 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
330
+
331
+ :return: The sort_key of this ListPrivateZonesRequest.
332
+ :rtype: str
333
+ """
334
+ return self._sort_key
335
+
336
+ @sort_key.setter
337
+ def sort_key(self, sort_key):
338
+ """Sets the sort_key of this ListPrivateZonesRequest.
339
+
340
+ 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
341
+
342
+ :param sort_key: The sort_key of this ListPrivateZonesRequest.
343
+ :type sort_key: str
344
+ """
345
+ self._sort_key = sort_key
346
+
347
+ @property
348
+ def sort_dir(self):
349
+ """Gets the sort_dir of this ListPrivateZonesRequest.
350
+
351
+ 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
352
+
353
+ :return: The sort_dir of this ListPrivateZonesRequest.
354
+ :rtype: str
355
+ """
356
+ return self._sort_dir
357
+
358
+ @sort_dir.setter
359
+ def sort_dir(self, sort_dir):
360
+ """Sets the sort_dir of this ListPrivateZonesRequest.
361
+
362
+ 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
363
+
364
+ :param sort_dir: The sort_dir of this ListPrivateZonesRequest.
365
+ :type sort_dir: str
366
+ """
367
+ self._sort_dir = sort_dir
368
+
275
369
  @property
276
370
  def enterprise_project_id(self):
277
371
  """Gets the enterprise_project_id of this ListPrivateZonesRequest.
278
372
 
279
- 域名关联的企业项目ID,长度不超过36个字符。 默认值为0。
373
+ 域名关联的企业项目ID,长度不超过36个字符。
280
374
 
281
375
  :return: The enterprise_project_id of this ListPrivateZonesRequest.
282
376
  :rtype: str
@@ -287,13 +381,35 @@ class ListPrivateZonesRequest:
287
381
  def enterprise_project_id(self, enterprise_project_id):
288
382
  """Sets the enterprise_project_id of this ListPrivateZonesRequest.
289
383
 
290
- 域名关联的企业项目ID,长度不超过36个字符。 默认值为0。
384
+ 域名关联的企业项目ID,长度不超过36个字符。
291
385
 
292
386
  :param enterprise_project_id: The enterprise_project_id of this ListPrivateZonesRequest.
293
387
  :type enterprise_project_id: str
294
388
  """
295
389
  self._enterprise_project_id = enterprise_project_id
296
390
 
391
+ @property
392
+ def router_id(self):
393
+ """Gets the router_id of this ListPrivateZonesRequest.
394
+
395
+ 关联VPC的ID。
396
+
397
+ :return: The router_id of this ListPrivateZonesRequest.
398
+ :rtype: str
399
+ """
400
+ return self._router_id
401
+
402
+ @router_id.setter
403
+ def router_id(self, router_id):
404
+ """Sets the router_id of this ListPrivateZonesRequest.
405
+
406
+ 关联VPC的ID。
407
+
408
+ :param router_id: The router_id of this ListPrivateZonesRequest.
409
+ :type router_id: str
410
+ """
411
+ self._router_id = router_id
412
+
297
413
  def to_dict(self):
298
414
  """Returns the model properties as a dict"""
299
415
  result = {}
@@ -55,7 +55,7 @@ class ListPtrRecordsFloatingResp:
55
55
  :type description: str
56
56
  :param ttl: PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
57
57
  :type ttl: int
58
- :param address: 弹性IP的IP地址。
58
+ :param address: 弹性公网IP的IP地址。
59
59
  :type address: str
60
60
  :param status: 资源状态。
61
61
  :type status: str
@@ -196,7 +196,7 @@ class ListPtrRecordsFloatingResp:
196
196
  def address(self):
197
197
  """Gets the address of this ListPtrRecordsFloatingResp.
198
198
 
199
- 弹性IP的IP地址。
199
+ 弹性公网IP的IP地址。
200
200
 
201
201
  :return: The address of this ListPtrRecordsFloatingResp.
202
202
  :rtype: str
@@ -207,7 +207,7 @@ class ListPtrRecordsFloatingResp:
207
207
  def address(self, address):
208
208
  """Sets the address of this ListPtrRecordsFloatingResp.
209
209
 
210
- 弹性IP的IP地址。
210
+ 弹性公网IP的IP地址。
211
211
 
212
212
  :param address: The address of this ListPtrRecordsFloatingResp.
213
213
  :type address: str
@@ -45,7 +45,7 @@ class ListPtrRecordsRequest:
45
45
  :type limit: int
46
46
  :param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
47
47
  :type offset: int
48
- :param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36个字符。 默认值为0。
48
+ :param enterprise_project_id: 反向解析关联的企业项目ID,长度不超过36个字符。
49
49
  :type enterprise_project_id: str
50
50
  :param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。
51
51
  :type tags: str
@@ -146,7 +146,7 @@ class ListPtrRecordsRequest:
146
146
  def enterprise_project_id(self):
147
147
  """Gets the enterprise_project_id of this ListPtrRecordsRequest.
148
148
 
149
- 反向解析关联的企业项目ID,长度不超过36个字符。 默认值为0。
149
+ 反向解析关联的企业项目ID,长度不超过36个字符。
150
150
 
151
151
  :return: The enterprise_project_id of this ListPtrRecordsRequest.
152
152
  :rtype: str
@@ -157,7 +157,7 @@ class ListPtrRecordsRequest:
157
157
  def enterprise_project_id(self, enterprise_project_id):
158
158
  """Sets the enterprise_project_id of this ListPtrRecordsRequest.
159
159
 
160
- 反向解析关联的企业项目ID,长度不超过36个字符。 默认值为0。
160
+ 反向解析关联的企业项目ID,长度不超过36个字符。
161
161
 
162
162
  :param enterprise_project_id: The enterprise_project_id of this ListPtrRecordsRequest.
163
163
  :type enterprise_project_id: str
@@ -38,7 +38,7 @@ class ListPtrRecordsResponse(SdkResponse):
38
38
  :type links: :class:`huaweicloudsdkdns.v2.PageLink`
39
39
  :param metadata:
40
40
  :type metadata: :class:`huaweicloudsdkdns.v2.Metadata`
41
- :param floatingips: 弹性IP的PTR记录ID列表信息。
41
+ :param floatingips: 弹性公网IP的PTR记录ID列表信息。
42
42
  :type floatingips: list[:class:`huaweicloudsdkdns.v2.ListPtrRecordsFloatingResp`]
43
43
  """
44
44
 
@@ -96,7 +96,7 @@ class ListPtrRecordsResponse(SdkResponse):
96
96
  def floatingips(self):
97
97
  """Gets the floatingips of this ListPtrRecordsResponse.
98
98
 
99
- 弹性IP的PTR记录ID列表信息。
99
+ 弹性公网IP的PTR记录ID列表信息。
100
100
 
101
101
  :return: The floatingips of this ListPtrRecordsResponse.
102
102
  :rtype: list[:class:`huaweicloudsdkdns.v2.ListPtrRecordsFloatingResp`]
@@ -107,7 +107,7 @@ class ListPtrRecordsResponse(SdkResponse):
107
107
  def floatingips(self, floatingips):
108
108
  """Sets the floatingips of this ListPtrRecordsResponse.
109
109
 
110
- 弹性IP的PTR记录ID列表信息。
110
+ 弹性公网IP的PTR记录ID列表信息。
111
111
 
112
112
  :param floatingips: The floatingips of this ListPtrRecordsResponse.
113
113
  :type floatingips: list[:class:`huaweicloudsdkdns.v2.ListPtrRecordsFloatingResp`]
@@ -23,8 +23,11 @@ class ListPublicZonesRequest:
23
23
  'offset': 'int',
24
24
  'tags': 'str',
25
25
  'name': 'str',
26
+ 'id': 'str',
26
27
  'status': 'str',
27
28
  'search_mode': 'str',
29
+ 'sort_key': 'str',
30
+ 'sort_dir': 'str',
28
31
  'enterprise_project_id': 'str'
29
32
  }
30
33
 
@@ -35,17 +38,20 @@ class ListPublicZonesRequest:
35
38
  'offset': 'offset',
36
39
  'tags': 'tags',
37
40
  'name': 'name',
41
+ 'id': 'id',
38
42
  'status': 'status',
39
43
  'search_mode': 'search_mode',
44
+ 'sort_key': 'sort_key',
45
+ 'sort_dir': 'sort_dir',
40
46
  'enterprise_project_id': 'enterprise_project_id'
41
47
  }
42
48
 
43
- def __init__(self, type=None, limit=None, marker=None, offset=None, tags=None, name=None, status=None, search_mode=None, enterprise_project_id=None):
49
+ def __init__(self, type=None, limit=None, marker=None, offset=None, tags=None, name=None, id=None, status=None, search_mode=None, sort_key=None, sort_dir=None, enterprise_project_id=None):
44
50
  """ListPublicZonesRequest
45
51
 
46
52
  The model defined in huaweicloud sdk
47
53
 
48
- :param type: 待查询的zone的类型。 取值范围:public 搜索模式默认为模糊搜索。 默认值为空。
54
+ :param type: 待查询的zone的类型。 取值范围:public 默认值为空。
49
55
  :type type: str
50
56
  :param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
51
57
  :type limit: int
@@ -53,15 +59,21 @@ class ListPublicZonesRequest:
53
59
  :type marker: str
54
60
  :param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
55
61
  :type offset: int
56
- :param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
62
+ :param tags: 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
57
63
  :type tags: str
58
- :param name: zone名称。 搜索模式默认为模糊搜索。
64
+ :param name: Zone名称。 搜索模式默认为模糊搜索。
59
65
  :type name: str
66
+ :param id: Zone ID。
67
+ :type id: str
60
68
  :param status: 资源状态。
61
69
  :type status: str
62
70
  :param search_mode: 查询条件搜索模式。 取值范围: like:模糊搜索 equal:精确搜索
63
71
  :type search_mode: str
64
- :param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。 默认值为0。
72
+ :param sort_key: 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
73
+ :type sort_key: str
74
+ :param sort_dir: 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
75
+ :type sort_dir: str
76
+ :param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
65
77
  :type enterprise_project_id: str
66
78
  """
67
79
 
@@ -73,8 +85,11 @@ class ListPublicZonesRequest:
73
85
  self._offset = None
74
86
  self._tags = None
75
87
  self._name = None
88
+ self._id = None
76
89
  self._status = None
77
90
  self._search_mode = None
91
+ self._sort_key = None
92
+ self._sort_dir = None
78
93
  self._enterprise_project_id = None
79
94
  self.discriminator = None
80
95
 
@@ -90,10 +105,16 @@ class ListPublicZonesRequest:
90
105
  self.tags = tags
91
106
  if name is not None:
92
107
  self.name = name
108
+ if id is not None:
109
+ self.id = id
93
110
  if status is not None:
94
111
  self.status = status
95
112
  if search_mode is not None:
96
113
  self.search_mode = search_mode
114
+ if sort_key is not None:
115
+ self.sort_key = sort_key
116
+ if sort_dir is not None:
117
+ self.sort_dir = sort_dir
97
118
  if enterprise_project_id is not None:
98
119
  self.enterprise_project_id = enterprise_project_id
99
120
 
@@ -101,7 +122,7 @@ class ListPublicZonesRequest:
101
122
  def type(self):
102
123
  """Gets the type of this ListPublicZonesRequest.
103
124
 
104
- 待查询的zone的类型。 取值范围:public 搜索模式默认为模糊搜索。 默认值为空。
125
+ 待查询的zone的类型。 取值范围:public 默认值为空。
105
126
 
106
127
  :return: The type of this ListPublicZonesRequest.
107
128
  :rtype: str
@@ -112,7 +133,7 @@ class ListPublicZonesRequest:
112
133
  def type(self, type):
113
134
  """Sets the type of this ListPublicZonesRequest.
114
135
 
115
- 待查询的zone的类型。 取值范围:public 搜索模式默认为模糊搜索。 默认值为空。
136
+ 待查询的zone的类型。 取值范围:public 默认值为空。
116
137
 
117
138
  :param type: The type of this ListPublicZonesRequest.
118
139
  :type type: str
@@ -189,7 +210,7 @@ class ListPublicZonesRequest:
189
210
  def tags(self):
190
211
  """Gets the tags of this ListPublicZonesRequest.
191
212
 
192
- 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
213
+ 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
193
214
 
194
215
  :return: The tags of this ListPublicZonesRequest.
195
216
  :rtype: str
@@ -200,7 +221,7 @@ class ListPublicZonesRequest:
200
221
  def tags(self, tags):
201
222
  """Sets the tags of this ListPublicZonesRequest.
202
223
 
203
- 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
224
+ 资源标签。 取值格式:key1,value1|key2,value2 多个标签之间用\"|\"分开,每个标签的键值用英文逗号\",\"相隔。 多个标签之间为“与”的关系。 关于资源标签,请参见添加资源标签。 搜索模式为精确搜索。如果资源标签值value是以*开头时,则按照*后面的值全模糊匹配。 默认值为空。
204
225
 
205
226
  :param tags: The tags of this ListPublicZonesRequest.
206
227
  :type tags: str
@@ -211,7 +232,7 @@ class ListPublicZonesRequest:
211
232
  def name(self):
212
233
  """Gets the name of this ListPublicZonesRequest.
213
234
 
214
- zone名称。 搜索模式默认为模糊搜索。
235
+ Zone名称。 搜索模式默认为模糊搜索。
215
236
 
216
237
  :return: The name of this ListPublicZonesRequest.
217
238
  :rtype: str
@@ -222,13 +243,35 @@ class ListPublicZonesRequest:
222
243
  def name(self, name):
223
244
  """Sets the name of this ListPublicZonesRequest.
224
245
 
225
- zone名称。 搜索模式默认为模糊搜索。
246
+ Zone名称。 搜索模式默认为模糊搜索。
226
247
 
227
248
  :param name: The name of this ListPublicZonesRequest.
228
249
  :type name: str
229
250
  """
230
251
  self._name = name
231
252
 
253
+ @property
254
+ def id(self):
255
+ """Gets the id of this ListPublicZonesRequest.
256
+
257
+ Zone ID。
258
+
259
+ :return: The id of this ListPublicZonesRequest.
260
+ :rtype: str
261
+ """
262
+ return self._id
263
+
264
+ @id.setter
265
+ def id(self, id):
266
+ """Sets the id of this ListPublicZonesRequest.
267
+
268
+ Zone ID。
269
+
270
+ :param id: The id of this ListPublicZonesRequest.
271
+ :type id: str
272
+ """
273
+ self._id = id
274
+
232
275
  @property
233
276
  def status(self):
234
277
  """Gets the status of this ListPublicZonesRequest.
@@ -273,11 +316,55 @@ class ListPublicZonesRequest:
273
316
  """
274
317
  self._search_mode = search_mode
275
318
 
319
+ @property
320
+ def sort_key(self):
321
+ """Gets the sort_key of this ListPublicZonesRequest.
322
+
323
+ 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
324
+
325
+ :return: The sort_key of this ListPublicZonesRequest.
326
+ :rtype: str
327
+ """
328
+ return self._sort_key
329
+
330
+ @sort_key.setter
331
+ def sort_key(self, sort_key):
332
+ """Sets the sort_key of this ListPublicZonesRequest.
333
+
334
+ 查询结果中zone列表的排序字段。 取值范围为: name:域名 created_at:创建时间 updated_at:更新时间 默认值为空,表示不排序。
335
+
336
+ :param sort_key: The sort_key of this ListPublicZonesRequest.
337
+ :type sort_key: str
338
+ """
339
+ self._sort_key = sort_key
340
+
341
+ @property
342
+ def sort_dir(self):
343
+ """Gets the sort_dir of this ListPublicZonesRequest.
344
+
345
+ 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
346
+
347
+ :return: The sort_dir of this ListPublicZonesRequest.
348
+ :rtype: str
349
+ """
350
+ return self._sort_dir
351
+
352
+ @sort_dir.setter
353
+ def sort_dir(self, sort_dir):
354
+ """Sets the sort_dir of this ListPublicZonesRequest.
355
+
356
+ 查询结果中zone列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
357
+
358
+ :param sort_dir: The sort_dir of this ListPublicZonesRequest.
359
+ :type sort_dir: str
360
+ """
361
+ self._sort_dir = sort_dir
362
+
276
363
  @property
277
364
  def enterprise_project_id(self):
278
365
  """Gets the enterprise_project_id of this ListPublicZonesRequest.
279
366
 
280
- 域名关联的企业项目ID,长度不超过36个字符。 默认值为0。
367
+ 域名关联的企业项目ID,长度不超过36个字符。
281
368
 
282
369
  :return: The enterprise_project_id of this ListPublicZonesRequest.
283
370
  :rtype: str
@@ -288,7 +375,7 @@ class ListPublicZonesRequest:
288
375
  def enterprise_project_id(self, enterprise_project_id):
289
376
  """Sets the enterprise_project_id of this ListPublicZonesRequest.
290
377
 
291
- 域名关联的企业项目ID,长度不超过36个字符。 默认值为0。
378
+ 域名关联的企业项目ID,长度不超过36个字符。
292
379
 
293
380
  :param enterprise_project_id: The enterprise_project_id of this ListPublicZonesRequest.
294
381
  :type enterprise_project_id: str
@@ -69,9 +69,9 @@ class ListRecordSetsByZoneRequest:
69
69
  :type type: str
70
70
  :param name: 待查询的Record Set的域名中包含此name。 搜索模式默认为模糊搜索。 默认值为空。
71
71
  :type name: str
72
- :param id: 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
72
+ :param id: 待查询的Record Set的id包含此id。
73
73
  :type id: str
74
- :param sort_key: 查询结果中Record Set列表的排序字段。 取值范围为: name:域名 type:记录集类型 默认值为空,表示不排序。
74
+ :param sort_key: 查询结果中Record Set列表的排序字段。 取值范围为: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
75
75
  :type sort_key: str
76
76
  :param sort_dir: 查询结果中Record Set列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
77
77
  :type sort_dir: str
@@ -319,7 +319,7 @@ class ListRecordSetsByZoneRequest:
319
319
  def id(self):
320
320
  """Gets the id of this ListRecordSetsByZoneRequest.
321
321
 
322
- 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
322
+ 待查询的Record Set的id包含此id。
323
323
 
324
324
  :return: The id of this ListRecordSetsByZoneRequest.
325
325
  :rtype: str
@@ -330,7 +330,7 @@ class ListRecordSetsByZoneRequest:
330
330
  def id(self, id):
331
331
  """Sets the id of this ListRecordSetsByZoneRequest.
332
332
 
333
- 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
333
+ 待查询的Record Set的id包含此id。
334
334
 
335
335
  :param id: The id of this ListRecordSetsByZoneRequest.
336
336
  :type id: str
@@ -341,7 +341,7 @@ class ListRecordSetsByZoneRequest:
341
341
  def sort_key(self):
342
342
  """Gets the sort_key of this ListRecordSetsByZoneRequest.
343
343
 
344
- 查询结果中Record Set列表的排序字段。 取值范围为: name:域名 type:记录集类型 默认值为空,表示不排序。
344
+ 查询结果中Record Set列表的排序字段。 取值范围为: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
345
345
 
346
346
  :return: The sort_key of this ListRecordSetsByZoneRequest.
347
347
  :rtype: str
@@ -352,7 +352,7 @@ class ListRecordSetsByZoneRequest:
352
352
  def sort_key(self, sort_key):
353
353
  """Sets the sort_key of this ListRecordSetsByZoneRequest.
354
354
 
355
- 查询结果中Record Set列表的排序字段。 取值范围为: name:域名 type:记录集类型 默认值为空,表示不排序。
355
+ 查询结果中Record Set列表的排序字段。 取值范围为: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
356
356
 
357
357
  :param sort_key: The sort_key of this ListRecordSetsByZoneRequest.
358
358
  :type sort_key: str
@@ -71,11 +71,11 @@ class ListRecordSetsRequest:
71
71
  :type type: str
72
72
  :param name: 待查询的Record Set的域名中包含此name。 搜索模式默认为模糊搜索。 默认值为空。
73
73
  :type name: str
74
- :param id: 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
74
+ :param id: 待查询的Record Set的id包含此id。
75
75
  :type id: str
76
76
  :param records: 待查询的Record Set的值中包含此records。 搜索模式默认为模糊搜索。 默认值为空。
77
77
  :type records: str
78
- :param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name:域名 type:记录集类型 默认值为空,表示不排序。
78
+ :param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
79
79
  :type sort_key: str
80
80
  :param sort_dir: 查询结果中Record Set列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
81
81
  :type sort_dir: str
@@ -327,7 +327,7 @@ class ListRecordSetsRequest:
327
327
  def id(self):
328
328
  """Gets the id of this ListRecordSetsRequest.
329
329
 
330
- 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
330
+ 待查询的Record Set的id包含此id。
331
331
 
332
332
  :return: The id of this ListRecordSetsRequest.
333
333
  :rtype: str
@@ -338,7 +338,7 @@ class ListRecordSetsRequest:
338
338
  def id(self, id):
339
339
  """Sets the id of this ListRecordSetsRequest.
340
340
 
341
- 待查询的Record Set的id包含此id。 搜索模式默认为模糊搜索。 默认值为空。
341
+ 待查询的Record Set的id包含此id。
342
342
 
343
343
  :param id: The id of this ListRecordSetsRequest.
344
344
  :type id: str
@@ -371,7 +371,7 @@ class ListRecordSetsRequest:
371
371
  def sort_key(self):
372
372
  """Gets the sort_key of this ListRecordSetsRequest.
373
373
 
374
- 查询结果中Record Set列表的排序字段。 取值范围: name:域名 type:记录集类型 默认值为空,表示不排序。
374
+ 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
375
375
 
376
376
  :return: The sort_key of this ListRecordSetsRequest.
377
377
  :rtype: str
@@ -382,7 +382,7 @@ class ListRecordSetsRequest:
382
382
  def sort_key(self, sort_key):
383
383
  """Sets the sort_key of this ListRecordSetsRequest.
384
384
 
385
- 查询结果中Record Set列表的排序字段。 取值范围: name:域名 type:记录集类型 默认值为空,表示不排序。
385
+ 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
386
386
 
387
387
  :param sort_key: The sort_key of this ListRecordSetsRequest.
388
388
  :type sort_key: str