tencentcloud-sdk-python-tcb 3.1.130__tar.gz → 3.1.142__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 (17) hide show
  1. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/tcb/v20180608/errorcodes.py +4 -1
  5. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/tcb/v20180608/models.py +220 -10
  6. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud_sdk_python_tcb.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_tcb-3.1.142/tencentcloud_sdk_python_tcb.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_tcb-3.1.130/tencentcloud_sdk_python_tcb.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/README.rst +0 -0
  10. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/tcb/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/tcb/v20180608/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/tcb/v20180608/tcb_client.py +0 -0
  14. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud/tcb/v20180608/tcb_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud_sdk_python_tcb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud_sdk_python_tcb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tcb-3.1.130 → tencentcloud_sdk_python_tcb-3.1.142}/tencentcloud_sdk_python_tcb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.130
3
+ Version: 3.1.142
4
4
  Summary: Tencent Cloud Tcb 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.130
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.142
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-tcb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.130,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.142,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tcb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.130'
17
+ __version__ = '3.1.142'
@@ -101,7 +101,7 @@ INTERNALERROR_DATABASE = 'InternalError.Database'
101
101
  # 系统内部异常。
102
102
  INTERNALERROR_SYS_ERR = 'InternalError.SYS_ERR'
103
103
 
104
- # 参数错误。
104
+ # 参数格式或类型错误,如 Uin、EnvId、Domain 缺失或非法。
105
105
  INVALIDPARAMETER = 'InvalidParameter'
106
106
 
107
107
  # 接口名非法。
@@ -191,6 +191,9 @@ OPERATIONDENIED = 'OperationDenied'
191
191
  # 免费套餐拒绝此操作
192
192
  OPERATIONDENIED_FREEPACKAGEDENIED = 'OperationDenied.FreePackageDenied'
193
193
 
194
+ # 当前环境EO域名功能已经冻结,不允许创建EO加速域名,请查看云开发资源点进行充正后再试
195
+ OPERATIONDENIED_HTTPSERVICEDOMAINEOFROZEN = 'OperationDenied.HTTPServiceDomainEOFrozen'
196
+
194
197
  # 域名在黑名单中,无法创建
195
198
  OPERATIONDENIED_HTTPSERVICEDOMAININBLACKLIST = 'OperationDenied.HTTPServiceDomainInBlacklist'
196
199
 
@@ -3103,9 +3103,9 @@ class CreateHTTPServiceRouteRequest(AbstractModel):
3103
3103
 
3104
3104
  def __init__(self):
3105
3105
  r"""
3106
- :param _EnvId: 环境ID
3106
+ :param _EnvId: <p>环境ID</p>
3107
3107
  :type EnvId: str
3108
- :param _Domain: 域名路由信息
3108
+ :param _Domain: <p>域名路由信息</p>
3109
3109
  :type Domain: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceDomainParam`
3110
3110
  """
3111
3111
  self._EnvId = None
@@ -3113,7 +3113,7 @@ class CreateHTTPServiceRouteRequest(AbstractModel):
3113
3113
 
3114
3114
  @property
3115
3115
  def EnvId(self):
3116
- r"""环境ID
3116
+ r"""<p>环境ID</p>
3117
3117
  :rtype: str
3118
3118
  """
3119
3119
  return self._EnvId
@@ -3124,7 +3124,7 @@ class CreateHTTPServiceRouteRequest(AbstractModel):
3124
3124
 
3125
3125
  @property
3126
3126
  def Domain(self):
3127
- r"""域名路由信息
3127
+ r"""<p>域名路由信息</p>
3128
3128
  :rtype: :class:`tencentcloud.tcb.v20180608.models.HTTPServiceDomainParam`
3129
3129
  """
3130
3130
  return self._Domain
@@ -3156,11 +3156,25 @@ class CreateHTTPServiceRouteResponse(AbstractModel):
3156
3156
 
3157
3157
  def __init__(self):
3158
3158
  r"""
3159
+ :param _OwnershipVerification: <p>归属权校验不通过返回信息,根据校验信息配置dns或者文件验证,可通过VerifyHTTPServiceRoute接口验证归属权是否通过</p>
3160
+ :type OwnershipVerification: :class:`tencentcloud.tcb.v20180608.models.OwnershipVerificationInfo`
3159
3161
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3160
3162
  :type RequestId: str
3161
3163
  """
3164
+ self._OwnershipVerification = None
3162
3165
  self._RequestId = None
3163
3166
 
