huaweicloudsdkdns 3.1.83__py2.py3-none-any.whl → 3.1.85__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.
@@ -6,9 +6,6 @@ from huaweicloudsdkdns.v2.dns_client import DnsClient
6
6
  from huaweicloudsdkdns.v2.dns_async_client import DnsAsyncClient
7
7
 
8
8
  from huaweicloudsdkdns.v2.model.alias_target import AliasTarget
9
- from huaweicloudsdkdns.v2.model.associate_health_check_req import AssociateHealthCheckReq
10
- from huaweicloudsdkdns.v2.model.associate_health_check_request import AssociateHealthCheckRequest
11
- from huaweicloudsdkdns.v2.model.associate_health_check_response import AssociateHealthCheckResponse
12
9
  from huaweicloudsdkdns.v2.model.associate_router_request import AssociateRouterRequest
13
10
  from huaweicloudsdkdns.v2.model.associate_router_request_body import AssociateRouterRequestBody
14
11
  from huaweicloudsdkdns.v2.model.associate_router_response import AssociateRouterResponse
@@ -65,8 +62,6 @@ from huaweicloudsdkdns.v2.model.delete_record_sets_request import DeleteRecordSe
65
62
  from huaweicloudsdkdns.v2.model.delete_record_sets_response import DeleteRecordSetsResponse
66
63
  from huaweicloudsdkdns.v2.model.delete_tag_request import DeleteTagRequest
67
64
  from huaweicloudsdkdns.v2.model.delete_tag_response import DeleteTagResponse
68
- from huaweicloudsdkdns.v2.model.disassociate_health_check_request import DisassociateHealthCheckRequest
69
- from huaweicloudsdkdns.v2.model.disassociate_health_check_response import DisassociateHealthCheckResponse
70
65
  from huaweicloudsdkdns.v2.model.disassociate_router_request import DisassociateRouterRequest
71
66
  from huaweicloudsdkdns.v2.model.disassociate_router_response import DisassociateRouterResponse
72
67
  from huaweicloudsdkdns.v2.model.disassociaterouter_request_body import DisassociaterouterRequestBody
@@ -1244,73 +1244,6 @@ class DnsAsyncClient(Client):
1244
1244
 
1245
1245
  return http_info
1246
1246
 
1247
- def associate_health_check_async(self, request):
1248
- """Record Set关联健康检查
1249
-
1250
- Record Set关联健康检查。
1251
-
1252
- Please refer to HUAWEI cloud API Explorer for details.
1253
-
1254
-
1255
- :param request: Request instance for AssociateHealthCheck
1256
- :type request: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckRequest`
1257
- :rtype: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckResponse`
1258
- """
1259
- http_info = self._associate_health_check_http_info(request)
1260
- return self._call_api(**http_info)
1261
-
1262
- def associate_health_check_async_invoker(self, request):
1263
- http_info = self._associate_health_check_http_info(request)
1264
- return AsyncInvoker(self, http_info)
1265
-
1266
- def _associate_health_check_http_info(self, request):
1267
- http_info = {
1268
- "method": "POST",
1269
- "resource_path": "/v2.1/recordsets/{recordset_id}/associatehealthcheck",
1270
- "request_type": request.__class__.__name__,
1271
- "response_type": "AssociateHealthCheckResponse"
1272
- }
1273
-
1274
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1275
-
1276
- cname = None
1277
-
1278
- collection_formats = {}
1279
-
1280
- path_params = {}
1281
- if 'recordset_id' in local_var_params:
1282
- path_params['recordset_id'] = local_var_params['recordset_id']
1283
-
1284
- query_params = []
1285
-
1286
- header_params = {}
1287
-
1288
- form_params = {}
1289
-
1290
- body = None
1291
- if 'body' in local_var_params:
1292
- body = local_var_params['body']
1293
- if isinstance(request, SdkStreamRequest):
1294
- body = request.get_file_stream()
1295
-
1296
- response_headers = []
1297
-
1298
- header_params['Content-Type'] = http_utils.select_header_content_type(
1299
- ['application/json'])
1300
-
1301
- auth_settings = []
1302
-
1303
- http_info["cname"] = cname
1304
- http_info["collection_formats"] = collection_formats
1305
- http_info["path_params"] = path_params
1306
- http_info["query_params"] = query_params
1307
- http_info["header_params"] = header_params
1308
- http_info["post_params"] = form_params
1309
- http_info["body"] = body
1310
- http_info["response_headers"] = response_headers
1311
-
1312
- return http_info
1313
-
1314
1247
  def batch_delete_record_set_with_line_async(self, request):
