tencentcloud-sdk-python 3.0.1440__py2.py3-none-any.whl → 3.0.1441__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +10 -6
- tencentcloud/cfs/v20190719/cfs_client.py +23 -0
- tencentcloud/cfs/v20190719/models.py +124 -0
- tencentcloud/dcdb/v20180411/models.py +47 -2
- tencentcloud/dlc/v20210125/models.py +15 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -1
- tencentcloud/dsgc/v20190723/models.py +10 -10
- tencentcloud/ess/v20201111/ess_client.py +16 -1
- tencentcloud/mariadb/v20170312/models.py +47 -2
- tencentcloud/organization/v20210331/models.py +306 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/privatedns/v20201028/models.py +6 -6
- tencentcloud/trocket/v20230308/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +13 -13
- tencentcloud/tsf/v20180326/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/RECORD +21 -21
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1440.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -13071,9 +13071,11 @@ class ScaleOutInstancesRequest(AbstractModel):
|
|
|
13071
13071
|
|
|
13072
13072
|
def __init__(self):
|
|
13073
13073
|
r"""
|
|
13074
|
-
:param _AutoScalingGroupId: 伸缩组ID
|
|
13074
|
+
:param _AutoScalingGroupId: 伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
|
13075
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
|
13076
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
13075
13077
|
:type AutoScalingGroupId: str
|
|
13076
|
-
:param _ScaleOutNumber:
|
|
13078
|
+
:param _ScaleOutNumber: 希望扩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最大值的差值。例如伸缩组期望数为 20,最大值为 100,此时可取值范围为 [1,80]。
|
|
13077
13079
|
:type ScaleOutNumber: int
|
|
13078
13080
|
"""
|
|
13079
13081
|
self._AutoScalingGroupId = None
|
|
@@ -13081,7 +13083,9 @@ class ScaleOutInstancesRequest(AbstractModel):
|
|
|
13081
13083
|
|
|
13082
13084
|
@property
|
|
13083
13085
|
def AutoScalingGroupId(self):
|
|
13084
|
-
"""伸缩组ID
|
|
13086
|
+
"""伸缩组ID。可以通过如下方式获取可用的伸缩组ID:
|
|
13087
|
+
<li>通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 查询伸缩组ID。</li>
|
|
13088
|
+
<li>通过调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
13085
13089
|
:rtype: str
|
|
13086
13090
|
"""
|
|
13087
13091
|
return self._AutoScalingGroupId
|
|
@@ -13092,7 +13096,7 @@ class ScaleOutInstancesRequest(AbstractModel):
|
|
|
13092
13096
|
|
|
13093
13097
|
@property
|
|
13094
13098
|
def ScaleOutNumber(self):
|
|
13095
|
-
"""
|
|
13099
|
+
"""希望扩容的实例数量。该参数的静态取值范围是 [1,2000],同时该参数不得大于期望数与最大值的差值。例如伸缩组期望数为 20,最大值为 100,此时可取值范围为 [1,80]。
|
|
13096
13100
|
:rtype: int
|
|
13097
13101
|
"""
|
|
13098
13102
|
return self._ScaleOutNumber
|
|
@@ -14092,7 +14096,7 @@ class StartInstanceRefreshRequest(AbstractModel):
|
|
|
14092
14096
|
|
|
14093
14097
|
def __init__(self):
|
|
14094
14098
|
r"""
|
|
14095
|
-
:param _AutoScalingGroupId: 伸缩组ID。
|
|
14099
|
+
:param _AutoScalingGroupId: 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
|
14096
14100
|
:type AutoScalingGroupId: str
|
|
14097
14101
|
:param _RefreshSettings: 刷新设置。
|
|
14098
14102
|
:type RefreshSettings: :class:`tencentcloud.autoscaling.v20180419.models.RefreshSettings`
|
|
@@ -14107,7 +14111,7 @@ class StartInstanceRefreshRequest(AbstractModel):
|
|
|
14107
14111
|
|
|
14108
14112
|
@property
|
|
14109
14113
|
def AutoScalingGroupId(self):
|
|
14110
|
-
"""伸缩组ID。
|
|
14114
|
+
"""伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。
|
|
14111
14115
|
:rtype: str
|
|
14112
14116
|
"""
|
|
14113
14117
|
return self._AutoScalingGroupId
|
|
@@ -948,6 +948,29 @@ class CfsClient(AbstractClient):
|
|
|
948
948
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
949
949
|
|
|
950
950
|
|
|
951
|
+
def DoDirectoryOperation(self, request):
|
|
952
|
+
"""文件系统目录操作接口
|
|
953
|
+
|
|
954
|
+
:param request: Request instance for DoDirectoryOperation.
|
|
955
|
+
:type request: :class:`tencentcloud.cfs.v20190719.models.DoDirectoryOperationRequest`
|
|
956
|
+
:rtype: :class:`tencentcloud.cfs.v20190719.models.DoDirectoryOperationResponse`
|
|
957
|
+
|
|
958
|
+
"""
|
|
959
|
+
try:
|
|
960
|
+
params = request._serialize()
|
|
961
|
+
headers = request.headers
|
|
962
|
+
body = self.call("DoDirectoryOperation", params, headers=headers)
|
|
963
|
+
response = json.loads(body)
|
|
964
|
+
model = models.DoDirectoryOperationResponse()
|
|
965
|
+
model._deserialize(response["Response"])
|
|
966
|
+
return model
|
|
967
|
+
except Exception as e:
|
|
968
|
+
if isinstance(e, TencentCloudSDKException):
|
|
969
|
+
raise
|
|
970
|
+
else:
|
|
971
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
972
|
+
|
|
973
|
+
|
|
951
974
|
def ModifyDataFlow(self, request):
|
|
952
975
|
"""修改数据流动相关参数
|
|
953
976
|
|
|
@@ -6226,6 +6226,130 @@ class DescribeUserQuotaResponse(AbstractModel):
|
|
|
6226
6226
|
self._RequestId = params.get("RequestId")
|
|
6227
6227
|
|
|
6228
6228
|
|
|
6229
|
+
class DoDirectoryOperationRequest(AbstractModel):
|
|
6230
|
+
"""DoDirectoryOperation请求参数结构体
|
|
6231
|
+
|
|
6232
|
+
"""
|
|
6233
|
+
|
|
6234
|
+
def __init__(self):
|
|
6235
|
+
r"""
|
|
6236
|
+
:param _FileSystemId: 文件系统Id
|
|
6237
|
+
:type FileSystemId: str
|
|
6238
|
+
:param _OpetationType: create:创建目录 check:确认目录是否存在
|
|
6239
|
+
:type OpetationType: str
|
|
6240
|
+
:param _DirectoryPath: 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
|
6241
|
+
:type DirectoryPath: str
|
|
6242
|
+
:param _Mode: 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
|
|
6243
|
+
:type Mode: str
|
|
6244
|
+
"""
|
|
6245
|
+
self._FileSystemId = None
|
|
6246
|
+
self._OpetationType = None
|
|
6247
|
+
self._DirectoryPath = None
|
|
6248
|
+
self._Mode = None
|
|
6249
|
+
|
|
6250
|
+
@property
|
|
6251
|
+
def FileSystemId(self):
|
|
6252
|
+
"""文件系统Id
|
|
6253
|
+
:rtype: str
|
|
6254
|
+
"""
|
|
6255
|
+
return self._FileSystemId
|
|
6256
|
+
|
|
6257
|
+
@FileSystemId.setter
|
|
6258
|
+
def FileSystemId(self, FileSystemId):
|
|
6259
|
+
self._FileSystemId = FileSystemId
|
|
6260
|
+
|
|
6261
|
+
@property
|
|
6262
|
+
def OpetationType(self):
|
|
6263
|
+
"""create:创建目录 check:确认目录是否存在
|
|
6264
|
+
:rtype: str
|
|
6265
|
+
"""
|
|
6266
|
+
return self._OpetationType
|
|
6267
|
+
|
|
6268
|
+
@OpetationType.setter
|
|
6269
|
+
def OpetationType(self, OpetationType):
|
|
6270
|
+
self._OpetationType = OpetationType
|
|
6271
|
+
|
|
6272
|
+
@property
|
|
6273
|
+
def DirectoryPath(self):
|
|
6274
|
+
"""目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
|
|
6275
|
+
:rtype: str
|
|
6276
|
+
"""
|
|
6277
|
+
return self._DirectoryPath
|
|
6278
|
+
|
|
6279
|
+
@DirectoryPath.setter
|
|
6280
|
+
def DirectoryPath(self, DirectoryPath):
|
|
6281
|
+
self._DirectoryPath = DirectoryPath
|
|
6282
|
+
|
|
6283
|
+
@property
|
|
6284
|
+
def Mode(self):
|
|
6285
|
+
"""创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
|
|
6286
|
+
:rtype: str
|
|
6287
|
+
"""
|
|
6288
|
+
return self._Mode
|
|
6289
|
+
|
|
6290
|
+
@Mode.setter
|
|
6291
|
+
def Mode(self, Mode):
|
|
6292
|
+
self._Mode = Mode
|
|
6293
|
+
|
|
6294
|
+
|
|
6295
|
+
def _deserialize(self, params):
|
|
6296
|
+
self._FileSystemId = params.get("FileSystemId")
|
|
6297
|
+
self._OpetationType = params.get("OpetationType")
|
|
6298
|
+
self._DirectoryPath = params.get("DirectoryPath")
|
|
6299
|
+
self._Mode = params.get("Mode")
|
|
6300
|
+
memeber_set = set(params.keys())
|
|
6301
|
+
for name, value in vars(self).items():
|
|
6302
|
+
property_name = name[1:]
|
|
6303
|
+
if property_name in memeber_set:
|
|
6304
|
+
memeber_set.remove(property_name)
|
|
6305
|
+
if len(memeber_set) > 0:
|
|
6306
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6307
|
+
|
|
6308
|
+
|
|
6309
|
+
|
|
6310
|
+
class DoDirectoryOperationResponse(AbstractModel):
|
|
6311
|
+
"""DoDirectoryOperation返回参数结构体
|
|
6312
|
+
|
|
6313
|
+
"""
|
|
6314
|
+
|
|
6315
|
+
def __init__(self):
|
|
6316
|
+
r"""
|
|
6317
|
+
:param _Result: 1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
|
|
6318
|
+
:type Result: int
|
|
6319
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6320
|
+
:type RequestId: str
|
|
6321
|
+
"""
|
|
6322
|
+
self._Result = None
|
|
6323
|
+
self._RequestId = None
|
|
6324
|
+
|
|
6325
|
+
@property
|
|
6326
|
+
def Result(self):
|
|
6327
|
+
"""1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
|
|
6328
|
+
:rtype: int
|
|
6329
|
+
"""
|
|
6330
|
+
return self._Result
|
|
6331
|
+
|
|
6332
|
+
@Result.setter
|
|
6333
|
+
def Result(self, Result):
|
|
6334
|
+
self._Result = Result
|
|
6335
|
+
|
|
6336
|
+
@property
|
|
6337
|
+
def RequestId(self):
|
|
6338
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6339
|
+
:rtype: str
|
|
6340
|
+
"""
|
|
6341
|
+
return self._RequestId
|
|
6342
|
+
|
|
6343
|
+
@RequestId.setter
|
|
6344
|
+
def RequestId(self, RequestId):
|
|
6345
|
+
self._RequestId = RequestId
|
|
6346
|
+
|
|
6347
|
+
|
|
6348
|
+
def _deserialize(self, params):
|
|
6349
|
+
self._Result = params.get("Result")
|
|
6350
|
+
self._RequestId = params.get("RequestId")
|
|
6351
|
+
|
|
6352
|
+
|
|
6229
6353
|
class ExstraPerformanceInfo(AbstractModel):
|
|
6230
6354
|
"""购买完额外性能之后的值
|
|
6231
6355
|
|
|
@@ -3641,6 +3641,8 @@ class DCDBInstanceInfo(AbstractModel):
|
|
|
3641
3641
|
:type ResourceTags: list of ResourceTag
|
|
3642
3642
|
:param _DbVersionId: 数据库引擎版本
|
|
3643
3643
|
:type DbVersionId: str
|
|
3644
|
+
:param _ProtectedProperty: 实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
3645
|
+
:type ProtectedProperty: int
|
|
3644
3646
|
"""
|
|
3645
3647
|
self._InstanceId = None
|
|
3646
3648
|
self._InstanceName = None
|
|
@@ -3692,6 +3694,7 @@ class DCDBInstanceInfo(AbstractModel):
|
|
|
3692
3694
|
self._InstanceType = None
|
|
3693
3695
|
self._ResourceTags = None
|
|
3694
3696
|
self._DbVersionId = None
|
|
3697
|
+
self._ProtectedProperty = None
|
|
3695
3698
|
|
|
3696
3699
|
@property
|
|
3697
3700
|
def InstanceId(self):
|
|
@@ -4243,6 +4246,17 @@ class DCDBInstanceInfo(AbstractModel):
|
|
|
4243
4246
|
def DbVersionId(self, DbVersionId):
|
|
4244
4247
|
self._DbVersionId = DbVersionId
|
|
4245
4248
|
|
|
4249
|
+
@property
|
|
4250
|
+
def ProtectedProperty(self):
|
|
4251
|
+
"""实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
4252
|
+
:rtype: int
|
|
4253
|
+
"""
|
|
4254
|
+
return self._ProtectedProperty
|
|
4255
|
+
|
|
4256
|
+
@ProtectedProperty.setter
|
|
4257
|
+
def ProtectedProperty(self, ProtectedProperty):
|
|
4258
|
+
self._ProtectedProperty = ProtectedProperty
|
|
4259
|
+
|
|
4246
4260
|
|
|
4247
4261
|
def _deserialize(self, params):
|
|
4248
4262
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -4305,6 +4319,7 @@ class DCDBInstanceInfo(AbstractModel):
|
|
|
4305
4319
|
obj._deserialize(item)
|
|
4306
4320
|
self._ResourceTags.append(obj)
|
|
4307
4321
|
self._DbVersionId = params.get("DbVersionId")
|
|
4322
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
|
4308
4323
|
memeber_set = set(params.keys())
|
|
4309
4324
|
for name, value in vars(self).items():
|
|
4310
4325
|
property_name = name[1:]
|
|
@@ -7727,6 +7742,8 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
7727
7742
|
:type IsDcnSwitchSupported: int
|
|
7728
7743
|
:param _CpuType: cpu类型,英特尔:Intel/AMD,海光:Hygon,默认Intel/AMD
|
|
7729
7744
|
:type CpuType: str
|
|
7745
|
+
:param _ProtectedProperty: 实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
7746
|
+
:type ProtectedProperty: int
|
|
7730
7747
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7731
7748
|
:type RequestId: str
|
|
7732
7749
|
"""
|
|
@@ -7785,6 +7802,7 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
7785
7802
|
self._IsDcnStrongSyncSupported = None
|
|
7786
7803
|
self._IsDcnSwitchSupported = None
|
|
7787
7804
|
self._CpuType = None
|
|
7805
|
+
self._ProtectedProperty = None
|
|
7788
7806
|
self._RequestId = None
|
|
7789
7807
|
|
|
7790
7808
|
@property
|
|
@@ -8392,6 +8410,17 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
8392
8410
|
def CpuType(self, CpuType):
|
|
8393
8411
|
self._CpuType = CpuType
|
|
8394
8412
|
|
|
8413
|
+
@property
|
|
8414
|
+
def ProtectedProperty(self):
|
|
8415
|
+
"""实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
8416
|
+
:rtype: int
|
|
8417
|
+
"""
|
|
8418
|
+
return self._ProtectedProperty
|
|
8419
|
+
|
|
8420
|
+
@ProtectedProperty.setter
|
|
8421
|
+
def ProtectedProperty(self, ProtectedProperty):
|
|
8422
|
+
self._ProtectedProperty = ProtectedProperty
|
|
8423
|
+
|
|
8395
8424
|
@property
|
|
8396
8425
|
def RequestId(self):
|
|
8397
8426
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -8475,6 +8504,7 @@ class DescribeDCDBInstanceDetailResponse(AbstractModel):
|
|
|
8475
8504
|
self._IsDcnStrongSyncSupported = params.get("IsDcnStrongSyncSupported")
|
|
8476
8505
|
self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
|
|
8477
8506
|
self._CpuType = params.get("CpuType")
|
|
8507
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
|
8478
8508
|
self._RequestId = params.get("RequestId")
|
|
8479
8509
|
|
|
8480
8510
|
|
|
@@ -12511,11 +12541,14 @@ class KillSessionRequest(AbstractModel):
|
|
|
12511
12541
|
:type ShardId: str
|
|
12512
12542
|
:param _ShardSerialId: 分片序列ID,与ShardId设置一个
|
|
12513
12543
|
:type ShardSerialId: str
|
|
12544
|
+
:param _NodeId: 节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
|
|
12545
|
+
:type NodeId: str
|
|
12514
12546
|
"""
|
|
12515
12547
|
self._InstanceId = None
|
|
12516
12548
|
self._SessionId = None
|
|
12517
12549
|
self._ShardId = None
|
|
12518
12550
|
self._ShardSerialId = None
|
|
12551
|
+
self._NodeId = None
|
|
12519
12552
|
|
|
12520
12553
|
@property
|
|
12521
12554
|
def InstanceId(self):
|
|
@@ -12561,12 +12594,24 @@ class KillSessionRequest(AbstractModel):
|
|
|
12561
12594
|
def ShardSerialId(self, ShardSerialId):
|
|
12562
12595
|
self._ShardSerialId = ShardSerialId
|
|
12563
12596
|
|
|
12597
|
+
@property
|
|
12598
|
+
def NodeId(self):
|
|
12599
|
+
"""节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
|
|
12600
|
+
:rtype: str
|
|
12601
|
+
"""
|
|
12602
|
+
return self._NodeId
|
|
12603
|
+
|
|
12604
|
+
@NodeId.setter
|
|
12605
|
+
def NodeId(self, NodeId):
|
|
12606
|
+
self._NodeId = NodeId
|
|
12607
|
+
|
|
12564
12608
|
|
|
12565
12609
|
def _deserialize(self, params):
|
|
12566
12610
|
self._InstanceId = params.get("InstanceId")
|
|
12567
12611
|
self._SessionId = params.get("SessionId")
|
|
12568
12612
|
self._ShardId = params.get("ShardId")
|
|
12569
12613
|
self._ShardSerialId = params.get("ShardSerialId")
|
|
12614
|
+
self._NodeId = params.get("NodeId")
|
|
12570
12615
|
memeber_set = set(params.keys())
|
|
12571
12616
|
for name, value in vars(self).items():
|
|
12572
12617
|
property_name = name[1:]
|
|
@@ -13471,7 +13516,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
13471
13516
|
:type Product: str
|
|
13472
13517
|
:param _InstanceId: 实例ID。
|
|
13473
13518
|
:type InstanceId: str
|
|
13474
|
-
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID
|
|
13519
|
+
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
|
|
13475
13520
|
:type SecurityGroupIds: list of str
|
|
13476
13521
|
"""
|
|
13477
13522
|
self._Product = None
|
|
@@ -13502,7 +13547,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
13502
13547
|
|
|
13503
13548
|
@property
|
|
13504
13549
|
def SecurityGroupIds(self):
|
|
13505
|
-
"""要修改的安全组 ID 列表,一个或者多个安全组 ID
|
|
13550
|
+
"""要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
|
|
13506
13551
|
:rtype: list of str
|
|
13507
13552
|
"""
|
|
13508
13553
|
return self._SecurityGroupIds
|
|
@@ -38299,6 +38299,8 @@ class TaskResponseInfo(AbstractModel):
|
|
|
38299
38299
|
:type EngineTypeDetail: str
|
|
38300
38300
|
:param _ResourceGroupName: spark引擎资源组名称
|
|
38301
38301
|
:type ResourceGroupName: str
|
|
38302
|
+
:param _JobTimeSum: 任务执行耗时
|
|
38303
|
+
:type JobTimeSum: int
|
|
38302
38304
|
"""
|
|
38303
38305
|
self._DatabaseName = None
|
|
38304
38306
|
self._DataAmount = None
|
|
@@ -38343,6 +38345,7 @@ class TaskResponseInfo(AbstractModel):
|
|
|
38343
38345
|
self._ResultFormat = None
|
|
38344
38346
|
self._EngineTypeDetail = None
|
|
38345
38347
|
self._ResourceGroupName = None
|
|
38348
|
+
self._JobTimeSum = None
|
|
38346
38349
|
|
|
38347
38350
|
@property
|
|
38348
38351
|
def DatabaseName(self):
|
|
@@ -38820,6 +38823,17 @@ class TaskResponseInfo(AbstractModel):
|
|
|
38820
38823
|
def ResourceGroupName(self, ResourceGroupName):
|
|
38821
38824
|
self._ResourceGroupName = ResourceGroupName
|
|
38822
38825
|
|
|
38826
|
+
@property
|
|
38827
|
+
def JobTimeSum(self):
|
|
38828
|
+
"""任务执行耗时
|
|
38829
|
+
:rtype: int
|
|
38830
|
+
"""
|
|
38831
|
+
return self._JobTimeSum
|
|
38832
|
+
|
|
38833
|
+
@JobTimeSum.setter
|
|
38834
|
+
def JobTimeSum(self, JobTimeSum):
|
|
38835
|
+
self._JobTimeSum = JobTimeSum
|
|
38836
|
+
|
|
38823
38837
|
|
|
38824
38838
|
def _deserialize(self, params):
|
|
38825
38839
|
self._DatabaseName = params.get("DatabaseName")
|
|
@@ -38871,6 +38885,7 @@ class TaskResponseInfo(AbstractModel):
|
|
|
38871
38885
|
self._ResultFormat = params.get("ResultFormat")
|
|
38872
38886
|
self._EngineTypeDetail = params.get("EngineTypeDetail")
|
|
38873
38887
|
self._ResourceGroupName = params.get("ResourceGroupName")
|
|
38888
|
+
self._JobTimeSum = params.get("JobTimeSum")
|
|
38874
38889
|
memeber_set = set(params.keys())
|
|
38875
38890
|
for name, value in vars(self).items():
|
|
38876
38891
|
property_name = name[1:]
|
|
@@ -1346,7 +1346,7 @@ class DsgcClient(AbstractClient):
|
|
|
1346
1346
|
|
|
1347
1347
|
|
|
1348
1348
|
def DescribeDSPAAssessmentTemplateControlItems(self, request):
|
|
1349
|
-
"""获取DSPA
|
|
1349
|
+
"""获取DSPA评估模板关联的评估控制项列表
|
|
1350
1350
|
|
|
1351
1351
|
:param request: Request instance for DescribeDSPAAssessmentTemplateControlItems.
|
|
1352
1352
|
:type request: :class:`tencentcloud.dsgc.v20190723.models.DescribeDSPAAssessmentTemplateControlItemsRequest`
|
|
@@ -4399,7 +4399,7 @@ class CreateDSPAComplianceGroupRequest(AbstractModel):
|
|
|
4399
4399
|
:type ComplianceGroupRules: list of ComplianceGroupRuleIdInfo
|
|
4400
4400
|
:param _LevelGroupId: 分级组ID,默认值为1,新增参数,可选
|
|
4401
4401
|
:type LevelGroupId: int
|
|
4402
|
-
:param _Status: 1
|
|
4402
|
+
:param _Status: 1代表模板开启,0代表模板关闭
|
|
4403
4403
|
:type Status: int
|
|
4404
4404
|
:param _CloseComplianceId: 该complianceId的开启状态将被关闭
|
|
4405
4405
|
:type CloseComplianceId: int
|
|
@@ -4469,7 +4469,7 @@ class CreateDSPAComplianceGroupRequest(AbstractModel):
|
|
|
4469
4469
|
|
|
4470
4470
|
@property
|
|
4471
4471
|
def Status(self):
|
|
4472
|
-
"""1
|
|
4472
|
+
"""1代表模板开启,0代表模板关闭
|
|
4473
4473
|
:rtype: int
|
|
4474
4474
|
"""
|
|
4475
4475
|
return self._Status
|
|
@@ -14622,7 +14622,7 @@ class DescribeDSPAComplianceGroupsRequest(AbstractModel):
|
|
|
14622
14622
|
:type Limit: int
|
|
14623
14623
|
:param _ComplianceGroupTypeList: 合规组类型可选值:0 默认合规组, 1 系统合规组, 2 自定义合规组
|
|
14624
14624
|
:type ComplianceGroupTypeList: list of int
|
|
14625
|
-
:param _IsFilterCloseComplianceGroup:
|
|
14625
|
+
:param _IsFilterCloseComplianceGroup: 是否仅显示已开启模板
|
|
14626
14626
|
:type IsFilterCloseComplianceGroup: bool
|
|
14627
14627
|
"""
|
|
14628
14628
|
self._DspaId = None
|
|
@@ -14701,7 +14701,7 @@ class DescribeDSPAComplianceGroupsRequest(AbstractModel):
|
|
|
14701
14701
|
|
|
14702
14702
|
@property
|
|
14703
14703
|
def IsFilterCloseComplianceGroup(self):
|
|
14704
|
-
"""
|
|
14704
|
+
"""是否仅显示已开启模板
|
|
14705
14705
|
:rtype: bool
|
|
14706
14706
|
"""
|
|
14707
14707
|
return self._IsFilterCloseComplianceGroup
|
|
@@ -21299,9 +21299,9 @@ class DspaDiscoveryComplianceGroupInfo(AbstractModel):
|
|
|
21299
21299
|
:type Disabled: bool
|
|
21300
21300
|
:param _IsAlias: 是否别名
|
|
21301
21301
|
:type IsAlias: bool
|
|
21302
|
-
:param _Status: 1
|
|
21302
|
+
:param _Status: 1代表模板开启,0代表模板关闭
|
|
21303
21303
|
:type Status: int
|
|
21304
|
-
:param _ModifyTime:
|
|
21304
|
+
:param _ModifyTime: 模板最后修改时间
|
|
21305
21305
|
:type ModifyTime: str
|
|
21306
21306
|
"""
|
|
21307
21307
|
self._ComplianceGroupId = None
|
|
@@ -21405,7 +21405,7 @@ class DspaDiscoveryComplianceGroupInfo(AbstractModel):
|
|
|
21405
21405
|
|
|
21406
21406
|
@property
|
|
21407
21407
|
def Status(self):
|
|
21408
|
-
"""1
|
|
21408
|
+
"""1代表模板开启,0代表模板关闭
|
|
21409
21409
|
:rtype: int
|
|
21410
21410
|
"""
|
|
21411
21411
|
return self._Status
|
|
@@ -21416,7 +21416,7 @@ class DspaDiscoveryComplianceGroupInfo(AbstractModel):
|
|
|
21416
21416
|
|
|
21417
21417
|
@property
|
|
21418
21418
|
def ModifyTime(self):
|
|
21419
|
-
"""
|
|
21419
|
+
"""模板最后修改时间
|
|
21420
21420
|
:rtype: str
|
|
21421
21421
|
"""
|
|
21422
21422
|
return self._ModifyTime
|
|
@@ -30724,7 +30724,7 @@ class ReportInfo(AbstractModel):
|
|
|
30724
30724
|
:type ComplianceName: str
|
|
30725
30725
|
:param _ProgressPercent: 进度百分比
|
|
30726
30726
|
:type ProgressPercent: int
|
|
30727
|
-
:param _ReportTemplateName:
|
|
30727
|
+
:param _ReportTemplateName: 报告模板名称
|
|
30728
30728
|
:type ReportTemplateName: str
|
|
30729
30729
|
"""
|
|
30730
30730
|
self._Id = None
|
|
@@ -30899,7 +30899,7 @@ class ReportInfo(AbstractModel):
|
|
|
30899
30899
|
|
|
30900
30900
|
@property
|
|
30901
30901
|
def ReportTemplateName(self):
|
|
30902
|
-
"""
|
|
30902
|
+
"""报告模板名称
|
|
30903
30903
|
:rtype: str
|
|
30904
30904
|
"""
|
|
30905
30905
|
return self._ReportTemplateName
|
|
@@ -1761,7 +1761,7 @@ class EssClient(AbstractClient):
|
|
|
1761
1761
|
|
|
1762
1762
|
|
|
1763
1763
|
**该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权**
|
|
1764
|
-

|
|
1765
1765
|
|
|
1766
1766
|
:param request: Request instance for CreatePartnerAutoSignAuthUrl.
|
|
1767
1767
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreatePartnerAutoSignAuthUrlRequest`
|
|
@@ -2881,6 +2881,21 @@ class EssClient(AbstractClient):
|
|
|
2881
2881
|
def DescribeIntegrationRoles(self, request):
|
|
2882
2882
|
"""此接口(DescribeIntegrationRoles)用于分页查询企业角色列表,列表按照角色创建时间升序排列。
|
|
2883
2883
|
|
|
2884
|
+
角色分为系统默认角色与企业自定义角色,其中系统默认角色不可以禁用、删除、编辑权限项,只可往默认角色中添加成员。企业自定义角色为企业根据自身需要新增的角色,可根据企业具体情况设置各个角色的权限,例如新增财务岗、销售岗等角色。
|
|
2885
|
+
|
|
2886
|
+
企业版的系统默认角色包含如下角色:
|
|
2887
|
+
|
|
2888
|
+
| 角色名称 | 角色描述 |
|
|
2889
|
+
|------------------------------|--------------------------------------------------------------------------|
|
|
2890
|
+
| 超级管理员(电子签业务最高权限,e.g.法务/业务负责人) | 所有功能和数据管理权限,只能设置一位超管。 |
|
|
2891
|
+
| IT信息管理员(IT系统负责人,e.g. CTO) | 组织员工、计费模块、应用模块等权限能力。 |
|
|
2892
|
+
| 企业合同管理员(企业法务负责人) | 企业全部合同管理、可申请出证等权限能力。 |
|
|
2893
|
+
| 企业模板管理员 | 企业全部模板管理权限能力。 |
|
|
2894
|
+
| 企业印章管理员(企业行政负责人) | 管理企业的所有电子印章,如添加印章、启用停用印章、印章授权等。 |
|
|
2895
|
+
| 用印审批岗(各部门的印章管理岗) | 可对被授权的印章进行日常使用管理,如合同盖章用印的审核及登记。 |
|
|
2896
|
+
| 部门管理员(部门的合同+印章+模板管理) | 部门级(含子部门)所有合同管理权限能力。 |
|
|
2897
|
+
| 业务员(销售员、采购员) | 发起合同、签署合同(含填写、拒签)、撤销合同、持有印章等权限能力。 |
|
|
2898
|
+
|
|
2884
2899
|
:param request: Request instance for DescribeIntegrationRoles.
|
|
2885
2900
|
:type request: :class:`tencentcloud.ess.v20201111.models.DescribeIntegrationRolesRequest`
|
|
2886
2901
|
:rtype: :class:`tencentcloud.ess.v20201111.models.DescribeIntegrationRolesResponse`
|
|
@@ -3029,6 +3029,8 @@ class DBInstance(AbstractModel):
|
|
|
3029
3029
|
:type ResourceTags: list of ResourceTag
|
|
3030
3030
|
:param _DbVersionId: 数据库版本
|
|
3031
3031
|
:type DbVersionId: str
|
|
3032
|
+
:param _ProtectedProperty: 实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
3033
|
+
:type ProtectedProperty: int
|
|
3032
3034
|
"""
|
|
3033
3035
|
self._InstanceId = None
|
|
3034
3036
|
self._InstanceName = None
|
|
@@ -3082,6 +3084,7 @@ class DBInstance(AbstractModel):
|
|
|
3082
3084
|
self._InstanceType = None
|
|
3083
3085
|
self._ResourceTags = None
|
|
3084
3086
|
self._DbVersionId = None
|
|
3087
|
+
self._ProtectedProperty = None
|
|
3085
3088
|
|
|
3086
3089
|
@property
|
|
3087
3090
|
def InstanceId(self):
|
|
@@ -3655,6 +3658,17 @@ class DBInstance(AbstractModel):
|
|
|
3655
3658
|
def DbVersionId(self, DbVersionId):
|
|
3656
3659
|
self._DbVersionId = DbVersionId
|
|
3657
3660
|
|
|
3661
|
+
@property
|
|
3662
|
+
def ProtectedProperty(self):
|
|
3663
|
+
"""实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护
|
|
3664
|
+
:rtype: int
|
|
3665
|
+
"""
|
|
3666
|
+
return self._ProtectedProperty
|
|
3667
|
+
|
|
3668
|
+
@ProtectedProperty.setter
|
|
3669
|
+
def ProtectedProperty(self, ProtectedProperty):
|
|
3670
|
+
self._ProtectedProperty = ProtectedProperty
|
|
3671
|
+
|
|
3658
3672
|
|
|
3659
3673
|
def _deserialize(self, params):
|
|
3660
3674
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -3714,6 +3728,7 @@ class DBInstance(AbstractModel):
|
|
|
3714
3728
|
obj._deserialize(item)
|
|
3715
3729
|
self._ResourceTags.append(obj)
|
|
3716
3730
|
self._DbVersionId = params.get("DbVersionId")
|
|
3731
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
|
3717
3732
|
memeber_set = set(params.keys())
|
|
3718
3733
|
for name, value in vars(self).items():
|
|
3719
3734
|
property_name = name[1:]
|
|
@@ -5999,6 +6014,8 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
5999
6014
|
:type ProxyVersion: str
|
|
6000
6015
|
:param _CpuType: Cpu类型,如:英特尔:Intel/AMD,海光:Hygon
|
|
6001
6016
|
:type CpuType: str
|
|
6017
|
+
:param _ProtectedProperty: 删除保护标记,1: 已开启删除保护,0: 未开启删除保护
|
|
6018
|
+
:type ProtectedProperty: int
|
|
6002
6019
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6003
6020
|
:type RequestId: str
|
|
6004
6021
|
"""
|
|
@@ -6063,6 +6080,7 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6063
6080
|
self._IsDcnSwitchSupported = None
|
|
6064
6081
|
self._ProxyVersion = None
|
|
6065
6082
|
self._CpuType = None
|
|
6083
|
+
self._ProtectedProperty = None
|
|
6066
6084
|
self._RequestId = None
|
|
6067
6085
|
|
|
6068
6086
|
@property
|
|
@@ -6738,6 +6756,17 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6738
6756
|
def CpuType(self, CpuType):
|
|
6739
6757
|
self._CpuType = CpuType
|
|
6740
6758
|
|
|
6759
|
+
@property
|
|
6760
|
+
def ProtectedProperty(self):
|
|
6761
|
+
"""删除保护标记,1: 已开启删除保护,0: 未开启删除保护
|
|
6762
|
+
:rtype: int
|
|
6763
|
+
"""
|
|
6764
|
+
return self._ProtectedProperty
|
|
6765
|
+
|
|
6766
|
+
@ProtectedProperty.setter
|
|
6767
|
+
def ProtectedProperty(self, ProtectedProperty):
|
|
6768
|
+
self._ProtectedProperty = ProtectedProperty
|
|
6769
|
+
|
|
6741
6770
|
@property
|
|
6742
6771
|
def RequestId(self):
|
|
6743
6772
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6831,6 +6860,7 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6831
6860
|
self._IsDcnSwitchSupported = params.get("IsDcnSwitchSupported")
|
|
6832
6861
|
self._ProxyVersion = params.get("ProxyVersion")
|
|
6833
6862
|
self._CpuType = params.get("CpuType")
|
|
6863
|
+
self._ProtectedProperty = params.get("ProtectedProperty")
|
|
6834
6864
|
self._RequestId = params.get("RequestId")
|
|
6835
6865
|
|
|
6836
6866
|
|
|
@@ -11136,9 +11166,12 @@ class KillSessionRequest(AbstractModel):
|
|
|
11136
11166
|
:type InstanceId: str
|
|
11137
11167
|
:param _SessionId: 会话ID列表
|
|
11138
11168
|
:type SessionId: list of int
|
|
11169
|
+
:param _NodeId: 节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
|
|
11170
|
+
:type NodeId: str
|
|
11139
11171
|
"""
|
|
11140
11172
|
self._InstanceId = None
|
|
11141
11173
|
self._SessionId = None
|
|
11174
|
+
self._NodeId = None
|
|
11142
11175
|
|
|
11143
11176
|
@property
|
|
11144
11177
|
def InstanceId(self):
|
|
@@ -11162,10 +11195,22 @@ class KillSessionRequest(AbstractModel):
|
|
|
11162
11195
|
def SessionId(self, SessionId):
|
|
11163
11196
|
self._SessionId = SessionId
|
|
11164
11197
|
|
|
11198
|
+
@property
|
|
11199
|
+
def NodeId(self):
|
|
11200
|
+
"""节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。
|
|
11201
|
+
:rtype: str
|
|
11202
|
+
"""
|
|
11203
|
+
return self._NodeId
|
|
11204
|
+
|
|
11205
|
+
@NodeId.setter
|
|
11206
|
+
def NodeId(self, NodeId):
|
|
11207
|
+
self._NodeId = NodeId
|
|
11208
|
+
|
|
11165
11209
|
|
|
11166
11210
|
def _deserialize(self, params):
|
|
11167
11211
|
self._InstanceId = params.get("InstanceId")
|
|
11168
11212
|
self._SessionId = params.get("SessionId")
|
|
11213
|
+
self._NodeId = params.get("NodeId")
|
|
11169
11214
|
memeber_set = set(params.keys())
|
|
11170
11215
|
for name, value in vars(self).items():
|
|
11171
11216
|
property_name = name[1:]
|
|
@@ -12109,7 +12154,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
12109
12154
|
:type Product: str
|
|
12110
12155
|
:param _InstanceId: 实例ID。
|
|
12111
12156
|
:type InstanceId: str
|
|
12112
|
-
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID
|
|
12157
|
+
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:改入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
|
|
12113
12158
|
:type SecurityGroupIds: list of str
|
|
12114
12159
|
"""
|
|
12115
12160
|
self._Product = None
|
|
@@ -12140,7 +12185,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
12140
12185
|
|
|
12141
12186
|
@property
|
|
12142
12187
|
def SecurityGroupIds(self):
|
|
12143
|
-
"""要修改的安全组 ID 列表,一个或者多个安全组 ID
|
|
12188
|
+
"""要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:改入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。
|
|
12144
12189
|
:rtype: list of str
|
|
12145
12190
|
"""
|
|
12146
12191
|
return self._SecurityGroupIds
|