tencentcloud-sdk-python-dnspod 3.0.1267__tar.gz → 3.0.1276__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.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/setup.py +1 -1
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud/dnspod/v20210323/errorcodes.py +3 -3
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud/dnspod/v20210323/models.py +190 -2
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud_sdk_python_dnspod.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dnspod-3.0.1276/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dnspod-3.0.1267/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/README.rst +0 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud/dnspod/__init__.py +0 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud/dnspod/v20210323/__init__.py +0 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud_sdk_python_dnspod.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud_sdk_python_dnspod.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/tencentcloud_sdk_python_dnspod.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/setup.py
RENAMED
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1276"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dnspod SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -351,6 +351,29 @@ class DnspodClient(AbstractClient):
|
|
|
351
351
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
352
352
|
|
|
353
353
|
|
|
354
|
+
def CreateSubdomainValidateTXTValue(self, request):
|
|
355
|
+
"""创建添加子域名 Zone 域解析时所需要的 TXT 记录值
|
|
356
|
+
|
|
357
|
+
:param request: Request instance for CreateSubdomainValidateTXTValue.
|
|
358
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.CreateSubdomainValidateTXTValueRequest`
|
|
359
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.CreateSubdomainValidateTXTValueResponse`
|
|
360
|
+
|
|
361
|
+
"""
|
|
362
|
+
try:
|
|
363
|
+
params = request._serialize()
|
|
364
|
+
headers = request.headers
|
|
365
|
+
body = self.call("CreateSubdomainValidateTXTValue", params, headers=headers)
|
|
366
|
+
response = json.loads(body)
|
|
367
|
+
model = models.CreateSubdomainValidateTXTValueResponse()
|
|
368
|
+
model._deserialize(response["Response"])
|
|
369
|
+
return model
|
|
370
|
+
except Exception as e:
|
|
371
|
+
if isinstance(e, TencentCloudSDKException):
|
|
372
|
+
raise
|
|
373
|
+
else:
|
|
374
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
375
|
+
|
|
376
|
+
|
|
354
377
|
def CreateTXTRecord(self, request):
|
|
355
378
|
"""添加TXT记录
|
|
356
379
|
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
@@ -1303,6 +1326,29 @@ class DnspodClient(AbstractClient):
|
|
|
1303
1326
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1304
1327
|
|
|
1305
1328
|
|
|
1329
|
+
def DescribeSubdomainValidateStatus(self, request):
|
|
1330
|
+
"""查看添加子域名 Zone 域解析 TXT 记录值验证状态
|
|
1331
|
+
|
|
1332
|
+
:param request: Request instance for DescribeSubdomainValidateStatus.
|
|
1333
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeSubdomainValidateStatusRequest`
|
|
1334
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeSubdomainValidateStatusResponse`
|
|
1335
|
+
|
|
1336
|
+
"""
|
|
1337
|
+
try:
|
|
1338
|
+
params = request._serialize()
|
|
1339
|
+
headers = request.headers
|
|
1340
|
+
body = self.call("DescribeSubdomainValidateStatus", params, headers=headers)
|
|
1341
|
+
response = json.loads(body)
|
|
1342
|
+
model = models.DescribeSubdomainValidateStatusResponse()
|
|
1343
|
+
model._deserialize(response["Response"])
|
|
1344
|
+
return model
|
|
1345
|
+
except Exception as e:
|
|
1346
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1347
|
+
raise
|
|
1348
|
+
else:
|
|
1349
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1350
|
+
|
|
1351
|
+
|
|
1306
1352
|
def DescribeUserDetail(self, request):
|
|
1307
1353
|
"""获取账户信息
|
|
1308
1354
|
|
|
@@ -173,7 +173,7 @@ INVALIDPARAMETER_BATCHRECORDREMOVEACTIONERROR = 'InvalidParameter.BatchRecordRem
|
|
|
173
173
|
# 批量替换记录任务失败,原因:内部错误。
|
|
174
174
|
INVALIDPARAMETER_BATCHRECORDREPLACEACTIONERROR = 'InvalidParameter.BatchRecordReplaceActionError'
|
|
175
175
|
|
|
176
|
-
#
|
|
176
|
+
# 超过单个账号的批量任务数并发上限4个。
|
|
177
177
|
INVALIDPARAMETER_BATCHTASKCOUNTLIMIT = 'InvalidParameter.BatchTaskCountLimit'
|
|
178
178
|
|
|
179
179
|
# 任务不存在,无法获取任务详情。
|
|
@@ -359,7 +359,7 @@ INVALIDPARAMETER_IPAREA = 'InvalidParameter.IpArea'
|
|
|
359
359
|
# ips 过长。
|
|
360
360
|
INVALIDPARAMETER_IPSEXCEEDLIMIT = 'InvalidParameter.IpsExceedLimit'
|
|
361
361
|
|
|
362
|
-
#
|
|
362
|
+
# 单次任务记录数量超过上限5000条。
|
|
363
363
|
INVALIDPARAMETER_JOBGREATERTHANLIMIT = 'InvalidParameter.JobGreaterThanLimit'
|
|
364
364
|
|
|
365
365
|
# 线路格式不正确。
|
|
@@ -692,7 +692,7 @@ OPERATIONDENIED_VIPDOMAINALLOWED = 'OperationDenied.VipDomainAllowed'
|
|
|
692
692
|
# 请求的次数超过了频率限制。
|
|
693
693
|
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
|
694
694
|
|
|
695
|
-
# 您的IP
|
|
695
|
+
# 您的IP添加了过多任务。每个小时内,一个IP最多可提交80个任务,请稍后重试。
|
|
696
696
|
REQUESTLIMITEXCEEDED_BATCHTASKLIMIT = 'RequestLimitExceeded.BatchTaskLimit'
|
|
697
697
|
|
|
698
698
|
# 您的账号在短时间内添加了大量的域名,请控制添加频率。
|
|
@@ -3055,6 +3055,130 @@ class CreateSnapshotResponse(AbstractModel):
|
|
|
3055
3055
|
self._RequestId = params.get("RequestId")
|
|
3056
3056
|
|
|
3057
3057
|
|
|
3058
|
+
class CreateSubdomainValidateTXTValueRequest(AbstractModel):
|
|
3059
|
+
"""CreateSubdomainValidateTXTValue请求参数结构体
|
|
3060
|
+
|
|
3061
|
+
"""
|
|
3062
|
+
|
|
3063
|
+
def __init__(self):
|
|
3064
|
+
r"""
|
|
3065
|
+
:param _DomainZone: 要添加的子域名 Zone 域。
|
|
3066
|
+
:type DomainZone: str
|
|
3067
|
+
"""
|
|
3068
|
+
self._DomainZone = None
|
|
3069
|
+
|
|
3070
|
+
@property
|
|
3071
|
+
def DomainZone(self):
|
|
3072
|
+
"""要添加的子域名 Zone 域。
|
|
3073
|
+
:rtype: str
|
|
3074
|
+
"""
|
|
3075
|
+
return self._DomainZone
|
|
3076
|
+
|
|
3077
|
+
@DomainZone.setter
|
|
3078
|
+
def DomainZone(self, DomainZone):
|
|
3079
|
+
self._DomainZone = DomainZone
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
def _deserialize(self, params):
|
|
3083
|
+
self._DomainZone = params.get("DomainZone")
|
|
3084
|
+
memeber_set = set(params.keys())
|
|
3085
|
+
for name, value in vars(self).items():
|
|
3086
|
+
property_name = name[1:]
|
|
3087
|
+
if property_name in memeber_set:
|
|
3088
|
+
memeber_set.remove(property_name)
|
|
3089
|
+
if len(memeber_set) > 0:
|
|
3090
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
class CreateSubdomainValidateTXTValueResponse(AbstractModel):
|
|
3095
|
+
"""CreateSubdomainValidateTXTValue返回参数结构体
|
|
3096
|
+
|
|
3097
|
+
"""
|
|
3098
|
+
|
|
3099
|
+
def __init__(self):
|
|
3100
|
+
r"""
|
|
3101
|
+
:param _Domain: 需要添加 TXT 记录的域名。
|
|
3102
|
+
:type Domain: str
|
|
3103
|
+
:param _Subdomain: 需要添加 TXT 记录的主机记录。
|
|
3104
|
+
:type Subdomain: str
|
|
3105
|
+
:param _RecordType: 需要添加记录类型。
|
|
3106
|
+
:type RecordType: str
|
|
3107
|
+
:param _Value: 需要添加 TXT 记录的记录值。
|
|
3108
|
+
:type Value: str
|
|
3109
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3110
|
+
:type RequestId: str
|
|
3111
|
+
"""
|
|
3112
|
+
self._Domain = None
|
|
3113
|
+
self._Subdomain = None
|
|
3114
|
+
self._RecordType = None
|
|
3115
|
+
self._Value = None
|
|
3116
|
+
self._RequestId = None
|
|
3117
|
+
|
|
3118
|
+
@property
|
|
3119
|
+
def Domain(self):
|
|
3120
|
+
"""需要添加 TXT 记录的域名。
|
|
3121
|
+
:rtype: str
|
|
3122
|
+
"""
|
|
3123
|
+
return self._Domain
|
|
3124
|
+
|
|
3125
|
+
@Domain.setter
|
|
3126
|
+
def Domain(self, Domain):
|
|
3127
|
+
self._Domain = Domain
|
|
3128
|
+
|
|
3129
|
+
@property
|
|
3130
|
+
def Subdomain(self):
|
|
3131
|
+
"""需要添加 TXT 记录的主机记录。
|
|
3132
|
+
:rtype: str
|
|
3133
|
+
"""
|
|
3134
|
+
return self._Subdomain
|
|
3135
|
+
|
|
3136
|
+
@Subdomain.setter
|
|
3137
|
+
def Subdomain(self, Subdomain):
|
|
3138
|
+
self._Subdomain = Subdomain
|
|
3139
|
+
|
|
3140
|
+
@property
|
|
3141
|
+
def RecordType(self):
|
|
3142
|
+
"""需要添加记录类型。
|
|
3143
|
+
:rtype: str
|
|
3144
|
+
"""
|
|
3145
|
+
return self._RecordType
|
|
3146
|
+
|
|
3147
|
+
@RecordType.setter
|
|
3148
|
+
def RecordType(self, RecordType):
|
|
3149
|
+
self._RecordType = RecordType
|
|
3150
|
+
|
|
3151
|
+
@property
|
|
3152
|
+
def Value(self):
|
|
3153
|
+
"""需要添加 TXT 记录的记录值。
|
|
3154
|
+
:rtype: str
|
|
3155
|
+
"""
|
|
3156
|
+
return self._Value
|
|
3157
|
+
|
|
3158
|
+
@Value.setter
|
|
3159
|
+
def Value(self, Value):
|
|
3160
|
+
self._Value = Value
|
|
3161
|
+
|
|
3162
|
+
@property
|
|
3163
|
+
def RequestId(self):
|
|
3164
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3165
|
+
:rtype: str
|
|
3166
|
+
"""
|
|
3167
|
+
return self._RequestId
|
|
3168
|
+
|
|
3169
|
+
@RequestId.setter
|
|
3170
|
+
def RequestId(self, RequestId):
|
|
3171
|
+
self._RequestId = RequestId
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
def _deserialize(self, params):
|
|
3175
|
+
self._Domain = params.get("Domain")
|
|
3176
|
+
self._Subdomain = params.get("Subdomain")
|
|
3177
|
+
self._RecordType = params.get("RecordType")
|
|
3178
|
+
self._Value = params.get("Value")
|
|
3179
|
+
self._RequestId = params.get("RequestId")
|
|
3180
|
+
|
|
3181
|
+
|
|
3058
3182
|
class CreateTXTRecordRequest(AbstractModel):
|
|
3059
3183
|
"""CreateTXTRecord请求参数结构体
|
|
3060
3184
|
|
|
@@ -6966,7 +7090,7 @@ UPDATED_ON:解析记录更新时间
|
|
|
6966
7090
|
:type SortField: str
|
|
6967
7091
|
:param _SortType: 排序方式,升序:ASC,降序:DESC。默认值为ASC。
|
|
6968
7092
|
:type SortType: str
|
|
6969
|
-
:param _Offset: 偏移量,默认值为0
|
|
7093
|
+
:param _Offset: 偏移量,默认值为0。如果入参携带"Domain","ffset","Limit" 这3个以外的参数,记录结果限制最大3000条
|
|
6970
7094
|
:type Offset: int
|
|
6971
7095
|
:param _Limit: 限制数量,当前Limit最大支持3000。默认值为100。
|
|
6972
7096
|
:type Limit: int
|
|
@@ -7134,7 +7258,7 @@ UPDATED_ON:解析记录更新时间
|
|
|
7134
7258
|
|
|
7135
7259
|
@property
|
|
7136
7260
|
def Offset(self):
|
|
7137
|
-
"""偏移量,默认值为0
|
|
7261
|
+
"""偏移量,默认值为0。如果入参携带"Domain","ffset","Limit" 这3个以外的参数,记录结果限制最大3000条
|
|
7138
7262
|
:rtype: int
|
|
7139
7263
|
"""
|
|
7140
7264
|
return self._Offset
|
|
@@ -9338,6 +9462,70 @@ class DescribeSubdomainAnalyticsResponse(AbstractModel):
|
|
|
9338
9462
|
self._RequestId = params.get("RequestId")
|
|
9339
9463
|
|
|
9340
9464
|
|
|
9465
|
+
class DescribeSubdomainValidateStatusRequest(AbstractModel):
|
|
9466
|
+
"""DescribeSubdomainValidateStatus请求参数结构体
|
|
9467
|
+
|
|
9468
|
+
"""
|
|
9469
|
+
|
|
9470
|
+
def __init__(self):
|
|
9471
|
+
r"""
|
|
9472
|
+
:param _DomainZone: 要查看 TXT 记录校验状态的子域名 Zone 域。
|
|
9473
|
+
:type DomainZone: str
|
|
9474
|
+
"""
|
|
9475
|
+
self._DomainZone = None
|
|
9476
|
+
|
|
9477
|
+
@property
|
|
9478
|
+
def DomainZone(self):
|
|
9479
|
+
"""要查看 TXT 记录校验状态的子域名 Zone 域。
|
|
9480
|
+
:rtype: str
|
|
9481
|
+
"""
|
|
9482
|
+
return self._DomainZone
|
|
9483
|
+
|
|
9484
|
+
@DomainZone.setter
|
|
9485
|
+
def DomainZone(self, DomainZone):
|
|
9486
|
+
self._DomainZone = DomainZone
|
|
9487
|
+
|
|
9488
|
+
|
|
9489
|
+
def _deserialize(self, params):
|
|
9490
|
+
self._DomainZone = params.get("DomainZone")
|
|
9491
|
+
memeber_set = set(params.keys())
|
|
9492
|
+
for name, value in vars(self).items():
|
|
9493
|
+
property_name = name[1:]
|
|
9494
|
+
if property_name in memeber_set:
|
|
9495
|
+
memeber_set.remove(property_name)
|
|
9496
|
+
if len(memeber_set) > 0:
|
|
9497
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9498
|
+
|
|
9499
|
+
|
|
9500
|
+
|
|
9501
|
+
class DescribeSubdomainValidateStatusResponse(AbstractModel):
|
|
9502
|
+
"""DescribeSubdomainValidateStatus返回参数结构体
|
|
9503
|
+
|
|
9504
|
+
"""
|
|
9505
|
+
|
|
9506
|
+
def __init__(self):
|
|
9507
|
+
r"""
|
|
9508
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9509
|
+
:type RequestId: str
|
|
9510
|
+
"""
|
|
9511
|
+
self._RequestId = None
|
|
9512
|
+
|
|
9513
|
+
@property
|
|
9514
|
+
def RequestId(self):
|
|
9515
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9516
|
+
:rtype: str
|
|
9517
|
+
"""
|
|
9518
|
+
return self._RequestId
|
|
9519
|
+
|
|
9520
|
+
@RequestId.setter
|
|
9521
|
+
def RequestId(self, RequestId):
|
|
9522
|
+
self._RequestId = RequestId
|
|
9523
|
+
|
|
9524
|
+
|
|
9525
|
+
def _deserialize(self, params):
|
|
9526
|
+
self._RequestId = params.get("RequestId")
|
|
9527
|
+
|
|
9528
|
+
|
|
9341
9529
|
class DescribeUserDetailRequest(AbstractModel):
|
|
9342
9530
|
"""DescribeUserDetail请求参数结构体
|
|
9343
9531
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1276
|
tencentcloud-sdk-python-dnspod-3.0.1267/tencentcloud_sdk_python_dnspod.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1267
|
{tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-dnspod-3.0.1267 → tencentcloud-sdk-python-dnspod-3.0.1276}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|