1315
1248
  """批量删除某个Zone下的Record Set资源
1316
1249
 
@@ -1782,73 +1715,6 @@ class DnsAsyncClient(Client):
1782
1715
 
1783
1716
  return http_info
1784
1717
 
1785
- def disassociate_health_check_async(self, request):
1786
- """Record Set解关联健康检查
1787
-
1788
- Record Set解关联健康检查。
1789
-
1790
- Please refer to HUAWEI cloud API Explorer for details.
1791
-
1792
-
1793
- :param request: Request instance for DisassociateHealthCheck
1794
- :type request: :class:`huaweicloudsdkdns.v2.DisassociateHealthCheckRequest`
1795
- :rtype: :class:`huaweicloudsdkdns.v2.DisassociateHealthCheckResponse`
1796
- """
1797
- http_info = self._disassociate_health_check_http_info(request)
1798
- return self._call_api(**http_info)
1799
-
1800
- def disassociate_health_check_async_invoker(self, request):
1801
- http_info = self._disassociate_health_check_http_info(request)
1802
- return AsyncInvoker(self, http_info)
1803
-
1804
- def _disassociate_health_check_http_info(self, request):
1805
- http_info = {
1806
- "method": "DELETE",
1807
- "resource_path": "/v2.1/recordsets/{recordset_id}/disassociatehealthcheck",
1808
- "request_type": request.__class__.__name__,
1809
- "response_type": "DisassociateHealthCheckResponse"
1810
- }
1811
-
1812
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1813
-
1814
- cname = None
1815
-
1816
- collection_formats = {}
1817
-
1818
- path_params = {}
1819
- if 'recordset_id' in local_var_params:
1820
- path_params['recordset_id'] = local_var_params['recordset_id']
1821
-
1822
- query_params = []
1823
-
1824
- header_params = {}
1825
-
1826
- form_params = {}
1827
-
1828
- body = None
1829
- if 'body' in local_var_params:
1830
- body = local_var_params['body']
1831
- if isinstance(request, SdkStreamRequest):
1832
- body = request.get_file_stream()
1833
-
1834
- response_headers = []
1835
-
1836
- header_params['Content-Type'] = http_utils.select_header_content_type(
1837
- ['application/json'])
1838
-
1839
- auth_settings = []
1840
-
1841
- http_info["cname"] = cname
1842
- http_info["collection_formats"] = collection_formats
1843
- http_info["path_params"] = path_params
1844
- http_info["query_params"] = query_params
1845
- http_info["header_params"] = header_params
1846
- http_info["post_params"] = form_params
1847
- http_info["body"] = body
1848
- http_info["response_headers"] = response_headers
1849
-
1850
- return http_info
1851
-
1852
1718
  def list_record_sets_async(self, request):
1853
1719
  """查询租户Record Set资源列表
1854
1720
 
@@ -1244,73 +1244,6 @@ class DnsClient(Client):
1244
1244
 
1245
1245
  return http_info
1246
1246
 
1247
- def associate_health_check(self, request):
1248
- """Record Set关联健康检查
1249
-
1250
- Record Set关联健康检查。
1251
-
1252
- Please refer to HUAWEI cloud API Explorer for details.
1253
-
1254
- :param request: Request instance for AssociateHealthCheck
1255
- :type request: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckRequest`
1256
- :rtype: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckResponse`
1257
- """
1258
- http_info = self._associate_health_check_http_info(request)
1259
- return self._call_api(**http_info)
1260
-
1261
- def associate_health_check_invoker(self, request):
1262
- http_info = self._associate_health_check_http_info(request)
1263
- return SyncInvoker(self, http_info)
1264
-
1265
- @classmethod
1266
- def _associate_health_check_http_info(cls, request):
1267
- http_info = {
1268
- "method": "POST",
1269
- "resource_path": "/v2.1/recordsets/{recordset_id}/associatehealthcheck",
1270
- "request_type": request.__class__.__name__,
1271
- "response_type": "AssociateHealthCheckResponse"
1272
- }
1273
-
1274
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1275
-
1276
- cname = None
1277
-
1278
- collection_formats = {}
1279
-
1280
- path_params = {}
1281
- if 'recordset_id' in local_var_params:
1282
- path_params['recordset_id'] = local_var_params['recordset_id']
1283
-
1284
- query_params = []
1285
-
1286
- header_params = {}
1287
-
1288
- form_params = {}
1289
-
1290
- body = None
1291
- if 'body' in local_var_params:
1292
- body = local_var_params['body']
1293
- if isinstance(request, SdkStreamRequest):
1294
- body = request.get_file_stream()
1295
-
1296
- response_headers = []
1297
-
1298
- header_params['Content-Type'] = http_utils.select_header_content_type(
1299
- ['application/json'])
1300
-
1301
- auth_settings = []
1302
-
1303
- http_info["cname"] = cname
1304
- http_info["collection_formats"] = collection_formats
1305
- http_info["path_params"] = path_params
1306
- http_info["query_params"] = query_params
1307
- http_info["header_params"] = header_params
1308
- http_info["post_params"] = form_params
1309
- http_info["body"] = body
1310
- http_info["response_headers"] = response_headers
1311
-
1312
- return http_info
1313
-
1314
1247
  def batch_delete_record_set_with_line(self, request):
