tencentcloud-sdk-python 3.0.990__py2.py3-none-any.whl → 3.0.991__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/autoscaling_client.py +177 -0
- tencentcloud/autoscaling/v20180419/errorcodes.py +27 -0
- tencentcloud/autoscaling/v20180419/models.py +1082 -10
- tencentcloud/emr/v20190103/models.py +67 -2
- tencentcloud/ess/v20201111/ess_client.py +23 -0
- tencentcloud/ess/v20201111/models.py +113 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +23 -0
- tencentcloud/essbasic/v20210526/models.py +31 -0
- tencentcloud/iai/v20200303/models.py +28 -28
- tencentcloud/live/v20180801/live_client.py +1 -2
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/mps/v20190612/models.py +78 -0
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/tcb/v20180608/models.py +114 -0
- tencentcloud/teo/v20220901/models.py +5 -8
- tencentcloud/tke/v20180525/errorcodes.py +13 -1
- tencentcloud/tke/v20180525/models.py +1993 -0
- tencentcloud/tke/v20180525/tke_client.py +207 -0
- tencentcloud/vpc/v20170312/models.py +226 -0
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.990.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/top_level.txt +0 -0
|
@@ -11572,6 +11572,8 @@ class CreateInput(AbstractModel):
|
|
|
11572
11572
|
:type HLSPullSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputHLSPullSettings`
|
|
11573
11573
|
:param _ResilientStream: 延播平滑吐流配置信息。
|
|
11574
11574
|
:type ResilientStream: :class:`tencentcloud.mps.v20190612.models.ResilientStreamConf`
|
|
11575
|
+
:param _SecurityGroupIds: 绑定的输入安全组 ID。
|
|
11576
|
+
:type SecurityGroupIds: list of str
|
|
11575
11577
|
"""
|
|
11576
11578
|
self._InputName = None
|
|
11577
11579
|
self._Protocol = None
|
|
@@ -11584,6 +11586,7 @@ class CreateInput(AbstractModel):
|
|
|
11584
11586
|
self._RTSPPullSettings = None
|
|
11585
11587
|
self._HLSPullSettings = None
|
|
11586
11588
|
self._ResilientStream = None
|
|
11589
|
+
self._SecurityGroupIds = None
|
|
11587
11590
|
|
|
11588
11591
|
@property
|
|
11589
11592
|
def InputName(self):
|
|
@@ -11673,6 +11676,14 @@ class CreateInput(AbstractModel):
|
|
|
11673
11676
|
def ResilientStream(self, ResilientStream):
|
|
11674
11677
|
self._ResilientStream = ResilientStream
|
|
11675
11678
|
|
|
11679
|
+
@property
|
|
11680
|
+
def SecurityGroupIds(self):
|
|
11681
|
+
return self._SecurityGroupIds
|
|
11682
|
+
|
|
11683
|
+
@SecurityGroupIds.setter
|
|
11684
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
11685
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
11686
|
+
|
|
11676
11687
|
|
|
11677
11688
|
def _deserialize(self, params):
|
|
11678
11689
|
self._InputName = params.get("InputName")
|
|
@@ -11698,6 +11709,7 @@ class CreateInput(AbstractModel):
|
|
|
11698
11709
|
if params.get("ResilientStream") is not None:
|
|
11699
11710
|
self._ResilientStream = ResilientStreamConf()
|
|
11700
11711
|
self._ResilientStream._deserialize(params.get("ResilientStream"))
|
|
11712
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
11701
11713
|
memeber_set = set(params.keys())
|
|
11702
11714
|
for name, value in vars(self).items():
|
|
11703
11715
|
property_name = name[1:]
|
|
@@ -12027,6 +12039,8 @@ class CreateOutputInfo(AbstractModel):
|
|
|
12027
12039
|
:type AllowIpList: list of str
|
|
12028
12040
|
:param _MaxConcurrent: 最大拉流并发数,最大4,默认4。
|
|
12029
12041
|
:type MaxConcurrent: int
|
|
12042
|
+
:param _SecurityGroupIds: 绑定的输入安全组 ID。
|
|
12043
|
+
:type SecurityGroupIds: list of str
|
|
12030
12044
|
"""
|
|
12031
12045
|
self._OutputName = None
|
|
12032
12046
|
self._Description = None
|
|
@@ -12037,6 +12051,7 @@ class CreateOutputInfo(AbstractModel):
|
|
|
12037
12051
|
self._RTPSettings = None
|
|
12038
12052
|
self._AllowIpList = None
|
|
12039
12053
|
self._MaxConcurrent = None
|
|
12054
|
+
self._SecurityGroupIds = None
|
|
12040
12055
|
|
|
12041
12056
|
@property
|
|
12042
12057
|
def OutputName(self):
|
|
@@ -12110,6 +12125,14 @@ class CreateOutputInfo(AbstractModel):
|
|
|
12110
12125
|
def MaxConcurrent(self, MaxConcurrent):
|
|
12111
12126
|
self._MaxConcurrent = MaxConcurrent
|
|
12112
12127
|
|
|
12128
|
+
@property
|
|
12129
|
+
def SecurityGroupIds(self):
|
|
12130
|
+
return self._SecurityGroupIds
|
|
12131
|
+
|
|
12132
|
+
@SecurityGroupIds.setter
|
|
12133
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
12134
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
12135
|
+
|
|
12113
12136
|
|
|
12114
12137
|
def _deserialize(self, params):
|
|
12115
12138
|
self._OutputName = params.get("OutputName")
|
|
@@ -12127,6 +12150,7 @@ class CreateOutputInfo(AbstractModel):
|
|
|
12127
12150
|
self._RTPSettings._deserialize(params.get("RTPSettings"))
|
|
12128
12151
|
self._AllowIpList = params.get("AllowIpList")
|
|
12129
12152
|
self._MaxConcurrent = params.get("MaxConcurrent")
|
|
12153
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
12130
12154
|
memeber_set = set(params.keys())
|
|
12131
12155
|
for name, value in vars(self).items():
|
|
12132
12156
|
property_name = name[1:]
|
|
@@ -16278,6 +16302,9 @@ class DescribeInput(AbstractModel):
|
|
|
16278
16302
|
:param _ResilientStream: 延播平滑吐流配置信息。
|
|
16279
16303
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16280
16304
|
:type ResilientStream: :class:`tencentcloud.mps.v20190612.models.ResilientStreamConf`
|
|
16305
|
+
:param _SecurityGroupIds: 绑定的输入安全组 ID。
|
|
16306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16307
|
+
:type SecurityGroupIds: list of str
|
|
16281
16308
|
"""
|
|
16282
16309
|
self._InputId = None
|
|
16283
16310
|
self._InputName = None
|
|
@@ -16294,6 +16321,7 @@ class DescribeInput(AbstractModel):
|
|
|
16294
16321
|
self._RTSPPullSettings = None
|
|
16295
16322
|
self._HLSPullSettings = None
|
|
16296
16323
|
self._ResilientStream = None
|
|
16324
|
+
self._SecurityGroupIds = None
|
|
16297
16325
|
|
|
16298
16326
|
@property
|
|
16299
16327
|
def InputId(self):
|
|
@@ -16415,6 +16443,14 @@ class DescribeInput(AbstractModel):
|
|
|
16415
16443
|
def ResilientStream(self, ResilientStream):
|
|
16416
16444
|
self._ResilientStream = ResilientStream
|
|
16417
16445
|
|
|
16446
|
+
@property
|
|
16447
|
+
def SecurityGroupIds(self):
|
|
16448
|
+
return self._SecurityGroupIds
|
|
16449
|
+
|
|
16450
|
+
@SecurityGroupIds.setter
|
|
16451
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
16452
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
16453
|
+
|
|
16418
16454
|
|
|
16419
16455
|
def _deserialize(self, params):
|
|
16420
16456
|
self._InputId = params.get("InputId")
|
|
@@ -16451,6 +16487,7 @@ class DescribeInput(AbstractModel):
|
|
|
16451
16487
|
if params.get("ResilientStream") is not None:
|
|
16452
16488
|
self._ResilientStream = ResilientStreamConf()
|
|
16453
16489
|
self._ResilientStream._deserialize(params.get("ResilientStream"))
|
|
16490
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
16454
16491
|
memeber_set = set(params.keys())
|
|
16455
16492
|
for name, value in vars(self).items():
|
|
16456
16493
|
property_name = name[1:]
|
|
@@ -16924,6 +16961,9 @@ class DescribeOutput(AbstractModel):
|
|
|
16924
16961
|
:type HLSPullSettings: :class:`tencentcloud.mps.v20190612.models.DescribeOutputHLSPullSettings`
|
|
16925
16962
|
:param _MaxConcurrent: 最大拉流并发数,最大为4,默认4。
|
|
16926
16963
|
:type MaxConcurrent: int
|
|
16964
|
+
:param _SecurityGroupIds: 绑定的安全组 ID。
|
|
16965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16966
|
+
:type SecurityGroupIds: list of str
|
|
16927
16967
|
"""
|
|
16928
16968
|
self._OutputId = None
|
|
16929
16969
|
self._OutputName = None
|
|
@@ -16940,6 +16980,7 @@ class DescribeOutput(AbstractModel):
|
|
|
16940
16980
|
self._RTSPPullSettings = None
|
|
16941
16981
|
self._HLSPullSettings = None
|
|
16942
16982
|
self._MaxConcurrent = None
|
|
16983
|
+
self._SecurityGroupIds = None
|
|
16943
16984
|
|
|
16944
16985
|
@property
|
|
16945
16986
|
def OutputId(self):
|
|
@@ -17061,6 +17102,14 @@ class DescribeOutput(AbstractModel):
|
|
|
17061
17102
|
def MaxConcurrent(self, MaxConcurrent):
|
|
17062
17103
|
self._MaxConcurrent = MaxConcurrent
|
|
17063
17104
|
|
|
17105
|
+
@property
|
|
17106
|
+
def SecurityGroupIds(self):
|
|
17107
|
+
return self._SecurityGroupIds
|
|
17108
|
+
|
|
17109
|
+
@SecurityGroupIds.setter
|
|
17110
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
17111
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
17112
|
+
|
|
17064
17113
|
|
|
17065
17114
|
def _deserialize(self, params):
|
|
17066
17115
|
self._OutputId = params.get("OutputId")
|
|
@@ -17095,6 +17144,7 @@ class DescribeOutput(AbstractModel):
|
|
|
17095
17144
|
self._HLSPullSettings = DescribeOutputHLSPullSettings()
|
|
17096
17145
|
self._HLSPullSettings._deserialize(params.get("HLSPullSettings"))
|
|
17097
17146
|
self._MaxConcurrent = params.get("MaxConcurrent")
|
|
17147
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
17098
17148
|
memeber_set = set(params.keys())
|
|
17099
17149
|
for name, value in vars(self).items():
|
|
17100
17150
|
property_name = name[1:]
|
|
@@ -30413,6 +30463,8 @@ class ModifyInput(AbstractModel):
|
|
|
30413
30463
|
:type HLSPullSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputHLSPullSettings`
|
|
30414
30464
|
:param _ResilientStream: 延播平滑吐流配置信息。
|
|
30415
30465
|
:type ResilientStream: :class:`tencentcloud.mps.v20190612.models.ResilientStreamConf`
|
|
30466
|
+
:param _SecurityGroupIds: 绑定的输入安全组 ID。 仅支持关联一组安全组。
|
|
30467
|
+
:type SecurityGroupIds: list of str
|
|
30416
30468
|
"""
|
|
30417
30469
|
self._InputId = None
|
|
30418
30470
|
self._InputName = None
|
|
@@ -30426,6 +30478,7 @@ class ModifyInput(AbstractModel):
|
|
|
30426
30478
|
self._RTSPPullSettings = None
|
|
30427
30479
|
self._HLSPullSettings = None
|
|
30428
30480
|
self._ResilientStream = None
|
|
30481
|
+
self._SecurityGroupIds = None
|
|
30429
30482
|
|
|
30430
30483
|
@property
|
|
30431
30484
|
def InputId(self):
|
|
@@ -30523,6 +30576,14 @@ class ModifyInput(AbstractModel):
|
|
|
30523
30576
|
def ResilientStream(self, ResilientStream):
|
|
30524
30577
|
self._ResilientStream = ResilientStream
|
|
30525
30578
|
|
|
30579
|
+
@property
|
|
30580
|
+
def SecurityGroupIds(self):
|
|
30581
|
+
return self._SecurityGroupIds
|
|
30582
|
+
|
|
30583
|
+
@SecurityGroupIds.setter
|
|
30584
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
30585
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
30586
|
+
|
|
30526
30587
|
|
|
30527
30588
|
def _deserialize(self, params):
|
|
30528
30589
|
self._InputId = params.get("InputId")
|
|
@@ -30549,6 +30610,7 @@ class ModifyInput(AbstractModel):
|
|
|
30549
30610
|
if params.get("ResilientStream") is not None:
|
|
30550
30611
|
self._ResilientStream = ResilientStreamConf()
|
|
30551
30612
|
self._ResilientStream._deserialize(params.get("ResilientStream"))
|
|
30613
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
30552
30614
|
memeber_set = set(params.keys())
|
|
30553
30615
|
for name, value in vars(self).items():
|
|
30554
30616
|
property_name = name[1:]
|
|
@@ -30585,6 +30647,8 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
30585
30647
|
:type AllowIpList: list of str
|
|
30586
30648
|
:param _MaxConcurrent: 最大拉流并发数,最大4,默认4。
|
|
30587
30649
|
:type MaxConcurrent: int
|
|
30650
|
+
:param _SecurityGroupIds: 绑定的安全组 ID。 仅支持关联一组安全组。
|
|
30651
|
+
:type SecurityGroupIds: list of str
|
|
30588
30652
|
"""
|
|
30589
30653
|
self._OutputId = None
|
|
30590
30654
|
self._OutputName = None
|
|
@@ -30595,6 +30659,7 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
30595
30659
|
self._RTMPSettings = None
|
|
30596
30660
|
self._AllowIpList = None
|
|
30597
30661
|
self._MaxConcurrent = None
|
|
30662
|
+
self._SecurityGroupIds = None
|
|
30598
30663
|
|
|
30599
30664
|
@property
|
|
30600
30665
|
def OutputId(self):
|
|
@@ -30668,6 +30733,14 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
30668
30733
|
def MaxConcurrent(self, MaxConcurrent):
|
|
30669
30734
|
self._MaxConcurrent = MaxConcurrent
|
|
30670
30735
|
|
|
30736
|
+
@property
|
|
30737
|
+
def SecurityGroupIds(self):
|
|
30738
|
+
return self._SecurityGroupIds
|
|
30739
|
+
|
|
30740
|
+
@SecurityGroupIds.setter
|
|
30741
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
30742
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
30743
|
+
|
|
30671
30744
|
|
|
30672
30745
|
def _deserialize(self, params):
|
|
30673
30746
|
self._OutputId = params.get("OutputId")
|
|
@@ -30685,6 +30758,7 @@ class ModifyOutputInfo(AbstractModel):
|
|
|
30685
30758
|
self._RTMPSettings._deserialize(params.get("RTMPSettings"))
|
|
30686
30759
|
self._AllowIpList = params.get("AllowIpList")
|
|
30687
30760
|
self._MaxConcurrent = params.get("MaxConcurrent")
|
|
30761
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
30688
30762
|
memeber_set = set(params.keys())
|
|
30689
30763
|
for name, value in vars(self).items():
|
|
30690
30764
|
property_name = name[1:]
|
|
@@ -32518,8 +32592,10 @@ class OutputSRTSourceAddressResp(AbstractModel):
|
|
|
32518
32592
|
def __init__(self):
|
|
32519
32593
|
r"""
|
|
32520
32594
|
:param _Ip: 监听IP。
|
|
32595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
32521
32596
|
:type Ip: str
|
|
32522
32597
|
:param _Port: 监听端口。
|
|
32598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
32523
32599
|
:type Port: int
|
|
32524
32600
|
"""
|
|
32525
32601
|
self._Ip = None
|
|
@@ -36193,8 +36269,10 @@ class SRTSourceAddressResp(AbstractModel):
|
|
|
36193
36269
|
def __init__(self):
|
|
36194
36270
|
r"""
|
|
36195
36271
|
:param _Ip: 对端IP。
|
|
36272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
36196
36273
|
:type Ip: str
|
|
36197
36274
|
:param _Port: 对端端口。
|
|
36275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
36198
36276
|
:type Port: int
|
|
36199
36277
|
"""
|
|
36200
36278
|
self._Ip = None
|
|
@@ -7463,7 +7463,7 @@ class LicensePlateInfo(AbstractModel):
|
|
|
7463
7463
|
:type Confidence: int
|
|
7464
7464
|
:param _Rect: 文本行在原图片中的像素坐标框。
|
|
7465
7465
|
:type Rect: :class:`tencentcloud.ocr.v20181119.models.Rect`
|
|
7466
|
-
:param _Color: 识别出的车牌颜色,目前支持颜色包括
|
|
7466
|
+
:param _Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
7467
7467
|
:type Color: str
|
|
7468
7468
|
"""
|
|
7469
7469
|
self._Number = None
|
|
@@ -7586,7 +7586,7 @@ class LicensePlateOCRResponse(AbstractModel):
|
|
|
7586
7586
|
:type Confidence: int
|
|
7587
7587
|
:param _Rect: 文本行在原图片中的像素坐标框。
|
|
7588
7588
|
:type Rect: :class:`tencentcloud.ocr.v20181119.models.Rect`
|
|
7589
|
-
:param _Color: 识别出的车牌颜色,目前支持颜色包括
|
|
7589
|
+
:param _Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
7590
7590
|
:type Color: str
|
|
7591
7591
|
:param _LicensePlateInfos: 全部车牌信息。
|
|
7592
7592
|
:type LicensePlateInfos: list of LicensePlateInfo
|
|
@@ -5400,6 +5400,45 @@ class CreateWxCloudBaseRunServerDBClusterResponse(AbstractModel):
|
|
|
5400
5400
|
self._RequestId = params.get("RequestId")
|
|
5401
5401
|
|
|
5402
5402
|
|
|
5403
|
+
class CustomHeader(AbstractModel):
|
|
5404
|
+
"""安全网关自定义头部
|
|
5405
|
+
|
|
5406
|
+
"""
|
|
5407
|
+
|
|
5408
|
+
def __init__(self):
|
|
5409
|
+
r"""
|
|
5410
|
+
:param _RequestToAddList: 请求添加头部配置
|
|
5411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5412
|
+
:type RequestToAddList: list of CustomRequestToAdd
|
|
5413
|
+
"""
|
|
5414
|
+
self._RequestToAddList = None
|
|
5415
|
+
|
|
5416
|
+
@property
|
|
5417
|
+
def RequestToAddList(self):
|
|
5418
|
+
return self._RequestToAddList
|
|
5419
|
+
|
|
5420
|
+
@RequestToAddList.setter
|
|
5421
|
+
def RequestToAddList(self, RequestToAddList):
|
|
5422
|
+
self._RequestToAddList = RequestToAddList
|
|
5423
|
+
|
|
5424
|
+
|
|
5425
|
+
def _deserialize(self, params):
|
|
5426
|
+
if params.get("RequestToAddList") is not None:
|
|
5427
|
+
self._RequestToAddList = []
|
|
5428
|
+
for item in params.get("RequestToAddList"):
|
|
5429
|
+
obj = CustomRequestToAdd()
|
|
5430
|
+
obj._deserialize(item)
|
|
5431
|
+
self._RequestToAddList.append(obj)
|
|
5432
|
+
memeber_set = set(params.keys())
|
|
5433
|
+
for name, value in vars(self).items():
|
|
5434
|
+
property_name = name[1:]
|
|
5435
|
+
if property_name in memeber_set:
|
|
5436
|
+
memeber_set.remove(property_name)
|
|
5437
|
+
if len(memeber_set) > 0:
|
|
5438
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5439
|
+
|
|
5440
|
+
|
|
5441
|
+
|
|
5403
5442
|
class CustomLogConfig(AbstractModel):
|
|
5404
5443
|
"""安全网关自定义日志配置
|
|
5405
5444
|
|
|
@@ -5493,6 +5532,66 @@ class CustomLogConfig(AbstractModel):
|
|
|
5493
5532
|
|
|
5494
5533
|
|
|
5495
5534
|
|
|
5535
|
+
class CustomRequestToAdd(AbstractModel):
|
|
5536
|
+
"""安全网关请求自定义头部
|
|
5537
|
+
|
|
5538
|
+
"""
|
|
5539
|
+
|
|
5540
|
+
def __init__(self):
|
|
5541
|
+
r"""
|
|
5542
|
+
:param _Key: Header名称
|
|
5543
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5544
|
+
:type Key: str
|
|
5545
|
+
:param _Value: Header值
|
|
5546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5547
|
+
:type Value: str
|
|
5548
|
+
:param _AppendAction: Header类型
|
|
5549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5550
|
+
:type AppendAction: str
|
|
5551
|
+
"""
|
|
5552
|
+
self._Key = None
|
|
5553
|
+
self._Value = None
|
|
5554
|
+
self._AppendAction = None
|
|
5555
|
+
|
|
5556
|
+
@property
|
|
5557
|
+
def Key(self):
|
|
5558
|
+
return self._Key
|
|
5559
|
+
|
|
5560
|
+
@Key.setter
|
|
5561
|
+
def Key(self, Key):
|
|
5562
|
+
self._Key = Key
|
|
5563
|
+
|
|
5564
|
+
@property
|
|
5565
|
+
def Value(self):
|
|
5566
|
+
return self._Value
|
|
5567
|
+
|
|
5568
|
+
@Value.setter
|
|
5569
|
+
def Value(self, Value):
|
|
5570
|
+
self._Value = Value
|
|
5571
|
+
|
|
5572
|
+
@property
|
|
5573
|
+
def AppendAction(self):
|
|
5574
|
+
return self._AppendAction
|
|
5575
|
+
|
|
5576
|
+
@AppendAction.setter
|
|
5577
|
+
def AppendAction(self, AppendAction):
|
|
5578
|
+
self._AppendAction = AppendAction
|
|
5579
|
+
|
|
5580
|
+
|
|
5581
|
+
def _deserialize(self, params):
|
|
5582
|
+
self._Key = params.get("Key")
|
|
5583
|
+
self._Value = params.get("Value")
|
|
5584
|
+
self._AppendAction = params.get("AppendAction")
|
|
5585
|
+
memeber_set = set(params.keys())
|
|
5586
|
+
for name, value in vars(self).items():
|
|
5587
|
+
property_name = name[1:]
|
|
5588
|
+
if property_name in memeber_set:
|
|
5589
|
+
memeber_set.remove(property_name)
|
|
5590
|
+
if len(memeber_set) > 0:
|
|
5591
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5592
|
+
|
|
5593
|
+
|
|
5594
|
+
|
|
5496
5595
|
class DatabasesInfo(AbstractModel):
|
|
5497
5596
|
"""数据库资源信息
|
|
5498
5597
|
|
|
@@ -19357,6 +19456,9 @@ class WxGatewayRountItem(AbstractModel):
|
|
|
19357
19456
|
:param _GatewayRoutePathMatchType: 路径匹配类型,支持prefix(前缀匹配),regex(正则匹配), 默认prefix
|
|
19358
19457
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
19359
19458
|
:type GatewayRoutePathMatchType: str
|
|
19459
|
+
:param _CustomHeader: 安全网关自定义头部
|
|
19460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19461
|
+
:type CustomHeader: :class:`tencentcloud.tcb.v20180608.models.CustomHeader`
|
|
19360
19462
|
"""
|
|
19361
19463
|
self._GatewayRouteName = None
|
|
19362
19464
|
self._GatewayRouteProtocol = None
|
|
@@ -19374,6 +19476,7 @@ class WxGatewayRountItem(AbstractModel):
|
|
|
19374
19476
|
self._GatewayRoutePort = None
|
|
19375
19477
|
self._GatewayRouteEnvId = None
|
|
19376
19478
|
self._GatewayRoutePathMatchType = None
|
|
19479
|
+
self._CustomHeader = None
|
|
19377
19480
|
|
|
19378
19481
|
@property
|
|
19379
19482
|
def GatewayRouteName(self):
|
|
@@ -19503,6 +19606,14 @@ class WxGatewayRountItem(AbstractModel):
|
|
|
19503
19606
|
def GatewayRoutePathMatchType(self, GatewayRoutePathMatchType):
|
|
19504
19607
|
self._GatewayRoutePathMatchType = GatewayRoutePathMatchType
|
|
19505
19608
|
|
|
19609
|
+
@property
|
|
19610
|
+
def CustomHeader(self):
|
|
19611
|
+
return self._CustomHeader
|
|
19612
|
+
|
|
19613
|
+
@CustomHeader.setter
|
|
19614
|
+
def CustomHeader(self, CustomHeader):
|
|
19615
|
+
self._CustomHeader = CustomHeader
|
|
19616
|
+
|
|
19506
19617
|
|
|
19507
19618
|
def _deserialize(self, params):
|
|
19508
19619
|
self._GatewayRouteName = params.get("GatewayRouteName")
|
|
@@ -19526,6 +19637,9 @@ class WxGatewayRountItem(AbstractModel):
|
|
|
19526
19637
|
self._GatewayRoutePort = params.get("GatewayRoutePort")
|
|
19527
19638
|
self._GatewayRouteEnvId = params.get("GatewayRouteEnvId")
|
|
19528
19639
|
self._GatewayRoutePathMatchType = params.get("GatewayRoutePathMatchType")
|
|
19640
|
+
if params.get("CustomHeader") is not None:
|
|
19641
|
+
self._CustomHeader = CustomHeader()
|
|
19642
|
+
self._CustomHeader._deserialize(params.get("CustomHeader"))
|
|
19529
19643
|
memeber_set = set(params.keys())
|
|
19530
19644
|
for name, value in vars(self).items():
|
|
19531
19645
|
property_name = name[1:]
|
|
@@ -16916,14 +16916,7 @@ class RuleCondition(AbstractModel):
|
|
|
16916
16916
|
<li> exist: 存在; </li>
|
|
16917
16917
|
<li> notexist: 不存在。</li>
|
|
16918
16918
|
:type Operator: str
|
|
16919
|
-
:param _Target: 匹配类型,取值有:
|
|
16920
|
-
<li> filename:文件名; </li>
|
|
16921
|
-
<li> extension:文件后缀; </li>
|
|
16922
|
-
<li> host:HOST; </li>
|
|
16923
|
-
<li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
|
|
16924
|
-
<li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li>
|
|
16925
|
-
<li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li>
|
|
16926
|
-
<li> request_header:HTTP请求头部。 </li>
|
|
16919
|
+
:param _Target: 匹配类型,取值有: <li> filename:文件名; </li> <li> extension:文件后缀; </li> <li> host:HOST; </li> <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li> <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li> <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li> <li> request_header:HTTP请求头部。 </li>
|
|
16927
16920
|
:type Target: str
|
|
16928
16921
|
:param _Values: 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型有:
|
|
16929
16922
|
<li> 文件后缀:jpg、txt等文件后缀;</li>
|
|
@@ -16995,10 +16988,14 @@ class RuleCondition(AbstractModel):
|
|
|
16995
16988
|
|
|
16996
16989
|
@property
|
|
16997
16990
|
def IgnoreNameCase(self):
|
|
16991
|
+
warnings.warn("parameter `IgnoreNameCase` is deprecated", DeprecationWarning)
|
|
16992
|
+
|
|
16998
16993
|
return self._IgnoreNameCase
|
|
16999
16994
|
|
|
17000
16995
|
@IgnoreNameCase.setter
|
|
17001
16996
|
def IgnoreNameCase(self, IgnoreNameCase):
|
|
16997
|
+
warnings.warn("parameter `IgnoreNameCase` is deprecated", DeprecationWarning)
|
|
16998
|
+
|
|
17002
16999
|
self._IgnoreNameCase = IgnoreNameCase
|
|
17003
17000
|
|
|
17004
17001
|
|
|
@@ -308,6 +308,9 @@ INTERNALERROR_IMAGEIDNOTFOUND = 'InternalError.ImageIdNotFound'
|
|
|
308
308
|
# 初始化master失败。
|
|
309
309
|
INTERNALERROR_INITMASTERFAILED = 'InternalError.InitMasterFailed'
|
|
310
310
|
|
|
311
|
+
# 余额不足。
|
|
312
|
+
INTERNALERROR_INSUFFICIENTBALANCE = 'InternalError.InsufficientBalance'
|
|
313
|
+
|
|
311
314
|
# 无效CIDR。
|
|
312
315
|
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = 'InternalError.InvalidPrivateNetworkCidr'
|
|
313
316
|
|
|
@@ -353,6 +356,12 @@ INTERNALERROR_MARKETINTERNALSERVERERROR = 'InternalError.MarketInternalServerErr
|
|
|
353
356
|
# 操作应用Release失败。
|
|
354
357
|
INTERNALERROR_MARKETRELEASEOPERATION = 'InternalError.MarketReleaseOperation'
|
|
355
358
|
|
|
359
|
+
# 无支付权限。
|
|
360
|
+
INTERNALERROR_NOPAYMENTACCESS = 'InternalError.NoPaymentAccess'
|
|
361
|
+
|
|
362
|
+
# 未实名认证。
|
|
363
|
+
INTERNALERROR_NOTVERIFIED = 'InternalError.NotVerified'
|
|
364
|
+
|
|
356
365
|
# 镜像OS不支持。
|
|
357
366
|
INTERNALERROR_OSNOTSUPPORT = 'InternalError.OsNotSupport'
|
|
358
367
|
|
|
@@ -398,7 +407,7 @@ INTERNALERROR_TASKLIFESTATEERROR = 'InternalError.TaskLifeStateError'
|
|
|
398
407
|
# 任务未找到。
|
|
399
408
|
INTERNALERROR_TASKNOTFOUND = 'InternalError.TaskNotFound'
|
|
400
409
|
|
|
401
|
-
#
|
|
410
|
+
# 计费错误。
|
|
402
411
|
INTERNALERROR_TRADECOMMON = 'InternalError.TradeCommon'
|
|
403
412
|
|
|
404
413
|
# 账户余额不足。
|
|
@@ -536,6 +545,9 @@ RESOURCENOTFOUND_KUBERESOURCENOTFOUND = 'ResourceNotFound.KubeResourceNotFound'
|
|
|
536
545
|
# 未找到该kubernetes资源。
|
|
537
546
|
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = 'ResourceNotFound.KubernetesResourceNotFound'
|
|
538
547
|
|
|
548
|
+
# 资源未找到。
|
|
549
|
+
RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
|
|
550
|
+
|
|
539
551
|
# 找不到对应路由表。
|
|
540
552
|
RESOURCENOTFOUND_ROUTETABLENOTFOUND = 'ResourceNotFound.RouteTableNotFound'
|
|
541
553
|
|