tencentcloud-sdk-python 3.1.77__py2.py3-none-any.whl → 3.1.78__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/ags/v20250920/models.py +45 -0
- tencentcloud/cls/v20201016/models.py +8 -8
- tencentcloud/config/v20220802/models.py +33 -18
- tencentcloud/hai/v20230812/models.py +24 -4
- tencentcloud/hcm/v20181106/models.py +8 -8
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/mps/v20190612/errorcodes.py +12 -0
- tencentcloud/mps/v20190612/models.py +779 -0
- tencentcloud/mps/v20190612/mps_client.py +92 -0
- tencentcloud/mps/v20190612/mps_client_async.py +72 -0
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +94 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/organization/v20210331/organization_client_async.py +18 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +285 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +18 -0
- tencentcloud/teo/v20220901/models.py +2 -6
- tencentcloud/tke/v20180525/models.py +430 -225
- tencentcloud/tke/v20180525/tke_client.py +10 -10
- tencentcloud/tke/v20180525/tke_client_async.py +10 -10
- tencentcloud/tke/v20220501/models.py +104 -0
- tencentcloud/vclm/v20240523/models.py +329 -8
- tencentcloud/vclm/v20240523/vclm_client.py +23 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +18 -0
- {tencentcloud_sdk_python-3.1.77.dist-info → tencentcloud_sdk_python-3.1.78.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.77.dist-info → tencentcloud_sdk_python-3.1.78.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.1.77.dist-info → tencentcloud_sdk_python-3.1.78.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.77.dist-info → tencentcloud_sdk_python-3.1.78.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.77.dist-info → tencentcloud_sdk_python-3.1.78.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -623,6 +623,8 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
623
623
|
:type CustomConfiguration: :class:`tencentcloud.ags.v20250920.models.CustomConfiguration`
|
|
624
624
|
:param _LogConfiguration: <p>沙箱工具日志推送相关配置</p>
|
|
625
625
|
:type LogConfiguration: :class:`tencentcloud.ags.v20250920.models.LogConfiguration`
|
|
626
|
+
:param _Persistent: <p>常驻沙箱标识</p>
|
|
627
|
+
:type Persistent: bool
|
|
626
628
|
"""
|
|
627
629
|
self._ToolName = None
|
|
628
630
|
self._ToolType = None
|
|
@@ -635,6 +637,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
635
637
|
self._StorageMounts = None
|
|
636
638
|
self._CustomConfiguration = None
|
|
637
639
|
self._LogConfiguration = None
|
|
640
|
+
self._Persistent = None
|
|
638
641
|
|
|
639
642
|
@property
|
|
640
643
|
def ToolName(self):
|
|
@@ -757,6 +760,17 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
757
760
|
def LogConfiguration(self, LogConfiguration):
|
|
758
761
|
self._LogConfiguration = LogConfiguration
|
|
759
762
|
|
|
763
|
+
@property
|
|
764
|
+
def Persistent(self):
|
|
765
|
+
r"""<p>常驻沙箱标识</p>
|
|
766
|
+
:rtype: bool
|
|
767
|
+
"""
|
|
768
|
+
return self._Persistent
|
|
769
|
+
|
|
770
|
+
@Persistent.setter
|
|
771
|
+
def Persistent(self, Persistent):
|
|
772
|
+
self._Persistent = Persistent
|
|
773
|
+
|
|
760
774
|
|
|
761
775
|
def _deserialize(self, params):
|
|
762
776
|
self._ToolName = params.get("ToolName")
|
|
@@ -786,6 +800,7 @@ class CreateSandboxToolRequest(AbstractModel):
|
|
|
786
800
|
if params.get("LogConfiguration") is not None:
|
|
787
801
|
self._LogConfiguration = LogConfiguration()
|
|
788
802
|
self._LogConfiguration._deserialize(params.get("LogConfiguration"))
|
|
803
|
+
self._Persistent = params.get("Persistent")
|
|
789
804
|
memeber_set = set(params.keys())
|
|
790
805
|
for name, value in vars(self).items():
|
|
791
806
|
property_name = name[1:]
|
|
@@ -2788,6 +2803,8 @@ class SandboxInstance(AbstractModel):
|
|
|
2788
2803
|
:type ToolName: str
|
|
2789
2804
|
:param _Status: <p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED(失败状态)</p>
|
|
2790
2805
|
:type Status: str
|
|
2806
|
+
:param _Persistent: <p>是否常驻实例</p>
|
|
2807
|
+
:type Persistent: bool
|
|
2791
2808
|
:param _TimeoutSeconds: <p>超时时间(秒),null 表示无超时设置</p>
|
|
2792
2809
|
:type TimeoutSeconds: int
|
|
2793
2810
|
:param _ExpiresAt: <p>过期时间(ISO 8601 格式),null 表示无过期时间</p>
|
|
@@ -2811,6 +2828,7 @@ class SandboxInstance(AbstractModel):
|
|
|
2811
2828
|
self._ToolId = None
|
|
2812
2829
|
self._ToolName = None
|
|
2813
2830
|
self._Status = None
|
|
2831
|
+
self._Persistent = None
|
|
2814
2832
|
self._TimeoutSeconds = None
|
|
2815
2833
|
self._ExpiresAt = None
|
|
2816
2834
|
self._StopReason = None
|
|
@@ -2865,6 +2883,17 @@ class SandboxInstance(AbstractModel):
|
|
|
2865
2883
|
def Status(self, Status):
|
|
2866
2884
|
self._Status = Status
|
|
2867
2885
|
|
|
2886
|
+
@property
|
|
2887
|
+
def Persistent(self):
|
|
2888
|
+
r"""<p>是否常驻实例</p>
|
|
2889
|
+
:rtype: bool
|
|
2890
|
+
"""
|
|
2891
|
+
return self._Persistent
|
|
2892
|
+
|
|
2893
|
+
@Persistent.setter
|
|
2894
|
+
def Persistent(self, Persistent):
|
|
2895
|
+
self._Persistent = Persistent
|
|
2896
|
+
|
|
2868
2897
|
@property
|
|
2869
2898
|
def TimeoutSeconds(self):
|
|
2870
2899
|
r"""<p>超时时间(秒),null 表示无超时设置</p>
|
|
@@ -2970,6 +2999,7 @@ class SandboxInstance(AbstractModel):
|
|
|
2970
2999
|
self._ToolId = params.get("ToolId")
|
|
2971
3000
|
self._ToolName = params.get("ToolName")
|
|
2972
3001
|
self._Status = params.get("Status")
|
|
3002
|
+
self._Persistent = params.get("Persistent")
|
|
2973
3003
|
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
|
2974
3004
|
self._ExpiresAt = params.get("ExpiresAt")
|
|
2975
3005
|
self._StopReason = params.get("StopReason")
|
|
@@ -3018,6 +3048,8 @@ class SandboxTool(AbstractModel):
|
|
|
3018
3048
|
:type Status: str
|
|
3019
3049
|
:param _Description: <p>沙箱工具描述信息,最大长度 200 字符</p>
|
|
3020
3050
|
:type Description: str
|
|
3051
|
+
:param _Persistent: <p>是否常驻沙箱</p>
|
|
3052
|
+
:type Persistent: bool
|
|
3021
3053
|
:param _DefaultTimeoutSeconds: <p>默认超时时间,支持格式:5m、300s、1h 等,不指定则使用系统默认值(5 分钟)。最大 24 小时</p>
|
|
3022
3054
|
:type DefaultTimeoutSeconds: int
|
|
3023
3055
|
:param _NetworkConfiguration: <p>网络配置</p>
|
|
@@ -3044,6 +3076,7 @@ class SandboxTool(AbstractModel):
|
|
|
3044
3076
|
self._ToolType = None
|
|
3045
3077
|
self._Status = None
|
|
3046
3078
|
self._Description = None
|
|
3079
|
+
self._Persistent = None
|
|
3047
3080
|
self._DefaultTimeoutSeconds = None
|
|
3048
3081
|
self._NetworkConfiguration = None
|
|
3049
3082
|
self._Tags = None
|
|
@@ -3110,6 +3143,17 @@ class SandboxTool(AbstractModel):
|
|
|
3110
3143
|
def Description(self, Description):
|
|
3111
3144
|
self._Description = Description
|
|
3112
3145
|
|
|
3146
|
+
@property
|
|
3147
|
+
def Persistent(self):
|
|
3148
|
+
r"""<p>是否常驻沙箱</p>
|
|
3149
|
+
:rtype: bool
|
|
3150
|
+
"""
|
|
3151
|
+
return self._Persistent
|
|
3152
|
+
|
|
3153
|
+
@Persistent.setter
|
|
3154
|
+
def Persistent(self, Persistent):
|
|
3155
|
+
self._Persistent = Persistent
|
|
3156
|
+
|
|
3113
3157
|
@property
|
|
3114
3158
|
def DefaultTimeoutSeconds(self):
|
|
3115
3159
|
r"""<p>默认超时时间,支持格式:5m、300s、1h 等,不指定则使用系统默认值(5 分钟)。最大 24 小时</p>
|
|
@@ -3227,6 +3271,7 @@ class SandboxTool(AbstractModel):
|
|
|
3227
3271
|
self._ToolType = params.get("ToolType")
|
|
3228
3272
|
self._Status = params.get("Status")
|
|
3229
3273
|
self._Description = params.get("Description")
|
|
3274
|
+
self._Persistent = params.get("Persistent")
|
|
3230
3275
|
self._DefaultTimeoutSeconds = params.get("DefaultTimeoutSeconds")
|
|
3231
3276
|
if params.get("NetworkConfiguration") is not None:
|
|
3232
3277
|
self._NetworkConfiguration = NetworkConfiguration()
|
|
@@ -8854,11 +8854,11 @@ class CreateConsoleRequest(AbstractModel):
|
|
|
8854
8854
|
r"""
|
|
8855
8855
|
:param _AccessMode: <p>访问方式:public - 公网,internal - 内网</p>
|
|
8856
8856
|
:type AccessMode: list of str
|
|
8857
|
-
:param _LoginMode: <p
|
|
8857
|
+
:param _LoginMode: <p>登录方式</p><p>枚举值:</p><ul><li>0: 账号密码鉴权</li><li>1: 匿名登录</li><li>2: 第三方认证登录</li></ul>
|
|
8858
8858
|
:type LoginMode: int
|
|
8859
8859
|
:param _DomainPrefix: <p>自定义域名前缀</p>
|
|
8860
8860
|
:type DomainPrefix: str
|
|
8861
|
-
:param _Accounts: <p>用户账号信息</p><p
|
|
8861
|
+
:param _Accounts: <p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
|
|
8862
8862
|
:type Accounts: list of ConsoleAccount
|
|
8863
8863
|
:param _AnonymousLogin: <p>匿名登录账号信息</p><p>“匿名登录”登录方式必传</p>
|
|
8864
8864
|
:type AnonymousLogin: :class:`tencentcloud.cls.v20201016.models.AnonymousLoginInfo`
|
|
@@ -8912,7 +8912,7 @@ class CreateConsoleRequest(AbstractModel):
|
|
|
8912
8912
|
|
|
8913
8913
|
@property
|
|
8914
8914
|
def LoginMode(self):
|
|
8915
|
-
r"""<p
|
|
8915
|
+
r"""<p>登录方式</p><p>枚举值:</p><ul><li>0: 账号密码鉴权</li><li>1: 匿名登录</li><li>2: 第三方认证登录</li></ul>
|
|
8916
8916
|
:rtype: int
|
|
8917
8917
|
"""
|
|
8918
8918
|
return self._LoginMode
|
|
@@ -8934,7 +8934,7 @@ class CreateConsoleRequest(AbstractModel):
|
|
|
8934
8934
|
|
|
8935
8935
|
@property
|
|
8936
8936
|
def Accounts(self):
|
|
8937
|
-
r"""<p>用户账号信息</p><p
|
|
8937
|
+
r"""<p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
|
|
8938
8938
|
:rtype: list of ConsoleAccount
|
|
8939
8939
|
"""
|
|
8940
8940
|
return self._Accounts
|
|
@@ -36344,11 +36344,11 @@ class ModifyConsoleRequest(AbstractModel):
|
|
|
36344
36344
|
:type ConsoleId: str
|
|
36345
36345
|
:param _AccessMode: <p>访问方式:public - 公网,internal - 内网</p>
|
|
36346
36346
|
:type AccessMode: list of str
|
|
36347
|
-
:param _LoginMode: <p
|
|
36347
|
+
:param _LoginMode: <p>登录方式</p><p>枚举值:</p><ul><li>0: 账号密码鉴权</li><li>1: 匿名登录</li><li>2: 第三方认证登录</li></ul>
|
|
36348
36348
|
:type LoginMode: int
|
|
36349
36349
|
:param _DomainPrefix: <p>自定义域名前缀</p>
|
|
36350
36350
|
:type DomainPrefix: str
|
|
36351
|
-
:param _Accounts: <p>用户账号信息</p><p
|
|
36351
|
+
:param _Accounts: <p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
|
|
36352
36352
|
:type Accounts: list of ConsoleAccount
|
|
36353
36353
|
:param _AnonymousLogin: <p>匿名登录账号信息</p><p>“匿名登录”登录方式必传</p>
|
|
36354
36354
|
:type AnonymousLogin: :class:`tencentcloud.cls.v20201016.models.AnonymousLoginInfo`
|
|
@@ -36411,7 +36411,7 @@ class ModifyConsoleRequest(AbstractModel):
|
|
|
36411
36411
|
|
|
36412
36412
|
@property
|
|
36413
36413
|
def LoginMode(self):
|
|
36414
|
-
r"""<p
|
|
36414
|
+
r"""<p>登录方式</p><p>枚举值:</p><ul><li>0: 账号密码鉴权</li><li>1: 匿名登录</li><li>2: 第三方认证登录</li></ul>
|
|
36415
36415
|
:rtype: int
|
|
36416
36416
|
"""
|
|
36417
36417
|
return self._LoginMode
|
|
@@ -36433,7 +36433,7 @@ class ModifyConsoleRequest(AbstractModel):
|
|
|
36433
36433
|
|
|
36434
36434
|
@property
|
|
36435
36435
|
def Accounts(self):
|
|
36436
|
-
r"""<p>用户账号信息</p><p
|
|
36436
|
+
r"""<p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
|
|
36437
36437
|
:rtype: list of ConsoleAccount
|
|
36438
36438
|
"""
|
|
36439
36439
|
return self._Accounts
|
|
@@ -419,24 +419,27 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
419
419
|
|
|
420
420
|
def __init__(self):
|
|
421
421
|
r"""
|
|
422
|
-
:param _Name:
|
|
422
|
+
:param _Name: <p>告警策略名</p>
|
|
423
423
|
:type Name: str
|
|
424
|
-
:param
|
|
424
|
+
:param _Type: <p>事件类型 1:资源不合规事件</p>
|
|
425
|
+
:type Type: int
|
|
426
|
+
:param _EventScope: <p>事件范围 1:当前账号 2:多账号</p>
|
|
425
427
|
:type EventScope: list of int
|
|
426
|
-
:param _RiskLevel:
|
|
428
|
+
:param _RiskLevel: <p>风险等级 1:高风险 2:中风险 3:低风险</p>
|
|
427
429
|
:type RiskLevel: list of int
|
|
428
|
-
:param _NoticeTime:
|
|
430
|
+
:param _NoticeTime: <p>通知时间段</p>
|
|
429
431
|
:type NoticeTime: str
|
|
430
|
-
:param _NotificationMechanism:
|
|
432
|
+
:param _NotificationMechanism: <p>通知机制</p>
|
|
431
433
|
:type NotificationMechanism: str
|
|
432
|
-
:param _Status:
|
|
434
|
+
:param _Status: <p>状态 1:启用 2:停用</p>
|
|
433
435
|
:type Status: int
|
|
434
|
-
:param _NoticePeriod:
|
|
436
|
+
:param _NoticePeriod: <p>通知周期</p>
|
|
435
437
|
:type NoticePeriod: list of int
|
|
436
|
-
:param _Description:
|
|
438
|
+
:param _Description: <p>策略描述</p>
|
|
437
439
|
:type Description: str
|
|
438
440
|
"""
|
|
439
441
|
self._Name = None
|
|
442
|
+
self._Type = None
|
|
440
443
|
self._EventScope = None
|
|
441
444
|
self._RiskLevel = None
|
|
442
445
|
self._NoticeTime = None
|
|
@@ -447,7 +450,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
447
450
|
|
|
448
451
|
@property
|
|
449
452
|
def Name(self):
|
|
450
|
-
r"""
|
|
453
|
+
r"""<p>告警策略名</p>
|
|
451
454
|
:rtype: str
|
|
452
455
|
"""
|
|
453
456
|
return self._Name
|
|
@@ -456,9 +459,20 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
456
459
|
def Name(self, Name):
|
|
457
460
|
self._Name = Name
|
|
458
461
|
|
|
462
|
+
@property
|
|
463
|
+
def Type(self):
|
|
464
|
+
r"""<p>事件类型 1:资源不合规事件</p>
|
|
465
|
+
:rtype: int
|
|
466
|
+
"""
|
|
467
|
+
return self._Type
|
|
468
|
+
|
|
469
|
+
@Type.setter
|
|
470
|
+
def Type(self, Type):
|
|
471
|
+
self._Type = Type
|
|
472
|
+
|
|
459
473
|
@property
|
|
460
474
|
def EventScope(self):
|
|
461
|
-
r"""
|
|
475
|
+
r"""<p>事件范围 1:当前账号 2:多账号</p>
|
|
462
476
|
:rtype: list of int
|
|
463
477
|
"""
|
|
464
478
|
return self._EventScope
|
|
@@ -469,7 +483,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
469
483
|
|
|
470
484
|
@property
|
|
471
485
|
def RiskLevel(self):
|
|
472
|
-
r"""
|
|
486
|
+
r"""<p>风险等级 1:高风险 2:中风险 3:低风险</p>
|
|
473
487
|
:rtype: list of int
|
|
474
488
|
"""
|
|
475
489
|
return self._RiskLevel
|
|
@@ -480,7 +494,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
480
494
|
|
|
481
495
|
@property
|
|
482
496
|
def NoticeTime(self):
|
|
483
|
-
r"""
|
|
497
|
+
r"""<p>通知时间段</p>
|
|
484
498
|
:rtype: str
|
|
485
499
|
"""
|
|
486
500
|
return self._NoticeTime
|
|
@@ -491,7 +505,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
491
505
|
|
|
492
506
|
@property
|
|
493
507
|
def NotificationMechanism(self):
|
|
494
|
-
r"""
|
|
508
|
+
r"""<p>通知机制</p>
|
|
495
509
|
:rtype: str
|
|
496
510
|
"""
|
|
497
511
|
return self._NotificationMechanism
|
|
@@ -502,7 +516,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
502
516
|
|
|
503
517
|
@property
|
|
504
518
|
def Status(self):
|
|
505
|
-
r"""
|
|
519
|
+
r"""<p>状态 1:启用 2:停用</p>
|
|
506
520
|
:rtype: int
|
|
507
521
|
"""
|
|
508
522
|
return self._Status
|
|
@@ -513,7 +527,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
513
527
|
|
|
514
528
|
@property
|
|
515
529
|
def NoticePeriod(self):
|
|
516
|
-
r"""
|
|
530
|
+
r"""<p>通知周期</p>
|
|
517
531
|
:rtype: list of int
|
|
518
532
|
"""
|
|
519
533
|
return self._NoticePeriod
|
|
@@ -524,7 +538,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
524
538
|
|
|
525
539
|
@property
|
|
526
540
|
def Description(self):
|
|
527
|
-
r"""
|
|
541
|
+
r"""<p>策略描述</p>
|
|
528
542
|
:rtype: str
|
|
529
543
|
"""
|
|
530
544
|
return self._Description
|
|
@@ -536,6 +550,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
536
550
|
|
|
537
551
|
def _deserialize(self, params):
|
|
538
552
|
self._Name = params.get("Name")
|
|
553
|
+
self._Type = params.get("Type")
|
|
539
554
|
self._EventScope = params.get("EventScope")
|
|
540
555
|
self._RiskLevel = params.get("RiskLevel")
|
|
541
556
|
self._NoticeTime = params.get("NoticeTime")
|
|
@@ -560,7 +575,7 @@ class AddAlarmPolicyResponse(AbstractModel):
|
|
|
560
575
|
|
|
561
576
|
def __init__(self):
|
|
562
577
|
r"""
|
|
563
|
-
:param _AlarmPolicyId:
|
|
578
|
+
:param _AlarmPolicyId: <p>告警策略唯一id</p>
|
|
564
579
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
580
|
:type AlarmPolicyId: int
|
|
566
581
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -571,7 +586,7 @@ class AddAlarmPolicyResponse(AbstractModel):
|
|
|
571
586
|
|
|
572
587
|
@property
|
|
573
588
|
def AlarmPolicyId(self):
|
|
574
|
-
r"""
|
|
589
|
+
r"""<p>告警策略唯一id</p>
|
|
575
590
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
576
591
|
:rtype: int
|
|
577
592
|
"""
|
|
@@ -5943,17 +5943,20 @@ class UpdateServiceConfigsRequest(AbstractModel):
|
|
|
5943
5943
|
|
|
5944
5944
|
def __init__(self):
|
|
5945
5945
|
r"""
|
|
5946
|
-
:param _ServiceId:
|
|
5946
|
+
:param _ServiceId: <p>服务ID</p>
|
|
5947
5947
|
:type ServiceId: str
|
|
5948
|
-
:param _TargetReplicas:
|
|
5948
|
+
:param _TargetReplicas: <p>期望副本数</p>
|
|
5949
5949
|
:type TargetReplicas: int
|
|
5950
|
+
:param _DeploymentConfigs: <p>启动参数、环境变量等参数</p>
|
|
5951
|
+
:type DeploymentConfigs: list of DeploymentConfig
|
|
5950
5952
|
"""
|
|
5951
5953
|
self._ServiceId = None
|
|
5952
5954
|
self._TargetReplicas = None
|
|
5955
|
+
self._DeploymentConfigs = None
|
|
5953
5956
|
|
|
5954
5957
|
@property
|
|
5955
5958
|
def ServiceId(self):
|
|
5956
|
-
r"""
|
|
5959
|
+
r"""<p>服务ID</p>
|
|
5957
5960
|
:rtype: str
|
|
5958
5961
|
"""
|
|
5959
5962
|
return self._ServiceId
|
|
@@ -5964,7 +5967,7 @@ class UpdateServiceConfigsRequest(AbstractModel):
|
|
|
5964
5967
|
|
|
5965
5968
|
@property
|
|
5966
5969
|
def TargetReplicas(self):
|
|
5967
|
-
r"""
|
|
5970
|
+
r"""<p>期望副本数</p>
|
|
5968
5971
|
:rtype: int
|
|
5969
5972
|
"""
|
|
5970
5973
|
return self._TargetReplicas
|
|
@@ -5973,10 +5976,27 @@ class UpdateServiceConfigsRequest(AbstractModel):
|
|
|
5973
5976
|
def TargetReplicas(self, TargetReplicas):
|
|
5974
5977
|
self._TargetReplicas = TargetReplicas
|
|
5975
5978
|
|
|
5979
|
+
@property
|
|
5980
|
+
def DeploymentConfigs(self):
|
|
5981
|
+
r"""<p>启动参数、环境变量等参数</p>
|
|
5982
|
+
:rtype: list of DeploymentConfig
|
|
5983
|
+
"""
|
|
5984
|
+
return self._DeploymentConfigs
|
|
5985
|
+
|
|
5986
|
+
@DeploymentConfigs.setter
|
|
5987
|
+
def DeploymentConfigs(self, DeploymentConfigs):
|
|
5988
|
+
self._DeploymentConfigs = DeploymentConfigs
|
|
5989
|
+
|
|
5976
5990
|
|
|
5977
5991
|
def _deserialize(self, params):
|
|
5978
5992
|
self._ServiceId = params.get("ServiceId")
|
|
5979
5993
|
self._TargetReplicas = params.get("TargetReplicas")
|
|
5994
|
+
if params.get("DeploymentConfigs") is not None:
|
|
5995
|
+
self._DeploymentConfigs = []
|
|
5996
|
+
for item in params.get("DeploymentConfigs"):
|
|
5997
|
+
obj = DeploymentConfig()
|
|
5998
|
+
obj._deserialize(item)
|
|
5999
|
+
self._DeploymentConfigs.append(obj)
|
|
5980
6000
|
memeber_set = set(params.keys())
|
|
5981
6001
|
for name, value in vars(self).items():
|
|
5982
6002
|
property_name = name[1:]
|
|
@@ -473,13 +473,13 @@ class ItemCoord(AbstractModel):
|
|
|
473
473
|
|
|
474
474
|
def __init__(self):
|
|
475
475
|
r"""
|
|
476
|
-
:param _Height:
|
|
476
|
+
:param _Height: <p>算式高度(单位:px)</p>
|
|
477
477
|
:type Height: int
|
|
478
|
-
:param _Width:
|
|
478
|
+
:param _Width: <p>算式宽度(单位:px)</p>
|
|
479
479
|
:type Width: int
|
|
480
|
-
:param _X:
|
|
480
|
+
:param _X: <p>算式图的左上角横坐标</p>
|
|
481
481
|
:type X: int
|
|
482
|
-
:param _Y:
|
|
482
|
+
:param _Y: <p>算式图的左上角纵坐标</p>
|
|
483
483
|
:type Y: int
|
|
484
484
|
"""
|
|
485
485
|
self._Height = None
|
|
@@ -489,7 +489,7 @@ class ItemCoord(AbstractModel):
|
|
|
489
489
|
|
|
490
490
|
@property
|
|
491
491
|
def Height(self):
|
|
492
|
-
r"""
|
|
492
|
+
r"""<p>算式高度(单位:px)</p>
|
|
493
493
|
:rtype: int
|
|
494
494
|
"""
|
|
495
495
|
return self._Height
|
|
@@ -500,7 +500,7 @@ class ItemCoord(AbstractModel):
|
|
|
500
500
|
|
|
501
501
|
@property
|
|
502
502
|
def Width(self):
|
|
503
|
-
r"""
|
|
503
|
+
r"""<p>算式宽度(单位:px)</p>
|
|
504
504
|
:rtype: int
|
|
505
505
|
"""
|
|
506
506
|
return self._Width
|
|
@@ -511,7 +511,7 @@ class ItemCoord(AbstractModel):
|
|
|
511
511
|
|
|
512
512
|
@property
|
|
513
513
|
def X(self):
|
|
514
|
-
r"""
|
|
514
|
+
r"""<p>算式图的左上角横坐标</p>
|
|
515
515
|
:rtype: int
|
|
516
516
|
"""
|
|
517
517
|
return self._X
|
|
@@ -522,7 +522,7 @@ class ItemCoord(AbstractModel):
|
|
|
522
522
|
|
|
523
523
|
@property
|
|
524
524
|
def Y(self):
|
|
525
|
-
r"""
|
|
525
|
+
r"""<p>算式图的左上角纵坐标</p>
|
|
526
526
|
:rtype: int
|
|
527
527
|
"""
|
|
528
528
|
return self._Y
|
|
@@ -6862,11 +6862,25 @@ class CreateAuditKeywordLibResponse(AbstractModel):
|
|
|
6862
6862
|
|
|
6863
6863
|
def __init__(self):
|
|
6864
6864
|
r"""
|
|
6865
|
+
:param _LibId: <p>新建的词库 Id。</p>
|
|
6866
|
+
:type LibId: str
|
|
6865
6867
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6866
6868
|
:type RequestId: str
|
|
6867
6869
|
"""
|
|
6870
|
+
self._LibId = None
|
|
6868
6871
|
self._RequestId = None
|
|
6869
6872
|
|
|
6873
|
+
@property
|
|
6874
|
+
def LibId(self):
|
|
6875
|
+
r"""<p>新建的词库 Id。</p>
|
|
6876
|
+
:rtype: str
|
|
6877
|
+
"""
|
|
6878
|
+
return self._LibId
|
|
6879
|
+
|
|
6880
|
+
@LibId.setter
|
|
6881
|
+
def LibId(self, LibId):
|
|
6882
|
+
self._LibId = LibId
|
|
6883
|
+
|
|
6870
6884
|
@property
|
|
6871
6885
|
def RequestId(self):
|
|
6872
6886
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6880,6 +6894,7 @@ class CreateAuditKeywordLibResponse(AbstractModel):
|
|
|
6880
6894
|
|
|
6881
6895
|
|
|
6882
6896
|
def _deserialize(self, params):
|
|
6897
|
+
self._LibId = params.get("LibId")
|
|
6883
6898
|
self._RequestId = params.get("RequestId")
|
|
6884
6899
|
|
|
6885
6900
|
|
|
@@ -359,6 +359,15 @@ INVALIDPARAMETERVALUE_PRIVACYMODEL = 'InvalidParameterValue.PrivacyModel'
|
|
|
359
359
|
# 擦除模板隐私保护目标错误
|
|
360
360
|
INVALIDPARAMETERVALUE_PRIVACYTARGETS = 'InvalidParameterValue.PrivacyTargets'
|
|
361
361
|
|
|
362
|
+
# 剧集项目数量超出上限
|
|
363
|
+
INVALIDPARAMETERVALUE_PROJECTLIMITEXCEEDED = 'InvalidParameterValue.ProjectLimitExceeded'
|
|
364
|
+
|
|
365
|
+
# 剧集项目名称重复
|
|
366
|
+
INVALIDPARAMETERVALUE_PROJECTNAMEDUPLICATE = 'InvalidParameterValue.ProjectNameDuplicate'
|
|
367
|
+
|
|
368
|
+
# 剧集项目不存在
|
|
369
|
+
INVALIDPARAMETERVALUE_PROJECTNOTFOUND = 'InvalidParameterValue.ProjectNotFound'
|
|
370
|
+
|
|
362
371
|
# 参数值错误:Quality。
|
|
363
372
|
INVALIDPARAMETERVALUE_QUALITY = 'InvalidParameterValue.Quality'
|
|
364
373
|
|
|
@@ -491,6 +500,9 @@ INVALIDPARAMETERVALUE_USEORIGINALSIZE = 'InvalidParameterValue.UseOriginalSize'
|
|
|
491
500
|
# 参数值错误:人脸用户自定义库过滤标签非法。
|
|
492
501
|
INVALIDPARAMETERVALUE_USERDEFINELIBRARYLABELSET = 'InvalidParameterValue.UserDefineLibraryLabelSet'
|
|
493
502
|
|
|
503
|
+
# 用户未注册mps
|
|
504
|
+
INVALIDPARAMETERVALUE_USERUNREGISTER = 'InvalidParameterValue.UserUnRegister'
|
|
505
|
+
|
|
494
506
|
# 参数错误:视频流码率。
|
|
495
507
|
INVALIDPARAMETERVALUE_VIDEOBITRATE = 'InvalidParameterValue.VideoBitrate'
|
|
496
508
|
|