tencentcloud-sdk-python-dnspod 3.0.1107__tar.gz → 3.0.1109__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  5. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  6. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud/dnspod/v20210323/models.py +213 -0
  7. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud_sdk_python_dnspod.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-dnspod-3.0.1109/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-dnspod-3.0.1107/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/README.rst +0 -0
  11. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud/dnspod/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud/dnspod/v20210323/__init__.py +0 -0
  14. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud_sdk_python_dnspod.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud_sdk_python_dnspod.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-dnspod-3.0.1107 → tencentcloud-sdk-python-dnspod-3.0.1109}/tencentcloud_sdk_python_dnspod.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dnspod
3
- Version: 3.0.1107
3
+ Version: 3.0.1109
4
4
  Summary: Tencent Cloud Dnspod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-dnspod',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1107"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1109"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dnspod SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1107'
17
+ __version__ = '3.0.1109'
@@ -925,6 +925,29 @@ class DnspodClient(AbstractClient):
925
925
  raise TencentCloudSDKException(type(e).__name__, str(e))
926
926
 
927
927
 
928
+ def DescribeRecordLineCategoryList(self, request):
929
+ """按分类返回线路列表
930
+
931
+ :param request: Request instance for DescribeRecordLineCategoryList.
932
+ :type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeRecordLineCategoryListRequest`
933
+ :rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeRecordLineCategoryListResponse`
934
+
935
+ """
936
+ try:
937
+ params = request._serialize()
938
+ headers = request.headers
939
+ body = self.call("DescribeRecordLineCategoryList", params, headers=headers)
940
+ response = json.loads(body)
941
+ model = models.DescribeRecordLineCategoryListResponse()
942
+ model._deserialize(response["Response"])
943
+ return model
944
+ except Exception as e:
945
+ if isinstance(e, TencentCloudSDKException):
946
+ raise
947
+ else:
948
+ raise TencentCloudSDKException(type(e).__name__, str(e))
949
+
950
+
928
951
  def DescribeRecordLineList(self, request):
929
952
  """获取等级允许的线路
930
953
 
@@ -38,6 +38,9 @@ FAILEDOPERATION_COUPONNOTSUPPORTED = 'FailedOperation.CouponNotSupported'
38
38
  # 域名已经使用过该类型的礼券了,不能重复使用。
39
39
  FAILEDOPERATION_COUPONTYPEALREADYUSED = 'FailedOperation.CouponTypeAlreadyUsed'
40
40
 
41
+ # DNSSEC 未完全关闭,不允许添加 @ 子域名 CNAME、显性 URL 或者隐性 URL 记录。
42
+ FAILEDOPERATION_DNSSECINCOMPLETECLOSED = 'FailedOperation.DNSSECIncompleteClosed'
43
+
41
44
  # 该域名已在您的列表中,无需重复添加。
42
45
  FAILEDOPERATION_DOMAINEXISTS = 'FailedOperation.DomainExists'
43
46
 
@@ -2085,6 +2085,8 @@ class CreateRecordRequest(AbstractModel):
2085
2085
  :type Status: str
2086
2086
  :param _Remark: 备注
2087
2087
  :type Remark: str
2088
+ :param _DnssecConflictMode: 开启DNSSEC时,强制添加CNAME/URL记录
2089
+ :type DnssecConflictMode: str
2088
2090
  """
2089
2091
  self._Domain = None
2090
2092
  self._RecordType = None
@@ -2098,6 +2100,7 @@ class CreateRecordRequest(AbstractModel):
2098
2100
  self._Weight = None
2099
2101
  self._Status = None
2100
2102
  self._Remark = None
2103
+ self._DnssecConflictMode = None
2101
2104
 
2102
2105
  @property
2103
2106
  def Domain(self):
@@ -2195,6 +2198,14 @@ class CreateRecordRequest(AbstractModel):
2195
2198
  def Remark(self, Remark):
2196
2199
  self._Remark = Remark
2197
2200
 
2201
+ @property
2202
+ def DnssecConflictMode(self):
2203
+ return self._DnssecConflictMode
2204
+
2205
+ @DnssecConflictMode.setter
2206
+ def DnssecConflictMode(self, DnssecConflictMode):
2207
+ self._DnssecConflictMode = DnssecConflictMode
2208
+
2198
2209
 
2199
2210
  def _deserialize(self, params):
2200
2211
  self._Domain = params.get("Domain")
@@ -2209,6 +2220,7 @@ class CreateRecordRequest(AbstractModel):
2209
2220
  self._Weight = params.get("Weight")
2210
2221
  self._Status = params.get("Status")
2211
2222
  self._Remark = params.get("Remark")
