tencentcloud-sdk-python 3.0.1294__py2.py3-none-any.whl → 3.0.1296__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/aca/v20210323/models.py +2 -12
- tencentcloud/cbs/v20170312/models.py +15 -0
- tencentcloud/cdwdoris/v20211228/models.py +39 -4
- tencentcloud/cls/v20201016/models.py +34 -8
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +255 -0
- tencentcloud/dts/v20211206/models.py +15 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +45 -0
- tencentcloud/monitor/v20180724/models.py +106 -0
- tencentcloud/scf/v20180416/models.py +121 -92
- tencentcloud/scf/v20180416/scf_client.py +23 -0
- tencentcloud/tcr/v20190924/models.py +19 -2
- tencentcloud/teo/v20220901/models.py +20 -14
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +65 -14
- tencentcloud/trocket/v20230308/models.py +166 -0
- tencentcloud/trocket/v20230308/trocket_client.py +25 -0
- tencentcloud/vclm/v20240523/models.py +6 -4
- tencentcloud/vpc/v20170312/models.py +76 -102
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/waf/v20180125/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/top_level.txt +0 -0
@@ -81,16 +81,12 @@ class Alias(AbstractModel):
|
|
81
81
|
:param _Name: 别名的名称
|
82
82
|
:type Name: str
|
83
83
|
:param _RoutingConfig: 别名的路由信息
|
84
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
85
84
|
:type RoutingConfig: :class:`tencentcloud.scf.v20180416.models.RoutingConfig`
|
86
85
|
:param _Description: 描述信息
|
87
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
88
86
|
:type Description: str
|
89
87
|
:param _AddTime: 创建时间
|
90
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
91
88
|
:type AddTime: str
|
92
89
|
:param _ModTime: 更新时间
|
93
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
94
90
|
:type ModTime: str
|
95
91
|
"""
|
96
92
|
self._FunctionVersion = None
|
@@ -125,7 +121,6 @@ class Alias(AbstractModel):
|
|
125
121
|
@property
|
126
122
|
def RoutingConfig(self):
|
127
123
|
"""别名的路由信息
|
128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
129
124
|
:rtype: :class:`tencentcloud.scf.v20180416.models.RoutingConfig`
|
130
125
|
"""
|
131
126
|
return self._RoutingConfig
|
@@ -137,7 +132,6 @@ class Alias(AbstractModel):
|
|
137
132
|
@property
|
138
133
|
def Description(self):
|
139
134
|
"""描述信息
|
140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
141
135
|
:rtype: str
|
142
136
|
"""
|
143
137
|
return self._Description
|
@@ -149,7 +143,6 @@ class Alias(AbstractModel):
|
|
149
143
|
@property
|
150
144
|
def AddTime(self):
|
151
145
|
"""创建时间
|
152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
153
146
|
:rtype: str
|
154
147
|
"""
|
155
148
|
return self._AddTime
|
@@ -161,7 +154,6 @@ class Alias(AbstractModel):
|
|
161
154
|
@property
|
162
155
|
def ModTime(self):
|
163
156
|
"""更新时间
|
164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
165
157
|
:rtype: str
|
166
158
|
"""
|
167
159
|
return self._ModTime
|
@@ -431,7 +423,6 @@ class CertConf(AbstractModel):
|
|
431
423
|
def __init__(self):
|
432
424
|
r"""
|
433
425
|
:param _CertificateId: ssl证书ID
|
434
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
435
426
|
:type CertificateId: str
|
436
427
|
"""
|
437
428
|
self._CertificateId = None
|
@@ -439,7 +430,6 @@ class CertConf(AbstractModel):
|
|
439
430
|
@property
|
440
431
|
def CertificateId(self):
|
441
432
|
"""ssl证书ID
|
442
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
443
433
|
:rtype: str
|
444
434
|
"""
|
445
435
|
return self._CertificateId
|
@@ -1251,7 +1241,7 @@ class CreateCustomDomainRequest(AbstractModel):
|
|
1251
1241
|
:type Protocol: str
|
1252
1242
|
:param _EndpointsConfig: 路由配置
|
1253
1243
|
:type EndpointsConfig: list of EndpointsConf
|
1254
|
-
:param _CertConfig:
|
1244
|
+
:param _CertConfig: 证书配置信息,有使用HTTPS协议时候必须传
|
1255
1245
|
:type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
1256
1246
|
:param _WafConfig: web 应用防火墙配置
|
1257
1247
|
:type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
@@ -1297,7 +1287,7 @@ class CreateCustomDomainRequest(AbstractModel):
|
|
1297
1287
|
|
1298
1288
|
@property
|
1299
1289
|
def CertConfig(self):
|
1300
|
-
"""
|
1290
|
+
"""证书配置信息,有使用HTTPS协议时候必须传
|
1301
1291
|
:rtype: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
1302
1292
|
"""
|
1303
1293
|
return self._CertConfig
|
@@ -2528,6 +2518,115 @@ class DeleteFunctionResponse(AbstractModel):
|
|
2528
2518
|
self._RequestId = params.get("RequestId")
|
2529
2519
|
|
2530
2520
|
|
2521
|
+
class DeleteFunctionVersionRequest(AbstractModel):
|
2522
|
+
"""DeleteFunctionVersion请求参数结构体
|
2523
|
+
|
2524
|
+
"""
|
2525
|
+
|
2526
|
+
def __init__(self):
|
2527
|
+
r"""
|
2528
|
+
:param _FunctionName: 要删除的函数名称
|
2529
|
+
:type FunctionName: str
|
2530
|
+
:param _Qualifier: 填写需要删除的版本号
|
2531
|
+
:type Qualifier: str
|
2532
|
+
:param _Namespace: 函数所属命名空间
|
2533
|
+
:type Namespace: str
|
2534
|
+
:param _ForceDelete: 强制删除标记,传true会直接删除容器,并强制关闭还在执行中的函数
|
2535
|
+
:type ForceDelete: str
|
2536
|
+
"""
|
2537
|
+
self._FunctionName = None
|
2538
|
+
self._Qualifier = None
|
2539
|
+
self._Namespace = None
|
2540
|
+
self._ForceDelete = None
|
2541
|
+
|
2542
|
+
@property
|
2543
|
+
def FunctionName(self):
|
2544
|
+
"""要删除的函数名称
|
2545
|
+
:rtype: str
|
2546
|
+
"""
|
2547
|
+
return self._FunctionName
|
2548
|
+
|
2549
|
+
@FunctionName.setter
|
2550
|
+
def FunctionName(self, FunctionName):
|
2551
|
+
self._FunctionName = FunctionName
|
2552
|
+
|
2553
|
+
@property
|
2554
|
+
def Qualifier(self):
|
2555
|
+
"""填写需要删除的版本号
|
2556
|
+
:rtype: str
|
2557
|
+
"""
|
2558
|
+
return self._Qualifier
|
2559
|
+
|
2560
|
+
@Qualifier.setter
|
2561
|
+
def Qualifier(self, Qualifier):
|
2562
|
+
self._Qualifier = Qualifier
|
2563
|
+
|
2564
|
+
@property
|
2565
|
+
def Namespace(self):
|
2566
|
+
"""函数所属命名空间
|
2567
|
+
:rtype: str
|
2568
|
+
"""
|
2569
|
+
return self._Namespace
|
2570
|
+
|
2571
|
+
@Namespace.setter
|
2572
|
+
def Namespace(self, Namespace):
|
2573
|
+
self._Namespace = Namespace
|
2574
|
+
|
2575
|
+
@property
|
2576
|
+
def ForceDelete(self):
|
2577
|
+
"""强制删除标记,传true会直接删除容器,并强制关闭还在执行中的函数
|
2578
|
+
:rtype: str
|
2579
|
+
"""
|
2580
|
+
return self._ForceDelete
|
2581
|
+
|
2582
|
+
@ForceDelete.setter
|
2583
|
+
def ForceDelete(self, ForceDelete):
|
2584
|
+
self._ForceDelete = ForceDelete
|
2585
|
+
|
2586
|
+
|
2587
|
+
def _deserialize(self, params):
|
2588
|
+
self._FunctionName = params.get("FunctionName")
|
2589
|
+
self._Qualifier = params.get("Qualifier")
|
2590
|
+
self._Namespace = params.get("Namespace")
|
2591
|
+
self._ForceDelete = params.get("ForceDelete")
|
2592
|
+
memeber_set = set(params.keys())
|
2593
|
+
for name, value in vars(self).items():
|
2594
|
+
property_name = name[1:]
|
2595
|
+
if property_name in memeber_set:
|
2596
|
+
memeber_set.remove(property_name)
|
2597
|
+
if len(memeber_set) > 0:
|
2598
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2599
|
+
|
2600
|
+
|
2601
|
+
|
2602
|
+
class DeleteFunctionVersionResponse(AbstractModel):
|
2603
|
+
"""DeleteFunctionVersion返回参数结构体
|
2604
|
+
|
2605
|
+
"""
|
2606
|
+
|
2607
|
+
def __init__(self):
|
2608
|
+
r"""
|
2609
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2610
|
+
:type RequestId: str
|
2611
|
+
"""
|
2612
|
+
self._RequestId = None
|
2613
|
+
|
2614
|
+
@property
|
2615
|
+
def RequestId(self):
|
2616
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2617
|
+
:rtype: str
|
2618
|
+
"""
|
2619
|
+
return self._RequestId
|
2620
|
+
|
2621
|
+
@RequestId.setter
|
2622
|
+
def RequestId(self, RequestId):
|
2623
|
+
self._RequestId = RequestId
|
2624
|
+
|
2625
|
+
|
2626
|
+
def _deserialize(self, params):
|
2627
|
+
self._RequestId = params.get("RequestId")
|
2628
|
+
|
2629
|
+
|
2531
2630
|
class DeleteLayerVersionRequest(AbstractModel):
|
2532
2631
|
"""DeleteLayerVersion请求参数结构体
|
2533
2632
|
|
@@ -2995,13 +3094,10 @@ class DomainInfo(AbstractModel):
|
|
2995
3094
|
:param _Protocol: 协议,取值范围:HTTP, HTTPS, HTTP&HTTPS
|
2996
3095
|
:type Protocol: str
|
2997
3096
|
:param _EndpointsConfig: 路由配置信息
|
2998
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2999
3097
|
:type EndpointsConfig: list of EndpointsConf
|
3000
3098
|
:param _CertConfig: 证书配置信息,HTTPS协议必传路由配置
|
3001
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3002
3099
|
:type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
3003
3100
|
:param _WafConfig: web 应用防火墙配置
|
3004
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3005
3101
|
:type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
3006
3102
|
"""
|
3007
3103
|
self._Domain = None
|
@@ -3035,7 +3131,6 @@ class DomainInfo(AbstractModel):
|
|
3035
3131
|
@property
|
3036
3132
|
def EndpointsConfig(self):
|
3037
3133
|
"""路由配置信息
|
3038
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3039
3134
|
:rtype: list of EndpointsConf
|
3040
3135
|
"""
|
3041
3136
|
return self._EndpointsConfig
|
@@ -3047,7 +3142,6 @@ class DomainInfo(AbstractModel):
|
|
3047
3142
|
@property
|
3048
3143
|
def CertConfig(self):
|
3049
3144
|
"""证书配置信息,HTTPS协议必传路由配置
|
3050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3051
3145
|
:rtype: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
3052
3146
|
"""
|
3053
3147
|
return self._CertConfig
|
@@ -3059,7 +3153,6 @@ class DomainInfo(AbstractModel):
|
|
3059
3153
|
@property
|
3060
3154
|
def WafConfig(self):
|
3061
3155
|
"""web 应用防火墙配置
|
3062
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3063
3156
|
:rtype: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
3064
3157
|
"""
|
3065
3158
|
return self._WafConfig
|
@@ -3140,7 +3233,6 @@ class EipConfigOut(AbstractModel):
|
|
3140
3233
|
:param _EipStatus: 是否是固定IP,["ENABLE","DISABLE"]
|
3141
3234
|
:type EipStatus: str
|
3142
3235
|
:param _EipAddress: IP列表
|
3143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3144
3236
|
:type EipAddress: list of str
|
3145
3237
|
"""
|
3146
3238
|
self._EipStatus = None
|
@@ -3160,7 +3252,6 @@ class EipConfigOut(AbstractModel):
|
|
3160
3252
|
@property
|
3161
3253
|
def EipAddress(self):
|
3162
3254
|
"""IP列表
|
3163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3164
3255
|
:rtype: list of str
|
3165
3256
|
"""
|
3166
3257
|
return self._EipAddress
|
@@ -3242,16 +3333,12 @@ class EndpointsConf(AbstractModel):
|
|
3242
3333
|
def __init__(self):
|
3243
3334
|
r"""
|
3244
3335
|
:param _Namespace: 函数命名空间
|
3245
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3246
3336
|
:type Namespace: str
|
3247
3337
|
:param _FunctionName: 函数名
|
3248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3249
3338
|
:type FunctionName: str
|
3250
3339
|
:param _Qualifier: 函数别名或版本
|
3251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3252
3340
|
:type Qualifier: str
|
3253
3341
|
:param _PathMatch: 路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*"
|
3254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3255
3342
|
:type PathMatch: str
|
3256
3343
|
:param _PathRewrite: 路径重写策略
|
3257
3344
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3266,7 +3353,6 @@ class EndpointsConf(AbstractModel):
|
|
3266
3353
|
@property
|
3267
3354
|
def Namespace(self):
|
3268
3355
|
"""函数命名空间
|
3269
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3270
3356
|
:rtype: str
|
3271
3357
|
"""
|
3272
3358
|
return self._Namespace
|
@@ -3278,7 +3364,6 @@ class EndpointsConf(AbstractModel):
|
|
3278
3364
|
@property
|
3279
3365
|
def FunctionName(self):
|
3280
3366
|
"""函数名
|
3281
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3282
3367
|
:rtype: str
|
3283
3368
|
"""
|
3284
3369
|
return self._FunctionName
|
@@ -3290,7 +3375,6 @@ class EndpointsConf(AbstractModel):
|
|
3290
3375
|
@property
|
3291
3376
|
def Qualifier(self):
|
3292
3377
|
"""函数别名或版本
|
3293
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3294
3378
|
:rtype: str
|
3295
3379
|
"""
|
3296
3380
|
return self._Qualifier
|
@@ -3302,7 +3386,6 @@ class EndpointsConf(AbstractModel):
|
|
3302
3386
|
@property
|
3303
3387
|
def PathMatch(self):
|
3304
3388
|
"""路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*"
|
3305
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3306
3389
|
:rtype: str
|
3307
3390
|
"""
|
3308
3391
|
return self._PathMatch
|
@@ -3882,6 +3965,8 @@ class FunctionLog(AbstractModel):
|
|
3882
3965
|
|
3883
3966
|
@property
|
3884
3967
|
def Level(self):
|
3968
|
+
warnings.warn("parameter `Level` is deprecated", DeprecationWarning)
|
3969
|
+
|
3885
3970
|
"""日志等级
|
3886
3971
|
:rtype: str
|
3887
3972
|
"""
|
@@ -3889,10 +3974,14 @@ class FunctionLog(AbstractModel):
|
|
3889
3974
|
|
3890
3975
|
@Level.setter
|
3891
3976
|
def Level(self, Level):
|
3977
|
+
warnings.warn("parameter `Level` is deprecated", DeprecationWarning)
|
3978
|
+
|
3892
3979
|
self._Level = Level
|
3893
3980
|
|
3894
3981
|
@property
|
3895
3982
|
def Source(self):
|
3983
|
+
warnings.warn("parameter `Source` is deprecated", DeprecationWarning)
|
3984
|
+
|
3896
3985
|
"""日志来源
|
3897
3986
|
:rtype: str
|
3898
3987
|
"""
|
@@ -3900,6 +3989,8 @@ class FunctionLog(AbstractModel):
|
|
3900
3989
|
|
3901
3990
|
@Source.setter
|
3902
3991
|
def Source(self, Source):
|
3992
|
+
warnings.warn("parameter `Source` is deprecated", DeprecationWarning)
|
3993
|
+
|
3903
3994
|
self._Source = Source
|
3904
3995
|
|
3905
3996
|
@property
|
@@ -4190,13 +4281,10 @@ class GetAliasResponse(AbstractModel):
|
|
4190
4281
|
:param _RoutingConfig: 别名的路由信息
|
4191
4282
|
:type RoutingConfig: :class:`tencentcloud.scf.v20180416.models.RoutingConfig`
|
4192
4283
|
:param _Description: 别名的描述
|
4193
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4194
4284
|
:type Description: str
|
4195
4285
|
:param _AddTime: 创建时间
|
4196
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4197
4286
|
:type AddTime: str
|
4198
4287
|
:param _ModTime: 更新时间
|
4199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4200
4288
|
:type ModTime: str
|
4201
4289
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4202
4290
|
:type RequestId: str
|
@@ -4245,7 +4333,6 @@ class GetAliasResponse(AbstractModel):
|
|
4245
4333
|
@property
|
4246
4334
|
def Description(self):
|
4247
4335
|
"""别名的描述
|
4248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4249
4336
|
:rtype: str
|
4250
4337
|
"""
|
4251
4338
|
return self._Description
|
@@ -4257,7 +4344,6 @@ class GetAliasResponse(AbstractModel):
|
|
4257
4344
|
@property
|
4258
4345
|
def AddTime(self):
|
4259
4346
|
"""创建时间
|
4260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4261
4347
|
:rtype: str
|
4262
4348
|
"""
|
4263
4349
|
return self._AddTime
|
@@ -4269,7 +4355,6 @@ class GetAliasResponse(AbstractModel):
|
|
4269
4355
|
@property
|
4270
4356
|
def ModTime(self):
|
4271
4357
|
"""更新时间
|
4272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4273
4358
|
:rtype: str
|
4274
4359
|
"""
|
4275
4360
|
return self._ModTime
|
@@ -5221,24 +5306,18 @@ class GetFunctionResponse(AbstractModel):
|
|
5221
5306
|
注意:此字段可能返回 null,表示取不到有效值。
|
5222
5307
|
:type OnsEnable: str
|
5223
5308
|
:param _CfsConfig: 文件系统配置参数,用于云函数挂载文件系统
|
5224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5225
5309
|
:type CfsConfig: :class:`tencentcloud.scf.v20180416.models.CfsConfig`
|
5226
5310
|
:param _AvailableStatus: 函数的计费状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/47175#.E5.87.BD.E6.95.B0.E8.AE.A1.E8.B4.B9.E7.8A.B6.E6.80.81)
|
5227
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5228
5311
|
:type AvailableStatus: str
|
5229
5312
|
:param _Qualifier: 函数版本
|
5230
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5231
5313
|
:type Qualifier: str
|
5232
5314
|
:param _InitTimeout: 函数初始化超时时间
|
5233
5315
|
:type InitTimeout: int
|
5234
5316
|
:param _StatusReasons: 函数状态失败原因
|
5235
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5236
5317
|
:type StatusReasons: list of StatusReason
|
5237
5318
|
:param _AsyncRunEnable: 是否开启异步属性
|
5238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5239
5319
|
:type AsyncRunEnable: str
|
5240
5320
|
:param _TraceEnable: 是否开启事件追踪
|
5241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5242
5321
|
:type TraceEnable: str
|
5243
5322
|
:param _ImageConfig: 镜像配置
|
5244
5323
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5250,7 +5329,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5250
5329
|
注意:此字段可能返回 null,表示取不到有效值。
|
5251
5330
|
:type ProtocolParams: :class:`tencentcloud.scf.v20180416.models.ProtocolParams`
|
5252
5331
|
:param _DnsCache: 是否开启DNS缓存
|
5253
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5254
5332
|
:type DnsCache: str
|
5255
5333
|
:param _IntranetConfig: 内网访问配置
|
5256
5334
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5698,7 +5776,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5698
5776
|
@property
|
5699
5777
|
def CfsConfig(self):
|
5700
5778
|
"""文件系统配置参数,用于云函数挂载文件系统
|
5701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5702
5779
|
:rtype: :class:`tencentcloud.scf.v20180416.models.CfsConfig`
|
5703
5780
|
"""
|
5704
5781
|
return self._CfsConfig
|
@@ -5710,7 +5787,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5710
5787
|
@property
|
5711
5788
|
def AvailableStatus(self):
|
5712
5789
|
"""函数的计费状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/47175#.E5.87.BD.E6.95.B0.E8.AE.A1.E8.B4.B9.E7.8A.B6.E6.80.81)
|
5713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5714
5790
|
:rtype: str
|
5715
5791
|
"""
|
5716
5792
|
return self._AvailableStatus
|
@@ -5722,7 +5798,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5722
5798
|
@property
|
5723
5799
|
def Qualifier(self):
|
5724
5800
|
"""函数版本
|
5725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5726
5801
|
:rtype: str
|
5727
5802
|
"""
|
5728
5803
|
return self._Qualifier
|
@@ -5745,7 +5820,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5745
5820
|
@property
|
5746
5821
|
def StatusReasons(self):
|
5747
5822
|
"""函数状态失败原因
|
5748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5749
5823
|
:rtype: list of StatusReason
|
5750
5824
|
"""
|
5751
5825
|
return self._StatusReasons
|
@@ -5757,7 +5831,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5757
5831
|
@property
|
5758
5832
|
def AsyncRunEnable(self):
|
5759
5833
|
"""是否开启异步属性
|
5760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5761
5834
|
:rtype: str
|
5762
5835
|
"""
|
5763
5836
|
return self._AsyncRunEnable
|
@@ -5769,7 +5842,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5769
5842
|
@property
|
5770
5843
|
def TraceEnable(self):
|
5771
5844
|
"""是否开启事件追踪
|
5772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5773
5845
|
:rtype: str
|
5774
5846
|
"""
|
5775
5847
|
return self._TraceEnable
|
@@ -5817,7 +5889,6 @@ class GetFunctionResponse(AbstractModel):
|
|
5817
5889
|
@property
|
5818
5890
|
def DnsCache(self):
|
5819
5891
|
"""是否开启DNS缓存
|
5820
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5821
5892
|
:rtype: str
|
5822
5893
|
"""
|
5823
5894
|
return self._DnsCache
|
@@ -7351,12 +7422,10 @@ class LayerVersionInfo(AbstractModel):
|
|
7351
7422
|
def __init__(self):
|
7352
7423
|
r"""
|
7353
7424
|
:param _CompatibleRuntimes: 版本适用的运行时
|
7354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7355
7425
|
:type CompatibleRuntimes: list of str
|
7356
7426
|
:param _AddTime: 创建时间
|
7357
7427
|
:type AddTime: str
|
7358
7428
|
:param _Description: 版本描述
|
7359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7360
7429
|
:type Description: str
|
7361
7430
|
:param _LicenseInfo: 许可证信息
|
7362
7431
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7368,7 +7437,6 @@ class LayerVersionInfo(AbstractModel):
|
|
7368
7437
|
:param _Status: 层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/47175#.E5.B1.82.EF.BC.88layer.EF.BC.89.E7.8A.B6.E6.80.81)
|
7369
7438
|
:type Status: str
|
7370
7439
|
:param _Stamp: Stamp
|
7371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7372
7440
|
:type Stamp: str
|
7373
7441
|
:param _Tags: 返回层绑定的标签信息
|
7374
7442
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7387,7 +7455,6 @@ class LayerVersionInfo(AbstractModel):
|
|
7387
7455
|
@property
|
7388
7456
|
def CompatibleRuntimes(self):
|
7389
7457
|
"""版本适用的运行时
|
7390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7391
7458
|
:rtype: list of str
|
7392
7459
|
"""
|
7393
7460
|
return self._CompatibleRuntimes
|
@@ -7410,7 +7477,6 @@ class LayerVersionInfo(AbstractModel):
|
|
7410
7477
|
@property
|
7411
7478
|
def Description(self):
|
7412
7479
|
"""版本描述
|
7413
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7414
7480
|
:rtype: str
|
7415
7481
|
"""
|
7416
7482
|
return self._Description
|
@@ -7467,7 +7533,6 @@ class LayerVersionInfo(AbstractModel):
|
|
7467
7533
|
@property
|
7468
7534
|
def Stamp(self):
|
7469
7535
|
"""Stamp
|
7470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7471
7536
|
:rtype: str
|
7472
7537
|
"""
|
7473
7538
|
return self._Stamp
|
@@ -7727,7 +7792,6 @@ class ListAliasesResponse(AbstractModel):
|
|
7727
7792
|
:param _Aliases: 别名列表
|
7728
7793
|
:type Aliases: list of Alias
|
7729
7794
|
:param _TotalCount: 别名总数
|
7730
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7731
7795
|
:type TotalCount: int
|
7732
7796
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7733
7797
|
:type RequestId: str
|
@@ -7750,7 +7814,6 @@ class ListAliasesResponse(AbstractModel):
|
|
7750
7814
|
@property
|
7751
7815
|
def TotalCount(self):
|
7752
7816
|
"""别名总数
|
7753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7754
7817
|
:rtype: int
|
7755
7818
|
"""
|
7756
7819
|
return self._TotalCount
|
@@ -8237,10 +8300,7 @@ class ListFunctionsRequest(AbstractModel):
|
|
8237
8300
|
:type Namespace: str
|
8238
8301
|
:param _Description: 函数描述,支持模糊搜索
|
8239
8302
|
:type Description: str
|
8240
|
-
:param _Filters:
|
8241
|
-
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
8242
|
-
|
8243
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
8303
|
+
:param _Filters: `过滤特定属性或者有特定标签的函数。`- 传值方式key-value 进行传值 例如:"Filters": [{ "Name": "Status", "Values": ["CreateFailed","Creating"]}, {"Name": "Type","Values": ["HTTP"]}]上述条件的函数是,函数状态为创建失败或者创建中,且函数类型为 HTTP 函数`如果通过标签进行过滤:`- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。示例值:"Filters": [{"Name":"tag-dmtest","Values":["dmtest"]}]`入参限制:`1.每次请求的Filters的上限为10,Filter.Values的上限为5。2.[VpcId', 'SubnetId', 'ClsTopicId', 'ClsLogsetId', 'Role', 'CfsId', 'CfsMountInsId', 'Eip'] 过滤的Name 为这些属性时, values 只能传一个值3.['Status', 'Runtime', 'Type', 'PublicNetStatus', 'AsyncRunEnable', 'TraceEnable', 'Stamp'] 过滤的Name 为这些属性时 ,values 可以传多个值
|
8244
8304
|
:type Filters: list of Filter
|
8245
8305
|
"""
|
8246
8306
|
self._Order = None
|
@@ -8331,10 +8391,7 @@ class ListFunctionsRequest(AbstractModel):
|
|
8331
8391
|
|
8332
8392
|
@property
|
8333
8393
|
def Filters(self):
|
8334
|
-
"""
|
8335
|
-
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
8336
|
-
|
8337
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
8394
|
+
"""`过滤特定属性或者有特定标签的函数。`- 传值方式key-value 进行传值 例如:"Filters": [{ "Name": "Status", "Values": ["CreateFailed","Creating"]}, {"Name": "Type","Values": ["HTTP"]}]上述条件的函数是,函数状态为创建失败或者创建中,且函数类型为 HTTP 函数`如果通过标签进行过滤:`- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。示例值:"Filters": [{"Name":"tag-dmtest","Values":["dmtest"]}]`入参限制:`1.每次请求的Filters的上限为10,Filter.Values的上限为5。2.[VpcId', 'SubnetId', 'ClsTopicId', 'ClsLogsetId', 'Role', 'CfsId', 'CfsMountInsId', 'Eip'] 过滤的Name 为这些属性时, values 只能传一个值3.['Status', 'Runtime', 'Type', 'PublicNetStatus', 'AsyncRunEnable', 'TraceEnable', 'Stamp'] 过滤的Name 为这些属性时 ,values 可以传多个值
|
8338
8395
|
:rtype: list of Filter
|
8339
8396
|
"""
|
8340
8397
|
return self._Filters
|
@@ -9157,10 +9214,8 @@ class ListVersionByFunctionResponse(AbstractModel):
|
|
9157
9214
|
:param _FunctionVersion: 函数版本。
|
9158
9215
|
:type FunctionVersion: list of str
|
9159
9216
|
:param _Versions: 函数版本列表。
|
9160
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9161
9217
|
:type Versions: list of FunctionVersion
|
9162
9218
|
:param _TotalCount: 函数版本总数。
|
9163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9164
9219
|
:type TotalCount: int
|
9165
9220
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9166
9221
|
:type RequestId: str
|
@@ -9184,7 +9239,6 @@ class ListVersionByFunctionResponse(AbstractModel):
|
|
9184
9239
|
@property
|
9185
9240
|
def Versions(self):
|
9186
9241
|
"""函数版本列表。
|
9187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9188
9242
|
:rtype: list of FunctionVersion
|
9189
9243
|
"""
|
9190
9244
|
return self._Versions
|
@@ -9196,7 +9250,6 @@ class ListVersionByFunctionResponse(AbstractModel):
|
|
9196
9250
|
@property
|
9197
9251
|
def TotalCount(self):
|
9198
9252
|
"""函数版本总数。
|
9199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9200
9253
|
:rtype: int
|
9201
9254
|
"""
|
9202
9255
|
return self._TotalCount
|
@@ -9865,13 +9918,10 @@ class NamespaceUsage(AbstractModel):
|
|
9865
9918
|
:param _FunctionsCount: 命名空间函数个数
|
9866
9919
|
:type FunctionsCount: int
|
9867
9920
|
:param _TotalConcurrencyMem: 命名空间配额总量
|
9868
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9869
9921
|
:type TotalConcurrencyMem: int
|
9870
9922
|
:param _TotalAllocatedConcurrencyMem: 命名空间并发使用量
|
9871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9872
9923
|
:type TotalAllocatedConcurrencyMem: int
|
9873
9924
|
:param _TotalAllocatedProvisionedMem: 命名空间预置使用量
|
9874
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9875
9925
|
:type TotalAllocatedProvisionedMem: int
|
9876
9926
|
"""
|
9877
9927
|
self._Functions = None
|
@@ -9917,7 +9967,6 @@ class NamespaceUsage(AbstractModel):
|
|
9917
9967
|
@property
|
9918
9968
|
def TotalConcurrencyMem(self):
|
9919
9969
|
"""命名空间配额总量
|
9920
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9921
9970
|
:rtype: int
|
9922
9971
|
"""
|
9923
9972
|
return self._TotalConcurrencyMem
|
@@ -9929,7 +9978,6 @@ class NamespaceUsage(AbstractModel):
|
|
9929
9978
|
@property
|
9930
9979
|
def TotalAllocatedConcurrencyMem(self):
|
9931
9980
|
"""命名空间并发使用量
|
9932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9933
9981
|
:rtype: int
|
9934
9982
|
"""
|
9935
9983
|
return self._TotalAllocatedConcurrencyMem
|
@@ -9941,7 +9989,6 @@ class NamespaceUsage(AbstractModel):
|
|
9941
9989
|
@property
|
9942
9990
|
def TotalAllocatedProvisionedMem(self):
|
9943
9991
|
"""命名空间预置使用量
|
9944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9945
9992
|
:rtype: int
|
9946
9993
|
"""
|
9947
9994
|
return self._TotalAllocatedProvisionedMem
|
@@ -9976,13 +10023,10 @@ class PathRewriteRule(AbstractModel):
|
|
9976
10023
|
def __init__(self):
|
9977
10024
|
r"""
|
9978
10025
|
:param _Path: 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
|
9979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9980
10026
|
:type Path: str
|
9981
10027
|
:param _Type: 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
|
9982
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9983
10028
|
:type Type: str
|
9984
10029
|
:param _Rewrite: 替换值:比如/, /$
|
9985
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9986
10030
|
:type Rewrite: str
|
9987
10031
|
"""
|
9988
10032
|
self._Path = None
|
@@ -9992,7 +10036,6 @@ class PathRewriteRule(AbstractModel):
|
|
9992
10036
|
@property
|
9993
10037
|
def Path(self):
|
9994
10038
|
"""需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
|
9995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9996
10039
|
:rtype: str
|
9997
10040
|
"""
|
9998
10041
|
return self._Path
|
@@ -10004,7 +10047,6 @@ class PathRewriteRule(AbstractModel):
|
|
10004
10047
|
@property
|
10005
10048
|
def Type(self):
|
10006
10049
|
"""匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
|
10007
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10008
10050
|
:rtype: str
|
10009
10051
|
"""
|
10010
10052
|
return self._Type
|
@@ -10016,7 +10058,6 @@ class PathRewriteRule(AbstractModel):
|
|
10016
10058
|
@property
|
10017
10059
|
def Rewrite(self):
|
10018
10060
|
"""替换值:比如/, /$
|
10019
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10020
10061
|
:rtype: str
|
10021
10062
|
"""
|
10022
10063
|
return self._Rewrite
|
@@ -11864,13 +11905,10 @@ class TriggerAction(AbstractModel):
|
|
11864
11905
|
def __init__(self):
|
11865
11906
|
r"""
|
11866
11907
|
:param _TriggerName: 定时预置名称
|
11867
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11868
11908
|
:type TriggerName: str
|
11869
11909
|
:param _TriggerProvisionedConcurrencyNum: 定时预置并发数量
|
11870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11871
11910
|
:type TriggerProvisionedConcurrencyNum: int
|
11872
11911
|
:param _TriggerCronConfig: 设置定时触发器的时间配置,cron表达式。Cron 表达式有七个必需字段,按空格分隔。
|
11873
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11874
11912
|
:type TriggerCronConfig: str
|
11875
11913
|
:param _ProvisionedType: 预置类型 Default
|
11876
11914
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -11884,7 +11922,6 @@ class TriggerAction(AbstractModel):
|
|
11884
11922
|
@property
|
11885
11923
|
def TriggerName(self):
|
11886
11924
|
"""定时预置名称
|
11887
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11888
11925
|
:rtype: str
|
11889
11926
|
"""
|
11890
11927
|
return self._TriggerName
|
@@ -11896,7 +11933,6 @@ class TriggerAction(AbstractModel):
|
|
11896
11933
|
@property
|
11897
11934
|
def TriggerProvisionedConcurrencyNum(self):
|
11898
11935
|
"""定时预置并发数量
|
11899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11900
11936
|
:rtype: int
|
11901
11937
|
"""
|
11902
11938
|
return self._TriggerProvisionedConcurrencyNum
|
@@ -11908,7 +11944,6 @@ class TriggerAction(AbstractModel):
|
|
11908
11944
|
@property
|
11909
11945
|
def TriggerCronConfig(self):
|
11910
11946
|
"""设置定时触发器的时间配置,cron表达式。Cron 表达式有七个必需字段,按空格分隔。
|
11911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11912
11947
|
:rtype: str
|
11913
11948
|
"""
|
11914
11949
|
return self._TriggerCronConfig
|
@@ -11975,7 +12010,6 @@ class TriggerCount(AbstractModel):
|
|
11975
12010
|
:param _Vod: Vod触发器数量
|
11976
12011
|
:type Vod: int
|
11977
12012
|
:param _Eb: Eb触发器数量
|
11978
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
11979
12013
|
:type Eb: int
|
11980
12014
|
"""
|
11981
12015
|
self._Cos = None
|
@@ -12115,7 +12149,6 @@ class TriggerCount(AbstractModel):
|
|
12115
12149
|
@property
|
12116
12150
|
def Eb(self):
|
12117
12151
|
"""Eb触发器数量
|
12118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12119
12152
|
:rtype: int
|
12120
12153
|
"""
|
12121
12154
|
return self._Eb
|
@@ -14343,10 +14376,8 @@ class WafConf(AbstractModel):
|
|
14343
14376
|
def __init__(self):
|
14344
14377
|
r"""
|
14345
14378
|
:param _WafOpen: web应用防火墙是否打开, 取值范围:OPEN, CLOSE
|
14346
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14347
14379
|
:type WafOpen: str
|
14348
14380
|
:param _WafInstanceId: web应用防火墙实例ID
|
14349
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14350
14381
|
:type WafInstanceId: str
|
14351
14382
|
"""
|
14352
14383
|
self._WafOpen = None
|
@@ -14355,7 +14386,6 @@ class WafConf(AbstractModel):
|
|
14355
14386
|
@property
|
14356
14387
|
def WafOpen(self):
|
14357
14388
|
"""web应用防火墙是否打开, 取值范围:OPEN, CLOSE
|
14358
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14359
14389
|
:rtype: str
|
14360
14390
|
"""
|
14361
14391
|
return self._WafOpen
|
@@ -14367,7 +14397,6 @@ class WafConf(AbstractModel):
|
|
14367
14397
|
@property
|
14368
14398
|
def WafInstanceId(self):
|
14369
14399
|
"""web应用防火墙实例ID
|
14370
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14371
14400
|
:rtype: str
|
14372
14401
|
"""
|
14373
14402
|
return self._WafInstanceId
|