huaweicloudsdkdns 3.1.131__py2.py3-none-any.whl → 3.1.133__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 (69) hide show
  1. huaweicloudsdkdns/v2/__init__.py +20 -5
  2. huaweicloudsdkdns/v2/dns_async_client.py +298 -10
  3. huaweicloudsdkdns/v2/dns_client.py +298 -10
  4. huaweicloudsdkdns/v2/model/__init__.py +20 -5
  5. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request.py +111 -0
  6. huaweicloudsdkdns/v2/model/batch_delete_record_sets_request_body.py +142 -0
  7. huaweicloudsdkdns/v2/model/batch_delete_record_sets_response.py +141 -0
  8. huaweicloudsdkdns/v2/model/batch_delete_zones_request.py +111 -0
  9. huaweicloudsdkdns/v2/model/batch_delete_zones_request_body.py +142 -0
  10. huaweicloudsdkdns/v2/model/batch_delete_zones_response.py +141 -0
  11. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request.py +111 -0
  12. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_request_body.py +142 -0
  13. huaweicloudsdkdns/v2/model/batch_set_record_sets_status_response.py +166 -0
  14. huaweicloudsdkdns/v2/model/batch_set_zones_status_request.py +111 -0
  15. huaweicloudsdkdns/v2/model/batch_set_zones_status_request_body.py +142 -0
  16. huaweicloudsdkdns/v2/model/batch_set_zones_status_response.py +166 -0
  17. huaweicloudsdkdns/v2/model/batch_update_record_set_with_line_request.py +4 -4
  18. huaweicloudsdkdns/v2/model/{batch_update_record_set_with_line_req.py → batch_update_record_set_with_line_request_body.py} +7 -7
  19. huaweicloudsdkdns/v2/model/create_custom_line_request.py +4 -4
  20. huaweicloudsdkdns/v2/model/{create_custom_lines.py → create_custom_line_request_body.py} +15 -15
  21. huaweicloudsdkdns/v2/model/create_eip_record_set_response.py +3 -3
  22. huaweicloudsdkdns/v2/model/create_private_zone_req.py +3 -3
  23. huaweicloudsdkdns/v2/model/create_private_zone_response.py +3 -3
  24. huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
  25. huaweicloudsdkdns/v2/model/create_public_zone_response.py +3 -3
  26. huaweicloudsdkdns/v2/model/create_record_set_request_body.py +3 -3
  27. huaweicloudsdkdns/v2/model/create_record_set_with_line_request_body.py +3 -3
  28. huaweicloudsdkdns/v2/model/delete_custom_line_request.py +3 -3
  29. huaweicloudsdkdns/v2/model/delete_line_group_request.py +3 -3
  30. huaweicloudsdkdns/v2/model/delete_private_zone_response.py +3 -3
  31. huaweicloudsdkdns/v2/model/delete_public_zone_response.py +3 -3
  32. huaweicloudsdkdns/v2/model/link.py +115 -0
  33. huaweicloudsdkdns/v2/model/list_custom_line_request.py +64 -6
  34. huaweicloudsdkdns/v2/model/list_line_groups_request.py +3 -3
  35. huaweicloudsdkdns/v2/model/list_private_zones_request.py +125 -9
  36. huaweicloudsdkdns/v2/model/list_ptr_records_floating_resp.py +3 -3
  37. huaweicloudsdkdns/v2/model/list_ptr_records_request.py +3 -3
  38. huaweicloudsdkdns/v2/model/list_ptr_records_response.py +3 -3
  39. huaweicloudsdkdns/v2/model/list_public_zones_request.py +97 -10
  40. huaweicloudsdkdns/v2/model/list_record_sets_by_zone_request.py +6 -6
  41. huaweicloudsdkdns/v2/model/list_record_sets_request.py +6 -6
  42. huaweicloudsdkdns/v2/model/list_record_sets_with_line_request.py +36 -7
  43. huaweicloudsdkdns/v2/model/private_zone_resp.py +3 -3
  44. huaweicloudsdkdns/v2/model/public_zone_resp.py +3 -3
  45. huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
  46. huaweicloudsdkdns/v2/model/set_record_sets_status_request.py +4 -4
  47. huaweicloudsdkdns/v2/model/{set_record_sets_status_req.py → set_record_sets_status_request_body.py} +7 -7
  48. huaweicloudsdkdns/v2/model/show_line_group_request.py +3 -3
  49. huaweicloudsdkdns/v2/model/show_private_zone_response.py +3 -3
  50. huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
  51. huaweicloudsdkdns/v2/model/show_public_zone_response.py +3 -3
  52. huaweicloudsdkdns/v2/model/show_record_set_by_zone_request.py +6 -6
  53. huaweicloudsdkdns/v2/model/show_record_set_by_zone_resp.py +35 -35
  54. huaweicloudsdkdns/v2/model/update_custom_line_request.py +7 -7
  55. huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py} +15 -15
  56. huaweicloudsdkdns/v2/model/update_line_groups_request.py +7 -7
  57. huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py} +15 -15
  58. huaweicloudsdkdns/v2/model/update_private_zone_info_req.py +3 -3
  59. huaweicloudsdkdns/v2/model/update_private_zone_response.py +3 -3
  60. huaweicloudsdkdns/v2/model/update_ptr_record_response.py +3 -3
  61. huaweicloudsdkdns/v2/model/update_public_zone_info.py +3 -3
  62. huaweicloudsdkdns/v2/model/update_public_zone_response.py +3 -3
  63. huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +3 -3
  64. huaweicloudsdkdns/v2/model/zone_data.py +517 -0
  65. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/METADATA +2 -2
  66. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/RECORD +69 -54
  67. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/LICENSE +0 -0
  68. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/WHEEL +0 -0
  69. {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/top_level.txt +0 -0
@@ -66,7 +66,7 @@ class DeletePrivateZoneResponse(SdkResponse):
66
66
  :type name: str
67
67
  :param description: 对zone的描述信息。
68
68
  :type description: str
69
- :param email: 管理该zone的管理员邮箱。
69
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
70
70
  :type email: str
71
71
  :param zone_type: zone类型,内网(private)。
72
72
  :type zone_type: str
@@ -217,7 +217,7 @@ class DeletePrivateZoneResponse(SdkResponse):
217
217
  def email(self):
218
218
  """Gets the email of this DeletePrivateZoneResponse.
219
219
 
220
- 管理该zone的管理员邮箱。
220
+ 管理该zone的管理员邮箱,用于生成该Zone的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
  """Sets the email of this DeletePrivateZoneResponse.
230
230
 
231
- 管理该zone的管理员邮箱。
231
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
232
232
 
233
233
  :param email: The email of this DeletePrivateZoneResponse.
234
234
  :type email: str
@@ -64,7 +64,7 @@ class DeletePublicZoneResponse(SdkResponse):
64
64
  :type name: str
65
65
  :param description: 对zone的描述信息
66
66
  :type description: str
67
- :param email: 管理该zone的管理员邮箱
67
+ :param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
68
68
  :type email: str
69
69
  :param zone_type: zone类型,公网(public)
70
70
  :type zone_type: str
@@ -210,7 +210,7 @@ class DeletePublicZoneResponse(SdkResponse):
210
210
  def email(self):
211
211
  """Gets the email of this DeletePublicZoneResponse.
212
212
 
213
- 管理该zone的管理员邮箱
213
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
214
214
 
215
215
  :return: The email of this DeletePublicZoneResponse.
216
216
  :rtype: str
@@ -221,7 +221,7 @@ class DeletePublicZoneResponse(SdkResponse):
221
221
  def email(self, email):
222
222
  """Sets the email of this DeletePublicZoneResponse.
223
223
 
224
- 管理该zone的管理员邮箱
224
+ 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
225
225
 
226
226
  :param email: The email of this DeletePublicZoneResponse.
227
227
  :type email: str
@@ -0,0 +1,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class Link:
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
+ '_self': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ '_self': 'self'
25
+ }
26
+
27
+ def __init__(self, _self=None):
28
+ """Link
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param _self: 当前资源的链接。
33
+ :type _self: str
34
+ """
35
+
36
+
37
+
38
+ self.__self = None
39
+ self.discriminator = None
40
+
41
+ if _self is not None:
42
+ self._self = _self
43
+
44
+ @property
45
+ def _self(self):
46
+ """Gets the _self of this Link.
47
+
48
+ 当前资源的链接。
49
+
50
+ :return: The _self of this Link.
51
+ :rtype: str
52
+ """
53
+ return self.__self
54
+
55
+ @_self.setter
56
+ def _self(self, _self):
57
+ """Sets the _self of this Link.
58
+
59
+ 当前资源的链接。
60
+
61
+ :param _self: The _self of this Link.
62
+ :type _self: str
63
+ """
64
+ self.__self = _self
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, Link):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other
@@ -21,7 +21,9 @@ class ListCustomLineRequest:
21
21
  'name': 'str',
