tencentcloud-sdk-python-dnspod 3.1.63__tar.gz → 3.1.73__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.
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/setup.py +1 -1
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/dnspod_client_async.py +18 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/models.py +255 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dnspod-3.1.73/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dnspod-3.1.63/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/README.rst +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/__init__.py +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/__init__.py +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.63 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dnspod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.73
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.73,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dnspod SDK for Python',
|
|
@@ -1945,6 +1945,29 @@ class DnspodClient(AbstractClient):
|
|
|
1945
1945
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1946
1946
|
|
|
1947
1947
|
|
|
1948
|
+
def ModifyRecordBatchV3(self, request):
|
|
1949
|
+
r"""批量修改记录
|
|
1950
|
+
|
|
1951
|
+
:param request: Request instance for ModifyRecordBatchV3.
|
|
1952
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.ModifyRecordBatchV3Request`
|
|
1953
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.ModifyRecordBatchV3Response`
|
|
1954
|
+
|
|
1955
|
+
"""
|
|
1956
|
+
try:
|
|
1957
|
+
params = request._serialize()
|
|
1958
|
+
headers = request.headers
|
|
1959
|
+
body = self.call("ModifyRecordBatchV3", params, headers=headers)
|
|
1960
|
+
response = json.loads(body)
|
|
1961
|
+
model = models.ModifyRecordBatchV3Response()
|
|
1962
|
+
model._deserialize(response["Response"])
|
|
1963
|
+
return model
|
|
1964
|
+
except Exception as e:
|
|
1965
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1966
|
+
raise
|
|
1967
|
+
else:
|
|
1968
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1969
|
+
|
|
1970
|
+
|
|
1948
1971
|
def ModifyRecordFields(self, request):
|
|
1949
1972
|
r"""修改记录可选字段
|
|
1950
1973
|
|
|
@@ -1529,6 +1529,24 @@ class DnspodClient(AbstractClient):
|
|
|
1529
1529
|
|
|
1530
1530
|
return await self.call_and_deserialize(**kwargs)
|
|
1531
1531
|
|
|
1532
|
+
async def ModifyRecordBatchV3(
|
|
1533
|
+
self,
|
|
1534
|
+
request: models.ModifyRecordBatchV3Request,
|
|
1535
|
+
opts: Dict = None,
|
|
1536
|
+
) -> models.ModifyRecordBatchV3Response:
|
|
1537
|
+
"""
|
|
1538
|
+
批量修改记录
|
|
1539
|
+
"""
|
|
1540
|
+
|
|
1541
|
+
kwargs = {}
|
|
1542
|
+
kwargs["action"] = "ModifyRecordBatchV3"
|
|
1543
|
+
kwargs["params"] = request._serialize()
|
|
1544
|
+
kwargs["resp_cls"] = models.ModifyRecordBatchV3Response
|
|
1545
|
+
kwargs["headers"] = request.headers
|
|
1546
|
+
kwargs["opts"] = opts or {}
|
|
1547
|
+
|
|
1548
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1549
|
+
|
|
1532
1550
|
async def ModifyRecordFields(
|
|
1533
1551
|
self,
|
|
1534
1552
|
request: models.ModifyRecordFieldsRequest,
|
|
@@ -15591,6 +15591,90 @@ class ModifyRecordBatchResponse(AbstractModel):
|
|
|
15591
15591
|
self._RequestId = params.get("RequestId")
|
|
15592
15592
|
|
|
15593
15593
|
|
|
15594
|
+
class ModifyRecordBatchV3Request(AbstractModel):
|
|
15595
|
+
r"""ModifyRecordBatchV3请求参数结构体
|
|
15596
|
+
|
|
15597
|
+
"""
|
|
15598
|
+
|
|
15599
|
+
def __init__(self):
|
|
15600
|
+
r"""
|
|
15601
|
+
:param _ModifyRecordList: 需要修改的记录列表
|
|
15602
|
+
:type ModifyRecordList: list of ModifyRecordItem
|
|
15603
|
+
"""
|
|
15604
|
+
self._ModifyRecordList = None
|
|
15605
|
+
|
|
15606
|
+
@property
|
|
15607
|
+
def ModifyRecordList(self):
|
|
15608
|
+
r"""需要修改的记录列表
|
|
15609
|
+
:rtype: list of ModifyRecordItem
|
|
15610
|
+
"""
|
|
15611
|
+
return self._ModifyRecordList
|
|
15612
|
+
|
|
15613
|
+
@ModifyRecordList.setter
|
|
15614
|
+
def ModifyRecordList(self, ModifyRecordList):
|
|
15615
|
+
self._ModifyRecordList = ModifyRecordList
|
|
15616
|
+
|
|
15617
|
+
|
|
15618
|
+
def _deserialize(self, params):
|
|
15619
|
+
if params.get("ModifyRecordList") is not None:
|
|
15620
|
+
self._ModifyRecordList = []
|
|
15621
|
+
for item in params.get("ModifyRecordList"):
|
|
15622
|
+
obj = ModifyRecordItem()
|
|
15623
|
+
obj._deserialize(item)
|
|
15624
|
+
self._ModifyRecordList.append(obj)
|
|
15625
|
+
memeber_set = set(params.keys())
|
|
15626
|
+
for name, value in vars(self).items():
|
|
15627
|
+
property_name = name[1:]
|
|
15628
|
+
if property_name in memeber_set:
|
|
15629
|
+
memeber_set.remove(property_name)
|
|
15630
|
+
if len(memeber_set) > 0:
|
|
15631
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15632
|
+
|
|
15633
|
+
|
|
15634
|
+
|
|
15635
|
+
class ModifyRecordBatchV3Response(AbstractModel):
|
|
15636
|
+
r"""ModifyRecordBatchV3返回参数结构体
|
|
15637
|
+
|
|
15638
|
+
"""
|
|
15639
|
+
|
|
15640
|
+
def __init__(self):
|
|
15641
|
+
r"""
|
|
15642
|
+
:param _JobId: 批量任务ID
|
|
15643
|
+
:type JobId: int
|
|
15644
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15645
|
+
:type RequestId: str
|
|
15646
|
+
"""
|
|
15647
|
+
self._JobId = None
|
|
15648
|
+
self._RequestId = None
|
|
15649
|
+
|
|
15650
|
+
@property
|
|
15651
|
+
def JobId(self):
|
|
15652
|
+
r"""批量任务ID
|
|
15653
|
+
:rtype: int
|
|
15654
|
+
"""
|
|
15655
|
+
return self._JobId
|
|
15656
|
+
|
|
15657
|
+
@JobId.setter
|
|
15658
|
+
def JobId(self, JobId):
|
|
15659
|
+
self._JobId = JobId
|
|
15660
|
+
|
|
15661
|
+
@property
|
|
15662
|
+
def RequestId(self):
|
|
15663
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15664
|
+
:rtype: str
|
|
15665
|
+
"""
|
|
15666
|
+
return self._RequestId
|
|
15667
|
+
|
|
15668
|
+
@RequestId.setter
|
|
15669
|
+
def RequestId(self, RequestId):
|
|
15670
|
+
self._RequestId = RequestId
|
|
15671
|
+
|
|
15672
|
+
|
|
15673
|
+
def _deserialize(self, params):
|
|
15674
|
+
self._JobId = params.get("JobId")
|
|
15675
|
+
self._RequestId = params.get("RequestId")
|
|
15676
|
+
|
|
15677
|
+
|
|
15594
15678
|
class ModifyRecordFieldsRequest(AbstractModel):
|
|
15595
15679
|
r"""ModifyRecordFields请求参数结构体
|
|
15596
15680
|
|
|
@@ -15844,6 +15928,177 @@ class ModifyRecordGroupResponse(AbstractModel):
|
|
|
15844
15928
|
self._RequestId = params.get("RequestId")
|
|
15845
15929
|
|
|
15846
15930
|
|
|
15931
|
+
class ModifyRecordItem(AbstractModel):
|
|
15932
|
+
r"""批量修改记录入参,指定修改的记录ID和记录内容
|
|
15933
|
+
|
|
15934
|
+
"""
|
|
15935
|
+
|
|
15936
|
+
def __init__(self):
|
|
15937
|
+
r"""
|
|
15938
|
+
:param _RecordId: 记录 ID
|
|
15939
|
+
:type RecordId: int
|
|
15940
|
+
:param _SubDomain: 主机记录
|
|
15941
|
+
:type SubDomain: str
|
|
15942
|
+
:param _RecordType: 记录类型
|
|
15943
|
+
:type RecordType: str
|
|
15944
|
+
:param _RecordLine: 记录线路
|
|
15945
|
+
:type RecordLine: str
|
|
15946
|
+
:param _Value: 记录值
|
|
15947
|
+
:type Value: str
|
|
15948
|
+
:param _Enabled: 解析记录状态 1:开启 0:暂停
|
|
15949
|
+
:type Enabled: str
|
|
15950
|
+
:param _Remark: 备注信息
|
|
15951
|
+
:type Remark: str
|
|
15952
|
+
:param _Weight: 权重
|
|
15953
|
+
:type Weight: int
|
|
15954
|
+
:param _MX: MX优先级
|
|
15955
|
+
:type MX: int
|
|
15956
|
+
:param _TTL: TTL缓存时间
|
|
15957
|
+
:type TTL: int
|
|
15958
|
+
"""
|
|
15959
|
+
self._RecordId = None
|
|
15960
|
+
self._SubDomain = None
|
|
15961
|
+
self._RecordType = None
|
|
15962
|
+
self._RecordLine = None
|
|
15963
|
+
self._Value = None
|
|
15964
|
+
self._Enabled = None
|
|
15965
|
+
self._Remark = None
|
|
15966
|
+
self._Weight = None
|
|
15967
|
+
self._MX = None
|
|
15968
|
+
self._TTL = None
|
|
15969
|
+
|
|
15970
|
+
@property
|
|
15971
|
+
def RecordId(self):
|
|
15972
|
+
r"""记录 ID
|
|
15973
|
+
:rtype: int
|
|
15974
|
+
"""
|
|
15975
|
+
return self._RecordId
|
|
15976
|
+
|
|
15977
|
+
@RecordId.setter
|
|
15978
|
+
def RecordId(self, RecordId):
|
|
15979
|
+
self._RecordId = RecordId
|
|
15980
|
+
|
|
15981
|
+
@property
|
|
15982
|
+
def SubDomain(self):
|
|
15983
|
+
r"""主机记录
|
|
15984
|
+
:rtype: str
|
|
15985
|
+
"""
|
|
15986
|
+
return self._SubDomain
|
|
15987
|
+
|
|
15988
|
+
@SubDomain.setter
|
|
15989
|
+
def SubDomain(self, SubDomain):
|
|
15990
|
+
self._SubDomain = SubDomain
|
|
15991
|
+
|
|
15992
|
+
@property
|
|
15993
|
+
def RecordType(self):
|
|
15994
|
+
r"""记录类型
|
|
15995
|
+
:rtype: str
|
|
15996
|
+
"""
|
|
15997
|
+
return self._RecordType
|
|
15998
|
+
|
|
15999
|
+
@RecordType.setter
|
|
16000
|
+
def RecordType(self, RecordType):
|
|
16001
|
+
self._RecordType = RecordType
|
|
16002
|
+
|
|
16003
|
+
@property
|
|
16004
|
+
def RecordLine(self):
|
|
16005
|
+
r"""记录线路
|
|
16006
|
+
:rtype: str
|
|
16007
|
+
"""
|
|
16008
|
+
return self._RecordLine
|
|
16009
|
+
|
|
16010
|
+
@RecordLine.setter
|
|
16011
|
+
def RecordLine(self, RecordLine):
|
|
16012
|
+
self._RecordLine = RecordLine
|
|
16013
|
+
|
|
16014
|
+
@property
|
|
16015
|
+
def Value(self):
|
|
16016
|
+
r"""记录值
|
|
16017
|
+
:rtype: str
|
|
16018
|
+
"""
|
|
16019
|
+
return self._Value
|
|
16020
|
+
|
|
16021
|
+
@Value.setter
|
|
16022
|
+
def Value(self, Value):
|
|
16023
|
+
self._Value = Value
|
|
16024
|
+
|
|
16025
|
+
@property
|
|
16026
|
+
def Enabled(self):
|
|
16027
|
+
r"""解析记录状态 1:开启 0:暂停
|
|
16028
|
+
:rtype: str
|
|
16029
|
+
"""
|
|
16030
|
+
return self._Enabled
|
|
16031
|
+
|
|
16032
|
+
@Enabled.setter
|
|
16033
|
+
def Enabled(self, Enabled):
|
|
16034
|
+
self._Enabled = Enabled
|
|
16035
|
+
|
|
16036
|
+
@property
|
|
16037
|
+
def Remark(self):
|
|
16038
|
+
r"""备注信息
|
|
16039
|
+
:rtype: str
|
|
16040
|
+
"""
|
|
16041
|
+
return self._Remark
|
|
16042
|
+
|
|
16043
|
+
@Remark.setter
|
|
16044
|
+
def Remark(self, Remark):
|
|
16045
|
+
self._Remark = Remark
|
|
16046
|
+
|
|
16047
|
+
@property
|
|
16048
|
+
def Weight(self):
|
|
16049
|
+
r"""权重
|
|
16050
|
+
:rtype: int
|
|
16051
|
+
"""
|
|
16052
|
+
return self._Weight
|
|
16053
|
+
|
|
16054
|
+
@Weight.setter
|
|
16055
|
+
def Weight(self, Weight):
|
|
16056
|
+
self._Weight = Weight
|
|
16057
|
+
|
|
16058
|
+
@property
|
|
16059
|
+
def MX(self):
|
|
16060
|
+
r"""MX优先级
|
|
16061
|
+
:rtype: int
|
|
16062
|
+
"""
|
|
16063
|
+
return self._MX
|
|
16064
|
+
|
|
16065
|
+
@MX.setter
|
|
16066
|
+
def MX(self, MX):
|
|
16067
|
+
self._MX = MX
|
|
16068
|
+
|
|
16069
|
+
@property
|
|
16070
|
+
def TTL(self):
|
|
16071
|
+
r"""TTL缓存时间
|
|
16072
|
+
:rtype: int
|
|
16073
|
+
"""
|
|
16074
|
+
return self._TTL
|
|
16075
|
+
|
|
16076
|
+
@TTL.setter
|
|
16077
|
+
def TTL(self, TTL):
|
|
16078
|
+
self._TTL = TTL
|
|
16079
|
+
|
|
16080
|
+
|
|
16081
|
+
def _deserialize(self, params):
|
|
16082
|
+
self._RecordId = params.get("RecordId")
|
|
16083
|
+
self._SubDomain = params.get("SubDomain")
|
|
16084
|
+
self._RecordType = params.get("RecordType")
|
|
16085
|
+
self._RecordLine = params.get("RecordLine")
|
|
16086
|
+
self._Value = params.get("Value")
|
|
16087
|
+
self._Enabled = params.get("Enabled")
|
|
16088
|
+
self._Remark = params.get("Remark")
|
|
16089
|
+
self._Weight = params.get("Weight")
|
|
16090
|
+
self._MX = params.get("MX")
|
|
16091
|
+
self._TTL = params.get("TTL")
|
|
16092
|
+
memeber_set = set(params.keys())
|
|
16093
|
+
for name, value in vars(self).items():
|
|
16094
|
+
property_name = name[1:]
|
|
16095
|
+
if property_name in memeber_set:
|
|
16096
|
+
memeber_set.remove(property_name)
|
|
16097
|
+
if len(memeber_set) > 0:
|
|
16098
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16099
|
+
|
|
16100
|
+
|
|
16101
|
+
|
|
15847
16102
|
class ModifyRecordRemarkRequest(AbstractModel):
|
|
15848
16103
|
r"""ModifyRecordRemark请求参数结构体
|
|
15849
16104
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dnspod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.73
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.63
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|