tencentcloud-sdk-python 3.1.195__py2.py3-none-any.whl → 3.1.197__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/adp/v20260520/models.py +38 -8
- tencentcloud/ags/v20250920/errorcodes.py +9 -0
- tencentcloud/ags/v20250920/models.py +7 -7
- tencentcloud/asr/v20190614/models.py +34 -4
- tencentcloud/cdz/v20221123/models.py +27 -12
- tencentcloud/cfg/v20210820/cfg_client.py +69 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +54 -0
- tencentcloud/cfg/v20210820/models.py +505 -0
- tencentcloud/cloudaudit/v20190319/models.py +15 -0
- tencentcloud/cngw/v20230418/cngw_client.py +3 -3
- tencentcloud/cngw/v20230418/cngw_client_async.py +3 -3
- tencentcloud/cngw/v20230418/models.py +51 -4
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/ctem/v20231128/ctem_client.py +115 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +90 -0
- tencentcloud/ctem/v20231128/models.py +961 -20
- tencentcloud/cvd/__init__.py +0 -0
- tencentcloud/cvd/v20201104/__init__.py +0 -0
- tencentcloud/cvd/v20201104/cvd_client.py +1133 -0
- tencentcloud/cvd/v20201104/cvd_client_async.py +893 -0
- tencentcloud/cvd/v20201104/errorcodes.py +168 -0
- tencentcloud/cvd/v20201104/models.py +9275 -0
- tencentcloud/cynosdb/v20190107/models.py +204 -16
- tencentcloud/databuddy/v20260715/databuddy_client.py +74 -0
- tencentcloud/databuddy/v20260715/databuddy_client_async.py +59 -0
- tencentcloud/databuddy/v20260715/errorcodes.py +20 -2
- tencentcloud/databuddy/v20260715/models.py +471 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +430 -0
- tencentcloud/dbdc/v20201029/dbdc_client.py +139 -0
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +109 -0
- tencentcloud/dbdc/v20201029/models.py +648 -40
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/ess/v20201111/ess_client_async.py +1 -1
- tencentcloud/ess/v20201111/models.py +61 -14
- tencentcloud/ga2/v20250115/models.py +174 -12
- tencentcloud/goosefs/v20220519/goosefs_client.py +92 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +72 -0
- tencentcloud/goosefs/v20220519/models.py +658 -1
- tencentcloud/ioa/v20220601/ioa_client.py +3 -3
- tencentcloud/ioa/v20220601/ioa_client_async.py +3 -3
- tencentcloud/ioa/v20220601/models.py +386 -109
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -207
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +0 -162
- tencentcloud/iotexplorer/v20190423/models.py +186 -2746
- tencentcloud/kms/v20190118/errorcodes.py +27 -0
- tencentcloud/kms/v20190118/kms_client.py +23 -0
- tencentcloud/kms/v20190118/kms_client_async.py +18 -0
- tencentcloud/kms/v20190118/models.py +227 -0
- tencentcloud/mps/v20190612/models.py +2 -2
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/redis/v20180412/models.py +62 -146
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +55 -2
- tencentcloud/tts/v20190823/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +607 -4
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/vod/v20180717/vod_client_async.py +1 -0
- tencentcloud/waf/v20180125/models.py +78 -14
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/waf/v20180125/waf_client_async.py +18 -0
- tencentcloud/workbuddyenterprise/v20260709/models.py +207 -2
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py +1 -1
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py +1 -1
- {tencentcloud_sdk_python-3.1.195.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.195.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/RECORD +71 -65
- {tencentcloud_sdk_python-3.1.195.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.195.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.195.dist-info → tencentcloud_sdk_python-3.1.197.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -44567,23 +44567,29 @@ class Space(AbstractModel):
|
|
|
44567
44567
|
|
|
44568
44568
|
def __init__(self):
|
|
44569
44569
|
r"""
|
|
44570
|
-
:param _SpaceId:
|
|
44570
|
+
:param _SpaceId: <p>空间id</p>
|
|
44571
44571
|
:type SpaceId: str
|
|
44572
|
-
:param _Name:
|
|
44572
|
+
:param _Name: <p>空间名称</p>
|
|
44573
44573
|
:type Name: str
|
|
44574
|
-
:param _Description:
|
|
44574
|
+
:param _Description: <p>空间描述</p>
|
|
44575
44575
|
:type Description: str
|
|
44576
|
-
:param _PermissionIdList:
|
|
44576
|
+
:param _PermissionIdList: <p>空间权限</p>
|
|
44577
44577
|
:type PermissionIdList: list of str
|
|
44578
|
+
:param _CreateTime: <p>创建时间</p><p>参数格式:秒时间戳</p>
|
|
44579
|
+
:type CreateTime: str
|
|
44580
|
+
:param _UpdateTime: <p>更新时间</p><p>参数格式:秒时间戳</p>
|
|
44581
|
+
:type UpdateTime: str
|
|
44578
44582
|
"""
|
|
44579
44583
|
self._SpaceId = None
|
|
44580
44584
|
self._Name = None
|
|
44581
44585
|
self._Description = None
|
|
44582
44586
|
self._PermissionIdList = None
|
|
44587
|
+
self._CreateTime = None
|
|
44588
|
+
self._UpdateTime = None
|
|
44583
44589
|
|
|
44584
44590
|
@property
|
|
44585
44591
|
def SpaceId(self):
|
|
44586
|
-
r"""
|
|
44592
|
+
r"""<p>空间id</p>
|
|
44587
44593
|
:rtype: str
|
|
44588
44594
|
"""
|
|
44589
44595
|
return self._SpaceId
|
|
@@ -44594,7 +44600,7 @@ class Space(AbstractModel):
|
|
|
44594
44600
|
|
|
44595
44601
|
@property
|
|
44596
44602
|
def Name(self):
|
|
44597
|
-
r"""
|
|
44603
|
+
r"""<p>空间名称</p>
|
|
44598
44604
|
:rtype: str
|
|
44599
44605
|
"""
|
|
44600
44606
|
return self._Name
|
|
@@ -44605,7 +44611,7 @@ class Space(AbstractModel):
|
|
|
44605
44611
|
|
|
44606
44612
|
@property
|
|
44607
44613
|
def Description(self):
|
|
44608
|
-
r"""
|
|
44614
|
+
r"""<p>空间描述</p>
|
|
44609
44615
|
:rtype: str
|
|
44610
44616
|
"""
|
|
44611
44617
|
return self._Description
|
|
@@ -44616,7 +44622,7 @@ class Space(AbstractModel):
|
|
|
44616
44622
|
|
|
44617
44623
|
@property
|
|
44618
44624
|
def PermissionIdList(self):
|
|
44619
|
-
r"""
|
|
44625
|
+
r"""<p>空间权限</p>
|
|
44620
44626
|
:rtype: list of str
|
|
44621
44627
|
"""
|
|
44622
44628
|
return self._PermissionIdList
|
|
@@ -44625,12 +44631,36 @@ class Space(AbstractModel):
|
|
|
44625
44631
|
def PermissionIdList(self, PermissionIdList):
|
|
44626
44632
|
self._PermissionIdList = PermissionIdList
|
|
44627
44633
|
|
|
44634
|
+
@property
|
|
44635
|
+
def CreateTime(self):
|
|
44636
|
+
r"""<p>创建时间</p><p>参数格式:秒时间戳</p>
|
|
44637
|
+
:rtype: str
|
|
44638
|
+
"""
|
|
44639
|
+
return self._CreateTime
|
|
44640
|
+
|
|
44641
|
+
@CreateTime.setter
|
|
44642
|
+
def CreateTime(self, CreateTime):
|
|
44643
|
+
self._CreateTime = CreateTime
|
|
44644
|
+
|
|
44645
|
+
@property
|
|
44646
|
+
def UpdateTime(self):
|
|
44647
|
+
r"""<p>更新时间</p><p>参数格式:秒时间戳</p>
|
|
44648
|
+
:rtype: str
|
|
44649
|
+
"""
|
|
44650
|
+
return self._UpdateTime
|
|
44651
|
+
|
|
44652
|
+
@UpdateTime.setter
|
|
44653
|
+
def UpdateTime(self, UpdateTime):
|
|
44654
|
+
self._UpdateTime = UpdateTime
|
|
44655
|
+
|
|
44628
44656
|
|
|
44629
44657
|
def _deserialize(self, params):
|
|
44630
44658
|
self._SpaceId = params.get("SpaceId")
|
|
44631
44659
|
self._Name = params.get("Name")
|
|
44632
44660
|
self._Description = params.get("Description")
|
|
44633
44661
|
self._PermissionIdList = params.get("PermissionIdList")
|
|
44662
|
+
self._CreateTime = params.get("CreateTime")
|
|
44663
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
44634
44664
|
memeber_set = set(params.keys())
|
|
44635
44665
|
for name, value in vars(self).items():
|
|
44636
44666
|
property_name = name[1:]
|
|
@@ -149,6 +149,12 @@ INVALIDPARAMETERVALUE_AGENTSOURCETYPE = 'InvalidParameterValue.AgentSourceType'
|
|
|
149
149
|
# InvalidParameterValue.ApprovalMode
|
|
150
150
|
INVALIDPARAMETERVALUE_APPROVALMODE = 'InvalidParameterValue.ApprovalMode'
|
|
151
151
|
|
|
152
|
+
# 用户不在自动暂停白名单中
|
|
153
|
+
INVALIDPARAMETERVALUE_AUTOPAUSENOTALLOWED = 'InvalidParameterValue.AutoPauseNotAllowed'
|
|
154
|
+
|
|
155
|
+
# 用户不在自动恢复白名单中
|
|
156
|
+
INVALIDPARAMETERVALUE_AUTORESUMENOTALLOWED = 'InvalidParameterValue.AutoResumeNotAllowed'
|
|
157
|
+
|
|
152
158
|
# InvalidParameterValue.DescriptorType
|
|
153
159
|
INVALIDPARAMETERVALUE_DESCRIPTORTYPE = 'InvalidParameterValue.DescriptorType'
|
|
154
160
|
|
|
@@ -179,6 +185,9 @@ INVALIDPARAMETERVALUE_SANDBOXTOOL = 'InvalidParameterValue.SandboxTool'
|
|
|
179
185
|
# 参数 Scopes 取值无效,或当前地域不支持指定的镜像预热范围。
|
|
180
186
|
INVALIDPARAMETERVALUE_SCOPE = 'InvalidParameterValue.Scope'
|
|
181
187
|
|
|
188
|
+
# 参数 SecurityContext 取值无效
|
|
189
|
+
INVALIDPARAMETERVALUE_SECURITYCONTEXT = 'InvalidParameterValue.SecurityContext'
|
|
190
|
+
|
|
182
191
|
# 安全组ID格式错误
|
|
183
192
|
INVALIDPARAMETERVALUE_SECURITYGROUPID = 'InvalidParameterValue.SecurityGroupId'
|
|
184
193
|
|
|
@@ -8230,7 +8230,7 @@ class DescribeSandboxToolListRequest(AbstractModel):
|
|
|
8230
8230
|
:type Offset: int
|
|
8231
8231
|
:param _Limit: 返回数量,默认为20,最大值为100
|
|
8232
8232
|
:type Limit: int
|
|
8233
|
-
:param _Filters:
|
|
8233
|
+
:param _Filters: 过滤条件。支持 access-policy-id 按关联的访问策略 ID 反向查询;其他过滤条件沿用沙箱工具列表接口约定。
|
|
8234
8234
|
:type Filters: list of Filter
|
|
8235
8235
|
"""
|
|
8236
8236
|
self._ToolIds = None
|
|
@@ -8273,7 +8273,7 @@ class DescribeSandboxToolListRequest(AbstractModel):
|
|
|
8273
8273
|
|
|
8274
8274
|
@property
|
|
8275
8275
|
def Filters(self):
|
|
8276
|
-
r"""
|
|
8276
|
+
r"""过滤条件。支持 access-policy-id 按关联的访问策略 ID 反向查询;其他过滤条件沿用沙箱工具列表接口约定。
|
|
8277
8277
|
:rtype: list of Filter
|
|
8278
8278
|
"""
|
|
8279
8279
|
return self._Filters
|
|
@@ -11779,7 +11779,7 @@ class ResumeSandboxInstanceResponse(AbstractModel):
|
|
|
11779
11779
|
|
|
11780
11780
|
|
|
11781
11781
|
class SandboxInstance(AbstractModel):
|
|
11782
|
-
r"""
|
|
11782
|
+
r"""沙箱实例结构体信息
|
|
11783
11783
|
|
|
11784
11784
|
"""
|
|
11785
11785
|
|
|
@@ -14169,9 +14169,9 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
14169
14169
|
r"""
|
|
14170
14170
|
:param _InstanceId: <p>沙箱实例ID</p>
|
|
14171
14171
|
:type InstanceId: str
|
|
14172
|
-
:param _Timeout:
|
|
14172
|
+
:param _Timeout: 手动设置实例还需运行多久,如 5m、300s、1h。未传入时保持原设置;传入后从本次设置开始重新计时。仅正在运行、且未设置为永久运行的实例可修改。修改时不会缩短已获得的自动续期时间。
|
|
14173
14173
|
:type Timeout: str
|
|
14174
|
-
:param _Metadata:
|
|
14174
|
+
:param _Metadata: 实例元数据。
|
|
14175
14175
|
:type Metadata: list of MetadataVar
|
|
14176
14176
|
"""
|
|
14177
14177
|
self._InstanceId = None
|
|
@@ -14191,7 +14191,7 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
14191
14191
|
|
|
14192
14192
|
@property
|
|
14193
14193
|
def Timeout(self):
|
|
14194
|
-
r"""
|
|
14194
|
+
r"""手动设置实例还需运行多久,如 5m、300s、1h。未传入时保持原设置;传入后从本次设置开始重新计时。仅正在运行、且未设置为永久运行的实例可修改。修改时不会缩短已获得的自动续期时间。
|
|
14195
14195
|
:rtype: str
|
|
14196
14196
|
"""
|
|
14197
14197
|
return self._Timeout
|
|
@@ -14202,7 +14202,7 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
14202
14202
|
|
|
14203
14203
|
@property
|
|
14204
14204
|
def Metadata(self):
|
|
14205
|
-
r"""
|
|
14205
|
+
r"""实例元数据。
|
|
14206
14206
|
:rtype: list of MetadataVar
|
|
14207
14207
|
"""
|
|
14208
14208
|
return self._Metadata
|
|
@@ -4229,17 +4229,23 @@ class SpeakerRoleInfo(AbstractModel):
|
|
|
4229
4229
|
|
|
4230
4230
|
def __init__(self):
|
|
4231
4231
|
r"""
|
|
4232
|
-
:param _RoleAudioUrl:
|
|
4232
|
+
:param _RoleAudioUrl: <p>音频url地址,建议不超过30秒,最大45秒</p>
|
|
4233
4233
|
:type RoleAudioUrl: str
|
|
4234
|
-
:param _RoleName:
|
|
4234
|
+
:param _RoleName: <p>不超过30字节</p>
|
|
4235
4235
|
:type RoleName: str
|
|
4236
|
+
:param _VoicePrintId: <p>声纹 ID(V2 版本使用),注意:</p><ul><li>传入未注册或不属于本 AppId 的声纹 ID,该 ID 会被跳过(不报错,相当于没有传入这个说话人信息)</li></ul>
|
|
4237
|
+
:type VoicePrintId: str
|
|
4238
|
+
:param _SpeakerNick: <p>角色昵称(V2 版本使用),注意:</p><ul><li>传空字符串或者不传入则使用声纹注册时指定的角色名</li><li>否则将覆盖声纹注册时指定的角色名</li><li>角色名不超过 30 字节,仅支持字母、数字、下划线和中文。</li><li>这里指定的角色名只影响本次识别,不影响声纹库中注册的角色名</li></ul>
|
|
4239
|
+
:type SpeakerNick: str
|
|
4236
4240
|
"""
|
|
4237
4241
|
self._RoleAudioUrl = None
|
|
4238
4242
|
self._RoleName = None
|
|
4243
|
+
self._VoicePrintId = None
|
|
4244
|
+
self._SpeakerNick = None
|
|
4239
4245
|
|
|
4240
4246
|
@property
|
|
4241
4247
|
def RoleAudioUrl(self):
|
|
4242
|
-
r"""
|
|
4248
|
+
r"""<p>音频url地址,建议不超过30秒,最大45秒</p>
|
|
4243
4249
|
:rtype: str
|
|
4244
4250
|
"""
|
|
4245
4251
|
return self._RoleAudioUrl
|
|
@@ -4250,7 +4256,7 @@ class SpeakerRoleInfo(AbstractModel):
|
|
|
4250
4256
|
|
|
4251
4257
|
@property
|
|
4252
4258
|
def RoleName(self):
|
|
4253
|
-
r"""
|
|
4259
|
+
r"""<p>不超过30字节</p>
|
|
4254
4260
|
:rtype: str
|
|
4255
4261
|
"""
|
|
4256
4262
|
return self._RoleName
|
|
@@ -4259,10 +4265,34 @@ class SpeakerRoleInfo(AbstractModel):
|
|
|
4259
4265
|
def RoleName(self, RoleName):
|
|
4260
4266
|
self._RoleName = RoleName
|
|
4261
4267
|
|
|
4268
|
+
@property
|
|
4269
|
+
def VoicePrintId(self):
|
|
4270
|
+
r"""<p>声纹 ID(V2 版本使用),注意:</p><ul><li>传入未注册或不属于本 AppId 的声纹 ID,该 ID 会被跳过(不报错,相当于没有传入这个说话人信息)</li></ul>
|
|
4271
|
+
:rtype: str
|
|
4272
|
+
"""
|
|
4273
|
+
return self._VoicePrintId
|
|
4274
|
+
|
|
4275
|
+
@VoicePrintId.setter
|
|
4276
|
+
def VoicePrintId(self, VoicePrintId):
|
|
4277
|
+
self._VoicePrintId = VoicePrintId
|
|
4278
|
+
|
|
4279
|
+
@property
|
|
4280
|
+
def SpeakerNick(self):
|
|
4281
|
+
r"""<p>角色昵称(V2 版本使用),注意:</p><ul><li>传空字符串或者不传入则使用声纹注册时指定的角色名</li><li>否则将覆盖声纹注册时指定的角色名</li><li>角色名不超过 30 字节,仅支持字母、数字、下划线和中文。</li><li>这里指定的角色名只影响本次识别,不影响声纹库中注册的角色名</li></ul>
|
|
4282
|
+
:rtype: str
|
|
4283
|
+
"""
|
|
4284
|
+
return self._SpeakerNick
|
|
4285
|
+
|
|
4286
|
+
@SpeakerNick.setter
|
|
4287
|
+
def SpeakerNick(self, SpeakerNick):
|
|
4288
|
+
self._SpeakerNick = SpeakerNick
|
|
4289
|
+
|
|
4262
4290
|
|
|
4263
4291
|
def _deserialize(self, params):
|
|
4264
4292
|
self._RoleAudioUrl = params.get("RoleAudioUrl")
|
|
4265
4293
|
self._RoleName = params.get("RoleName")
|
|
4294
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
|
4295
|
+
self._SpeakerNick = params.get("SpeakerNick")
|
|
4266
4296
|
memeber_set = set(params.keys())
|
|
4267
4297
|
for name, value in vars(self).items():
|
|
4268
4298
|
property_name = name[1:]
|
|
@@ -318,15 +318,15 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
318
318
|
|
|
319
319
|
def __init__(self):
|
|
320
320
|
r"""
|
|
321
|
-
:param _CloudDedicatedZoneID:
|
|
321
|
+
:param _CloudDedicatedZoneID: <p>专属可用区ID</p>
|
|
322
322
|
:type CloudDedicatedZoneID: str
|
|
323
|
-
:param _HostUuids:
|
|
323
|
+
:param _HostUuids: <p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
|
|
324
324
|
:type HostUuids: list of str
|
|
325
|
-
:param _InstanceIds:
|
|
325
|
+
:param _InstanceIds: <p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
|
|
326
326
|
:type InstanceIds: list of str
|
|
327
|
-
:param _Offset:
|
|
327
|
+
:param _Offset: <p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
328
328
|
:type Offset: int
|
|
329
|
-
:param _Limit:
|
|
329
|
+
:param _Limit: <p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
330
330
|
:type Limit: int
|
|
331
331
|
"""
|
|
332
332
|
self._CloudDedicatedZoneID = None
|
|
@@ -337,7 +337,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
337
337
|
|
|
338
338
|
@property
|
|
339
339
|
def CloudDedicatedZoneID(self):
|
|
340
|
-
r"""
|
|
340
|
+
r"""<p>专属可用区ID</p>
|
|
341
341
|
:rtype: str
|
|
342
342
|
"""
|
|
343
343
|
return self._CloudDedicatedZoneID
|
|
@@ -348,7 +348,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
348
348
|
|
|
349
349
|
@property
|
|
350
350
|
def HostUuids(self):
|
|
351
|
-
r"""
|
|
351
|
+
r"""<p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
|
|
352
352
|
:rtype: list of str
|
|
353
353
|
"""
|
|
354
354
|
return self._HostUuids
|
|
@@ -359,7 +359,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
359
359
|
|
|
360
360
|
@property
|
|
361
361
|
def InstanceIds(self):
|
|
362
|
-
r"""
|
|
362
|
+
r"""<p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
|
|
363
363
|
:rtype: list of str
|
|
364
364
|
"""
|
|
365
365
|
return self._InstanceIds
|
|
@@ -370,7 +370,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
370
370
|
|
|
371
371
|
@property
|
|
372
372
|
def Offset(self):
|
|
373
|
-
r"""
|
|
373
|
+
r"""<p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
374
374
|
:rtype: int
|
|
375
375
|
"""
|
|
376
376
|
return self._Offset
|
|
@@ -381,7 +381,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
381
381
|
|
|
382
382
|
@property
|
|
383
383
|
def Limit(self):
|
|
384
|
-
r"""
|
|
384
|
+
r"""<p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
385
385
|
:rtype: int
|
|
386
386
|
"""
|
|
387
387
|
return self._Limit
|
|
@@ -414,17 +414,20 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
414
414
|
|
|
415
415
|
def __init__(self):
|
|
416
416
|
r"""
|
|
417
|
-
:param _CloudDedicatedZoneHostsInfoSet:
|
|
417
|
+
:param _CloudDedicatedZoneHostsInfoSet: <p>返回Host和Host上部署的实例信息之间的关系</p>
|
|
418
418
|
:type CloudDedicatedZoneHostsInfoSet: list of CloudDedicatedZoneHostsInfo
|
|
419
|
+
:param _TotalCount: <p>母机总数</p>
|
|
420
|
+
:type TotalCount: int
|
|
419
421
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
420
422
|
:type RequestId: str
|
|
421
423
|
"""
|
|
422
424
|
self._CloudDedicatedZoneHostsInfoSet = None
|
|
425
|
+
self._TotalCount = None
|
|
423
426
|
self._RequestId = None
|
|
424
427
|
|
|
425
428
|
@property
|
|
426
429
|
def CloudDedicatedZoneHostsInfoSet(self):
|
|
427
|
-
r"""
|
|
430
|
+
r"""<p>返回Host和Host上部署的实例信息之间的关系</p>
|
|
428
431
|
:rtype: list of CloudDedicatedZoneHostsInfo
|
|
429
432
|
"""
|
|
430
433
|
return self._CloudDedicatedZoneHostsInfoSet
|
|
@@ -433,6 +436,17 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
433
436
|
def CloudDedicatedZoneHostsInfoSet(self, CloudDedicatedZoneHostsInfoSet):
|
|
434
437
|
self._CloudDedicatedZoneHostsInfoSet = CloudDedicatedZoneHostsInfoSet
|
|
435
438
|
|
|
439
|
+
@property
|
|
440
|
+
def TotalCount(self):
|
|
441
|
+
r"""<p>母机总数</p>
|
|
442
|
+
:rtype: int
|
|
443
|
+
"""
|
|
444
|
+
return self._TotalCount
|
|
445
|
+
|
|
446
|
+
@TotalCount.setter
|
|
447
|
+
def TotalCount(self, TotalCount):
|
|
448
|
+
self._TotalCount = TotalCount
|
|
449
|
+
|
|
436
450
|
@property
|
|
437
451
|
def RequestId(self):
|
|
438
452
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -452,6 +466,7 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
452
466
|
obj = CloudDedicatedZoneHostsInfo()
|
|
453
467
|
obj._deserialize(item)
|
|
454
468
|
self._CloudDedicatedZoneHostsInfoSet.append(obj)
|
|
469
|
+
self._TotalCount = params.get("TotalCount")
|
|
455
470
|
self._RequestId = params.get("RequestId")
|
|
456
471
|
|
|
457
472
|
|
|
@@ -164,6 +164,29 @@ class CfgClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def DescribeInstanceAgentList(self, request):
|
|
168
|
+
r"""查询探针列表,换为OTeam探针版本
|
|
169
|
+
|
|
170
|
+
:param request: Request instance for DescribeInstanceAgentList.
|
|
171
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.DescribeInstanceAgentListRequest`
|
|
172
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.DescribeInstanceAgentListResponse`
|
|
173
|
+
|
|
174
|
+
"""
|
|
175
|
+
try:
|
|
176
|
+
params = request._serialize()
|
|
177
|
+
headers = request.headers
|
|
178
|
+
body = self.call("DescribeInstanceAgentList", params, headers=headers)
|
|
179
|
+
response = json.loads(body)
|
|
180
|
+
model = models.DescribeInstanceAgentListResponse()
|
|
181
|
+
model._deserialize(response["Response"])
|
|
182
|
+
return model
|
|
183
|
+
except Exception as e:
|
|
184
|
+
if isinstance(e, TencentCloudSDKException):
|
|
185
|
+
raise
|
|
186
|
+
else:
|
|
187
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
|
+
|
|
189
|
+
|
|
167
190
|
def DescribeObjectTypeList(self, request):
|
|
168
191
|
r"""查询对象类型列表
|
|
169
192
|
|
|
@@ -371,6 +394,29 @@ class CfgClient(AbstractClient):
|
|
|
371
394
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
372
395
|
|
|
373
396
|
|
|
397
|
+
def InstallAgentOpenApi(self, request):
|
|
398
|
+
r"""安装探针接口
|
|
399
|
+
|
|
400
|
+
:param request: Request instance for InstallAgentOpenApi.
|
|
401
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.InstallAgentOpenApiRequest`
|
|
402
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.InstallAgentOpenApiResponse`
|
|
403
|
+
|
|
404
|
+
"""
|
|
405
|
+
try:
|
|
406
|
+
params = request._serialize()
|
|
407
|
+
headers = request.headers
|
|
408
|
+
body = self.call("InstallAgentOpenApi", params, headers=headers)
|
|
409
|
+
response = json.loads(body)
|
|
410
|
+
model = models.InstallAgentOpenApiResponse()
|
|
411
|
+
model._deserialize(response["Response"])
|
|
412
|
+
return model
|
|
413
|
+
except Exception as e:
|
|
414
|
+
if isinstance(e, TencentCloudSDKException):
|
|
415
|
+
raise
|
|
416
|
+
else:
|
|
417
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
|
+
|
|
419
|
+
|
|
374
420
|
def ModifyTaskRunStatus(self, request):
|
|
375
421
|
r"""修改任务运行状态
|
|
376
422
|
|
|
@@ -410,6 +456,29 @@ class CfgClient(AbstractClient):
|
|
|
410
456
|
model = models.TriggerPolicyResponse()
|
|
411
457
|
model._deserialize(response["Response"])
|
|
412
458
|
return model
|
|
459
|
+
except Exception as e:
|
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
|
461
|
+
raise
|
|
462
|
+
else:
|
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
def UninstallAgentOpenApi(self, request):
|
|
467
|
+
r"""卸载探针
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for UninstallAgentOpenApi.
|
|
470
|
+
:type request: :class:`tencentcloud.cfg.v20210820.models.UninstallAgentOpenApiRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.cfg.v20210820.models.UninstallAgentOpenApiResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("UninstallAgentOpenApi", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.UninstallAgentOpenApiResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
413
482
|
except Exception as e:
|
|
414
483
|
if isinstance(e, TencentCloudSDKException):
|
|
415
484
|
raise
|
|
@@ -133,6 +133,24 @@ class CfgClient(AbstractClient):
|
|
|
133
133
|
|
|
134
134
|
return await self.call_and_deserialize(**kwargs)
|
|
135
135
|
|
|
136
|
+
async def DescribeInstanceAgentList(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeInstanceAgentListRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeInstanceAgentListResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询探针列表,换为OTeam探针版本
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeInstanceAgentList"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeInstanceAgentListResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
136
154
|
async def DescribeObjectTypeList(
|
|
137
155
|
self,
|
|
138
156
|
request: models.DescribeObjectTypeListRequest,
|
|
@@ -295,6 +313,24 @@ class CfgClient(AbstractClient):
|
|
|
295
313
|
|
|
296
314
|
return await self.call_and_deserialize(**kwargs)
|
|
297
315
|
|
|
316
|
+
async def InstallAgentOpenApi(
|
|
317
|
+
self,
|
|
318
|
+
request: models.InstallAgentOpenApiRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.InstallAgentOpenApiResponse:
|
|
321
|
+
"""
|
|
322
|
+
安装探针接口
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "InstallAgentOpenApi"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.InstallAgentOpenApiResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
298
334
|
async def ModifyTaskRunStatus(
|
|
299
335
|
self,
|
|
300
336
|
request: models.ModifyTaskRunStatusRequest,
|
|
@@ -329,4 +365,22 @@ class CfgClient(AbstractClient):
|
|
|
329
365
|
kwargs["headers"] = request.headers
|
|
330
366
|
kwargs["opts"] = opts or {}
|
|
331
367
|
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def UninstallAgentOpenApi(
|
|
371
|
+
self,
|
|
372
|
+
request: models.UninstallAgentOpenApiRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.UninstallAgentOpenApiResponse:
|
|
375
|
+
"""
|
|
376
|
+
卸载探针
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "UninstallAgentOpenApi"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.UninstallAgentOpenApiResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
332
386
|
return await self.call_and_deserialize(**kwargs)
|