2223
+ self._DnssecConflictMode = params.get("DnssecConflictMode")
2212
2224
  memeber_set = set(params.keys())
2213
2225
  for name, value in vars(self).items():
2214
2226
  property_name = name[1:]
@@ -5643,6 +5655,93 @@ class DescribeRecordGroupListResponse(AbstractModel):
5643
5655
  self._RequestId = params.get("RequestId")
5644
5656
 
5645
5657
 
5658
+ class DescribeRecordLineCategoryListRequest(AbstractModel):
5659
+ """DescribeRecordLineCategoryList请求参数结构体
5660
+
5661
+ """
5662
+
5663
+ def __init__(self):
5664
+ r"""
5665
+ :param _Domain: 要查询线路列表的域名。
5666
+ :type Domain: str
5667
+ :param _DomainId: 要查询线路列表的域名 ID。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain。可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId。
5668
+ :type DomainId: int
5669
+ """
5670
+ self._Domain = None
5671
+ self._DomainId = None
5672
+
5673
+ @property
5674
+ def Domain(self):
5675
+ return self._Domain
5676
+
5677
+ @Domain.setter
5678
+ def Domain(self, Domain):
5679
+ self._Domain = Domain
5680
+
5681
+ @property
5682
+ def DomainId(self):
5683
+ return self._DomainId
5684
+
5685
+ @DomainId.setter
5686
+ def DomainId(self, DomainId):
5687
+ self._DomainId = DomainId
5688
+
5689
+
5690
+ def _deserialize(self, params):
5691
+ self._Domain = params.get("Domain")
5692
+ self._DomainId = params.get("DomainId")
5693
+ memeber_set = set(params.keys())
5694
+ for name, value in vars(self).items():
5695
+ property_name = name[1:]
5696
+ if property_name in memeber_set:
5697
+ memeber_set.remove(property_name)
5698
+ if len(memeber_set) > 0:
5699
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5700
+
5701
+
5702
+
5703
+ class DescribeRecordLineCategoryListResponse(AbstractModel):
5704
+ """DescribeRecordLineCategoryList返回参数结构体
5705
+
5706
+ """
5707
+
5708
+ def __init__(self):
5709
+ r"""
5710
+ :param _LineList: 按分类返回的线路列表。
5711
+ :type LineList: list of LineItem
5712
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5713
+ :type RequestId: str
5714
+ """
5715
+ self._LineList = None
5716
+ self._RequestId = None
5717
+
5718
+ @property
5719
+ def LineList(self):
5720
+ return self._LineList
5721
+
5722
+ @LineList.setter
5723
+ def LineList(self, LineList):
5724
+ self._LineList = LineList
5725
+
5726
+ @property
5727
+ def RequestId(self):
5728
+ return self._RequestId
5729
+
5730
+ @RequestId.setter
5731
+ def RequestId(self, RequestId):
5732
+ self._RequestId = RequestId
5733
+
5734
+
5735
+ def _deserialize(self, params):
5736
+ if params.get("LineList") is not None:
5737
+ self._LineList = []
5738
+ for item in params.get("LineList"):
5739
+ obj = LineItem()
5740
+ obj._deserialize(item)
5741
+ self._LineList.append(obj)
5742
+ self._RequestId = params.get("RequestId")
5743
+
5744
+
5646
5745
  class DescribeRecordLineListRequest(AbstractModel):