22
22
  'limit': 'int',
23
23
  'offset': 'int',
24
- 'show_detail': 'bool'
24
+ 'show_detail': 'bool',
25
+ 'status': 'str',
26
+ 'ip': 'str'
25
27
  }
26
28
 
27
29
  attribute_map = {
@@ -29,10 +31,12 @@ class ListCustomLineRequest:
29
31
  'name': 'name',
30
32
  'limit': 'limit',
31
33
  'offset': 'offset',
32
- 'show_detail': 'show_detail'
34
+ 'show_detail': 'show_detail',
35
+ 'status': 'status',
36
+ 'ip': 'ip'
33
37
  }
34
38
 
35
- def __init__(self, line_id=None, name=None, limit=None, offset=None, show_detail=None):
39
+ def __init__(self, line_id=None, name=None, limit=None, offset=None, show_detail=None, status=None, ip=None):
36
40
  """ListCustomLineRequest
37
41
 
38
42
  The model defined in huaweicloud sdk
@@ -41,12 +45,16 @@ class ListCustomLineRequest:
41
45
  :type line_id: str
42
46
  :param name: 解析线路名称。
43
47
  :type name: str
44
- :param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500
48
+ :param limit: 每页返回的资源个数。 当查询详细信息时:取值范围:0~100取值一般为10,20,50默认为100 当查询概要信息时:取值范围:0~3000默认为3000。
45
49
  :type limit: int
46
50
  :param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
47
51
  :type offset: int
48
52
  :param show_detail: 是否查询详细信息。 取值范围: true:是,查询详细信息。 false:否,不查询详细信息。 默认为true。
49
53
  :type show_detail: bool
54
+ :param status: 资源状态。
55
+ :type status: str
56
+ :param ip: IP地址范围。
57
+ :type ip: str
50
58
  """