1315
1248
  """批量删除某个Zone下的Record Set资源
1316
1249
 
@@ -1782,73 +1715,6 @@ class DnsClient(Client):
1782
1715
 
1783
1716
  return http_info
1784
1717
 
1785
- def disassociate_health_check(self, request):
1786
- """Record Set解关联健康检查
1787
-
1788
- Record Set解关联健康检查。
1789
-
1790
- Please refer to HUAWEI cloud API Explorer for details.
1791
-
1792
- :param request: Request instance for DisassociateHealthCheck
1793
- :type request: :class:`huaweicloudsdkdns.v2.DisassociateHealthCheckRequest`
1794
- :rtype: :class:`huaweicloudsdkdns.v2.DisassociateHealthCheckResponse`
1795
- """
1796
- http_info = self._disassociate_health_check_http_info(request)
1797
- return self._call_api(**http_info)
1798
-
1799
- def disassociate_health_check_invoker(self, request):
1800
- http_info = self._disassociate_health_check_http_info(request)
1801
- return SyncInvoker(self, http_info)
1802
-
1803
- @classmethod
1804
- def _disassociate_health_check_http_info(cls, request):
1805
- http_info = {
1806
- "method": "DELETE",
1807
- "resource_path": "/v2.1/recordsets/{recordset_id}/disassociatehealthcheck",
1808
- "request_type": request.__class__.__name__,
1809
- "response_type": "DisassociateHealthCheckResponse"
1810
- }
1811
-
1812
- local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1813
-
1814
- cname = None
1815
-
1816
- collection_formats = {}
1817
-
1818
- path_params = {}
1819
- if 'recordset_id' in local_var_params:
1820
- path_params['recordset_id'] = local_var_params['recordset_id']
1821
-
1822
- query_params = []
1823
-
1824
- header_params = {}
1825
-
1826
- form_params = {}
1827
-
1828
- body = None
1829
- if 'body' in local_var_params:
1830
- body = local_var_params['body']
1831
- if isinstance(request, SdkStreamRequest):
1832
- body = request.get_file_stream()
1833
-
1834
- response_headers = []
1835
-
1836
- header_params['Content-Type'] = http_utils.select_header_content_type(
1837
- ['application/json'])
1838
-
1839
- auth_settings = []
1840
-
1841
- http_info["cname"] = cname
1842
- http_info["collection_formats"] = collection_formats
1843
- http_info["path_params"] = path_params
1844
- http_info["query_params"] = query_params
1845
- http_info["header_params"] = header_params
1846
- http_info["post_params"] = form_params
1847
- http_info["body"] = body
1848
- http_info["response_headers"] = response_headers
1849
-
1850
- return http_info
1851
-
1852
1718
  def list_record_sets(self, request):
1853
1719
  """查询租户Record Set资源列表
1854
1720
 
@@ -4,9 +4,6 @@ from __future__ import absolute_import
4
4
 
5
5
  # import models into model package
6
6
  from huaweicloudsdkdns.v2.model.alias_target import AliasTarget
7
- from huaweicloudsdkdns.v2.model.associate_health_check_req import AssociateHealthCheckReq
8
- from huaweicloudsdkdns.v2.model.associate_health_check_request import AssociateHealthCheckRequest
9
- from huaweicloudsdkdns.v2.model.associate_health_check_response import AssociateHealthCheckResponse
10
7
  from huaweicloudsdkdns.v2.model.associate_router_request import AssociateRouterRequest
11
8
  from huaweicloudsdkdns.v2.model.associate_router_request_body import AssociateRouterRequestBody
12
9
  from huaweicloudsdkdns.v2.model.associate_router_response import AssociateRouterResponse
@@ -63,8 +60,6 @@ from huaweicloudsdkdns.v2.model.delete_record_sets_request import DeleteRecordSe
63
60
  from huaweicloudsdkdns.v2.model.delete_record_sets_response import DeleteRecordSetsResponse
64
61
  from huaweicloudsdkdns.v2.model.delete_tag_request import DeleteTagRequest
65
62
  from huaweicloudsdkdns.v2.model.delete_tag_response import DeleteTagResponse
66
- from huaweicloudsdkdns.v2.model.disassociate_health_check_request import DisassociateHealthCheckRequest
67
- from huaweicloudsdkdns.v2.model.disassociate_health_check_response import DisassociateHealthCheckResponse
68
63
  from huaweicloudsdkdns.v2.model.disassociate_router_request import DisassociateRouterRequest