3167
+ @property
3168
+ def OwnershipVerification(self):
3169
+ r"""<p>归属权校验不通过返回信息,根据校验信息配置dns或者文件验证,可通过VerifyHTTPServiceRoute接口验证归属权是否通过</p>
3170
+ :rtype: :class:`tencentcloud.tcb.v20180608.models.OwnershipVerificationInfo`
3171
+ """
3172
+ return self._OwnershipVerification
3173
+
3174
+ @OwnershipVerification.setter
3175
+ def OwnershipVerification(self, OwnershipVerification):
3176
+ self._OwnershipVerification = OwnershipVerification
3177
+
3164
3178
  @property
3165
3179
  def RequestId(self):
3166
3180
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -3174,6 +3188,9 @@ class CreateHTTPServiceRouteResponse(AbstractModel):
3174
3188
 
3175
3189
 
3176
3190
  def _deserialize(self, params):
3191
+ if params.get("OwnershipVerification") is not None:
3192
+ self._OwnershipVerification = OwnershipVerificationInfo()
3193
+ self._OwnershipVerification._deserialize(params.get("OwnershipVerification"))
3177
3194
  self._RequestId = params.get("RequestId")
3178
3195
 
3179
3196
 
@@ -13380,7 +13397,7 @@ class HTTPServiceDomainParam(AbstractModel):
13380
13397
  r"""
13381
13398
  :param _Domain: <p>域名。全局唯一。如果域名在其他环境下占用或者腾讯云CDN占用,可能会导致创建失败</p>
13382
13399
  :type Domain: str
13383
- :param _AccessType: <p>绑定类型</p><p>枚举值:</p><ul><li>DIRECT: 直连到HTTP访问服务</li><li>CDN: 接入云开发CDN</li><li>CUSTOM: 自定义接入类型(CDN、EO、WAF等接入)</li></ul><p>默认值:DIRECT</p>
13400
+ :param _AccessType: <p>绑定类型</p><p>枚举值:</p><ul><li>DIRECT: 直连到HTTP访问服务</li><li>CDN: 接入云开发CDN(即将下线)</li><li>CUSTOM: 自定义接入类型(CDN、EO、WAF等接入)</li><li>EO: 接入云开发EdgeOne</li></ul><p>默认值:DIRECT</p>
13384
13401
  :type AccessType: str
13385
13402
  :param _CertId: <p>证书ID。当前账户下SSL平台的证书ID,无证书无法使用https访问</p>
13386
13403
  :type CertId: str
@@ -13417,7 +13434,7 @@ class HTTPServiceDomainParam(AbstractModel):
13417
13434
 
13418
13435
  @property
13419
13436
  def AccessType(self):
13420
- r"""<p>绑定类型</p><p>枚举值:</p><ul><li>DIRECT: 直连到HTTP访问服务</li><li>CDN: 接入云开发CDN</li><li>CUSTOM: 自定义接入类型(CDN、EO、WAF等接入)</li></ul><p>默认值:DIRECT</p>
13437
+ r"""<p>绑定类型</p><p>枚举值:</p><ul><li>DIRECT: 直连到HTTP访问服务</li><li>CDN: 接入云开发CDN(即将下线)</li><li>CUSTOM: 自定义接入类型(CDN、EO、WAF等接入)</li><li>EO: 接入云开发EdgeOne</li></ul><p>默认值:DIRECT</p>
13421
13438
  :rtype: str
13422
13439
  """
13423
13440
  return self._AccessType
@@ -14017,9 +14034,9 @@ class HTTPServiceRouteParam(AbstractModel):
14017
14034
  r"""
14018
14035
  :param _Path: <p>路径</p>
14019
14036
  :type Path: str
14020
- :param _UpstreamResourceType: <p>上游服务类型。创建时必填,修改时可选填</p><p>枚举值:</p><ul><li>SCF: 云函数</li><li>CBR: 云托管</li><li>STATIC_STORE: 静态托管</li><li>WEB_SCF: web云函数</li><li>LH: Lighthouse</li></ul>
14037
+ :param _UpstreamResourceType: <p>上游服务类型。创建时必填,修改时可选填</p><p>枚举值:</p><ul><li>SCF: 云函数</li><li>CBR: 云托管</li><li>STATIC_STORE: 静态托管</li><li>WEB_SCF: web云函数</li><li>LH: Lighthouse</li><li>STORAGE: 云存储</li></ul>
14021
14038
  :type UpstreamResourceType: str
14022
- :param _UpstreamResourceName: <p>上游服务名。创建时必填,修改时可选填</p>
14039
+ :param _UpstreamResourceName: <p>上游服务名。创建时必填,修改时可选填。HTTPServiceRouteServiceType类型为STATIC_STORE时,可不填,默认staticstore;HTTPServiceRouteServiceType类型为STORAGE时,可不填,默认storage。其他上游类型必须填写准确的服务名</p>
14023
14040
  :type UpstreamResourceName: str
14024
14041
  :param _PathRewrite: <p>路径重写</p>
14025
14042
  :type PathRewrite: :class:`tencentcloud.tcb.v20180608.models.HTTPServicePathRewrite`
@@ -14060,7 +14077,7 @@ class HTTPServiceRouteParam(AbstractModel):
14060
14077
 
14061
14078
  @property
14062
14079
  def UpstreamResourceType(self):
14063
- r"""<p>上游服务类型。创建时必填,修改时可选填</p><p>枚举值:</p><ul><li>SCF: 云函数</li><li>CBR: 云托管</li><li>STATIC_STORE: 静态托管</li><li>WEB_SCF: web云函数</li><li>LH: Lighthouse</li></ul>
14080
+ r"""<p>上游服务类型。创建时必填,修改时可选填</p><p>枚举值:</p><ul><li>SCF: 云函数</li><li>CBR: 云托管</li><li>STATIC_STORE: 静态托管</li><li>WEB_SCF: web云函数</li><li>LH: Lighthouse</li><li>STORAGE: 云存储</li></ul>
14064
14081
  :rtype: str
14065
14082
  """