5647
5746
  """DescribeRecordLineList请求参数结构体
5648
5747
 
@@ -8800,6 +8899,108 @@ class LineInfo(AbstractModel):
8800
8899
 
8801
8900
 
8802
8901
 
8902
+ class LineItem(AbstractModel):
8903
+ """域名解析记录线路信息
8904
+
8905
+ """
8906
+
8907
+ def __init__(self):
8908
+ r"""
8909
+ :param _LineName: 解析线路名称。
8910
+ :type LineName: str
8911
+ :param _LineId: 解析线路 ID。
8912
+ 注意:此字段可能返回 null,表示取不到有效值。
8913
+ :type LineId: str
8914
+ :param _Useful: 当前线路在当前域名下是否可用。
8915
+ :type Useful: bool
8916
+ :param _Grade: 当前线路最低套餐等级要求。
8917
+ 注意:此字段可能返回 null,表示取不到有效值。
8918
+ :type Grade: str
8919
+ :param _SubGroup: 当前线路分类下的子线路列表。
8920
+ 注意:此字段可能返回 null,表示取不到有效值。
8921
+ :type SubGroup: list of LineItem
8922
+ :param _Lines: 自定义线路分组内包含的线路。
8923
+ 注意:此字段可能返回 null,表示取不到有效值。
8924
+ :type Lines: list of str
8925
+ """
8926
+ self._LineName = None
8927
+ self._LineId = None
8928
+ self._Useful = None
8929
+ self._Grade = None
8930
+ self._SubGroup = None
8931
+ self._Lines = None
8932
+
8933
+ @property
8934
+ def LineName(self):
8935
+ return self._LineName
8936
+
8937
+ @LineName.setter
8938
+ def LineName(self, LineName):
8939
+ self._LineName = LineName
8940
+
8941
+ @property
8942
+ def LineId(self):
8943
+ return self._LineId
8944
+
8945
+ @LineId.setter
8946
+ def LineId(self, LineId):
8947
+ self._LineId = LineId
8948
+
8949
+ @property
8950
+ def Useful(self):
8951
+ return self._Useful
8952
+
8953
+ @Useful.setter
8954
+ def Useful(self, Useful):
8955
+ self._Useful = Useful
8956
+
8957
+ @property
8958
+ def Grade(self):
8959
+ return self._Grade
8960
+
8961
+ @Grade.setter
8962
+ def Grade(self, Grade):
8963
+ self._Grade = Grade
8964
+
8965
+ @property
8966
+ def SubGroup(self):
8967
+ return self._SubGroup
8968
+
8969
+ @SubGroup.setter
8970
+ def SubGroup(self, SubGroup):
8971
+ self._SubGroup = SubGroup
8972
+
8973
+ @property
8974
+ def Lines(self):
8975
+ return self._Lines
8976
+
8977
+ @Lines.setter
8978
+ def Lines(self, Lines):
8979
+ self._Lines = Lines
8980
+
8981
+
8982
+ def _deserialize(self, params):
8983
+ self._LineName = params.get("LineName")
8984
+ self._LineId = params.get("LineId")
8985
+ self._Useful = params.get("Useful")
8986
+ self._Grade = params.get("Grade")
8987
+ if params.get("SubGroup") is not None:
8988
+ self._SubGroup = []
8989
+ for item in params.get("SubGroup"):
8990
+ obj = LineItem()
8991
+ obj._deserialize(item)
8992
+ self._SubGroup.append(obj)
8993
+ self._Lines = params.get("Lines")
8994
+ memeber_set = set(params.keys())
8995
+ for name, value in vars(self).items():
8996
+ property_name = name[1:]
8997
+ if property_name in memeber_set:
8998
+ memeber_set.remove(property_name)
8999
+ if len(memeber_set) > 0:
9000
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9001
+
9002
+
9003
+
8803
9004
  class LockInfo(AbstractModel):
8804
9005
  """域名锁定信息
8805
9006
 
@@ -10219,6 +10420,8 @@ class ModifyRecordRequest(AbstractModel):
10219
10420
  :type Status: str
10220
10421
  :param _Remark: 记录的备注信息。传空删除备注。
10221
10422
  :type Remark: str
10423
+ :param _DnssecConflictMode: 开启DNSSEC时,强制将其它记录修改为CNAME/URL记录
10424
+ :type DnssecConflictMode: str
10222
10425
  """
10223
10426
  self._Domain = None
10224
10427
  self._RecordType = None
@@ -10233,6 +10436,7 @@ class ModifyRecordRequest(AbstractModel):
10233
10436
  self._Weight = None
10234
10437
  self._Status = None
10235
10438
  self._Remark = None
10439
+ self._DnssecConflictMode = None
10236
10440
 
10237
10441
  @property
10238
10442
  def Domain(self):
@@ -10338,6 +10542,14 @@ class ModifyRecordRequest(AbstractModel):
10338
10542
  def Remark(self, Remark):
10339
10543
  self._Remark = Remark
10340
10544
 
10545
+ @property
10546
+ def DnssecConflictMode(self):
10547
+ return self._DnssecConflictMode
10548
+
10549
+ @DnssecConflictMode.setter
10550
+ def DnssecConflictMode(self, DnssecConflictMode):
10551
+ self._DnssecConflictMode = DnssecConflictMode
10552
+
10341
10553
 
10342
10554
  def _deserialize(self, params):
10343
10555
  self._Domain = params.get("Domain")
@@ -10353,6 +10565,7 @@ class ModifyRecordRequest(AbstractModel):
10353
10565
  self._Weight = params.get("Weight")
10354
10566
  self._Status = params.get("Status")
10355
10567
  self._Remark = params.get("Remark")
10568
+ self._DnssecConflictMode = params.get("DnssecConflictMode")
10356
10569
  memeber_set = set(params.keys())
10357
10570
  for name, value in vars(self).items():
10358
10571
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dnspod
3
- Version: 3.0.1107
3
+ Version: 3.0.1109
4
4
  Summary: Tencent Cloud Dnspod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1109
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1107