69
64
  from huaweicloudsdkdns.v2.model.disassociate_router_response import DisassociateRouterResponse
70
65
  from huaweicloudsdkdns.v2.model.disassociaterouter_request_body import DisassociaterouterRequestBody
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkdns
3
- Version: 3.1.83
3
+ Version: 3.1.85
4
4
  Summary: DNS
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore >=3.1.83
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.85
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -1,12 +1,9 @@
1
1
  huaweicloudsdkdns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- huaweicloudsdkdns/v2/__init__.py,sha256=rSnYUmVT6rHPyWMqCCOe6I6nhFcNLbLcmYe3A7UOPsE,15199
3
- huaweicloudsdkdns/v2/dns_async_client.py,sha256=m48wOkJsCUPVb4zZC7YKFafK9RYK7jjJ-qKBF_EdM0k,136081
4
- huaweicloudsdkdns/v2/dns_client.py,sha256=0lSlEd2ZE--lVsf0VFpWhh3nOr9Pl1WHcWBsG8x56Nw,136090
5
- huaweicloudsdkdns/v2/model/__init__.py,sha256=k_w6dmx8m_nPTYmS54X3o7X88mTCPlV6a11MrBPa3lk,15113
2
+ huaweicloudsdkdns/v2/__init__.py,sha256=t7gqO8MgYqXWjc4tVFL9Yl1tnXHsttxWi5l_-T3gVqg,14701
3
+ huaweicloudsdkdns/v2/dns_async_client.py,sha256=KhbiHr6NJfAOCwS0N4wp_7WaRmDrJf_bRWN6AVWCKik,131569
4
+ huaweicloudsdkdns/v2/dns_client.py,sha256=hRptM5u4ChJDUH-MCfyT-Ju2rbO_sDCVXVl3IGALfww,131574
5
+ huaweicloudsdkdns/v2/model/__init__.py,sha256=GgYDVWg3I2tZazCfKTiB8Mj6Sy4YfnZE7ZdoId92M6c,14615
6
6
  huaweicloudsdkdns/v2/model/alias_target.py,sha256=TXlkuZcwtxOYMC96Lg5oQyEEC3jMwdGIrSD1FOfoS8E,4541
7
- huaweicloudsdkdns/v2/model/associate_health_check_req.py,sha256=I522pMNetyK4McgWZXRMoMDC9NQN7hxiHAuMFgIOfDU,3489
8
- huaweicloudsdkdns/v2/model/associate_health_check_request.py,sha256=lh71-TDe_NZNAlYgzGRHtUk1gPwsLdhzzrzWTrt07Z4,4078
9
- huaweicloudsdkdns/v2/model/associate_health_check_response.py,sha256=uUBeeLKRGibEoiC9pYzquMrXM_wwaXgtzSVkrsVAgy4,3689
10
7
  huaweicloudsdkdns/v2/model/associate_router_request.py,sha256=GS_TbuvmagUPYknVP3bs6DU7pOsavzieo8Liov_bCLo,3905
11
8
  huaweicloudsdkdns/v2/model/associate_router_request_body.py,sha256=OGrhzNOMc_06jf-YCA0wgd0CUEmPj_uybhmVZozdvtM,3088
12
9
  huaweicloudsdkdns/v2/model/associate_router_response.py,sha256=w6KAeiTS0C8J1doxw6B6R572sMqvmyTLuxTkbccMPK8,4941
@@ -63,8 +60,6 @@ huaweicloudsdkdns/v2/model/delete_record_sets_request.py,sha256=crFb2ew_bwHNbUQ0
63
60
  huaweicloudsdkdns/v2/model/delete_record_sets_response.py,sha256=2nZKOjZDYEg_8PrpmafQsOKpdwpu5vYnniHty0tmCi0,17238
64
61
  huaweicloudsdkdns/v2/model/delete_tag_request.py,sha256=kEr7z__aTfMX0BMpKe4m8HNaeBzZCkIdG5XvNrO6eP4,4964
65
62
  huaweicloudsdkdns/v2/model/delete_tag_response.py,sha256=dX_m3etjZpywClqaIiRdXOpyPa0xhv_Ez-f7wPxc2to,2419
66
- huaweicloudsdkdns/v2/model/disassociate_health_check_request.py,sha256=fbU7VBnY9eQpSyc2bNlRvWFQ_j2fQDRa5HN7h2Y0FAc,4126
67
- huaweicloudsdkdns/v2/model/disassociate_health_check_response.py,sha256=GyhMkRs_YmkspuhkyD-6ciaZ_rL0JcViJtaWAiM1GJ4,3713
68
63
  huaweicloudsdkdns/v2/model/disassociate_router_request.py,sha256=t_lKTjTuQQuZBzauRaE-3jxcXHsHgM6_1lTrX2cGpgs,3959
