tencentcloud-sdk-python 3.0.1384__py2.py3-none-any.whl → 3.0.1386__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/ams/v20201229/models.py +4 -8
- tencentcloud/batch/v20170312/models.py +6 -6
- tencentcloud/billing/v20180709/models.py +4 -2
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +107 -2
- tencentcloud/clb/v20180317/models.py +10 -2
- tencentcloud/cls/v20201016/cls_client.py +2 -1
- tencentcloud/cls/v20201016/models.py +59 -16
- tencentcloud/cvm/v20170312/cvm_client.py +1 -0
- tencentcloud/cvm/v20170312/errorcodes.py +12 -3
- tencentcloud/cvm/v20170312/models.py +38 -34
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +0 -4
- tencentcloud/dlc/v20210125/models.py +197 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/models.py +2 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -345
- tencentcloud/dsgc/v20190723/models.py +24 -514
- tencentcloud/dts/v20180330/models.py +8 -0
- tencentcloud/es/v20180416/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -0
- tencentcloud/ess/v20201111/models.py +8 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -0
- tencentcloud/goosefs/v20220519/goosefs_client.py +138 -0
- tencentcloud/goosefs/v20220519/models.py +861 -1
- tencentcloud/hai/v20230812/models.py +6 -6
- tencentcloud/iotexplorer/v20190423/models.py +19 -4
- tencentcloud/keewidb/v20220308/models.py +26 -2
- tencentcloud/lighthouse/v20200324/models.py +4 -0
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lke/v20231130/lke_client.py +3 -3
- tencentcloud/lke/v20231130/models.py +2 -92
- tencentcloud/monitor/v20180724/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +29 -8
- tencentcloud/mps/v20190612/mps_client.py +1 -0
- tencentcloud/postgres/v20170312/models.py +0 -214
- tencentcloud/postgres/v20170312/postgres_client.py +3 -28
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/scf/v20180416/models.py +4 -4
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +30 -0
- tencentcloud/tcb/v20180608/models.py +2 -2
- tencentcloud/tione/v20211111/models.py +599 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/errorcodes.py +6 -0
- tencentcloud/tke/v20220501/models.py +17 -0
- tencentcloud/trtc/v20190722/models.py +50 -2
- tencentcloud/tse/v20201207/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +126 -0
- tencentcloud/tts/v20190823/models.py +4 -4
- tencentcloud/tts/v20190823/tts_client.py +0 -1
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +4 -2
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/RECORD +63 -68
- tencentcloud/apcas/__init__.py +0 -0
- tencentcloud/apcas/v20201127/__init__.py +0 -0
- tencentcloud/apcas/v20201127/apcas_client.py +0 -187
- tencentcloud/apcas/v20201127/errorcodes.py +0 -48
- tencentcloud/apcas/v20201127/models.py +0 -1514
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1386.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -867,7 +867,7 @@ class AudioSegments(AbstractModel):
|
|
867
867
|
:param _Result: 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
|
868
868
|
注意:此字段可能返回 null,表示取不到有效值。
|
869
869
|
:type Result: :class:`tencentcloud.ams.v20201229.models.AudioResult`
|
870
|
-
:param _CreatedAt:
|
870
|
+
:param _CreatedAt: 入库时间
|
871
871
|
注意:此字段可能返回 null,表示取不到有效值。
|
872
872
|
:type CreatedAt: str
|
873
873
|
"""
|
@@ -901,7 +901,7 @@ class AudioSegments(AbstractModel):
|
|
901
901
|
|
902
902
|
@property
|
903
903
|
def CreatedAt(self):
|
904
|
-
"""
|
904
|
+
"""入库时间
|
905
905
|
注意:此字段可能返回 null,表示取不到有效值。
|
906
906
|
:rtype: str
|
907
907
|
"""
|
@@ -3696,10 +3696,8 @@ class TextResult(AbstractModel):
|
|
3696
3696
|
注意:此字段可能返回 null,表示取不到有效值。
|
3697
3697
|
:type Suggestion: str
|
3698
3698
|
:param _LibType: 自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
|
3699
|
-
|
3700
3699
|
1:自定义黑白库;
|
3701
|
-
|
3702
|
-
2:自定义库;
|
3700
|
+
2:公库;
|
3703
3701
|
:type LibType: int
|
3704
3702
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
3705
3703
|
注意:此字段可能返回null,表示取不到有效值。
|
@@ -3798,10 +3796,8 @@ class TextResult(AbstractModel):
|
|
3798
3796
|
@property
|
3799
3797
|
def LibType(self):
|
3800
3798
|
"""自定义词库的类型,自定义词库相关的信息可登录控制台中查看;
|
3801
|
-
|
3802
3799
|
1:自定义黑白库;
|
3803
|
-
|
3804
|
-
2:自定义库;
|
3800
|
+
2:公库;
|
3805
3801
|
:rtype: int
|
3806
3802
|
"""
|
3807
3803
|
return self._LibType
|
@@ -7933,9 +7933,9 @@ class Placement(AbstractModel):
|
|
7933
7933
|
r"""
|
7934
7934
|
:param _Zone: 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
7935
7935
|
:type Zone: str
|
7936
|
-
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的
|
7936
|
+
:param _ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 `ProjectId` 字段来获取。默认取值0,表示默认项目。
|
7937
7937
|
:type ProjectId: int
|
7938
|
-
:param _HostIds: 实例所属的专用宿主机ID
|
7938
|
+
:param _HostIds: 实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。该参数可以通过调用 [DescribeHosts](https://cloud.tencent.com/document/api/213/16474) 的返回值中的 `HostId` 字段来获取。
|
7939
7939
|
:type HostIds: list of str
|
7940
7940
|
:param _HostId: 实例所属的专用宿主机ID,仅用于出参。
|
7941
7941
|
:type HostId: str
|
@@ -7958,7 +7958,7 @@ class Placement(AbstractModel):
|
|
7958
7958
|
|
7959
7959
|
@property
|
7960
7960
|
def ProjectId(self):
|
7961
|
-
"""实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的
|
7961
|
+
"""实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 `ProjectId` 字段来获取。默认取值0,表示默认项目。
|
7962
7962
|
:rtype: int
|
7963
7963
|
"""
|
7964
7964
|
return self._ProjectId
|
@@ -7969,7 +7969,7 @@ class Placement(AbstractModel):
|
|
7969
7969
|
|
7970
7970
|
@property
|
7971
7971
|
def HostIds(self):
|
7972
|
-
"""实例所属的专用宿主机ID
|
7972
|
+
"""实例所属的专用宿主机ID列表,仅用于入参。如果您有购买专用宿主机并且指定了该参数,则您购买的实例就会随机的部署在这些专用宿主机上。该参数可以通过调用 [DescribeHosts](https://cloud.tencent.com/document/api/213/16474) 的返回值中的 `HostId` 字段来获取。
|
7973
7973
|
:rtype: list of str
|
7974
7974
|
"""
|
7975
7975
|
return self._HostIds
|
@@ -10232,7 +10232,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
10232
10232
|
|
10233
10233
|
def __init__(self):
|
10234
10234
|
r"""
|
10235
|
-
:param _VpcId: 私有网络ID,形如`vpc-xxx`。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc?rid=1)查询;也可以调用接口 [
|
10235
|
+
:param _VpcId: 私有网络ID,形如`vpc-xxx`。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc?rid=1)查询;也可以调用接口 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) ,从接口返回中的`VpcId `字段获取。若在创建子机时VpcId与SubnetId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
10236
10236
|
:type VpcId: str
|
10237
10237
|
:param _SubnetId: 私有网络子网ID,形如`subnet-xxx`。有效的私有网络子网ID可通过登录[控制台](https://console.cloud.tencent.com/vpc/subnet?rid=1)查询;也可以调用接口 [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784) ,从接口返回中的`SubnetId `字段获取。若在创建子机时SubnetId与VpcId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
10238
10238
|
:type SubnetId: str
|
@@ -10251,7 +10251,7 @@ class VirtualPrivateCloud(AbstractModel):
|
|
10251
10251
|
|
10252
10252
|
@property
|
10253
10253
|
def VpcId(self):
|
10254
|
-
"""私有网络ID,形如`vpc-xxx`。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc?rid=1)查询;也可以调用接口 [
|
10254
|
+
"""私有网络ID,形如`vpc-xxx`。有效的VpcId可通过登录[控制台](https://console.cloud.tencent.com/vpc/vpc?rid=1)查询;也可以调用接口 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) ,从接口返回中的`VpcId `字段获取。若在创建子机时VpcId与SubnetId同时传入`DEFAULT`,则强制使用默认vpc网络。
|
10255
10255
|
:rtype: str
|
10256
10256
|
"""
|
10257
10257
|
return self._VpcId
|
@@ -6740,7 +6740,8 @@ class BillDetail(AbstractModel):
|
|
6740
6740
|
:type ResourceName: str
|
6741
6741
|
:param _ActionTypeName: 交易类型,如包年包月新购、包年包月续费、按量计费扣费等类型
|
6742
6742
|
:type ActionTypeName: str
|
6743
|
-
:param _OrderId: 订单ID
|
6743
|
+
:param _OrderId: 订单ID:包年包月计费模式下对应子订单号。后付费计费模式下账单费用不存在订单概念,可忽略此参数。
|
6744
|
+
|
6744
6745
|
:type OrderId: str
|
6745
6746
|
:param _BillId: 交易ID:结算扣费单号
|
6746
6747
|
:type BillId: str
|
@@ -6936,7 +6937,8 @@ class BillDetail(AbstractModel):
|
|
6936
6937
|
|
6937
6938
|
@property
|
6938
6939
|
def OrderId(self):
|
6939
|
-
"""订单ID
|
6940
|
+
"""订单ID:包年包月计费模式下对应子订单号。后付费计费模式下账单费用不存在订单概念,可忽略此参数。
|
6941
|
+
|
6940
6942
|
:rtype: str
|
6941
6943
|
"""
|
6942
6944
|
return self._OrderId
|
@@ -86,6 +86,9 @@ INVALIDPARAMETER_DISKCONFIGNOTSUPPORTED = 'InvalidParameter.DiskConfigNotSupport
|
|
86
86
|
# 云硬盘大小与快照大小不匹配。
|
87
87
|
INVALIDPARAMETER_DISKSIZENOTMATCH = 'InvalidParameter.DiskSizeNotMatch'
|
88
88
|
|
89
|
+
# ClientToken不可用。
|
90
|
+
INVALIDPARAMETER_INVALIDCLIENTTOKEN = 'InvalidParameter.InvalidClientToken'
|
91
|
+
|
89
92
|
# 项目ID不存在。
|
90
93
|
INVALIDPARAMETER_PROJECTIDNOTEXIST = 'InvalidParameter.ProjectIdNotExist'
|
91
94
|
|
@@ -2216,7 +2216,7 @@ class CreateSnapshotRequest(AbstractModel):
|
|
2216
2216
|
:type SnapshotName: str
|
2217
2217
|
:param _Deadline: 快照的到期时间,到期后该快照将会自动删除,需要传入UTC时间下的ISO-8601标准时间格式,例如:2022-01-08T09:47:55+00:00,。到期时间最小可设置为一天后的当前时间。
|
2218
2218
|
:type Deadline: str
|
2219
|
-
:param _DiskBackupId: 云硬盘备份点ID
|
2219
|
+
:param _DiskBackupId: 云硬盘备份点ID。传入此参数时,将通过备份点创建快照。备份点 ID 可以通过[DescribeDiskBackups](document/product/362/80278)接口查询。
|
2220
2220
|
:type DiskBackupId: str
|
2221
2221
|
:param _Tags: 快照绑定的标签。
|
2222
2222
|
:type Tags: list of Tag
|
@@ -2262,7 +2262,7 @@ class CreateSnapshotRequest(AbstractModel):
|
|
2262
2262
|
|
2263
2263
|
@property
|
2264
2264
|
def DiskBackupId(self):
|
2265
|
-
"""云硬盘备份点ID
|
2265
|
+
"""云硬盘备份点ID。传入此参数时,将通过备份点创建快照。备份点 ID 可以通过[DescribeDiskBackups](document/product/362/80278)接口查询。
|
2266
2266
|
:rtype: str
|
2267
2267
|
"""
|
2268
2268
|
return self._DiskBackupId
|
@@ -11593,6 +11593,12 @@ class NodeInfo(AbstractModel):
|
|
11593
11593
|
:type Zone: str
|
11594
11594
|
:param _Id: Id
|
11595
11595
|
:type Id: str
|
11596
|
+
:param _RIp: RIP
|
11597
|
+
:type RIp: str
|
11598
|
+
:param _ComputeGroupId: 计算组ID
|
11599
|
+
:type ComputeGroupId: str
|
11600
|
+
:param _CreateTime: 创建时间
|
11601
|
+
:type CreateTime: str
|
11596
11602
|
"""
|
11597
11603
|
self._Ip = None
|
11598
11604
|
self._Status = None
|
@@ -11602,6 +11608,9 @@ class NodeInfo(AbstractModel):
|
|
11602
11608
|
self._LastRestartTime = None
|
11603
11609
|
self._Zone = None
|
11604
11610
|
self._Id = None
|
11611
|
+
self._RIp = None
|
11612
|
+
self._ComputeGroupId = None
|
11613
|
+
self._CreateTime = None
|
11605
11614
|
|
11606
11615
|
@property
|
11607
11616
|
def Ip(self):
|
@@ -11691,6 +11700,39 @@ class NodeInfo(AbstractModel):
|
|
11691
11700
|
def Id(self, Id):
|
11692
11701
|
self._Id = Id
|
11693
11702
|
|
11703
|
+
@property
|
11704
|
+
def RIp(self):
|
11705
|
+
"""RIP
|
11706
|
+
:rtype: str
|
11707
|
+
"""
|
11708
|
+
return self._RIp
|
11709
|
+
|
11710
|
+
@RIp.setter
|
11711
|
+
def RIp(self, RIp):
|
11712
|
+
self._RIp = RIp
|
11713
|
+
|
11714
|
+
@property
|
11715
|
+
def ComputeGroupId(self):
|
11716
|
+
"""计算组ID
|
11717
|
+
:rtype: str
|
11718
|
+
"""
|
11719
|
+
return self._ComputeGroupId
|
11720
|
+
|
11721
|
+
@ComputeGroupId.setter
|
11722
|
+
def ComputeGroupId(self, ComputeGroupId):
|
11723
|
+
self._ComputeGroupId = ComputeGroupId
|
11724
|
+
|
11725
|
+
@property
|
11726
|
+
def CreateTime(self):
|
11727
|
+
"""创建时间
|
11728
|
+
:rtype: str
|
11729
|
+
"""
|
11730
|
+
return self._CreateTime
|
11731
|
+
|
11732
|
+
@CreateTime.setter
|
11733
|
+
def CreateTime(self, CreateTime):
|
11734
|
+
self._CreateTime = CreateTime
|
11735
|
+
|
11694
11736
|
|
11695
11737
|
def _deserialize(self, params):
|
11696
11738
|
self._Ip = params.get("Ip")
|
@@ -11701,6 +11743,9 @@ class NodeInfo(AbstractModel):
|
|
11701
11743
|
self._LastRestartTime = params.get("LastRestartTime")
|
11702
11744
|
self._Zone = params.get("Zone")
|
11703
11745
|
self._Id = params.get("Id")
|
11746
|
+
self._RIp = params.get("RIp")
|
11747
|
+
self._ComputeGroupId = params.get("ComputeGroupId")
|
11748
|
+
self._CreateTime = params.get("CreateTime")
|
11704
11749
|
memeber_set = set(params.keys())
|
11705
11750
|
for name, value in vars(self).items():
|
11706
11751
|
property_name = name[1:]
|
@@ -12727,11 +12772,14 @@ class ReduceInstanceRequest(AbstractModel):
|
|
12727
12772
|
:type Type: str
|
12728
12773
|
:param _HaType: 缩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
12729
12774
|
:type HaType: int
|
12775
|
+
:param _CheckAuth: 前端鉴权使用
|
12776
|
+
:type CheckAuth: bool
|
12730
12777
|
"""
|
12731
12778
|
self._InstanceId = None
|
12732
12779
|
self._DelHosts = None
|
12733
12780
|
self._Type = None
|
12734
12781
|
self._HaType = None
|
12782
|
+
self._CheckAuth = None
|
12735
12783
|
|
12736
12784
|
@property
|
12737
12785
|
def InstanceId(self):
|
@@ -12777,12 +12825,24 @@ class ReduceInstanceRequest(AbstractModel):
|
|
12777
12825
|
def HaType(self, HaType):
|
12778
12826
|
self._HaType = HaType
|
12779
12827
|
|
12828
|
+
@property
|
12829
|
+
def CheckAuth(self):
|
12830
|
+
"""前端鉴权使用
|
12831
|
+
:rtype: bool
|
12832
|
+
"""
|
12833
|
+
return self._CheckAuth
|
12834
|
+
|
12835
|
+
@CheckAuth.setter
|
12836
|
+
def CheckAuth(self, CheckAuth):
|
12837
|
+
self._CheckAuth = CheckAuth
|
12838
|
+
|
12780
12839
|
|
12781
12840
|
def _deserialize(self, params):
|
12782
12841
|
self._InstanceId = params.get("InstanceId")
|
12783
12842
|
self._DelHosts = params.get("DelHosts")
|
12784
12843
|
self._Type = params.get("Type")
|
12785
12844
|
self._HaType = params.get("HaType")
|
12845
|
+
self._CheckAuth = params.get("CheckAuth")
|
12786
12846
|
memeber_set = set(params.keys())
|
12787
12847
|
for name, value in vars(self).items():
|
12788
12848
|
property_name = name[1:]
|
@@ -14071,11 +14131,14 @@ class ScaleOutInstanceRequest(AbstractModel):
|
|
14071
14131
|
:type NodeCount: int
|
14072
14132
|
:param _HaType: 扩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
14073
14133
|
:type HaType: int
|
14134
|
+
:param _CheckAuth: 前端鉴权使用
|
14135
|
+
:type CheckAuth: bool
|
14074
14136
|
"""
|
14075
14137
|
self._InstanceId = None
|
14076
14138
|
self._Type = None
|
14077
14139
|
self._NodeCount = None
|
14078
14140
|
self._HaType = None
|
14141
|
+
self._CheckAuth = None
|
14079
14142
|
|
14080
14143
|
@property
|
14081
14144
|
def InstanceId(self):
|
@@ -14121,12 +14184,24 @@ class ScaleOutInstanceRequest(AbstractModel):
|
|
14121
14184
|
def HaType(self, HaType):
|
14122
14185
|
self._HaType = HaType
|
14123
14186
|
|
14187
|
+
@property
|
14188
|
+
def CheckAuth(self):
|
14189
|
+
"""前端鉴权使用
|
14190
|
+
:rtype: bool
|
14191
|
+
"""
|
14192
|
+
return self._CheckAuth
|
14193
|
+
|
14194
|
+
@CheckAuth.setter
|
14195
|
+
def CheckAuth(self, CheckAuth):
|
14196
|
+
self._CheckAuth = CheckAuth
|
14197
|
+
|
14124
14198
|
|
14125
14199
|
def _deserialize(self, params):
|
14126
14200
|
self._InstanceId = params.get("InstanceId")
|
14127
14201
|
self._Type = params.get("Type")
|
14128
14202
|
self._NodeCount = params.get("NodeCount")
|
14129
14203
|
self._HaType = params.get("HaType")
|
14204
|
+
self._CheckAuth = params.get("CheckAuth")
|
14130
14205
|
memeber_set = set(params.keys())
|
14131
14206
|
for name, value in vars(self).items():
|
14132
14207
|
property_name = name[1:]
|
@@ -14221,12 +14296,18 @@ class ScaleUpInstanceRequest(AbstractModel):
|
|
14221
14296
|
:type InstanceId: str
|
14222
14297
|
:param _SpecName: 节点规格
|
14223
14298
|
:type SpecName: str
|
14224
|
-
:param _Type: 角色(
|
14299
|
+
:param _Type: 角色(MASTER/CORE),MASTER 对应 FE,CORE对应BE
|
14225
14300
|
:type Type: str
|
14301
|
+
:param _CheckAuth: 前端鉴权使用,后端API调用传false,传true不会执行变配
|
14302
|
+
:type CheckAuth: bool
|
14303
|
+
:param _RollingRestart: 是否滚动重启
|
14304
|
+
:type RollingRestart: bool
|
14226
14305
|
"""
|
14227
14306
|
self._InstanceId = None
|
14228
14307
|
self._SpecName = None
|
14229
14308
|
self._Type = None
|
14309
|
+
self._CheckAuth = None
|
14310
|
+
self._RollingRestart = None
|
14230
14311
|
|
14231
14312
|
@property
|
14232
14313
|
def InstanceId(self):
|
@@ -14252,7 +14333,7 @@ class ScaleUpInstanceRequest(AbstractModel):
|
|
14252
14333
|
|
14253
14334
|
@property
|
14254
14335
|
def Type(self):
|
14255
|
-
"""角色(
|
14336
|
+
"""角色(MASTER/CORE),MASTER 对应 FE,CORE对应BE
|
14256
14337
|
:rtype: str
|
14257
14338
|
"""
|
14258
14339
|
return self._Type
|
@@ -14261,11 +14342,35 @@ class ScaleUpInstanceRequest(AbstractModel):
|
|
14261
14342
|
def Type(self, Type):
|
14262
14343
|
self._Type = Type
|
14263
14344
|
|
14345
|
+
@property
|
14346
|
+
def CheckAuth(self):
|
14347
|
+
"""前端鉴权使用,后端API调用传false,传true不会执行变配
|
14348
|
+
:rtype: bool
|
14349
|
+
"""
|
14350
|
+
return self._CheckAuth
|
14351
|
+
|
14352
|
+
@CheckAuth.setter
|
14353
|
+
def CheckAuth(self, CheckAuth):
|
14354
|
+
self._CheckAuth = CheckAuth
|
14355
|
+
|
14356
|
+
@property
|
14357
|
+
def RollingRestart(self):
|
14358
|
+
"""是否滚动重启
|
14359
|
+
:rtype: bool
|
14360
|
+
"""
|
14361
|
+
return self._RollingRestart
|
14362
|
+
|
14363
|
+
@RollingRestart.setter
|
14364
|
+
def RollingRestart(self, RollingRestart):
|
14365
|
+
self._RollingRestart = RollingRestart
|
14366
|
+
|
14264
14367
|
|
14265
14368
|
def _deserialize(self, params):
|
14266
14369
|
self._InstanceId = params.get("InstanceId")
|
14267
14370
|
self._SpecName = params.get("SpecName")
|
14268
14371
|
self._Type = params.get("Type")
|
14372
|
+
self._CheckAuth = params.get("CheckAuth")
|
14373
|
+
self._RollingRestart = params.get("RollingRestart")
|
14269
14374
|
memeber_set = set(params.keys())
|
14270
14375
|
for name, value in vars(self).items():
|
14271
14376
|
property_name = name[1:]
|
@@ -5926,7 +5926,11 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
5926
5926
|
:param _LoadBalancerIds: 要删除的负载均衡实例 ID 数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取,数组大小最大支持20。
|
5927
5927
|
:type LoadBalancerIds: list of str
|
5928
5928
|
:param _ForceDelete: 是否强制删除clb。True表示强制删除,False表示不是强制删除,需要做拦截校验。
|
5929
|
-
默认为 False
|
5929
|
+
默认为 False。
|
5930
|
+
以下几种情况会默认拦截删除操作,如果确认强制删除则需要传强制校验参数ForceDelete为True。
|
5931
|
+
1、删除后端绑定大于等于 20 个 RS 的实例时。
|
5932
|
+
2、删除后端有 RS 且 5 分钟 内“出/入带宽”峰值取大 > 10Mbps 的实例时。
|
5933
|
+
3、单地域内 5 分钟 内删除大于等于 30 个实例时。
|
5930
5934
|
:type ForceDelete: bool
|
5931
5935
|
"""
|
5932
5936
|
self._LoadBalancerIds = None
|
@@ -5946,7 +5950,11 @@ class DeleteLoadBalancerRequest(AbstractModel):
|
|
5946
5950
|
@property
|
5947
5951
|
def ForceDelete(self):
|
5948
5952
|
"""是否强制删除clb。True表示强制删除,False表示不是强制删除,需要做拦截校验。
|
5949
|
-
默认为 False
|
5953
|
+
默认为 False。
|
5954
|
+
以下几种情况会默认拦截删除操作,如果确认强制删除则需要传强制校验参数ForceDelete为True。
|
5955
|
+
1、删除后端绑定大于等于 20 个 RS 的实例时。
|
5956
|
+
2、删除后端有 RS 且 5 分钟 内“出/入带宽”峰值取大 > 10Mbps 的实例时。
|
5957
|
+
3、单地域内 5 分钟 内删除大于等于 30 个实例时。
|
5950
5958
|
:rtype: bool
|
5951
5959
|
"""
|
5952
5960
|
return self._ForceDelete
|
@@ -2289,7 +2289,8 @@ class ClsClient(AbstractClient):
|
|
2289
2289
|
|
2290
2290
|
|
2291
2291
|
def ModifyMachineGroup(self, request):
|
2292
|
-
"""
|
2292
|
+
"""修改机器组。
|
2293
|
+
注意:修改接口直接覆盖历史数据,改为本次合法入参数据,请谨慎调用此接口。
|
2293
2294
|
|
2294
2295
|
:param request: Request instance for ModifyMachineGroup.
|
2295
2296
|
:type request: :class:`tencentcloud.cls.v20201016.models.ModifyMachineGroupRequest`
|
@@ -5124,7 +5124,7 @@ class CreateAlarmRequest(AbstractModel):
|
|
5124
5124
|
:param _Status: 是否开启告警策略。
|
5125
5125
|
默认值为true
|
5126
5126
|
:type Status: bool
|
5127
|
-
:param _Enable:
|
5127
|
+
:param _Enable: 请使用Status参数控制是否开启告警策略。
|
5128
5128
|
:type Enable: bool
|
5129
5129
|
:param _MessageTemplate: 用户自定义告警内容
|
5130
5130
|
:type MessageTemplate: str
|
@@ -5297,13 +5297,17 @@ Classifications元素的Value长度不能超过200个字符。
|
|
5297
5297
|
|
5298
5298
|
@property
|
5299
5299
|
def Enable(self):
|
5300
|
-
""
|
5300
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
5301
|
+
|
5302
|
+
"""请使用Status参数控制是否开启告警策略。
|
5301
5303
|
:rtype: bool
|
5302
5304
|
"""
|
5303
5305
|
return self._Enable
|
5304
5306
|
|
5305
5307
|
@Enable.setter
|
5306
5308
|
def Enable(self, Enable):
|
5309
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
5310
|
+
|
5307
5311
|
self._Enable = Enable
|
5308
5312
|
|
5309
5313
|
@property
|
@@ -5996,7 +6000,7 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
5996
6000
|
:type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
5997
6001
|
:param _ContainerStdout: 容器标准输出类型配置。
|
5998
6002
|
:type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
5999
|
-
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
6003
|
+
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
6000
6004
|
- stdout-docker-json:用于docker容器采集场景
|
6001
6005
|
- stdout-containerd:用于containerd容器采集场景
|
6002
6006
|
:type LogFormat: str
|
@@ -6174,7 +6178,9 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
6174
6178
|
|
6175
6179
|
@property
|
6176
6180
|
def LogFormat(self):
|
6177
|
-
""
|
6181
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
6182
|
+
|
6183
|
+
"""日志格式化方式,用于容器采集场景。
|
6178
6184
|
- stdout-docker-json:用于docker容器采集场景
|
6179
6185
|
- stdout-containerd:用于containerd容器采集场景
|
6180
6186
|
:rtype: str
|
@@ -6183,6 +6189,8 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
6183
6189
|
|
6184
6190
|
@LogFormat.setter
|
6185
6191
|
def LogFormat(self, LogFormat):
|
6192
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
6193
|
+
|
6186
6194
|
self._LogFormat = LogFormat
|
6187
6195
|
|
6188
6196
|
@property
|
@@ -9838,16 +9846,16 @@ class DashboardNoticeMode(AbstractModel):
|
|
9838
9846
|
<li/>WeCom: 企业微信回调
|
9839
9847
|
:type ReceiverType: str
|
9840
9848
|
:param _Values: 知方式对应的值。
|
9841
|
-
<br> <li/> 当ReceiverType不是
|
9849
|
+
<br> <li/> 当ReceiverType不是 WeCom 时,Values必填。
|
9842
9850
|
:type Values: list of str
|
9843
9851
|
:param _ReceiverChannels: 仪表盘通知渠道。
|
9844
9852
|
<br><li/> 支持:["Email","Sms","WeChat","Phone"]。
|
9845
|
-
<br><li/> 当ReceiverType是 Email 或
|
9853
|
+
<br><li/> 当ReceiverType是 Email 或 WeCom 时,ReceiverChannels不能赋值。
|
9846
9854
|
注意:此字段可能返回 null,表示取不到有效值。
|
9847
9855
|
:type ReceiverChannels: list of str
|
9848
9856
|
:param _Url: 回调Url。
|
9849
|
-
<br><li/> 当ReceiverType是
|
9850
|
-
<br><li/> 当ReceiverType不是
|
9857
|
+
<br><li/> 当ReceiverType是 WeCom 时,Url必填。
|
9858
|
+
<br><li/> 当ReceiverType不是 WeCom 时,Url不能填写。
|
9851
9859
|
:type Url: str
|
9852
9860
|
"""
|
9853
9861
|
self._ReceiverType = None
|
@@ -9873,7 +9881,7 @@ class DashboardNoticeMode(AbstractModel):
|
|
9873
9881
|
@property
|
9874
9882
|
def Values(self):
|
9875
9883
|
"""知方式对应的值。
|
9876
|
-
<br> <li/> 当ReceiverType不是
|
9884
|
+
<br> <li/> 当ReceiverType不是 WeCom 时,Values必填。
|
9877
9885
|
:rtype: list of str
|
9878
9886
|
"""
|
9879
9887
|
return self._Values
|
@@ -9886,7 +9894,7 @@ class DashboardNoticeMode(AbstractModel):
|
|
9886
9894
|
def ReceiverChannels(self):
|
9887
9895
|
"""仪表盘通知渠道。
|
9888
9896
|
<br><li/> 支持:["Email","Sms","WeChat","Phone"]。
|
9889
|
-
<br><li/> 当ReceiverType是 Email 或
|
9897
|
+
<br><li/> 当ReceiverType是 Email 或 WeCom 时,ReceiverChannels不能赋值。
|
9890
9898
|
注意:此字段可能返回 null,表示取不到有效值。
|
9891
9899
|
:rtype: list of str
|
9892
9900
|
"""
|
@@ -9899,8 +9907,8 @@ class DashboardNoticeMode(AbstractModel):
|
|
9899
9907
|
@property
|
9900
9908
|
def Url(self):
|
9901
9909
|
"""回调Url。
|
9902
|
-
<br><li/> 当ReceiverType是
|
9903
|
-
<br><li/> 当ReceiverType不是
|
9910
|
+
<br><li/> 当ReceiverType是 WeCom 时,Url必填。
|
9911
|
+
<br><li/> 当ReceiverType不是 WeCom 时,Url不能填写。
|
9904
9912
|
:rtype: str
|
9905
9913
|
"""
|
9906
9914
|
return self._Url
|
@@ -21482,6 +21490,8 @@ Classifications元素的Value长度不能超过200个字符。
|
|
21482
21490
|
|
21483
21491
|
@property
|
21484
21492
|
def Enable(self):
|
21493
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
21494
|
+
|
21485
21495
|
"""该参数已废弃,请使用Status参数控制是否开启告警策略。
|
21486
21496
|
:rtype: bool
|
21487
21497
|
"""
|
@@ -21489,6 +21499,8 @@ Classifications元素的Value长度不能超过200个字符。
|
|
21489
21499
|
|
21490
21500
|
@Enable.setter
|
21491
21501
|
def Enable(self, Enable):
|
21502
|
+
warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
|
21503
|
+
|
21492
21504
|
self._Enable = Enable
|
21493
21505
|
|
21494
21506
|
@property
|
@@ -22019,7 +22031,7 @@ class ModifyConfigExtraRequest(AbstractModel):
|
|
22019
22031
|
- multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
|
22020
22032
|
- user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
|
22021
22033
|
:type LogType: str
|
22022
|
-
:param _LogFormat:
|
22034
|
+
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
22023
22035
|
- stdout-docker-json:用于docker容器采集场景
|
22024
22036
|
- stdout-containerd:用于containerd容器采集场景
|
22025
22037
|
:type LogFormat: str
|
@@ -22157,7 +22169,9 @@ class ModifyConfigExtraRequest(AbstractModel):
|
|
22157
22169
|
|
22158
22170
|
@property
|
22159
22171
|
def LogFormat(self):
|
22160
|
-
""
|
22172
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
22173
|
+
|
22174
|
+
"""日志格式化方式,用于容器采集场景。
|
22161
22175
|
- stdout-docker-json:用于docker容器采集场景
|
22162
22176
|
- stdout-containerd:用于containerd容器采集场景
|
22163
22177
|
:rtype: str
|
@@ -22166,6 +22180,8 @@ class ModifyConfigExtraRequest(AbstractModel):
|
|
22166
22180
|
|
22167
22181
|
@LogFormat.setter
|
22168
22182
|
def LogFormat(self, LogFormat):
|
22183
|
+
warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
|
22184
|
+
|
22169
22185
|
self._LogFormat = LogFormat
|
22170
22186
|
|
22171
22187
|
@property
|
@@ -23891,7 +23907,9 @@ class ModifyMachineGroupRequest(AbstractModel):
|
|
23891
23907
|
:type GroupId: str
|
23892
23908
|
:param _GroupName: 机器组名称
|
23893
23909
|
:type GroupName: str
|
23894
|
-
:param _MachineGroupType: 机器组类型。
|
23910
|
+
:param _MachineGroupType: 机器组类型。
|
23911
|
+
Type:ip,Values中为ip字符串列表机器组;
|
23912
|
+
Type:label,Values中为标签字符串列表机器组。
|
23895
23913
|
:type MachineGroupType: :class:`tencentcloud.cls.v20201016.models.MachineGroupTypeInfo`
|
23896
23914
|
:param _Tags: 标签列表
|
23897
23915
|
:type Tags: list of Tag
|
@@ -23943,7 +23961,9 @@ class ModifyMachineGroupRequest(AbstractModel):
|
|
23943
23961
|
|
23944
23962
|
@property
|
23945
23963
|
def MachineGroupType(self):
|
23946
|
-
"""机器组类型。
|
23964
|
+
"""机器组类型。
|
23965
|
+
Type:ip,Values中为ip字符串列表机器组;
|
23966
|
+
Type:label,Values中为标签字符串列表机器组。
|
23947
23967
|
:rtype: :class:`tencentcloud.cls.v20201016.models.MachineGroupTypeInfo`
|
23948
23968
|
"""
|
23949
23969
|
return self._MachineGroupType
|
@@ -27477,6 +27497,8 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27477
27497
|
:type SyntaxRule: int
|
27478
27498
|
:param _HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
|
27479
27499
|
:type HasServicesLog: int
|
27500
|
+
:param _FullQuery: 全文检索标记。1:关闭,2:打开。
|
27501
|
+
:type FullQuery: int
|
27480
27502
|
"""
|
27481
27503
|
self._TaskId = None
|
27482
27504
|
self._Name = None
|
@@ -27497,6 +27519,7 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27497
27519
|
self._SrcTopicRegion = None
|
27498
27520
|
self._SyntaxRule = None
|
27499
27521
|
self._HasServicesLog = None
|
27522
|
+
self._FullQuery = None
|
27500
27523
|
|
27501
27524
|
@property
|
27502
27525
|
def TaskId(self):
|
@@ -27709,6 +27732,17 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27709
27732
|
def HasServicesLog(self, HasServicesLog):
|
27710
27733
|
self._HasServicesLog = HasServicesLog
|
27711
27734
|
|
27735
|
+
@property
|
27736
|
+
def FullQuery(self):
|
27737
|
+
"""全文检索标记。1:关闭,2:打开。
|
27738
|
+
:rtype: int
|
27739
|
+
"""
|
27740
|
+
return self._FullQuery
|
27741
|
+
|
27742
|
+
@FullQuery.setter
|
27743
|
+
def FullQuery(self, FullQuery):
|
27744
|
+
self._FullQuery = FullQuery
|
27745
|
+
|
27712
27746
|
|
27713
27747
|
def _deserialize(self, params):
|
27714
27748
|
self._TaskId = params.get("TaskId")
|
@@ -27732,6 +27766,7 @@ class ScheduledSqlTaskInfo(AbstractModel):
|
|
27732
27766
|
self._SrcTopicRegion = params.get("SrcTopicRegion")
|
27733
27767
|
self._SyntaxRule = params.get("SyntaxRule")
|
27734
27768
|
self._HasServicesLog = params.get("HasServicesLog")
|
27769
|
+
self._FullQuery = params.get("FullQuery")
|
27735
27770
|
memeber_set = set(params.keys())
|
27736
27771
|
for name, value in vars(self).items():
|
27737
27772
|
property_name = name[1:]
|
@@ -30335,6 +30370,8 @@ class WebCallback(AbstractModel):
|
|
30335
30370
|
|
30336
30371
|
@property
|
30337
30372
|
def Headers(self):
|
30373
|
+
warnings.warn("parameter `Headers` is deprecated", DeprecationWarning)
|
30374
|
+
|
30338
30375
|
"""该参数已废弃,请使用NoticeContentId。
|
30339
30376
|
:rtype: list of str
|
30340
30377
|
"""
|
@@ -30342,10 +30379,14 @@ class WebCallback(AbstractModel):
|
|
30342
30379
|
|
30343
30380
|
@Headers.setter
|
30344
30381
|
def Headers(self, Headers):
|
30382
|
+
warnings.warn("parameter `Headers` is deprecated", DeprecationWarning)
|
30383
|
+
|
30345
30384
|
self._Headers = Headers
|
30346
30385
|
|
30347
30386
|
@property
|
30348
30387
|
def Body(self):
|
30388
|
+
warnings.warn("parameter `Body` is deprecated", DeprecationWarning)
|
30389
|
+
|
30349
30390
|
"""该参数已废弃,请使用NoticeContentId。
|
30350
30391
|
注意:此字段可能返回 null,表示取不到有效值。
|
30351
30392
|
:rtype: str
|
@@ -30354,6 +30395,8 @@ class WebCallback(AbstractModel):
|
|
30354
30395
|
|
30355
30396
|
@Body.setter
|
30356
30397
|
def Body(self, Body):
|
30398
|
+
warnings.warn("parameter `Body` is deprecated", DeprecationWarning)
|
30399
|
+
|
30357
30400
|
self._Body = Body
|
30358
30401
|
|
30359
30402
|
@property
|
@@ -303,6 +303,7 @@ class CvmClient(AbstractClient):
|
|
303
303
|
|
304
304
|
def CreateLaunchTemplateVersion(self, request):
|
305
305
|
"""本接口(CreateLaunchTemplateVersion)根据指定的实例模板ID以及对应的模板版本号创建新的实例启动模板,若未指定模板版本号则使用默认版本号。每个实例启动模板最多创建30个版本。
|
306
|
+
* 新实例模板中未显式指定的参数值,使用指定版本号对应参数值覆盖。
|
306
307
|
|
307
308
|
:param request: Request instance for CreateLaunchTemplateVersion.
|
308
309
|
:type request: :class:`tencentcloud.cvm.v20170312.models.CreateLaunchTemplateVersionRequest`
|