51
59
 
52
60
 
@@ -56,6 +64,8 @@ class ListCustomLineRequest:
56
64
  self._limit = None
57
65
  self._offset = None
58
66
  self._show_detail = None
67
+ self._status = None
68
+ self._ip = None
59
69
  self.discriminator = None
60
70
 
61
71
  if line_id is not None:
@@ -68,6 +78,10 @@ class ListCustomLineRequest:
68
78
  self.offset = offset
69
79
  if show_detail is not None:
70
80
  self.show_detail = show_detail
81
+ if status is not None:
82
+ self.status = status
83
+ if ip is not None:
84
+ self.ip = ip
71
85
 
72
86
  @property
73
87
  def line_id(self):
@@ -117,7 +131,7 @@ class ListCustomLineRequest:
117
131
  def limit(self):
118
132
  """Gets the limit of this ListCustomLineRequest.
119
133
 
120
- 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500
134
+ 每页返回的资源个数。 当查询详细信息时:取值范围:0~100取值一般为10,20,50默认为100 当查询概要信息时:取值范围:0~3000默认为3000。
121
135
 
122
136
  :return: The limit of this ListCustomLineRequest.
123
137
  :rtype: int
@@ -128,7 +142,7 @@ class ListCustomLineRequest:
128
142
  def limit(self, limit):
129
143
  """Sets the limit of this ListCustomLineRequest.