69
64
  huaweicloudsdkdns/v2/model/disassociate_router_response.py,sha256=UcyjmIAeOTpqGoEZl2vaAM8x4svhkxOLM7TCaefCKaI,4989
70
65
  huaweicloudsdkdns/v2/model/disassociaterouter_request_body.py,sha256=s1Vx0_TrWYOl1Cv0FnY8F-IHQQ6iYwV8Yvf57eap_7c,3109
@@ -175,8 +170,8 @@ huaweicloudsdkdns/v2/model/values_item.py,sha256=0AXLTxTQgrI2oA5ROO_uWgzBU90u3y-
175
170
  huaweicloudsdkdns/v2/model/version_item.py,sha256=Qe8ZF1oE8--TxtkJ9qScxZcSJBMQjNjBRxzVL-yQOSY,7653
176
171
  huaweicloudsdkdns/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
177
172
  huaweicloudsdkdns/v2/region/dns_region.py,sha256=PLUwxLHBgSpjFOD0BtqdPiZXfp018iAgLvnMeyr-lEI,3441
178
- huaweicloudsdkdns-3.1.83.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
179
- huaweicloudsdkdns-3.1.83.dist-info/METADATA,sha256=JvKAy0R3rFYe7DBPw89wYCxGuSC6j9u3CP3Fd4zfsy4,1134
180
- huaweicloudsdkdns-3.1.83.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
181
- huaweicloudsdkdns-3.1.83.dist-info/top_level.txt,sha256=L6Y0lsiaUnIBMbDONPwK10dyE0vMKUfYcxZcjjSmu2E,18
182
- huaweicloudsdkdns-3.1.83.dist-info/RECORD,,
173
+ huaweicloudsdkdns-3.1.85.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
174
+ huaweicloudsdkdns-3.1.85.dist-info/METADATA,sha256=Fgtj2PGD-ojPyKUwmmH5LAHNFVEhww9iK_FIRpX2Of0,1134
175
+ huaweicloudsdkdns-3.1.85.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
176
+ huaweicloudsdkdns-3.1.85.dist-info/top_level.txt,sha256=L6Y0lsiaUnIBMbDONPwK10dyE0vMKUfYcxZcjjSmu2E,18
177
+ huaweicloudsdkdns-3.1.85.dist-info/RECORD,,
@@ -1,114 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class AssociateHealthCheckReq:
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
- 'health_check_id': 'str'
21
- }
22
-
23
- attribute_map = {
24
- 'health_check_id': 'health_check_id'
25
- }
26
-
27
- def __init__(self, health_check_id=None):
28
- """AssociateHealthCheckReq
29
-
30
- The model defined in huaweicloud sdk
31
-
32
- :param health_check_id: 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
33
- :type health_check_id: str
34
- """
35
-
36
-
37
-
38
- self._health_check_id = None
39
- self.discriminator = None
40
-
41
- self.health_check_id = health_check_id
42
-
43
- @property
44
- def health_check_id(self):
45
- """Gets the health_check_id of this AssociateHealthCheckReq.
46
-
47
- 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
48
-
49
- :return: The health_check_id of this AssociateHealthCheckReq.
50
- :rtype: str
51
- """
52
- return self._health_check_id
53
-
54
- @health_check_id.setter
55
- def health_check_id(self, health_check_id):
56
- """Sets the health_check_id of this AssociateHealthCheckReq.
57
-
58
- 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
59
-
60
- :param health_check_id: The health_check_id of this AssociateHealthCheckReq.
61
- :type health_check_id: str
62
- """
63
- self._health_check_id = health_check_id
64
-
65
- def to_dict(self):
66
- """Returns the model properties as a dict"""
67
- result = {}
68
-
69
- for attr, _ in six.iteritems(self.openapi_types):
70
- value = getattr(self, attr)
71
- if isinstance(value, list):
72
- result[attr] = list(map(
73
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
- value
75
- ))
76
- elif hasattr(value, "to_dict"):
77
- result[attr] = value.to_dict()
78
- elif isinstance(value, dict):
79
- result[attr] = dict(map(
80
- lambda item: (item[0], item[1].to_dict())
81
- if hasattr(item[1], "to_dict") else item,
82
- value.items()
83
- ))
84
- else:
85
- if attr in self.sensitive_list:
86
- result[attr] = "****"
87
- else:
88
- result[attr] = value
89
-
90
- return result
91
-
92
- def to_str(self):
93
- """Returns the string representation of the model"""
94
- import simplejson as json
95
- if six.PY2:
96
- import sys
97
- reload(sys)
98
- sys.setdefaultencoding("utf-8")
99
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
-
101
- def __repr__(self):
102
- """For `print`"""
103
- return self.to_str()
104
-
105
- def __eq__(self, other):
106
- """Returns true if both objects are equal"""
107
- if not isinstance(other, AssociateHealthCheckReq):
108
- return False
109
-
110
- return self.__dict__ == other.__dict__
111
-
112
- def __ne__(self, other):
113
- """Returns true if both objects are not equal"""
114
- return not self == other
@@ -1,139 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class AssociateHealthCheckRequest:
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
- 'recordset_id': 'str',
21
- 'body': 'AssociateHealthCheckReq'
22
- }
23
-
24
- attribute_map = {
25
- 'recordset_id': 'recordset_id',
26
- 'body': 'body'
27
- }
28
-
29
- def __init__(self, recordset_id=None, body=None):
30
- """AssociateHealthCheckRequest
31
-
32
- The model defined in huaweicloud sdk
33
-
34
- :param recordset_id: 待查询的recordset ID。
35
- :type recordset_id: str
36
- :param body: Body of the AssociateHealthCheckRequest
37
- :type body: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckReq`
38
- """
39
-
40
-
41
-
42
- self._recordset_id = None
43
- self._body = None
44
- self.discriminator = None
45
-
46
- self.recordset_id = recordset_id
47
- if body is not None:
48
- self.body = body
49
-
50
- @property
51
- def recordset_id(self):
52
- """Gets the recordset_id of this AssociateHealthCheckRequest.
53
-
54
- 待查询的recordset ID。
55
-
56
- :return: The recordset_id of this AssociateHealthCheckRequest.
57
- :rtype: str
58
- """
59
- return self._recordset_id
60
-
61
- @recordset_id.setter
62
- def recordset_id(self, recordset_id):
63
- """Sets the recordset_id of this AssociateHealthCheckRequest.
64
-
65
- 待查询的recordset ID。
66
-
67
- :param recordset_id: The recordset_id of this AssociateHealthCheckRequest.
68
- :type recordset_id: str
69
- """
70
- self._recordset_id = recordset_id
71
-
72
- @property
73
- def body(self):
74
- """Gets the body of this AssociateHealthCheckRequest.
75
-
76
- :return: The body of this AssociateHealthCheckRequest.
77
- :rtype: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckReq`
78
- """
79
- return self._body
80
-
81
- @body.setter
82
- def body(self, body):
83
- """Sets the body of this AssociateHealthCheckRequest.
84
-
85
- :param body: The body of this AssociateHealthCheckRequest.
86
- :type body: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckReq`
87
- """
88
- self._body = body
89
-
90
- def to_dict(self):
91
- """Returns the model properties as a dict"""
92
- result = {}
93
-
94
- for attr, _ in six.iteritems(self.openapi_types):
95
- value = getattr(self, attr)
96
- if isinstance(value, list):
97
- result[attr] = list(map(
98
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
99
- value
100
- ))
101
- elif hasattr(value, "to_dict"):
102
- result[attr] = value.to_dict()
103
- elif isinstance(value, dict):
104
- result[attr] = dict(map(
105
- lambda item: (item[0], item[1].to_dict())
106
- if hasattr(item[1], "to_dict") else item,
107
- value.items()
108
- ))
109
- else:
110
- if attr in self.sensitive_list:
111
- result[attr] = "****"
112
- else:
113
- result[attr] = value
114
-
115
- return result
116
-
117
- def to_str(self):
118
- """Returns the string representation of the model"""
119
- import simplejson as json
120
- if six.PY2:
121
- import sys
122
- reload(sys)
123
- sys.setdefaultencoding("utf-8")
124
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
125
-
126
- def __repr__(self):
127
- """For `print`"""
128
- return self.to_str()
129
-
130
- def __eq__(self, other):
131
- """Returns true if both objects are equal"""
132
- if not isinstance(other, AssociateHealthCheckRequest):
133
- return False
134
-
135
- return self.__dict__ == other.__dict__
136
-
137
- def __ne__(self, other):
138
- """Returns true if both objects are not equal"""
139
- return not self == other
@@ -1,116 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.sdk_response import SdkResponse
6
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
-
8
-
9
- class AssociateHealthCheckResponse(SdkResponse):
10
-
11
- """
12
- Attributes:
13
- openapi_types (dict): The key is attribute name
14
- and the value is attribute type.
15
- attribute_map (dict): The key is attribute name
16
- and the value is json key in definition.
17
- """
18
- sensitive_list = []
19
-
20
- openapi_types = {
21
- 'health_check_id': 'str'
22
- }
23
-
24
- attribute_map = {
25
- 'health_check_id': 'health_check_id'
26
- }
27
-
28
- def __init__(self, health_check_id=None):
29
- """AssociateHealthCheckResponse
30
-
31
- The model defined in huaweicloud sdk
32
-
33
- :param health_check_id: 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
34
- :type health_check_id: str
35
- """
36
-
37
- super(AssociateHealthCheckResponse, self).__init__()
38
-
39
- self._health_check_id = None
40
- self.discriminator = None
41
-
42
- if health_check_id is not None:
43
- self.health_check_id = health_check_id
44
-
45
- @property
46
- def health_check_id(self):
47
- """Gets the health_check_id of this AssociateHealthCheckResponse.
48
-
49
- 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
50
-
51
- :return: The health_check_id of this AssociateHealthCheckResponse.
52
- :rtype: str
53
- """
54
- return self._health_check_id
55
-
56
- @health_check_id.setter
57
- def health_check_id(self, health_check_id):
58
- """Sets the health_check_id of this AssociateHealthCheckResponse.
59
-
60
- 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
61
-
62
- :param health_check_id: The health_check_id of this AssociateHealthCheckResponse.
63
- :type health_check_id: str
64
- """
65
- self._health_check_id = health_check_id
66
-
67
- def to_dict(self):
68
- """Returns the model properties as a dict"""
69
- result = {}
70
-
71
- for attr, _ in six.iteritems(self.openapi_types):
72
- value = getattr(self, attr)
73
- if isinstance(value, list):
74
- result[attr] = list(map(
75
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
- value
77
- ))
78
- elif hasattr(value, "to_dict"):
79
- result[attr] = value.to_dict()
80
- elif isinstance(value, dict):
81
- result[attr] = dict(map(
82
- lambda item: (item[0], item[1].to_dict())
83
- if hasattr(item[1], "to_dict") else item,
84
- value.items()
85
- ))
86
- else:
87
- if attr in self.sensitive_list:
88
- result[attr] = "****"
89
- else:
90
- result[attr] = value
91
-
92
- return result
93
-
94
- def to_str(self):
95
- """Returns the string representation of the model"""
96
- import simplejson as json
97
- if six.PY2:
98
- import sys
99
- reload(sys)
100
- sys.setdefaultencoding("utf-8")
101
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
-
103
- def __repr__(self):
104
- """For `print`"""
105
- return self.to_str()
106
-
107
- def __eq__(self, other):
108
- """Returns true if both objects are equal"""
109
- if not isinstance(other, AssociateHealthCheckResponse):
110
- return False
111
-
112
- return self.__dict__ == other.__dict__
113
-
114
- def __ne__(self, other):
115
- """Returns true if both objects are not equal"""
116
- return not self == other
@@ -1,139 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class DisassociateHealthCheckRequest:
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
- 'recordset_id': 'str',
21
- 'body': 'AssociateHealthCheckReq'
22
- }
23
-
24
- attribute_map = {
25
- 'recordset_id': 'recordset_id',
26
- 'body': 'body'
27
- }
28
-
29
- def __init__(self, recordset_id=None, body=None):
30
- """DisassociateHealthCheckRequest
31
-
32
- The model defined in huaweicloud sdk
33
-
34
- :param recordset_id: Record Set关联健康检查。
35
- :type recordset_id: str
36
- :param body: Body of the DisassociateHealthCheckRequest
37
- :type body: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckReq`
38
- """
39
-
40
-
41
-
42
- self._recordset_id = None
43
- self._body = None
44
- self.discriminator = None
45
-
46
- self.recordset_id = recordset_id
47
- if body is not None:
48
- self.body = body
49
-
50
- @property
51
- def recordset_id(self):
52
- """Gets the recordset_id of this DisassociateHealthCheckRequest.
53
-
54
- Record Set关联健康检查。
55
-
56
- :return: The recordset_id of this DisassociateHealthCheckRequest.
57
- :rtype: str
58
- """
59
- return self._recordset_id
60
-
61
- @recordset_id.setter
62
- def recordset_id(self, recordset_id):
63
- """Sets the recordset_id of this DisassociateHealthCheckRequest.
64
-
65
- Record Set关联健康检查。
66
-
67
- :param recordset_id: The recordset_id of this DisassociateHealthCheckRequest.
68
- :type recordset_id: str
69
- """
70
- self._recordset_id = recordset_id
71
-
72
- @property
73
- def body(self):
74
- """Gets the body of this DisassociateHealthCheckRequest.
75
-
76
- :return: The body of this DisassociateHealthCheckRequest.
77
- :rtype: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckReq`
78
- """
79
- return self._body
80
-
81
- @body.setter
82
- def body(self, body):
83
- """Sets the body of this DisassociateHealthCheckRequest.
84
-
85
- :param body: The body of this DisassociateHealthCheckRequest.
86
- :type body: :class:`huaweicloudsdkdns.v2.AssociateHealthCheckReq`
87
- """
88
- self._body = body
89
-
90
- def to_dict(self):
91
- """Returns the model properties as a dict"""
92
- result = {}
93
-
94
- for attr, _ in six.iteritems(self.openapi_types):
95
- value = getattr(self, attr)
96
- if isinstance(value, list):
97
- result[attr] = list(map(
98
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
99
- value
100
- ))
101
- elif hasattr(value, "to_dict"):
102
- result[attr] = value.to_dict()
103
- elif isinstance(value, dict):
104
- result[attr] = dict(map(
105
- lambda item: (item[0], item[1].to_dict())
106
- if hasattr(item[1], "to_dict") else item,
107
- value.items()
108
- ))
109
- else:
110
- if attr in self.sensitive_list:
111
- result[attr] = "****"
112
- else:
113
- result[attr] = value
114
-
115
- return result
116
-
117
- def to_str(self):
118
- """Returns the string representation of the model"""
119
- import simplejson as json
120
- if six.PY2:
121
- import sys
122
- reload(sys)
123
- sys.setdefaultencoding("utf-8")
124
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
125
-
126
- def __repr__(self):
127
- """For `print`"""
128
- return self.to_str()
129
-
130
- def __eq__(self, other):
131
- """Returns true if both objects are equal"""
132
- if not isinstance(other, DisassociateHealthCheckRequest):
133
- return False
134
-
135
- return self.__dict__ == other.__dict__
136
-
137
- def __ne__(self, other):
138
- """Returns true if both objects are not equal"""
139
- return not self == other
@@ -1,116 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.sdk_response import SdkResponse
6
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
-
8
-
9
- class DisassociateHealthCheckResponse(SdkResponse):
10
-
11
- """
12
- Attributes:
13
- openapi_types (dict): The key is attribute name
14
- and the value is attribute type.
15
- attribute_map (dict): The key is attribute name
16
- and the value is json key in definition.
17
- """
18
- sensitive_list = []
19
-
20
- openapi_types = {
21
- 'health_check_id': 'str'
22
- }
23
-
24
- attribute_map = {
25
- 'health_check_id': 'health_check_id'
26
- }
27
-
28
- def __init__(self, health_check_id=None):
29
- """DisassociateHealthCheckResponse
30
-
31
- The model defined in huaweicloud sdk
32
-
33
- :param health_check_id: 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
34
- :type health_check_id: str
35
- """
36
-
37
- super(DisassociateHealthCheckResponse, self).__init__()
38
-
39
- self._health_check_id = None
40
- self.discriminator = None
41
-
42
- if health_check_id is not None:
43
- self.health_check_id = health_check_id
44
-
45
- @property
46
- def health_check_id(self):
47
- """Gets the health_check_id of this DisassociateHealthCheckResponse.
48
-
49
- 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
50
-
51
- :return: The health_check_id of this DisassociateHealthCheckResponse.
52
- :rtype: str
53
- """
54
- return self._health_check_id
55
-
56
- @health_check_id.setter
57
- def health_check_id(self, health_check_id):
58
- """Sets the health_check_id of this DisassociateHealthCheckResponse.
59
-
60
- 健康检查ID。 通过云解析服务的管理控制台,在健康检查的详情页面中获取。
61
-
62
- :param health_check_id: The health_check_id of this DisassociateHealthCheckResponse.
63
- :type health_check_id: str
64
- """
65
- self._health_check_id = health_check_id
66
-
67
- def to_dict(self):
68
- """Returns the model properties as a dict"""
69
- result = {}
70
-
71
- for attr, _ in six.iteritems(self.openapi_types):
72
- value = getattr(self, attr)
73
- if isinstance(value, list):
74
- result[attr] = list(map(
75
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
- value
77
- ))
78
- elif hasattr(value, "to_dict"):
79
- result[attr] = value.to_dict()
80
- elif isinstance(value, dict):
81
- result[attr] = dict(map(
82
- lambda item: (item[0], item[1].to_dict())
83
- if hasattr(item[1], "to_dict") else item,
84
- value.items()
85
- ))
86
- else:
87
- if attr in self.sensitive_list:
88
- result[attr] = "****"
89
- else:
90
- result[attr] = value
91
-
92
- return result
93
-
94
- def to_str(self):
95
- """Returns the string representation of the model"""
96
- import simplejson as json
97
- if six.PY2:
98
- import sys
99
- reload(sys)
100
- sys.setdefaultencoding("utf-8")
101
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
-
103
- def __repr__(self):
104
- """For `print`"""
105
- return self.to_str()
106
-
107
- def __eq__(self, other):
108
- """Returns true if both objects are equal"""
109
- if not isinstance(other, DisassociateHealthCheckResponse):
110
- return False
111
-
112
- return self.__dict__ == other.__dict__
113
-
114
- def __ne__(self, other):
115
- """Returns true if both objects are not equal"""
116
- return not self == other