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.
- huaweicloudsdkdns/v2/__init__.py +20 -5
- huaweicloudsdkdns/v2/dns_async_client.py +298 -10
- huaweicloudsdkdns/v2/dns_client.py +298 -10
- huaweicloudsdkdns/v2/model/__init__.py +20 -5
- 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_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_req.py +3 -3
- huaweicloudsdkdns/v2/model/create_private_zone_response.py +3 -3
- huaweicloudsdkdns/v2/model/create_public_zone_req.py +6 -6
- huaweicloudsdkdns/v2/model/create_public_zone_response.py +3 -3
- 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 +3 -3
- huaweicloudsdkdns/v2/model/delete_public_zone_response.py +3 -3
- 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 +97 -10
- 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 +3 -3
- huaweicloudsdkdns/v2/model/public_zone_resp.py +3 -3
- huaweicloudsdkdns/v2/model/recordset_data.py +600 -0
- 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 +3 -3
- huaweicloudsdkdns/v2/model/show_ptr_record_set_response.py +3 -3
- huaweicloudsdkdns/v2/model/show_public_zone_response.py +3 -3
- 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/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 +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 +3 -3
- huaweicloudsdkdns/v2/model/update_public_zone_status_response.py +3 -3
- huaweicloudsdkdns/v2/model/zone_data.py +517 -0
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/METADATA +2 -2
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/RECORD +69 -54
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdns-3.1.131.dist-info → huaweicloudsdkdns-3.1.133.dist-info}/top_level.txt +0 -0
@@ -70,7 +70,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
70
70
|
:type name: str
|
71
71
|
:param description: 对zone的描述信息。
|
72
72
|
:type description: str
|
73
|
-
:param email: 管理该zone
|
73
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
74
74
|
:type email: str
|
75
75
|
:param zone_type: zone类型,内网(private)。
|
76
76
|
:type zone_type: str
|
@@ -231,7 +231,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
231
231
|
def email(self):
|
232
232
|
"""Gets the email of this ShowPrivateZoneResponse.
|
233
233
|
|
234
|
-
管理该zone
|
234
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
235
235
|
|
236
236
|
:return: The email of this ShowPrivateZoneResponse.
|
237
237
|
:rtype: str
|
@@ -242,7 +242,7 @@ class ShowPrivateZoneResponse(SdkResponse):
|
|
242
242
|
def email(self, email):
|
243
243
|
"""Sets the email of this ShowPrivateZoneResponse.
|
244
244
|
|
245
|
-
管理该zone
|
245
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
246
246
|
|
247
247
|
:param email: The email of this ShowPrivateZoneResponse.
|
248
248
|
:type email: str
|
@@ -54,7 +54,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
54
54
|
:type description: str
|
55
55
|
:param ttl: PTR记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
56
56
|
:type ttl: int
|
57
|
-
:param address:
|
57
|
+
:param address: 弹性公网IP的IP地址。
|
58
58
|
:type address: str
|
59
59
|
:param status: 资源状态。
|
60
60
|
:type status: str
|
@@ -190,7 +190,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
190
190
|
def address(self):
|
191
191
|
"""Gets the address of this ShowPtrRecordSetResponse.
|
192
192
|
|
193
|
-
|
193
|
+
弹性公网IP的IP地址。
|
194
194
|
|
195
195
|
:return: The address of this ShowPtrRecordSetResponse.
|
196
196
|
:rtype: str
|
@@ -201,7 +201,7 @@ class ShowPtrRecordSetResponse(SdkResponse):
|
|
201
201
|
def address(self, address):
|
202
202
|
"""Sets the address of this ShowPtrRecordSetResponse.
|
203
203
|
|
204
|
-
|
204
|
+
弹性公网IP的IP地址。
|
205
205
|
|
206
206
|
:param address: The address of this ShowPtrRecordSetResponse.
|
207
207
|
:type address: str
|
@@ -66,7 +66,7 @@ class ShowPublicZoneResponse(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类型,公网(public)。
|
72
72
|
:type zone_type: str
|
@@ -217,7 +217,7 @@ class ShowPublicZoneResponse(SdkResponse):
|
|
217
217
|
def email(self):
|
218
218
|
"""Gets the email of this ShowPublicZoneResponse.
|
219
219
|
|
220
|
-
管理该zone
|
220
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
221
221
|
|
222
222
|
:return: The email of this ShowPublicZoneResponse.
|
223
223
|
:rtype: str
|
@@ -228,7 +228,7 @@ class ShowPublicZoneResponse(SdkResponse):
|
|
228
228
|
def email(self, email):
|
229
229
|
"""Sets the email of this ShowPublicZoneResponse.
|
230
230
|
|
231
|
-
管理该zone
|
231
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
232
232
|
|
233
233
|
:param email: The email of this ShowPublicZoneResponse.
|
234
234
|
:type email: str
|
@@ -71,9 +71,9 @@ class ShowRecordSetByZoneRequest:
|
|
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
|
-
:param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name
|
76
|
+
:param sort_key: 查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
|
77
77
|
:type sort_key: str
|
78
78
|
:param sort_dir: 查询结果中Record Set列表的排序方式。 取值范围: desc:降序排序 asc:升序排序 默认值为空,表示不排序。
|
79
79
|
:type sort_dir: str
|
@@ -326,7 +326,7 @@ class ShowRecordSetByZoneRequest:
|
|
326
326
|
def id(self):
|
327
327
|
"""Gets the id of this ShowRecordSetByZoneRequest.
|
328
328
|
|
329
|
-
待查询的Record Set的id包含此id。
|
329
|
+
待查询的Record Set的id包含此id。
|
330
330
|
|
331
331
|
:return: The id of this ShowRecordSetByZoneRequest.
|
332
332
|
:rtype: str
|
@@ -337,7 +337,7 @@ class ShowRecordSetByZoneRequest:
|
|
337
337
|
def id(self, id):
|
338
338
|
"""Sets the id of this ShowRecordSetByZoneRequest.
|
339
339
|
|
340
|
-
待查询的Record Set的id包含此id。
|
340
|
+
待查询的Record Set的id包含此id。
|
341
341
|
|
342
342
|
:param id: The id of this ShowRecordSetByZoneRequest.
|
343
343
|
:type id: str
|
@@ -348,7 +348,7 @@ class ShowRecordSetByZoneRequest:
|
|
348
348
|
def sort_key(self):
|
349
349
|
"""Gets the sort_key of this ShowRecordSetByZoneRequest.
|
350
350
|
|
351
|
-
查询结果中Record Set列表的排序字段。 取值范围: name
|
351
|
+
查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
|
352
352
|
|
353
353
|
:return: The sort_key of this ShowRecordSetByZoneRequest.
|
354
354
|
:rtype: str
|
@@ -359,7 +359,7 @@ class ShowRecordSetByZoneRequest:
|
|
359
359
|
def sort_key(self, sort_key):
|
360
360
|
"""Sets the sort_key of this ShowRecordSetByZoneRequest.
|
361
361
|
|
362
|
-
查询结果中Record Set列表的排序字段。 取值范围: name
|
362
|
+
查询结果中Record Set列表的排序字段。 取值范围: name:记录集名称 type:记录集类型 默认值为空,表示不排序。
|
363
363
|
|
364
364
|
:param sort_key: The sort_key of this ShowRecordSetByZoneRequest.
|
365
365
|
:type sort_key: str
|
@@ -25,8 +25,8 @@ class ShowRecordSetByZoneResp:
|
|
25
25
|
'type': 'str',
|
26
26
|
'ttl': 'int',
|
27
27
|
'records': 'list[str]',
|
28
|
-
'
|
29
|
-
'
|
28
|
+
'created_at': 'str',
|
29
|
+
'updated_at': 'str',
|
30
30
|
'status': 'str',
|
31
31
|
'default': 'bool',
|
32
32
|
'project_id': 'str',
|
@@ -46,8 +46,8 @@ class ShowRecordSetByZoneResp:
|
|
46
46
|
'type': 'type',
|
47
47
|
'ttl': 'ttl',
|
48
48
|
'records': 'records',
|
49
|
-
'
|
50
|
-
'
|
49
|
+
'created_at': 'created_at',
|
50
|
+
'updated_at': 'updated_at',
|
51
51
|
'status': 'status',
|
52
52
|
'default': 'default',
|
53
53
|
'project_id': 'project_id',
|
@@ -58,7 +58,7 @@ class ShowRecordSetByZoneResp:
|
|
58
58
|
'alias_target': 'alias_target'
|
59
59
|
}
|
60
60
|
|
61
|
-
def __init__(self, id=None, name=None, description=None, zone_id=None, zone_name=None, type=None, ttl=None, records=None,
|
61
|
+
def __init__(self, id=None, name=None, description=None, zone_id=None, zone_name=None, type=None, ttl=None, records=None, created_at=None, updated_at=None, status=None, default=None, project_id=None, links=None, line=None, weight=None, health_check_id=None, alias_target=None):
|
62
62
|
"""ShowRecordSetByZoneResp
|
63
63
|
|
64
64
|
The model defined in huaweicloud sdk
|
@@ -79,10 +79,10 @@ class ShowRecordSetByZoneResp:
|
|
79
79
|
:type ttl: int
|
80
80
|
:param records: 域名解析后的值。
|
81
81
|
:type records: list[str]
|
82
|
-
:param
|
83
|
-
:type
|
84
|
-
:param
|
85
|
-
:type
|
82
|
+
:param created_at: 创建时间。
|
83
|
+
:type created_at: str
|
84
|
+
:param updated_at: 更新时间。
|
85
|
+
:type updated_at: str
|
86
86
|
:param status: 资源状态。
|
87
87
|
:type status: str
|
88
88
|
:param default: 标识是否由系统默认生成,系统默认生成的Record Set不能删除。
|
@@ -111,8 +111,8 @@ class ShowRecordSetByZoneResp:
|
|
111
111
|
self._type = None
|
112
112
|
self._ttl = None
|
113
113
|
self._records = None
|
114
|
-
self.
|
115
|
-
self.
|
114
|
+
self._created_at = None
|
115
|
+
self._updated_at = None
|
116
116
|
self._status = None
|
117
117
|
self._default = None
|
118
118
|
self._project_id = None
|
@@ -139,10 +139,10 @@ class ShowRecordSetByZoneResp:
|
|
139
139
|
self.ttl = ttl
|
140
140
|
if records is not None:
|
141
141
|
self.records = records
|
142
|
-
if
|
143
|
-
self.
|
144
|
-
if
|
145
|
-
self.
|
142
|
+
if created_at is not None:
|
143
|
+
self.created_at = created_at
|
144
|
+
if updated_at is not None:
|
145
|
+
self.updated_at = updated_at
|
146
146
|
if status is not None:
|
147
147
|
self.status = status
|
148
148
|
if default is not None:
|
@@ -337,48 +337,48 @@ class ShowRecordSetByZoneResp:
|
|
337
337
|
self._records = records
|
338
338
|
|
339
339
|
@property
|
340
|
-
def
|
341
|
-
"""Gets the
|
340
|
+
def created_at(self):
|
341
|
+
"""Gets the created_at of this ShowRecordSetByZoneResp.
|
342
342
|
|
343
343
|
创建时间。
|
344
344
|
|
345
|
-
:return: The
|
345
|
+
:return: The created_at of this ShowRecordSetByZoneResp.
|
346
346
|
:rtype: str
|
347
347
|
"""
|
348
|
-
return self.
|
348
|
+
return self._created_at
|
349
349
|
|
350
|
-
@
|
351
|
-
def
|
352
|
-
"""Sets the
|
350
|
+
@created_at.setter
|
351
|
+
def created_at(self, created_at):
|
352
|
+
"""Sets the created_at of this ShowRecordSetByZoneResp.
|
353
353
|
|
354
354
|
创建时间。
|
355
355
|
|
356
|
-
:param
|
357
|
-
:type
|
356
|
+
:param created_at: The created_at of this ShowRecordSetByZoneResp.
|
357
|
+
:type created_at: str
|
358
358
|
"""
|
359
|
-
self.
|
359
|
+
self._created_at = created_at
|
360
360
|
|
361
361
|
@property
|
362
|
-
def
|
363
|
-
"""Gets the
|
362
|
+
def updated_at(self):
|
363
|
+
"""Gets the updated_at of this ShowRecordSetByZoneResp.
|
364
364
|
|
365
365
|
更新时间。
|
366
366
|
|
367
|
-
:return: The
|
367
|
+
:return: The updated_at of this ShowRecordSetByZoneResp.
|
368
368
|
:rtype: str
|
369
369
|
"""
|
370
|
-
return self.
|
370
|
+
return self._updated_at
|
371
371
|
|
372
|
-
@
|
373
|
-
def
|
374
|
-
"""Sets the
|
372
|
+
@updated_at.setter
|
373
|
+
def updated_at(self, updated_at):
|
374
|
+
"""Sets the updated_at of this ShowRecordSetByZoneResp.
|
375
375
|
|
376
376
|
更新时间。
|
377
377
|
|
378
|
-
:param
|
379
|
-
:type
|
378
|
+
:param updated_at: The updated_at of this ShowRecordSetByZoneResp.
|
379
|
+
:type updated_at: str
|
380
380
|
"""
|
381
|
-
self.
|
381
|
+
self._updated_at = updated_at
|
382
382
|
|
383
383
|
@property
|
384
384
|
def status(self):
|
@@ -18,7 +18,7 @@ class UpdateCustomLineRequest:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'line_id': 'str',
|
21
|
-
'body': '
|
21
|
+
'body': 'UpdateCustomLineRequestBody'
|
22
22
|
}
|
23
23
|
|
24
24
|
attribute_map = {
|
@@ -31,10 +31,10 @@ class UpdateCustomLineRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param line_id:
|
34
|
+
:param line_id: 自定义线路id
|
35
35
|
:type line_id: str
|
36
36
|
:param body: Body of the UpdateCustomLineRequest
|
37
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdateCustomLineRequestBody`
|
38
38
|
"""
|
39
39
|
|
40
40
|
|
@@ -51,7 +51,7 @@ class UpdateCustomLineRequest:
|
|
51
51
|
def line_id(self):
|
52
52
|
"""Gets the line_id of this UpdateCustomLineRequest.
|
53
53
|
|
54
|
-
|
54
|
+
自定义线路id
|
55
55
|
|
56
56
|
:return: The line_id of this UpdateCustomLineRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class UpdateCustomLineRequest:
|
|
62
62
|
def line_id(self, line_id):
|
63
63
|
"""Sets the line_id of this UpdateCustomLineRequest.
|
64
64
|
|
65
|
-
|
65
|
+
自定义线路id
|
66
66
|
|
67
67
|
:param line_id: The line_id of this UpdateCustomLineRequest.
|
68
68
|
:type line_id: str
|
@@ -74,7 +74,7 @@ class UpdateCustomLineRequest:
|
|
74
74
|
"""Gets the body of this UpdateCustomLineRequest.
|
75
75
|
|
76
76
|
:return: The body of this UpdateCustomLineRequest.
|
77
|
-
:rtype: :class:`huaweicloudsdkdns.v2.
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.UpdateCustomLineRequestBody`
|
78
78
|
"""
|
79
79
|
return self._body
|
80
80
|
|
@@ -83,7 +83,7 @@ class UpdateCustomLineRequest:
|
|
83
83
|
"""Sets the body of this UpdateCustomLineRequest.
|
84
84
|
|
85
85
|
:param body: The body of this UpdateCustomLineRequest.
|
86
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdateCustomLineRequestBody`
|
87
87
|
"""
|
88
88
|
self._body = body
|
89
89
|
|
huaweicloudsdkdns/v2/model/{update_customs_line_req.py → update_custom_line_request_body.py}
RENAMED
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class UpdateCustomLineRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -29,7 +29,7 @@ class UpdateCustomsLineReq:
|
|
29
29
|
}
|
30
30
|
|
31
31
|
def __init__(self, name=None, ip_segments=None, description=None):
|
32
|
-
"""
|
32
|
+
"""UpdateCustomLineRequestBody
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
@@ -57,66 +57,66 @@ class UpdateCustomsLineReq:
|
|
57
57
|
|
58
58
|
@property
|
59
59
|
def name(self):
|
60
|
-
"""Gets the name of this
|
60
|
+
"""Gets the name of this UpdateCustomLineRequestBody.
|
61
61
|
|
62
62
|
解析线路名称。
|
63
63
|
|
64
|
-
:return: The name of this
|
64
|
+
:return: The name of this UpdateCustomLineRequestBody.
|
65
65
|
:rtype: str
|
66
66
|
"""
|
67
67
|
return self._name
|
68
68
|
|
69
69
|
@name.setter
|
70
70
|
def name(self, name):
|
71
|
-
"""Sets the name of this
|
71
|
+
"""Sets the name of this UpdateCustomLineRequestBody.
|
72
72
|
|
73
73
|
解析线路名称。
|
74
74
|
|
75
|
-
:param name: The name of this
|
75
|
+
:param name: The name of this UpdateCustomLineRequestBody.
|
76
76
|
:type name: str
|
77
77
|
"""
|
78
78
|
self._name = name
|
79
79
|
|
80
80
|
@property
|
81
81
|
def ip_segments(self):
|
82
|
-
"""Gets the ip_segments of this
|
82
|
+
"""Gets the ip_segments of this UpdateCustomLineRequestBody.
|
83
83
|
|
84
84
|
P地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。
|
85
85
|
|
86
|
-
:return: The ip_segments of this
|
86
|
+
:return: The ip_segments of this UpdateCustomLineRequestBody.
|
87
87
|
:rtype: list[str]
|
88
88
|
"""
|
89
89
|
return self._ip_segments
|
90
90
|
|
91
91
|
@ip_segments.setter
|
92
92
|
def ip_segments(self, ip_segments):
|
93
|
-
"""Sets the ip_segments of this
|
93
|
+
"""Sets the ip_segments of this UpdateCustomLineRequestBody.
|
94
94
|
|
95
95
|
P地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。
|
96
96
|
|
97
|
-
:param ip_segments: The ip_segments of this
|
97
|
+
:param ip_segments: The ip_segments of this UpdateCustomLineRequestBody.
|
98
98
|
:type ip_segments: list[str]
|
99
99
|
"""
|
100
100
|
self._ip_segments = ip_segments
|
101
101
|
|
102
102
|
@property
|
103
103
|
def description(self):
|
104
|
-
"""Gets the description of this
|
104
|
+
"""Gets the description of this UpdateCustomLineRequestBody.
|
105
105
|
|
106
106
|
自定义线路的描述信息。长度不超过255个字符。
|
107
107
|
|
108
|
-
:return: The description of this
|
108
|
+
:return: The description of this UpdateCustomLineRequestBody.
|
109
109
|
:rtype: str
|
110
110
|
"""
|
111
111
|
return self._description
|
112
112
|
|
113
113
|
@description.setter
|
114
114
|
def description(self, description):
|
115
|
-
"""Sets the description of this
|
115
|
+
"""Sets the description of this UpdateCustomLineRequestBody.
|
116
116
|
|
117
117
|
自定义线路的描述信息。长度不超过255个字符。
|
118
118
|
|
119
|
-
:param description: The description of this
|
119
|
+
:param description: The description of this UpdateCustomLineRequestBody.
|
120
120
|
:type description: str
|
121
121
|
"""
|
122
122
|
self._description = description
|
@@ -163,7 +163,7 @@ class UpdateCustomsLineReq:
|
|
163
163
|
|
164
164
|
def __eq__(self, other):
|
165
165
|
"""Returns true if both objects are equal"""
|
166
|
-
if not isinstance(other,
|
166
|
+
if not isinstance(other, UpdateCustomLineRequestBody):
|
167
167
|
return False
|
168
168
|
|
169
169
|
return self.__dict__ == other.__dict__
|
@@ -18,7 +18,7 @@ class UpdateLineGroupsRequest:
|
|
18
18
|
|
19
19
|
openapi_types = {
|
20
20
|
'linegroup_id': 'str',
|
21
|
-
'body': '
|
21
|
+
'body': 'UpdateLineGroupsRequestBody'
|
22
22
|
}
|
23
23
|
|
24
24
|
attribute_map = {
|
@@ -31,10 +31,10 @@ class UpdateLineGroupsRequest:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param linegroup_id:
|
34
|
+
:param linegroup_id: 线路分组ID
|
35
35
|
:type linegroup_id: str
|
36
36
|
:param body: Body of the UpdateLineGroupsRequest
|
37
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
37
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsRequestBody`
|
38
38
|
"""
|
39
39
|
|
40
40
|
|
@@ -51,7 +51,7 @@ class UpdateLineGroupsRequest:
|
|
51
51
|
def linegroup_id(self):
|
52
52
|
"""Gets the linegroup_id of this UpdateLineGroupsRequest.
|
53
53
|
|
54
|
-
|
54
|
+
线路分组ID
|
55
55
|
|
56
56
|
:return: The linegroup_id of this UpdateLineGroupsRequest.
|
57
57
|
:rtype: str
|
@@ -62,7 +62,7 @@ class UpdateLineGroupsRequest:
|
|
62
62
|
def linegroup_id(self, linegroup_id):
|
63
63
|
"""Sets the linegroup_id of this UpdateLineGroupsRequest.
|
64
64
|
|
65
|
-
|
65
|
+
线路分组ID
|
66
66
|
|
67
67
|
:param linegroup_id: The linegroup_id of this UpdateLineGroupsRequest.
|
68
68
|
:type linegroup_id: str
|
@@ -74,7 +74,7 @@ class UpdateLineGroupsRequest:
|
|
74
74
|
"""Gets the body of this UpdateLineGroupsRequest.
|
75
75
|
|
76
76
|
:return: The body of this UpdateLineGroupsRequest.
|
77
|
-
:rtype: :class:`huaweicloudsdkdns.v2.
|
77
|
+
:rtype: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsRequestBody`
|
78
78
|
"""
|
79
79
|
return self._body
|
80
80
|
|
@@ -83,7 +83,7 @@ class UpdateLineGroupsRequest:
|
|
83
83
|
"""Sets the body of this UpdateLineGroupsRequest.
|
84
84
|
|
85
85
|
:param body: The body of this UpdateLineGroupsRequest.
|
86
|
-
:type body: :class:`huaweicloudsdkdns.v2.
|
86
|
+
:type body: :class:`huaweicloudsdkdns.v2.UpdateLineGroupsRequestBody`
|
87
87
|
"""
|
88
88
|
self._body = body
|
89
89
|
|
huaweicloudsdkdns/v2/model/{update_line_groups_body.py → update_line_groups_request_body.py}
RENAMED
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class UpdateLineGroupsRequestBody:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -29,7 +29,7 @@ class UpdateLineGroupsBody:
|
|
29
29
|
}
|
30
30
|
|
31
31
|
def __init__(self, name=None, description=None, lines=None):
|
32
|
-
"""
|
32
|
+
"""UpdateLineGroupsRequestBody
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
@@ -55,66 +55,66 @@ class UpdateLineGroupsBody:
|
|
55
55
|
|
56
56
|
@property
|
57
57
|
def name(self):
|
58
|
-
"""Gets the name of this
|
58
|
+
"""Gets the name of this UpdateLineGroupsRequestBody.
|
59
59
|
|
60
60
|
线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
|
61
61
|
|
62
|
-
:return: The name of this
|
62
|
+
:return: The name of this UpdateLineGroupsRequestBody.
|
63
63
|
:rtype: str
|
64
64
|
"""
|
65
65
|
return self._name
|
66
66
|
|
67
67
|
@name.setter
|
68
68
|
def name(self, name):
|
69
|
-
"""Sets the name of this
|
69
|
+
"""Sets the name of this UpdateLineGroupsRequestBody.
|
70
70
|
|
71
71
|
线路分组名称。 不能与自定义线路名称、预制线路名称重复。 取值范围:1-64个字符,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)。
|
72
72
|
|
73
|
-
:param name: The name of this
|
73
|
+
:param name: The name of this UpdateLineGroupsRequestBody.
|
74
74
|
:type name: str
|
75
75
|
"""
|
76
76
|
self._name = name
|
77
77
|
|
78
78
|
@property
|
79
79
|
def description(self):
|
80
|
-
"""Gets the description of this
|
80
|
+
"""Gets the description of this UpdateLineGroupsRequestBody.
|
81
81
|
|
82
82
|
线路分组的描述信息。长度不超过255个字符。默认值为空。
|
83
83
|
|
84
|
-
:return: The description of this
|
84
|
+
:return: The description of this UpdateLineGroupsRequestBody.
|
85
85
|
:rtype: str
|
86
86
|
"""
|
87
87
|
return self._description
|
88
88
|
|
89
89
|
@description.setter
|
90
90
|
def description(self, description):
|
91
|
-
"""Sets the description of this
|
91
|
+
"""Sets the description of this UpdateLineGroupsRequestBody.
|
92
92
|
|
93
93
|
线路分组的描述信息。长度不超过255个字符。默认值为空。
|
94
94
|
|
95
|
-
:param description: The description of this
|
95
|
+
:param description: The description of this UpdateLineGroupsRequestBody.
|
96
96
|
:type description: str
|
97
97
|
"""
|
98
98
|
self._description = description
|
99
99
|
|
100
100
|
@property
|
101
101
|
def lines(self):
|
102
|
-
"""Gets the lines of this
|
102
|
+
"""Gets the lines of this UpdateLineGroupsRequestBody.
|
103
103
|
|
104
104
|
线路列表。
|
105
105
|
|
106
|
-
:return: The lines of this
|
106
|
+
:return: The lines of this UpdateLineGroupsRequestBody.
|
107
107
|
:rtype: list[str]
|
108
108
|
"""
|
109
109
|
return self._lines
|
110
110
|
|
111
111
|
@lines.setter
|
112
112
|
def lines(self, lines):
|
113
|
-
"""Sets the lines of this
|
113
|
+
"""Sets the lines of this UpdateLineGroupsRequestBody.
|
114
114
|
|
115
115
|
线路列表。
|
116
116
|
|
117
|
-
:param lines: The lines of this
|
117
|
+
:param lines: The lines of this UpdateLineGroupsRequestBody.
|
118
118
|
:type lines: list[str]
|
119
119
|
"""
|
120
120
|
self._lines = lines
|
@@ -161,7 +161,7 @@ class UpdateLineGroupsBody:
|
|
161
161
|
|
162
162
|
def __eq__(self, other):
|
163
163
|
"""Returns true if both objects are equal"""
|
164
|
-
if not isinstance(other,
|
164
|
+
if not isinstance(other, UpdateLineGroupsRequestBody):
|
165
165
|
return False
|
166
166
|
|
167
167
|
return self.__dict__ == other.__dict__
|
@@ -35,7 +35,7 @@ class UpdatePrivateZoneInfoReq:
|
|
35
35
|
|
36
36
|
:param description: 域名的描述信息。长度不超过255个字符。
|
37
37
|
:type description: str
|
38
|
-
:param email: 管理该zone
|
38
|
+
:param email: 管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
39
39
|
:type email: str
|
40
40
|
:param ttl: 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。
|
41
41
|
:type ttl: int
|
@@ -81,7 +81,7 @@ class UpdatePrivateZoneInfoReq:
|
|
81
81
|
def email(self):
|
82
82
|
"""Gets the email of this UpdatePrivateZoneInfoReq.
|
83
83
|
|
84
|
-
管理该zone
|
84
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
85
85
|
|
86
86
|
:return: The email of this UpdatePrivateZoneInfoReq.
|
87
87
|
:rtype: str
|
@@ -92,7 +92,7 @@ class UpdatePrivateZoneInfoReq:
|
|
92
92
|
def email(self, email):
|
93
93
|
"""Sets the email of this UpdatePrivateZoneInfoReq.
|
94
94
|
|
95
|
-
管理该zone
|
95
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
96
96
|
|
97
97
|
:param email: The email of this UpdatePrivateZoneInfoReq.
|
98
98
|
:type email: str
|
@@ -66,7 +66,7 @@ class UpdatePrivateZoneResponse(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 UpdatePrivateZoneResponse(SdkResponse):
|
|
217
217
|
def email(self):
|
218
218
|
"""Gets the email of this UpdatePrivateZoneResponse.
|
219
219
|
|
220
|
-
管理该zone
|
220
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
221
221
|
|
222
222
|
:return: The email of this UpdatePrivateZoneResponse.
|
223
223
|
:rtype: str
|
@@ -228,7 +228,7 @@ class UpdatePrivateZoneResponse(SdkResponse):
|
|
228
228
|
def email(self, email):
|
229
229
|
"""Sets the email of this UpdatePrivateZoneResponse.
|
230
230
|
|
231
|
-
管理该zone
|
231
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
232
232
|
|
233
233
|
:param email: The email of this UpdatePrivateZoneResponse.
|
234
234
|
:type email: str
|