130
144
 
131
- 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500
145
+ 每页返回的资源个数。 当查询详细信息时:取值范围:0~100取值一般为10,20,50默认为100 当查询概要信息时:取值范围:0~3000默认为3000。
132
146
 
133
147
  :param limit: The limit of this ListCustomLineRequest.
134
148
  :type limit: int
@@ -179,6 +193,50 @@ class ListCustomLineRequest:
179
193
  """
180
194
  self._show_detail = show_detail
181
195
 
196
+ @property
197
+ def status(self):
198
+ """Gets the status of this ListCustomLineRequest.
199
+
200
+ 资源状态。
201
+
202
+ :return: The status of this ListCustomLineRequest.
203
+ :rtype: str
204
+ """
205
+ return self._status
206
+
207
+ @status.setter
208
+ def status(self, status):
209
+ """Sets the status of this ListCustomLineRequest.
210
+
211
+ 资源状态。
212
+
213
+ :param status: The status of this ListCustomLineRequest.
214
+ :type status: str
215
+ """
216
+ self._status = status
217
+
218
+ @property
219
+ def ip(self):
220
+ """Gets the ip of this ListCustomLineRequest.
221
+
222
+ IP地址范围。
223
+
224
+ :return: The ip of this ListCustomLineRequest.
225
+ :rtype: str
226
+ """
227
+ return self._ip
228
+
229
+ @ip.setter
230
+ def ip(self, ip):
231
+ """Sets the ip of this ListCustomLineRequest.
232
+
233
+ IP地址范围。
234
+
235
+ :param ip: The ip of this ListCustomLineRequest.
236
+ :type ip: str
237
+ """
238
+ self._ip = ip
239
+
182
240
  def to_dict(self):
183
241
  """Returns the model properties as a dict"""
184
242
  result = {}
@@ -39,7 +39,7 @@ class ListLineGroupsRequest:
39
39
  :type line_id: str
40
40
  :param name: 线路分组名称。 模糊匹配。
41
41
  :type name: str
42
- :param limit: 每页返回的资源个数。 当查询详细信息时:取值范围:0~100取值一般为10,20,50默认为100 当查询概要信息时:取值范围:0~3000默认为3000。
42
+ :param limit: 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500
43
43
  :type limit: int
44
44
  :param offset: 分页查询起始偏移量,表示从偏移量的下一个资源开始查询。 取值范围:0~2147483647 默认值为0。 当前设置marker不为空时,以marker为分页起始标识。
45
45
  :type offset: int
@@ -110,7 +110,7 @@ class ListLineGroupsRequest:
110
110
  def limit(self):
111
111
  """Gets the limit of this ListLineGroupsRequest.
112
112
 
113
- 每页返回的资源个数。 当查询详细信息时:取值范围:0~100取值一般为10,20,50默认为100 当查询概要信息时:取值范围:0~3000默认为3000。
113
+ 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500
114
114
 
115
115
  :return: The limit of this ListLineGroupsRequest.
116
116
  :rtype: int
@@ -121,7 +121,7 @@ class ListLineGroupsRequest:
121
121
  def limit(self, limit):
122
122
  """Sets the limit of this ListLineGroupsRequest.
123
123
 
124
- 每页返回的资源个数。 当查询详细信息时:取值范围:0~100取值一般为10,20,50默认为100 当查询概要信息时:取值范围:0~3000默认为3000。
124
+ 每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500
125
125
 
126
126
  :param limit: The limit of this ListLineGroupsRequest.
127
127
  :type limit: int
@@ -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`]