14066
14083
  return self._UpstreamResourceType
@@ -14071,7 +14088,7 @@ class HTTPServiceRouteParam(AbstractModel):
14071
14088
 
14072
14089
  @property
14073
14090
  def UpstreamResourceName(self):
14074
- r"""<p>上游服务名。创建时必填,修改时可选填</p>
14091
+ r"""<p>上游服务名。创建时必填,修改时可选填。HTTPServiceRouteServiceType类型为STATIC_STORE时,可不填,默认staticstore;HTTPServiceRouteServiceType类型为STORAGE时,可不填,默认storage。其他上游类型必须填写准确的服务名</p>
14075
14092
  :rtype: str
14076
14093
  """
14077
14094
  return self._UpstreamResourceName
@@ -19050,6 +19067,199 @@ class OrderInfo(AbstractModel):
19050
19067
 
19051
19068
 
19052
19069
 
19070
+ class OwnershipVerificationDnsInfo(AbstractModel):
19071
+ r"""域名归属权验证指引DNS验证信息
19072
+
19073
+ """
19074
+
19075
+ def __init__(self):
19076
+ r"""
19077
+ :param _Subdomain: <p>归属权校验dns子域名</p>
19078
+ :type Subdomain: str
19079
+ :param _RecordType: <p>归属权校验dns记录类型</p>
19080
+ :type RecordType: str
19081
+ :param _RecordValue: <p>归属权校验dns记录值</p>
19082
+ :type RecordValue: str
19083
+ """
19084
+ self._Subdomain = None
19085
+ self._RecordType = None
19086
+ self._RecordValue = None
19087
+
19088
+ @property
19089
+ def Subdomain(self):
19090
+ r"""<p>归属权校验dns子域名</p>
19091
+ :rtype: str
19092
+ """
19093
+ return self._Subdomain
19094
+
19095
+ @Subdomain.setter
19096
+ def Subdomain(self, Subdomain):
19097
+ self._Subdomain = Subdomain
19098
+
19099
+ @property
19100
+ def RecordType(self):
19101
+ r"""<p>归属权校验dns记录类型</p>
19102
+ :rtype: str
19103
+ """
19104
+ return self._RecordType
19105
+
19106
+ @RecordType.setter
19107
+ def RecordType(self, RecordType):
19108
+ self._RecordType = RecordType
19109
+
19110
+ @property
19111
+ def RecordValue(self):
19112
+ r"""<p>归属权校验dns记录值</p>
19113
+ :rtype: str
19114
+ """
19115
+ return self._RecordValue
19116
+
19117
+ @RecordValue.setter
19118
+ def RecordValue(self, RecordValue):
19119
+ self._RecordValue = RecordValue
19120
+
19121
+
19122
+ def _deserialize(self, params):
19123
+ self._Subdomain = params.get("Subdomain")
19124
+ self._RecordType = params.get("RecordType")
19125
+ self._RecordValue = params.get("RecordValue")
19126
+ memeber_set = set(params.keys())
19127
+ for name, value in vars(self).items():
19128
+ property_name = name[1:]
19129
+ if property_name in memeber_set:
19130
+ memeber_set.remove(property_name)
19131
+ if len(memeber_set) > 0:
19132
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19133
+
19134
+
19135
+
19136
+ class OwnershipVerificationFileInfo(AbstractModel):
19137
+ r"""域名归属权验证指引文件验证信息
19138
+
19139
+ """
19140
+
19141
+ def __init__(self):
19142
+ r"""
19143
+ :param _Path: <p>归属权校验文件路径</p>
19144
+ :type Path: str
19145
+ :param _Content: <p>归属权校验文件内容</p>
19146
+ :type Content: str
19147
+ """
19148
+ self._Path = None
19149
+ self._Content = None
19150
+
19151
+ @property
19152
+ def Path(self):
19153
+ r"""<p>归属权校验文件路径</p>
19154
+ :rtype: str
19155
+ """
19156
+ return self._Path
19157
+
19158
+ @Path.setter
19159
+ def Path(self, Path):
19160
+ self._Path = Path
19161
+
19162
+ @property
19163
+ def Content(self):
19164
+ r"""<p>归属权校验文件内容</p>
19165
+ :rtype: str
19166
+ """
19167
+ return self._Content
19168
+
19169
+ @Content.setter
19170
+ def Content(self, Content):
19171
+ self._Content = Content
19172
+
19173
+
19174
+ def _deserialize(self, params):
19175
+ self._Path = params.get("Path")
19176
+ self._Content = params.get("Content")
19177
+ memeber_set = set(params.keys())
19178
+ for name, value in vars(self).items():
19179
+ property_name = name[1:]
19180
+ if property_name in memeber_set:
19181
+ memeber_set.remove(property_name)
19182
+ if len(memeber_set) > 0:
19183
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19184
+
19185
+
19186
+
19187
+ class OwnershipVerificationInfo(AbstractModel):
19188
+ r"""域名归属权验证指引信息
19189
+
19190
+ """
19191
+
19192
+ def __init__(self):
19193
+ r"""
19194
+ :param _Domain: <p>归属权校验的域名</p>
19195
+ :type Domain: str
19196
+ :param _DnsVerification: <p>归属权校验dns校验信息</p>
19197
+ :type DnsVerification: list of OwnershipVerificationDnsInfo
19198
+ :param _FileVerification: <p>归属权校验文件校验信息</p>
19199
+ :type FileVerification: list of OwnershipVerificationFileInfo
19200
+ """
19201
+ self._Domain = None
19202
+ self._DnsVerification = None
19203
+ self._FileVerification = None
19204
+
19205
+ @property
19206
+ def Domain(self):
19207
+ r"""<p>归属权校验的域名</p>
19208
+ :rtype: str
19209
+ """
19210
+ return self._Domain
19211
+
19212
+ @Domain.setter
19213
+ def Domain(self, Domain):
19214
+ self._Domain = Domain
19215
+
19216
+ @property
19217
+ def DnsVerification(self):
19218
+ r"""<p>归属权校验dns校验信息</p>
19219
+ :rtype: list of OwnershipVerificationDnsInfo
19220
+ """
19221
+ return self._DnsVerification
19222
+
19223
+ @DnsVerification.setter
19224
+ def DnsVerification(self, DnsVerification):
19225
+ self._DnsVerification = DnsVerification
19226
+
19227
+ @property
19228
+ def FileVerification(self):
19229
+ r"""<p>归属权校验文件校验信息</p>
19230
+ :rtype: list of OwnershipVerificationFileInfo
19231
+ """
19232
+ return self._FileVerification
19233
+
19234
+ @FileVerification.setter
19235
+ def FileVerification(self, FileVerification):
19236
+ self._FileVerification = FileVerification
19237
+
19238
+
19239
+ def _deserialize(self, params):
19240
+ self._Domain = params.get("Domain")
19241
+ if params.get("DnsVerification") is not None:
19242
+ self._DnsVerification = []
19243
+ for item in params.get("DnsVerification"):
19244
+ obj = OwnershipVerificationDnsInfo()
19245
+ obj._deserialize(item)
19246
+ self._DnsVerification.append(obj)
19247
+ if params.get("FileVerification") is not None:
19248
+ self._FileVerification = []
19249
+ for item in params.get("FileVerification"):
19250
+ obj = OwnershipVerificationFileInfo()
19251
+ obj._deserialize(item)
19252
+ self._FileVerification.append(obj)
19253
+ memeber_set = set(params.keys())
19254
+ for name, value in vars(self).items():
19255
+ property_name = name[1:]
19256
+ if property_name in memeber_set:
19257
+ memeber_set.remove(property_name)
19258
+ if len(memeber_set) > 0:
19259
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19260
+
19261
+
19262
+
19053
19263
  class Pager(AbstractModel):
19054
19264
  r"""分页信息
19055
19265
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tcb
3
- Version: 3.1.130
3
+ Version: 3.1.142
4
4
  Summary: Tencent Cloud Tcb 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.130
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.142
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.142
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.130