tencentcloud-sdk-python-dnspod 3.1.77__py2.py3-none-any.whl → 3.1.123__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/dnspod_client_async.py +18 -0
- tencentcloud/dnspod/v20210323/models.py +186 -2
- {tencentcloud_sdk_python_dnspod-3.1.77.dist-info → tencentcloud_sdk_python_dnspod-3.1.123.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_dnspod-3.1.123.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_dnspod-3.1.77.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_dnspod-3.1.77.dist-info → tencentcloud_sdk_python_dnspod-3.1.123.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.77.dist-info → tencentcloud_sdk_python_dnspod-3.1.123.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -904,6 +904,29 @@ class DnspodClient(AbstractClient):
|
|
|
904
904
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
905
905
|
|
|
906
906
|
|
|
907
|
+
def DescribeDomainLogFilterFile(self, request):
|
|
908
|
+
r"""获取域名操作日志导出文件下载地址
|
|
909
|
+
|
|
910
|
+
:param request: Request instance for DescribeDomainLogFilterFile.
|
|
911
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeDomainLogFilterFileRequest`
|
|
912
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeDomainLogFilterFileResponse`
|
|
913
|
+
|
|
914
|
+
"""
|
|
915
|
+
try:
|
|
916
|
+
params = request._serialize()
|
|
917
|
+
headers = request.headers
|
|
918
|
+
body = self.call("DescribeDomainLogFilterFile", params, headers=headers)
|
|
919
|
+
response = json.loads(body)
|
|
920
|
+
model = models.DescribeDomainLogFilterFileResponse()
|
|
921
|
+
model._deserialize(response["Response"])
|
|
922
|
+
return model
|
|
923
|
+
except Exception as e:
|
|
924
|
+
if isinstance(e, TencentCloudSDKException):
|
|
925
|
+
raise
|
|
926
|
+
else:
|
|
927
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
928
|
+
|
|
929
|
+
|
|
907
930
|
def DescribeDomainLogList(self, request):
|
|
908
931
|
r"""获取域名日志
|
|
909
932
|
|
|
@@ -713,6 +713,24 @@ class DnspodClient(AbstractClient):
|
|
|
713
713
|
|
|
714
714
|
return await self.call_and_deserialize(**kwargs)
|
|
715
715
|
|
|
716
|
+
async def DescribeDomainLogFilterFile(
|
|
717
|
+
self,
|
|
718
|
+
request: models.DescribeDomainLogFilterFileRequest,
|
|
719
|
+
opts: Dict = None,
|
|
720
|
+
) -> models.DescribeDomainLogFilterFileResponse:
|
|
721
|
+
"""
|
|
722
|
+
获取域名操作日志导出文件下载地址
|
|
723
|
+
"""
|
|
724
|
+
|
|
725
|
+
kwargs = {}
|
|
726
|
+
kwargs["action"] = "DescribeDomainLogFilterFile"
|
|
727
|
+
kwargs["params"] = request._serialize()
|
|
728
|
+
kwargs["resp_cls"] = models.DescribeDomainLogFilterFileResponse
|
|
729
|
+
kwargs["headers"] = request.headers
|
|
730
|
+
kwargs["opts"] = opts or {}
|
|
731
|
+
|
|
732
|
+
return await self.call_and_deserialize(**kwargs)
|
|
733
|
+
|
|
716
734
|
async def DescribeDomainLogList(
|
|
717
735
|
self,
|
|
718
736
|
request: models.DescribeDomainLogListRequest,
|
|
@@ -1020,7 +1020,7 @@ class CreateAndPayDealRequest(AbstractModel):
|
|
|
1020
1020
|
:type DealType: int
|
|
1021
1021
|
:param _GoodsType: <p>商品类型,1 域名套餐 2 增值服务</p>
|
|
1022
1022
|
:type GoodsType: int
|
|
1023
|
-
:param _GoodsChildType: <p
|
|
1023
|
+
:param _GoodsChildType: <p>套餐类型 或 增值服务类型</p><p>枚举值:</p><ul><li>DP_PLUS: 专业版</li><li>DP_EXPERT: 企业版</li><li>DP_ULTRA: 尊享版</li><li>LB: 负载均衡</li><li>URL: URL转发</li><li>DMONITOR_TASKS: D监控任务数</li><li>DMONITOR_IP: D监控备用 IP 数</li><li>CUSTOMLINE: 自定义线路数</li></ul><p>升级场景,需传入当前域名绑定的套餐类型</p>
|
|
1024
1024
|
:type GoodsChildType: str
|
|
1025
1025
|
:param _GoodsNum: <p>增值服务购买数量,如果是域名套餐固定为1,如果是增值服务则按以下规则:<br>负载均衡、D监控任务数、D监控备用 IP 数、自定义线路数、URL 转发(必须是5的正整数倍,如 5、10、15 等)</p>
|
|
1026
1026
|
:type GoodsNum: int
|
|
@@ -1069,7 +1069,7 @@ class CreateAndPayDealRequest(AbstractModel):
|
|
|
1069
1069
|
|
|
1070
1070
|
@property
|
|
1071
1071
|
def GoodsChildType(self):
|
|
1072
|
-
r"""<p
|
|
1072
|
+
r"""<p>套餐类型 或 增值服务类型</p><p>枚举值:</p><ul><li>DP_PLUS: 专业版</li><li>DP_EXPERT: 企业版</li><li>DP_ULTRA: 尊享版</li><li>LB: 负载均衡</li><li>URL: URL转发</li><li>DMONITOR_TASKS: D监控任务数</li><li>DMONITOR_IP: D监控备用 IP 数</li><li>CUSTOMLINE: 自定义线路数</li></ul><p>升级场景,需传入当前域名绑定的套餐类型</p>
|
|
1073
1073
|
:rtype: str
|
|
1074
1074
|
"""
|
|
1075
1075
|
return self._GoodsChildType
|
|
@@ -6888,6 +6888,190 @@ class DescribeDomainListResponse(AbstractModel):
|
|
|
6888
6888
|
self._RequestId = params.get("RequestId")
|
|
6889
6889
|
|
|
6890
6890
|
|
|
6891
|
+
class DescribeDomainLogFilterFileRequest(AbstractModel):
|
|
6892
|
+
r"""DescribeDomainLogFilterFile请求参数结构体
|
|
6893
|
+
|
|
6894
|
+
"""
|
|
6895
|
+
|
|
6896
|
+
def __init__(self):
|
|
6897
|
+
r"""
|
|
6898
|
+
:param _Domain: 要获取操作日志的域名
|
|
6899
|
+
:type Domain: str
|
|
6900
|
+
:param _DomainId: 要获取操作日志的域名 Id,如果传了 DomainId,系统将会忽略 Domain 参数。 可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId
|
|
6901
|
+
:type DomainId: int
|
|
6902
|
+
:param _Keyword: 通过关键字搜索,支持搜索字段:账户 UIN、操作 IP、操作内容
|
|
6903
|
+
:type Keyword: str
|
|
6904
|
+
:param _OperateBegin: 操作时间范围起始时间(仅支持近6个月的日志查询)
|
|
6905
|
+
:type OperateBegin: str
|
|
6906
|
+
:param _OperateEnd: 操作时间范围截止时间(仅支持近6个月的日志查询)
|
|
6907
|
+
:type OperateEnd: str
|
|
6908
|
+
:param _OperateUin: 操作账号 UIN 精确匹配
|
|
6909
|
+
:type OperateUin: int
|
|
6910
|
+
:param _OperateClientIP: 操作 IP 精确匹配
|
|
6911
|
+
:type OperateClientIP: str
|
|
6912
|
+
:param _OperateContent: 操作内容 模糊匹配
|
|
6913
|
+
:type OperateContent: str
|
|
6914
|
+
"""
|
|
6915
|
+
self._Domain = None
|
|
6916
|
+
self._DomainId = None
|
|
6917
|
+
self._Keyword = None
|
|
6918
|
+
self._OperateBegin = None
|
|
6919
|
+
self._OperateEnd = None
|
|
6920
|
+
self._OperateUin = None
|
|
6921
|
+
self._OperateClientIP = None
|
|
6922
|
+
self._OperateContent = None
|
|
6923
|
+
|
|
6924
|
+
@property
|
|
6925
|
+
def Domain(self):
|
|
6926
|
+
r"""要获取操作日志的域名
|
|
6927
|
+
:rtype: str
|
|
6928
|
+
"""
|
|
6929
|
+
return self._Domain
|
|
6930
|
+
|
|
6931
|
+
@Domain.setter
|
|
6932
|
+
def Domain(self, Domain):
|
|
6933
|
+
self._Domain = Domain
|
|
6934
|
+
|
|
6935
|
+
@property
|
|
6936
|
+
def DomainId(self):
|
|
6937
|
+
r"""要获取操作日志的域名 Id,如果传了 DomainId,系统将会忽略 Domain 参数。 可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId
|
|
6938
|
+
:rtype: int
|
|
6939
|
+
"""
|
|
6940
|
+
return self._DomainId
|
|
6941
|
+
|
|
6942
|
+
@DomainId.setter
|
|
6943
|
+
def DomainId(self, DomainId):
|
|
6944
|
+
self._DomainId = DomainId
|
|
6945
|
+
|
|
6946
|
+
@property
|
|
6947
|
+
def Keyword(self):
|
|
6948
|
+
r"""通过关键字搜索,支持搜索字段:账户 UIN、操作 IP、操作内容
|
|
6949
|
+
:rtype: str
|
|
6950
|
+
"""
|
|
6951
|
+
return self._Keyword
|
|
6952
|
+
|
|
6953
|
+
@Keyword.setter
|
|
6954
|
+
def Keyword(self, Keyword):
|
|
6955
|
+
self._Keyword = Keyword
|
|
6956
|
+
|
|
6957
|
+
@property
|
|
6958
|
+
def OperateBegin(self):
|
|
6959
|
+
r"""操作时间范围起始时间(仅支持近6个月的日志查询)
|
|
6960
|
+
:rtype: str
|
|
6961
|
+
"""
|
|
6962
|
+
return self._OperateBegin
|
|
6963
|
+
|
|
6964
|
+
@OperateBegin.setter
|
|
6965
|
+
def OperateBegin(self, OperateBegin):
|
|
6966
|
+
self._OperateBegin = OperateBegin
|
|
6967
|
+
|
|
6968
|
+
@property
|
|
6969
|
+
def OperateEnd(self):
|
|
6970
|
+
r"""操作时间范围截止时间(仅支持近6个月的日志查询)
|
|
6971
|
+
:rtype: str
|
|
6972
|
+
"""
|
|
6973
|
+
return self._OperateEnd
|
|
6974
|
+
|
|
6975
|
+
@OperateEnd.setter
|
|
6976
|
+
def OperateEnd(self, OperateEnd):
|
|
6977
|
+
self._OperateEnd = OperateEnd
|
|
6978
|
+
|
|
6979
|
+
@property
|
|
6980
|
+
def OperateUin(self):
|
|
6981
|
+
r"""操作账号 UIN 精确匹配
|
|
6982
|
+
:rtype: int
|
|
6983
|
+
"""
|
|
6984
|
+
return self._OperateUin
|
|
6985
|
+
|
|
6986
|
+
@OperateUin.setter
|
|
6987
|
+
def OperateUin(self, OperateUin):
|
|
6988
|
+
self._OperateUin = OperateUin
|
|
6989
|
+
|
|
6990
|
+
@property
|
|
6991
|
+
def OperateClientIP(self):
|
|
6992
|
+
r"""操作 IP 精确匹配
|
|
6993
|
+
:rtype: str
|
|
6994
|
+
"""
|
|
6995
|
+
return self._OperateClientIP
|
|
6996
|
+
|
|
6997
|
+
@OperateClientIP.setter
|
|
6998
|
+
def OperateClientIP(self, OperateClientIP):
|
|
6999
|
+
self._OperateClientIP = OperateClientIP
|
|
7000
|
+
|
|
7001
|
+
@property
|
|
7002
|
+
def OperateContent(self):
|
|
7003
|
+
r"""操作内容 模糊匹配
|
|
7004
|
+
:rtype: str
|
|
7005
|
+
"""
|
|
7006
|
+
return self._OperateContent
|
|
7007
|
+
|
|
7008
|
+
@OperateContent.setter
|
|
7009
|
+
def OperateContent(self, OperateContent):
|
|
7010
|
+
self._OperateContent = OperateContent
|
|
7011
|
+
|
|
7012
|
+
|
|
7013
|
+
def _deserialize(self, params):
|
|
7014
|
+
self._Domain = params.get("Domain")
|
|
7015
|
+
self._DomainId = params.get("DomainId")
|
|
7016
|
+
self._Keyword = params.get("Keyword")
|
|
7017
|
+
self._OperateBegin = params.get("OperateBegin")
|
|
7018
|
+
self._OperateEnd = params.get("OperateEnd")
|
|
7019
|
+
self._OperateUin = params.get("OperateUin")
|
|
7020
|
+
self._OperateClientIP = params.get("OperateClientIP")
|
|
7021
|
+
self._OperateContent = params.get("OperateContent")
|
|
7022
|
+
memeber_set = set(params.keys())
|
|
7023
|
+
for name, value in vars(self).items():
|
|
7024
|
+
property_name = name[1:]
|
|
7025
|
+
if property_name in memeber_set:
|
|
7026
|
+
memeber_set.remove(property_name)
|
|
7027
|
+
if len(memeber_set) > 0:
|
|
7028
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7029
|
+
|
|
7030
|
+
|
|
7031
|
+
|
|
7032
|
+
class DescribeDomainLogFilterFileResponse(AbstractModel):
|
|
7033
|
+
r"""DescribeDomainLogFilterFile返回参数结构体
|
|
7034
|
+
|
|
7035
|
+
"""
|
|
7036
|
+
|
|
7037
|
+
def __init__(self):
|
|
7038
|
+
r"""
|
|
7039
|
+
:param _DownloadURL: 文件下载地址。
|
|
7040
|
+
:type DownloadURL: str
|
|
7041
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7042
|
+
:type RequestId: str
|
|
7043
|
+
"""
|
|
7044
|
+
self._DownloadURL = None
|
|
7045
|
+
self._RequestId = None
|
|
7046
|
+
|
|
7047
|
+
@property
|
|
7048
|
+
def DownloadURL(self):
|
|
7049
|
+
r"""文件下载地址。
|
|
7050
|
+
:rtype: str
|
|
7051
|
+
"""
|
|
7052
|
+
return self._DownloadURL
|
|
7053
|
+
|
|
7054
|
+
@DownloadURL.setter
|
|
7055
|
+
def DownloadURL(self, DownloadURL):
|
|
7056
|
+
self._DownloadURL = DownloadURL
|
|
7057
|
+
|
|
7058
|
+
@property
|
|
7059
|
+
def RequestId(self):
|
|
7060
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7061
|
+
:rtype: str
|
|
7062
|
+
"""
|
|
7063
|
+
return self._RequestId
|
|
7064
|
+
|
|
7065
|
+
@RequestId.setter
|
|
7066
|
+
def RequestId(self, RequestId):
|
|
7067
|
+
self._RequestId = RequestId
|
|
7068
|
+
|
|
7069
|
+
|
|
7070
|
+
def _deserialize(self, params):
|
|
7071
|
+
self._DownloadURL = params.get("DownloadURL")
|
|
7072
|
+
self._RequestId = params.get("RequestId")
|
|
7073
|
+
|
|
7074
|
+
|
|
6891
7075
|
class DescribeDomainLogListRequest(AbstractModel):
|
|
6892
7076
|
r"""DescribeDomainLogList请求参数结构体
|
|
6893
7077
|
|
|
@@ -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.123
|
|
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.123
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=0BQt8tXJuLz1idtWERtxkQ6Gld41MkzQ-_WAl2U_Tbw,630
|
|
2
|
+
tencentcloud/dnspod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/dnspod/v20210323/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/dnspod/v20210323/dnspod_client.py,sha256=QYmEtzuxxj_GmY8LT1OseFDu-58ktL5hPWw1ijEfpg4,89940
|
|
5
|
+
tencentcloud/dnspod/v20210323/dnspod_client_async.py,sha256=fPCHIJOWrc0ooP-hPYOtIkApj4gMpLsOcD--_0zBzHg,59957
|
|
6
|
+
tencentcloud/dnspod/v20210323/errorcodes.py,sha256=X-kqG84PwQMNrHYphL9qe5vIpGXOuG4D03sGfsRJzdw,32246
|
|
7
|
+
tencentcloud/dnspod/v20210323/models.py,sha256=q6LD1MQWcQLmRhTsivHEMPLi5dUOZx7HXBTh4ZM9zVQ,624174
|
|
8
|
+
tencentcloud_sdk_python_dnspod-3.1.123.dist-info/METADATA,sha256=TGd1gRiJFbCaKU_u8Zl4_zXxIJDJqARuQYvc9BXerXE,1512
|
|
9
|
+
tencentcloud_sdk_python_dnspod-3.1.123.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_dnspod-3.1.123.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_dnspod-3.1.123.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=XRuMwlwfpGdEJdjtIijMfnUVVVZGrvs5Z3IT-hh5tMw,629
|
|
2
|
-
tencentcloud/dnspod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/dnspod/v20210323/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/dnspod/v20210323/dnspod_client.py,sha256=SRp3sPC06O4sreJBGPq7T4Kl39i5XbEACVI1SW-D54w,88974
|
|
5
|
-
tencentcloud/dnspod/v20210323/dnspod_client_async.py,sha256=LVpxbZrZqpPl15ViR45tF_1lVILqJHpTT02vn-7zhPQ,59306
|
|
6
|
-
tencentcloud/dnspod/v20210323/errorcodes.py,sha256=X-kqG84PwQMNrHYphL9qe5vIpGXOuG4D03sGfsRJzdw,32246
|
|
7
|
-
tencentcloud/dnspod/v20210323/models.py,sha256=_sV_AJld5rlhS6mhlueCLKGlVOcaVnpWTZ7zdlmCsqA,618055
|
|
8
|
-
tencentcloud_sdk_python_dnspod-3.1.77.dist-info/METADATA,sha256=uLhF6FlM7Xied7A9NihV1yv6SgKQXC43ZM6QIVe1C3c,1510
|
|
9
|
-
tencentcloud_sdk_python_dnspod-3.1.77.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_dnspod-3.1.77.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_dnspod-3.1.77.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|