tencentcloud-sdk-python 3.0.1402__py2.py3-none-any.whl → 3.0.1403__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1402'
17
+ __version__ = '3.0.1403'
@@ -1095,7 +1095,7 @@ class CreateCfsFileSystemRequest(AbstractModel):
1095
1095
  :type CcnId: str
1096
1096
  :param _CidrBlock: 云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突
1097
1097
  :type CidrBlock: str
1098
- :param _Capacity: 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
1098
+ :param _Capacity: 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
1099
1099
  :type Capacity: int
1100
1100
  :param _SnapshotId: 文件系统快照ID,通过查询快照列表获取该参数,
1101
1101
  [DescribeCfsSnapshots](https://cloud.tencent.com/document/product/582/80206)
@@ -1278,7 +1278,7 @@ v3.1:创建增强版的通用文件系统
1278
1278
 
1279
1279
  @property
1280
1280
  def Capacity(self):
1281
- """文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
1281
+ """文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
1282
1282
  :rtype: int
1283
1283
  """
1284
1284
  return self._Capacity
@@ -11501,7 +11501,7 @@ class HealthCheck(AbstractModel):
11501
11501
  :param _HttpCheckMethod: 健康检查方法(仅适用于HTTP/HTTPS转发规则、TCP监听器的HTTP健康检查方式),默认值:HEAD,可选值HEAD或GET。
11502
11502
  注意:此字段可能返回 null,表示取不到有效值。
11503
11503
  :type HttpCheckMethod: str
11504
- :param _CheckPort: 自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。(仅适用于TCP/UDP监听器)。
11504
+ :param _CheckPort: 自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。传参数值-1可恢复默认设置。(仅适用于TCP/UDP监听器)。
11505
11505
  注意:此字段可能返回 null,表示取不到有效值。
11506
11506
  :type CheckPort: int
11507
11507
  :param _ContextType: 自定义探测相关参数。健康检查协议CheckType的值取CUSTOM时,必填此字段,代表健康检查的输入格式,可取值:HEX或TEXT;取值为HEX时,SendContext和RecvContext的字符只能在0123456789ABCDEF中选取且长度必须是偶数位。(仅适用于TCP/UDP监听器)
@@ -11650,7 +11650,7 @@ class HealthCheck(AbstractModel):
11650
11650
 
11651
11651
  @property
11652
11652
  def CheckPort(self):
11653
- """自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。(仅适用于TCP/UDP监听器)。
11653
+ """自定义探测相关参数。健康检查端口,默认为后端服务的端口,除非您希望指定特定端口,否则建议留空。传参数值-1可恢复默认设置。(仅适用于TCP/UDP监听器)。
11654
11654
  注意:此字段可能返回 null,表示取不到有效值。
11655
11655
  :rtype: int
11656
11656
  """
@@ -371,6 +371,29 @@ class CsipClient(AbstractClient):
371
371
  raise TencentCloudSDKException(type(e).__name__, str(e))
372
372
 
373
373
 
374
+ def DescribeExposures(self, request):
375
+ """互联网暴露资产列表
376
+
377
+ :param request: Request instance for DescribeExposures.
378
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeExposuresRequest`
379
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeExposuresResponse`
380
+
381
+ """
382
+ try:
383
+ params = request._serialize()
384
+ headers = request.headers
385
+ body = self.call("DescribeExposures", params, headers=headers)
386
+ response = json.loads(body)
387
+ model = models.DescribeExposuresResponse()
388
+ model._deserialize(response["Response"])
389
+ return model
390
+ except Exception as e:
391
+ if isinstance(e, TencentCloudSDKException):
392
+ raise
393
+ else:
394
+ raise TencentCloudSDKException(type(e).__name__, str(e))
395
+
396
+
374
397
  def DescribeGatewayAssets(self, request):
375
398
  """获取网关列表
376
399