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
@@ -66,7 +66,7 @@ class CreatePublicZoneResponse(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
|
@@ -90,7 +90,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
90
90
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
91
91
|
:param enterprise_project_id: 域名关联的企业项目ID,长度不超过36个字符。
|
92
92
|
:type enterprise_project_id: str
|
93
|
-
:param masters: 主从模式中,从DNS
|
93
|
+
:param masters: 主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。
|
94
94
|
:type masters: list[str]
|
95
95
|
"""
|
96
96
|
|
@@ -217,7 +217,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
217
217
|
def email(self):
|
218
218
|
"""Gets the email of this CreatePublicZoneResponse.
|
219
219
|
|
220
|
-
管理该zone
|
220
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
221
221
|
|
222
222
|
:return: The email of this CreatePublicZoneResponse.
|
223
223
|
:rtype: str
|
@@ -228,7 +228,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
228
228
|
def email(self, email):
|
229
229
|
"""Sets the email of this CreatePublicZoneResponse.
|
230
230
|
|
231
|
-
管理该zone
|
231
|
+
管理该zone的管理员邮箱,用于生成该Zone的SOA记录。
|
232
232
|
|
233
233
|
:param email: The email of this CreatePublicZoneResponse.
|
234
234
|
:type email: str
|
@@ -477,7 +477,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
477
477
|
def masters(self):
|
478
478
|
"""Gets the masters of this CreatePublicZoneResponse.
|
479
479
|
|
480
|
-
主从模式中,从DNS
|
480
|
+
主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。
|
481
481
|
|
482
482
|
:return: The masters of this CreatePublicZoneResponse.
|
483
483
|
:rtype: list[str]
|
@@ -488,7 +488,7 @@ class CreatePublicZoneResponse(SdkResponse):
|
|
488
488
|
def masters(self, masters):
|
489
489
|
"""Sets the masters of this CreatePublicZoneResponse.
|
490
490
|
|
491
|
-
主从模式中,从DNS
|
491
|
+
主从模式中,从DNS服务器获取DNS信息。 目前暂未使用。
|
492
492
|
|
493
493
|
:param masters: The masters of this CreatePublicZoneResponse.
|
494
494
|
:type masters: list[str]
|
@@ -47,7 +47,7 @@ class CreateRecordSetRequestBody:
|
|
47
47
|
:type description: str
|
48
48
|
:param type: Record Set的类型。 公网域名场景的记录类型: A、AAAA、MX、CNAME、TXT、NS、SRV、CAA。 内网域名场景的记录类型: A、AAAA、MX、CNAME、TXT、SRV。
|
49
49
|
:type type: str
|
50
|
-
:param status:
|
50
|
+
:param status: 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
51
51
|
:type status: str
|
52
52
|
:param ttl: 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 如果您的服务地址经常更换,建议TTL值设置相对小些,反之,建议设置相对大些。
|
53
53
|
:type ttl: int
|
@@ -150,7 +150,7 @@ class CreateRecordSetRequestBody:
|
|
150
150
|
def status(self):
|
151
151
|
"""Gets the status of this CreateRecordSetRequestBody.
|
152
152
|
|
153
|
-
|
153
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
154
154
|
|
155
155
|
:return: The status of this CreateRecordSetRequestBody.
|
156
156
|
:rtype: str
|
@@ -161,7 +161,7 @@ class CreateRecordSetRequestBody:
|
|
161
161
|
def status(self, status):
|
162
162
|
"""Sets the status of this CreateRecordSetRequestBody.
|
163
163
|
|
164
|
-
|
164
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
165
165
|
|
166
166
|
:param status: The status of this CreateRecordSetRequestBody.
|
167
167
|
:type status: str
|
@@ -53,7 +53,7 @@ class CreateRecordSetWithLineRequestBody:
|
|
53
53
|
:type description: str
|
54
54
|
:param type: Record Set的类型。
|
55
55
|
:type type: str
|
56
|
-
:param status:
|
56
|
+
:param status: 解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
57
57
|
:type status: str
|
58
58
|
:param ttl: 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。
|
59
59
|
:type ttl: int
|
@@ -172,7 +172,7 @@ class CreateRecordSetWithLineRequestBody:
|
|
172
172
|
def status(self):
|
173
173
|
"""Gets the status of this CreateRecordSetWithLineRequestBody.
|
174
174
|
|
175
|
-
|
175
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
176
176
|
|
177
177
|
:return: The status of this CreateRecordSetWithLineRequestBody.
|
178
178
|
:rtype: str
|
@@ -183,7 +183,7 @@ class CreateRecordSetWithLineRequestBody:
|
|
183
183
|
def status(self, status):
|
184
184
|
"""Sets the status of this CreateRecordSetWithLineRequestBody.
|
185
185
|
|
186
|
-
|
186
|
+
解析记录的状态。 取值范围: ENABLE:启用 DISABLE:暂停 默认值为ENABLE。
|
187
187
|
|
188
188
|
:param status: The status of this CreateRecordSetWithLineRequestBody.
|
189
189
|
:type status: str
|
@@ -29,7 +29,7 @@ class DeleteCustomLineRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param line_id:
|
32
|
+
:param line_id: 自定义线路id
|
33
33
|
:type line_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class DeleteCustomLineRequest:
|
|
44
44
|
def line_id(self):
|
45
45
|
"""Gets the line_id of this DeleteCustomLineRequest.
|
46
46
|
|
47
|
-
|
47
|
+
自定义线路id
|
48
48
|
|
49
49
|
:return: The line_id of this DeleteCustomLineRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class DeleteCustomLineRequest:
|
|
55
55
|
def line_id(self, line_id):
|
56
56
|
"""Sets the line_id of this DeleteCustomLineRequest.
|
57
57
|
|
58
|
-
|
58
|
+
自定义线路id
|
59
59
|
|
60
60
|
:param line_id: The line_id of this DeleteCustomLineRequest.
|
61
61
|
:type line_id: str
|
@@ -29,7 +29,7 @@ class DeleteLineGroupRequest:
|
|
29
29
|
|
30
30
|
The model defined in huaweicloud sdk
|
31
31
|
|
32
|
-
:param linegroup_id: 线路分组ID
|
32
|
+
:param linegroup_id: 线路分组ID
|
33
33
|
:type linegroup_id: str
|
34
34
|
"""
|
35
35
|
|
@@ -44,7 +44,7 @@ class DeleteLineGroupRequest:
|
|
44
44
|
def linegroup_id(self):
|
45
45
|
"""Gets the linegroup_id of this DeleteLineGroupRequest.
|
46
46
|
|
47
|
-
线路分组ID
|
47
|
+
线路分组ID
|
48
48
|
|
49
49
|
:return: The linegroup_id of this DeleteLineGroupRequest.
|
50
50
|
:rtype: str
|
@@ -55,7 +55,7 @@ class DeleteLineGroupRequest:
|
|
55
55
|
def linegroup_id(self, linegroup_id):
|
56
56
|
"""Sets the linegroup_id of this DeleteLineGroupRequest.
|
57
57
|
|
58
|
-
线路分组ID
|
58
|
+
线路分组ID
|
59
59
|
|
60
60
|
:param linegroup_id: The linegroup_id of this DeleteLineGroupRequest.
|
61
61
|
:type linegroup_id: str
|
@@ -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
|
@@ -88,7 +88,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
88
88
|
:type updated_at: str
|
89
89
|
:param links:
|
90
90
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
91
|
-
:param masters: 主从模式中,从DNS
|
91
|
+
:param masters: 主从模式中,从DNS服务器获取DNS信息。
|
92
92
|
:type masters: list[str]
|
93
93
|
:param routers: 与该zone关联的Router(VPC)列表。
|
94
94
|
:type routers: list[:class:`huaweicloudsdkdns.v2.RouterWithStatus`]
|
@@ -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
|
@@ -455,7 +455,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
455
455
|
def masters(self):
|
456
456
|
"""Gets the masters of this DeletePrivateZoneResponse.
|
457
457
|
|
458
|
-
主从模式中,从DNS
|
458
|
+
主从模式中,从DNS服务器获取DNS信息。
|
459
459
|
|
460
460
|
:return: The masters of this DeletePrivateZoneResponse.
|
461
461
|
:rtype: list[str]
|
@@ -466,7 +466,7 @@ class DeletePrivateZoneResponse(SdkResponse):
|
|
466
466
|
def masters(self, masters):
|
467
467
|
"""Sets the masters of this DeletePrivateZoneResponse.
|
468
468
|
|
469
|
-
主从模式中,从DNS
|
469
|
+
主从模式中,从DNS服务器获取DNS信息。
|
470
470
|
|
471
471
|
:param masters: The masters of this DeletePrivateZoneResponse.
|
472
472
|
:type masters: list[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
|
@@ -84,7 +84,7 @@ class DeletePublicZoneResponse(SdkResponse):
|
|
84
84
|
:type created_at: str
|
85
85
|
:param updated_at: 更新时间
|
86
86
|
:type updated_at: str
|
87
|
-
:param masters: 主从模式中,从DNS
|
87
|
+
:param masters: 主从模式中,从DNS服务器获取DNS信息
|
88
88
|
:type masters: list[str]
|
89
89
|
:param links:
|
90
90
|
:type links: :class:`huaweicloudsdkdns.v2.PageLink`
|
@@ -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
|
@@ -430,7 +430,7 @@ class DeletePublicZoneResponse(SdkResponse):
|
|
430
430
|
def masters(self):
|
431
431
|
"""Gets the masters of this DeletePublicZoneResponse.
|
432
432
|
|
433
|
-
主从模式中,从DNS
|
433
|
+
主从模式中,从DNS服务器获取DNS信息
|
434
434
|
|
435
435
|
:return: The masters of this DeletePublicZoneResponse.
|
436
436
|
:rtype: list[str]
|
@@ -441,7 +441,7 @@ class DeletePublicZoneResponse(SdkResponse):
|
|
441
441
|
def masters(self, masters):
|
442
442
|
"""Sets the masters of this DeletePublicZoneResponse.
|
443
443
|
|
444
|
-
主从模式中,从DNS
|
444
|
+
主从模式中,从DNS服务器获取DNS信息
|
445
445
|
|
446
446
|
:param masters: The masters of this DeletePublicZoneResponse.
|
447
447
|
:type masters: list[str]
|
@@ -34,9 +34,9 @@ class DisassociateRouterResponse(SdkResponse):
|
|
34
34
|
|
35
35
|
The model defined in huaweicloud sdk
|
36
36
|
|
37
|
-
:param router_id:
|
37
|
+
:param router_id: 关联VPC的ID。
|
38
38
|
:type router_id: str
|
39
|
-
:param router_region:
|
39
|
+
:param router_region: 关联VPC所在的region。
|
40
40
|
:type router_region: str
|
41
41
|
:param status: 资源状态。
|
42
42
|
:type status: str
|
@@ -60,7 +60,7 @@ class DisassociateRouterResponse(SdkResponse):
|
|
60
60
|
def router_id(self):
|
61
61
|
"""Gets the router_id of this DisassociateRouterResponse.
|
62
62
|
|
63
|
-
|
63
|
+
关联VPC的ID。
|
64
64
|
|
65
65
|
:return: The router_id of this DisassociateRouterResponse.
|
66
66
|
:rtype: str
|
@@ -71,7 +71,7 @@ class DisassociateRouterResponse(SdkResponse):
|
|
71
71
|
def router_id(self, router_id):
|
72
72
|
"""Sets the router_id of this DisassociateRouterResponse.
|
73
73
|
|
74
|
-
|
74
|
+
关联VPC的ID。
|
75
75
|
|
76
76
|
:param router_id: The router_id of this DisassociateRouterResponse.
|
77
77
|
:type router_id: str
|
@@ -82,7 +82,7 @@ class DisassociateRouterResponse(SdkResponse):
|
|
82
82
|
def router_region(self):
|
83
83
|
"""Gets the router_region of this DisassociateRouterResponse.
|
84
84
|
|
85
|
-
|
85
|
+
关联VPC所在的region。
|
86
86
|
|
87
87
|
:return: The router_region of this DisassociateRouterResponse.
|
88
88
|
:rtype: str
|
@@ -93,7 +93,7 @@ class DisassociateRouterResponse(SdkResponse):
|
|
93
93
|
def router_region(self, router_region):
|
94
94
|
"""Sets the router_region of this DisassociateRouterResponse.
|
95
95
|
|
96
|
-
|
96
|
+
关联VPC所在的region。
|
97
97
|
|
98
98
|
:param router_region: The router_region of this DisassociateRouterResponse.
|
99
99
|
:type router_region: 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: 每页返回的资源个数。
|
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
|
-
每页返回的资源个数。
|
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
|
-
每页返回的资源个数。
|
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: 每页返回的资源个数。
|
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
|
-
每页返回的资源个数。
|
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
|
-
每页返回的资源个数。
|
124
|
+
每页返回的资源个数。 取值范围:0~500 取值一般为10,20,50。默认值为500。
|
125
125
|
|
126
126
|
:param limit: The limit of this ListLineGroupsRequest.
|
127
127
|
:type limit: int
|