tencentcloud-sdk-python-scf 3.0.1288__py2.py3-none-any.whl → 3.0.1304__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-scf might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/scf/v20180416/models.py +165 -96
- tencentcloud/scf/v20180416/scf_client.py +23 -0
- {tencentcloud_sdk_python_scf-3.0.1288.dist-info → tencentcloud_sdk_python_scf-3.0.1304.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_scf-3.0.1304.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_scf-3.0.1288.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_scf-3.0.1288.dist-info → tencentcloud_sdk_python_scf-3.0.1304.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_scf-3.0.1288.dist-info → tencentcloud_sdk_python_scf-3.0.1304.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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
|
|
@@ -1392,7 +1382,27 @@ class CreateFunctionRequest(AbstractModel):
|
|
|
1392
1382
|
:type Timeout: int
|
|
1393
1383
|
:param _Environment: 函数的环境变量
|
|
1394
1384
|
:type Environment: :class:`tencentcloud.scf.v20180416.models.Environment`
|
|
1395
|
-
:param _Runtime:
|
|
1385
|
+
:param _Runtime: 函数运行环境,默认Python2.7
|
|
1386
|
+
目前支持的运行环境:
|
|
1387
|
+
- Python2.7
|
|
1388
|
+
- Python3.6
|
|
1389
|
+
- Python3.7
|
|
1390
|
+
- Python3.9
|
|
1391
|
+
- Python3.10
|
|
1392
|
+
- Nodejs6.10
|
|
1393
|
+
- Nodejs8.9
|
|
1394
|
+
- Nodejs10.15
|
|
1395
|
+
- Nodejs12.16
|
|
1396
|
+
- Nodejs14.18
|
|
1397
|
+
- Nodejs16.13
|
|
1398
|
+
- Nodejs18.15
|
|
1399
|
+
- Php5.6
|
|
1400
|
+
- Php7(7.2版本)
|
|
1401
|
+
- Php7.4
|
|
1402
|
+
- Php8.0
|
|
1403
|
+
- Go1
|
|
1404
|
+
- Java8
|
|
1405
|
+
- CustomRuntime
|
|
1396
1406
|
:type Runtime: str
|
|
1397
1407
|
:param _VpcConfig: 函数的私有网络配置
|
|
1398
1408
|
:type VpcConfig: :class:`tencentcloud.scf.v20180416.models.VpcConfig`
|
|
@@ -1552,7 +1562,27 @@ class CreateFunctionRequest(AbstractModel):
|
|
|
1552
1562
|
|
|
1553
1563
|
@property
|
|
1554
1564
|
def Runtime(self):
|
|
1555
|
-
"""
|
|
1565
|
+
"""函数运行环境,默认Python2.7
|
|
1566
|
+
目前支持的运行环境:
|
|
1567
|
+
- Python2.7
|
|
1568
|
+
- Python3.6
|
|
1569
|
+
- Python3.7
|
|
1570
|
+
- Python3.9
|
|
1571
|
+
- Python3.10
|
|
1572
|
+
- Nodejs6.10
|
|
1573
|
+
- Nodejs8.9
|
|
1574
|
+
- Nodejs10.15
|
|
1575
|
+
- Nodejs12.16
|
|
1576
|
+
- Nodejs14.18
|
|
1577
|
+
- Nodejs16.13
|
|
1578
|
+
- Nodejs18.15
|
|
1579
|
+
- Php5.6
|
|
1580
|
+
- Php7(7.2版本)
|
|
1581
|
+
- Php7.4
|
|
1582
|
+
- Php8.0
|
|
1583
|
+
- Go1
|
|
1584
|
+
- Java8
|
|
1585
|
+
- CustomRuntime
|
|
1556
1586
|
:rtype: str
|
|
1557
1587
|
"""
|
|
1558
1588
|
return self._Runtime
|
|
@@ -2528,6 +2558,115 @@ class DeleteFunctionResponse(AbstractModel):
|
|
|
2528
2558
|
self._RequestId = params.get("RequestId")
|
|
2529
2559
|
|
|
2530
2560
|
|
|
2561
|
+
class DeleteFunctionVersionRequest(AbstractModel):
|
|
2562
|
+
"""DeleteFunctionVersion请求参数结构体
|
|
2563
|
+
|
|
2564
|
+
"""
|
|
2565
|
+
|
|
2566
|
+
def __init__(self):
|
|
2567
|
+
r"""
|
|
2568
|
+
:param _FunctionName: 要删除的函数名称
|
|
2569
|
+
:type FunctionName: str
|
|
2570
|
+
:param _Qualifier: 填写需要删除的版本号
|
|
2571
|
+
:type Qualifier: str
|
|
2572
|
+
:param _Namespace: 函数所属命名空间
|
|
2573
|
+
:type Namespace: str
|
|
2574
|
+
:param _ForceDelete: 强制删除标记,传true会直接删除容器,并强制关闭还在执行中的函数
|
|
2575
|
+
:type ForceDelete: str
|
|
2576
|
+
"""
|
|
2577
|
+
self._FunctionName = None
|
|
2578
|
+
self._Qualifier = None
|
|
2579
|
+
self._Namespace = None
|
|
2580
|
+
self._ForceDelete = None
|
|
2581
|
+
|
|
2582
|
+
@property
|
|
2583
|
+
def FunctionName(self):
|
|
2584
|
+
"""要删除的函数名称
|
|
2585
|
+
:rtype: str
|
|
2586
|
+
"""
|
|
2587
|
+
return self._FunctionName
|
|
2588
|
+
|
|
2589
|
+
@FunctionName.setter
|
|
2590
|
+
def FunctionName(self, FunctionName):
|
|
2591
|
+
self._FunctionName = FunctionName
|
|
2592
|
+
|
|
2593
|
+
@property
|
|
2594
|
+
def Qualifier(self):
|
|
2595
|
+
"""填写需要删除的版本号
|
|
2596
|
+
:rtype: str
|
|
2597
|
+
"""
|
|
2598
|
+
return self._Qualifier
|
|
2599
|
+
|
|
2600
|
+
@Qualifier.setter
|
|
2601
|
+
def Qualifier(self, Qualifier):
|
|
2602
|
+
self._Qualifier = Qualifier
|
|
2603
|
+
|
|
2604
|
+
@property
|
|
2605
|
+
def Namespace(self):
|
|
2606
|
+
"""函数所属命名空间
|
|
2607
|
+
:rtype: str
|
|
2608
|
+
"""
|
|
2609
|
+
return self._Namespace
|
|
2610
|
+
|
|
2611
|
+
@Namespace.setter
|
|
2612
|
+
def Namespace(self, Namespace):
|
|
2613
|
+
self._Namespace = Namespace
|
|
2614
|
+
|
|
2615
|
+
@property
|
|
2616
|
+
def ForceDelete(self):
|
|
2617
|
+
"""强制删除标记,传true会直接删除容器,并强制关闭还在执行中的函数
|
|
2618
|
+
:rtype: str
|
|
2619
|
+
"""
|
|
2620
|
+
return self._ForceDelete
|
|
2621
|
+
|
|
2622
|
+
@ForceDelete.setter
|
|
2623
|
+
def ForceDelete(self, ForceDelete):
|
|
2624
|
+
self._ForceDelete = ForceDelete
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
def _deserialize(self, params):
|
|
2628
|
+
self._FunctionName = params.get("FunctionName")
|
|
2629
|
+
self._Qualifier = params.get("Qualifier")
|
|
2630
|
+
self._Namespace = params.get("Namespace")
|
|
2631
|
+
self._ForceDelete = params.get("ForceDelete")
|
|
2632
|
+
memeber_set = set(params.keys())
|
|
2633
|
+
for name, value in vars(self).items():
|
|
2634
|
+
property_name = name[1:]
|
|
2635
|
+
if property_name in memeber_set:
|
|
2636
|
+
memeber_set.remove(property_name)
|
|
2637
|
+
if len(memeber_set) > 0:
|
|
2638
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
class DeleteFunctionVersionResponse(AbstractModel):
|
|
2643
|
+
"""DeleteFunctionVersion返回参数结构体
|
|
2644
|
+
|
|
2645
|
+
"""
|
|
2646
|
+
|
|
2647
|
+
def __init__(self):
|
|
2648
|
+
r"""
|
|
2649
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2650
|
+
:type RequestId: str
|
|
2651
|
+
"""
|
|
2652
|
+
self._RequestId = None
|
|
2653
|
+
|
|
2654
|
+
@property
|
|
2655
|
+
def RequestId(self):
|
|
2656
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2657
|
+
:rtype: str
|
|
2658
|
+
"""
|
|
2659
|
+
return self._RequestId
|
|
2660
|
+
|
|
2661
|
+
@RequestId.setter
|
|
2662
|
+
def RequestId(self, RequestId):
|
|
2663
|
+
self._RequestId = RequestId
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
def _deserialize(self, params):
|
|
2667
|
+
self._RequestId = params.get("RequestId")
|
|
2668
|
+
|
|
2669
|
+
|
|
2531
2670
|
class DeleteLayerVersionRequest(AbstractModel):
|
|
2532
2671
|
"""DeleteLayerVersion请求参数结构体
|
|
2533
2672
|
|
|
@@ -2995,13 +3134,10 @@ class DomainInfo(AbstractModel):
|
|
|
2995
3134
|
:param _Protocol: 协议,取值范围:HTTP, HTTPS, HTTP&HTTPS
|
|
2996
3135
|
:type Protocol: str
|
|
2997
3136
|
:param _EndpointsConfig: 路由配置信息
|
|
2998
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2999
3137
|
:type EndpointsConfig: list of EndpointsConf
|
|
3000
3138
|
:param _CertConfig: 证书配置信息,HTTPS协议必传路由配置
|
|
3001
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3002
3139
|
:type CertConfig: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
|
3003
3140
|
:param _WafConfig: web 应用防火墙配置
|
|
3004
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3005
3141
|
:type WafConfig: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
|
3006
3142
|
"""
|
|
3007
3143
|
self._Domain = None
|
|
@@ -3035,7 +3171,6 @@ class DomainInfo(AbstractModel):
|
|
|
3035
3171
|
@property
|
|
3036
3172
|
def EndpointsConfig(self):
|
|
3037
3173
|
"""路由配置信息
|
|
3038
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3039
3174
|
:rtype: list of EndpointsConf
|
|
3040
3175
|
"""
|
|
3041
3176
|
return self._EndpointsConfig
|
|
@@ -3047,7 +3182,6 @@ class DomainInfo(AbstractModel):
|
|
|
3047
3182
|
@property
|
|
3048
3183
|
def CertConfig(self):
|
|
3049
3184
|
"""证书配置信息,HTTPS协议必传路由配置
|
|
3050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3051
3185
|
:rtype: :class:`tencentcloud.scf.v20180416.models.CertConf`
|
|
3052
3186
|
"""
|
|
3053
3187
|
return self._CertConfig
|
|
@@ -3059,7 +3193,6 @@ class DomainInfo(AbstractModel):
|
|
|
3059
3193
|
@property
|
|
3060
3194
|
def WafConfig(self):
|
|
3061
3195
|
"""web 应用防火墙配置
|
|
3062
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3063
3196
|
:rtype: :class:`tencentcloud.scf.v20180416.models.WafConf`
|
|
3064
3197
|
"""
|
|
3065
3198
|
return self._WafConfig
|
|
@@ -3140,7 +3273,6 @@ class EipConfigOut(AbstractModel):
|
|
|
3140
3273
|
:param _EipStatus: 是否是固定IP,["ENABLE","DISABLE"]
|
|
3141
3274
|
:type EipStatus: str
|
|
3142
3275
|
:param _EipAddress: IP列表
|
|
3143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3144
3276
|
:type EipAddress: list of str
|
|
3145
3277
|
"""
|
|
3146
3278
|
self._EipStatus = None
|
|
@@ -3160,7 +3292,6 @@ class EipConfigOut(AbstractModel):
|
|
|
3160
3292
|
@property
|
|
3161
3293
|
def EipAddress(self):
|
|
3162
3294
|
"""IP列表
|
|
3163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3164
3295
|
:rtype: list of str
|
|
3165
3296
|
"""
|
|
3166
3297
|
return self._EipAddress
|
|
@@ -3242,16 +3373,12 @@ class EndpointsConf(AbstractModel):
|
|
|
3242
3373
|
def __init__(self):
|
|
3243
3374
|
r"""
|
|
3244
3375
|
:param _Namespace: 函数命名空间
|
|
3245
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3246
3376
|
:type Namespace: str
|
|
3247
3377
|
:param _FunctionName: 函数名
|
|
3248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3249
3378
|
:type FunctionName: str
|
|
3250
3379
|
:param _Qualifier: 函数别名或版本
|
|
3251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3252
3380
|
:type Qualifier: str
|
|
3253
3381
|
:param _PathMatch: 路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*"
|
|
3254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3255
3382
|
:type PathMatch: str
|
|
3256
3383
|
:param _PathRewrite: 路径重写策略
|
|
3257
3384
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3266,7 +3393,6 @@ class EndpointsConf(AbstractModel):
|
|
|
3266
3393
|
@property
|
|
3267
3394
|
def Namespace(self):
|
|
3268
3395
|
"""函数命名空间
|
|
3269
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3270
3396
|
:rtype: str
|
|
3271
3397
|
"""
|
|
3272
3398
|
return self._Namespace
|
|
@@ -3278,7 +3404,6 @@ class EndpointsConf(AbstractModel):
|
|
|
3278
3404
|
@property
|
|
3279
3405
|
def FunctionName(self):
|
|
3280
3406
|
"""函数名
|
|
3281
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3282
3407
|
:rtype: str
|
|
3283
3408
|
"""
|
|
3284
3409
|
return self._FunctionName
|
|
@@ -3290,7 +3415,6 @@ class EndpointsConf(AbstractModel):
|
|
|
3290
3415
|
@property
|
|
3291
3416
|
def Qualifier(self):
|
|
3292
3417
|
"""函数别名或版本
|
|
3293
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3294
3418
|
:rtype: str
|
|
3295
3419
|
"""
|
|
3296
3420
|
return self._Qualifier
|
|
@@ -3302,7 +3426,6 @@ class EndpointsConf(AbstractModel):
|
|
|
3302
3426
|
@property
|
|
3303
3427
|
def PathMatch(self):
|
|
3304
3428
|
"""路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*"
|
|
3305
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3306
3429
|
:rtype: str
|
|
3307
3430
|
"""
|
|
3308
3431
|
return self._PathMatch
|
|
@@ -3882,6 +4005,8 @@ class FunctionLog(AbstractModel):
|
|
|
3882
4005
|
|
|
3883
4006
|
@property
|
|
3884
4007
|
def Level(self):
|
|
4008
|
+
warnings.warn("parameter `Level` is deprecated", DeprecationWarning)
|
|
4009
|
+
|
|
3885
4010
|
"""日志等级
|
|
3886
4011
|
:rtype: str
|
|
3887
4012
|
"""
|
|
@@ -3889,10 +4014,14 @@ class FunctionLog(AbstractModel):
|
|
|
3889
4014
|
|
|
3890
4015
|
@Level.setter
|
|
3891
4016
|
def Level(self, Level):
|
|
4017
|
+
warnings.warn("parameter `Level` is deprecated", DeprecationWarning)
|
|
4018
|
+
|
|
3892
4019
|
self._Level = Level
|
|
3893
4020
|
|
|
3894
4021
|
@property
|
|
3895
4022
|
def Source(self):
|
|
4023
|
+
warnings.warn("parameter `Source` is deprecated", DeprecationWarning)
|
|
4024
|
+
|
|
3896
4025
|
"""日志来源
|
|
3897
4026
|
:rtype: str
|
|
3898
4027
|
"""
|
|
@@ -3900,6 +4029,8 @@ class FunctionLog(AbstractModel):
|
|
|
3900
4029
|
|
|
3901
4030
|
@Source.setter
|
|
3902
4031
|
def Source(self, Source):
|
|
4032
|
+
warnings.warn("parameter `Source` is deprecated", DeprecationWarning)
|
|
4033
|
+
|
|
3903
4034
|
self._Source = Source
|
|
3904
4035
|
|
|
3905
4036
|
@property
|
|
@@ -4190,13 +4321,10 @@ class GetAliasResponse(AbstractModel):
|
|
|
4190
4321
|
:param _RoutingConfig: 别名的路由信息
|
|
4191
4322
|
:type RoutingConfig: :class:`tencentcloud.scf.v20180416.models.RoutingConfig`
|
|
4192
4323
|
:param _Description: 别名的描述
|
|
4193
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4194
4324
|
:type Description: str
|
|
4195
4325
|
:param _AddTime: 创建时间
|
|
4196
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4197
4326
|
:type AddTime: str
|
|
4198
4327
|
:param _ModTime: 更新时间
|
|
4199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4200
4328
|
:type ModTime: str
|
|
4201
4329
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4202
4330
|
:type RequestId: str
|
|
@@ -4245,7 +4373,6 @@ class GetAliasResponse(AbstractModel):
|
|
|
4245
4373
|
@property
|
|
4246
4374
|
def Description(self):
|
|
4247
4375
|
"""别名的描述
|
|
4248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4249
4376
|
:rtype: str
|
|
4250
4377
|
"""
|
|
4251
4378
|
return self._Description
|
|
@@ -4257,7 +4384,6 @@ class GetAliasResponse(AbstractModel):
|
|
|
4257
4384
|
@property
|
|
4258
4385
|
def AddTime(self):
|
|
4259
4386
|
"""创建时间
|
|
4260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4261
4387
|
:rtype: str
|
|
4262
4388
|
"""
|
|
4263
4389
|
return self._AddTime
|
|
@@ -4269,7 +4395,6 @@ class GetAliasResponse(AbstractModel):
|
|
|
4269
4395
|
@property
|
|
4270
4396
|
def ModTime(self):
|
|
4271
4397
|
"""更新时间
|
|
4272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4273
4398
|
:rtype: str
|
|
4274
4399
|
"""
|
|
4275
4400
|
return self._ModTime
|
|
@@ -5221,24 +5346,18 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5221
5346
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5222
5347
|
:type OnsEnable: str
|
|
5223
5348
|
:param _CfsConfig: 文件系统配置参数,用于云函数挂载文件系统
|
|
5224
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5225
5349
|
:type CfsConfig: :class:`tencentcloud.scf.v20180416.models.CfsConfig`
|
|
5226
5350
|
: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
5351
|
:type AvailableStatus: str
|
|
5229
5352
|
:param _Qualifier: 函数版本
|
|
5230
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5231
5353
|
:type Qualifier: str
|
|
5232
5354
|
:param _InitTimeout: 函数初始化超时时间
|
|
5233
5355
|
:type InitTimeout: int
|
|
5234
5356
|
:param _StatusReasons: 函数状态失败原因
|
|
5235
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5236
5357
|
:type StatusReasons: list of StatusReason
|
|
5237
5358
|
:param _AsyncRunEnable: 是否开启异步属性
|
|
5238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5239
5359
|
:type AsyncRunEnable: str
|
|
5240
5360
|
:param _TraceEnable: 是否开启事件追踪
|
|
5241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5242
5361
|
:type TraceEnable: str
|
|
5243
5362
|
:param _ImageConfig: 镜像配置
|
|
5244
5363
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -5250,7 +5369,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5250
5369
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5251
5370
|
:type ProtocolParams: :class:`tencentcloud.scf.v20180416.models.ProtocolParams`
|
|
5252
5371
|
:param _DnsCache: 是否开启DNS缓存
|
|
5253
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5254
5372
|
:type DnsCache: str
|
|
5255
5373
|
:param _IntranetConfig: 内网访问配置
|
|
5256
5374
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -5698,7 +5816,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5698
5816
|
@property
|
|
5699
5817
|
def CfsConfig(self):
|
|
5700
5818
|
"""文件系统配置参数,用于云函数挂载文件系统
|
|
5701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5702
5819
|
:rtype: :class:`tencentcloud.scf.v20180416.models.CfsConfig`
|
|
5703
5820
|
"""
|
|
5704
5821
|
return self._CfsConfig
|
|
@@ -5710,7 +5827,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5710
5827
|
@property
|
|
5711
5828
|
def AvailableStatus(self):
|
|
5712
5829
|
"""函数的计费状态,状态值[参考此处](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
5830
|
:rtype: str
|
|
5715
5831
|
"""
|
|
5716
5832
|
return self._AvailableStatus
|
|
@@ -5722,7 +5838,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5722
5838
|
@property
|
|
5723
5839
|
def Qualifier(self):
|
|
5724
5840
|
"""函数版本
|
|
5725
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5726
5841
|
:rtype: str
|
|
5727
5842
|
"""
|
|
5728
5843
|
return self._Qualifier
|
|
@@ -5745,7 +5860,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5745
5860
|
@property
|
|
5746
5861
|
def StatusReasons(self):
|
|
5747
5862
|
"""函数状态失败原因
|
|
5748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5749
5863
|
:rtype: list of StatusReason
|
|
5750
5864
|
"""
|
|
5751
5865
|
return self._StatusReasons
|
|
@@ -5757,7 +5871,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5757
5871
|
@property
|
|
5758
5872
|
def AsyncRunEnable(self):
|
|
5759
5873
|
"""是否开启异步属性
|
|
5760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5761
5874
|
:rtype: str
|
|
5762
5875
|
"""
|
|
5763
5876
|
return self._AsyncRunEnable
|
|
@@ -5769,7 +5882,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5769
5882
|
@property
|
|
5770
5883
|
def TraceEnable(self):
|
|
5771
5884
|
"""是否开启事件追踪
|
|
5772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5773
5885
|
:rtype: str
|
|
5774
5886
|
"""
|
|
5775
5887
|
return self._TraceEnable
|
|
@@ -5817,7 +5929,6 @@ class GetFunctionResponse(AbstractModel):
|
|
|
5817
5929
|
@property
|
|
5818
5930
|
def DnsCache(self):
|
|
5819
5931
|
"""是否开启DNS缓存
|
|
5820
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5821
5932
|
:rtype: str
|
|
5822
5933
|
"""
|
|
5823
5934
|
return self._DnsCache
|
|
@@ -7351,12 +7462,10 @@ class LayerVersionInfo(AbstractModel):
|
|
|
7351
7462
|
def __init__(self):
|
|
7352
7463
|
r"""
|
|
7353
7464
|
:param _CompatibleRuntimes: 版本适用的运行时
|
|
7354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7355
7465
|
:type CompatibleRuntimes: list of str
|
|
7356
7466
|
:param _AddTime: 创建时间
|
|
7357
7467
|
:type AddTime: str
|
|
7358
7468
|
:param _Description: 版本描述
|
|
7359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7360
7469
|
:type Description: str
|
|
7361
7470
|
:param _LicenseInfo: 许可证信息
|
|
7362
7471
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -7368,7 +7477,6 @@ class LayerVersionInfo(AbstractModel):
|
|
|
7368
7477
|
: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
7478
|
:type Status: str
|
|
7370
7479
|
:param _Stamp: Stamp
|
|
7371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7372
7480
|
:type Stamp: str
|
|
7373
7481
|
:param _Tags: 返回层绑定的标签信息
|
|
7374
7482
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -7387,7 +7495,6 @@ class LayerVersionInfo(AbstractModel):
|
|
|
7387
7495
|
@property
|
|
7388
7496
|
def CompatibleRuntimes(self):
|
|
7389
7497
|
"""版本适用的运行时
|
|
7390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7391
7498
|
:rtype: list of str
|
|
7392
7499
|
"""
|
|
7393
7500
|
return self._CompatibleRuntimes
|
|
@@ -7410,7 +7517,6 @@ class LayerVersionInfo(AbstractModel):
|
|
|
7410
7517
|
@property
|
|
7411
7518
|
def Description(self):
|
|
7412
7519
|
"""版本描述
|
|
7413
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7414
7520
|
:rtype: str
|
|
7415
7521
|
"""
|
|
7416
7522
|
return self._Description
|
|
@@ -7467,7 +7573,6 @@ class LayerVersionInfo(AbstractModel):
|
|
|
7467
7573
|
@property
|
|
7468
7574
|
def Stamp(self):
|
|
7469
7575
|
"""Stamp
|
|
7470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7471
7576
|
:rtype: str
|
|
7472
7577
|
"""
|
|
7473
7578
|
return self._Stamp
|
|
@@ -7727,7 +7832,6 @@ class ListAliasesResponse(AbstractModel):
|
|
|
7727
7832
|
:param _Aliases: 别名列表
|
|
7728
7833
|
:type Aliases: list of Alias
|
|
7729
7834
|
:param _TotalCount: 别名总数
|
|
7730
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7731
7835
|
:type TotalCount: int
|
|
7732
7836
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7733
7837
|
:type RequestId: str
|
|
@@ -7750,7 +7854,6 @@ class ListAliasesResponse(AbstractModel):
|
|
|
7750
7854
|
@property
|
|
7751
7855
|
def TotalCount(self):
|
|
7752
7856
|
"""别名总数
|
|
7753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7754
7857
|
:rtype: int
|
|
7755
7858
|
"""
|
|
7756
7859
|
return self._TotalCount
|
|
@@ -8237,10 +8340,7 @@ class ListFunctionsRequest(AbstractModel):
|
|
|
8237
8340
|
:type Namespace: str
|
|
8238
8341
|
:param _Description: 函数描述,支持模糊搜索
|
|
8239
8342
|
:type Description: str
|
|
8240
|
-
:param _Filters:
|
|
8241
|
-
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
|
8242
|
-
|
|
8243
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
8343
|
+
: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
8344
|
:type Filters: list of Filter
|
|
8245
8345
|
"""
|
|
8246
8346
|
self._Order = None
|
|
@@ -8331,10 +8431,7 @@ class ListFunctionsRequest(AbstractModel):
|
|
|
8331
8431
|
|
|
8332
8432
|
@property
|
|
8333
8433
|
def Filters(self):
|
|
8334
|
-
"""
|
|
8335
|
-
- tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
|
8336
|
-
|
|
8337
|
-
每次请求的Filters的上限为10,Filter.Values的上限为5。
|
|
8434
|
+
"""`过滤特定属性或者有特定标签的函数。`- 传值方式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
8435
|
:rtype: list of Filter
|
|
8339
8436
|
"""
|
|
8340
8437
|
return self._Filters
|
|
@@ -9157,10 +9254,8 @@ class ListVersionByFunctionResponse(AbstractModel):
|
|
|
9157
9254
|
:param _FunctionVersion: 函数版本。
|
|
9158
9255
|
:type FunctionVersion: list of str
|
|
9159
9256
|
:param _Versions: 函数版本列表。
|
|
9160
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9161
9257
|
:type Versions: list of FunctionVersion
|
|
9162
9258
|
:param _TotalCount: 函数版本总数。
|
|
9163
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9164
9259
|
:type TotalCount: int
|
|
9165
9260
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9166
9261
|
:type RequestId: str
|
|
@@ -9184,7 +9279,6 @@ class ListVersionByFunctionResponse(AbstractModel):
|
|
|
9184
9279
|
@property
|
|
9185
9280
|
def Versions(self):
|
|
9186
9281
|
"""函数版本列表。
|
|
9187
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9188
9282
|
:rtype: list of FunctionVersion
|
|
9189
9283
|
"""
|
|
9190
9284
|
return self._Versions
|
|
@@ -9196,7 +9290,6 @@ class ListVersionByFunctionResponse(AbstractModel):
|
|
|
9196
9290
|
@property
|
|
9197
9291
|
def TotalCount(self):
|
|
9198
9292
|
"""函数版本总数。
|
|
9199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9200
9293
|
:rtype: int
|
|
9201
9294
|
"""
|
|
9202
9295
|
return self._TotalCount
|
|
@@ -9865,13 +9958,10 @@ class NamespaceUsage(AbstractModel):
|
|
|
9865
9958
|
:param _FunctionsCount: 命名空间函数个数
|
|
9866
9959
|
:type FunctionsCount: int
|
|
9867
9960
|
:param _TotalConcurrencyMem: 命名空间配额总量
|
|
9868
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9869
9961
|
:type TotalConcurrencyMem: int
|
|
9870
9962
|
:param _TotalAllocatedConcurrencyMem: 命名空间并发使用量
|
|
9871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9872
9963
|
:type TotalAllocatedConcurrencyMem: int
|
|
9873
9964
|
:param _TotalAllocatedProvisionedMem: 命名空间预置使用量
|
|
9874
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9875
9965
|
:type TotalAllocatedProvisionedMem: int
|
|
9876
9966
|
"""
|
|
9877
9967
|
self._Functions = None
|
|
@@ -9917,7 +10007,6 @@ class NamespaceUsage(AbstractModel):
|
|
|
9917
10007
|
@property
|
|
9918
10008
|
def TotalConcurrencyMem(self):
|
|
9919
10009
|
"""命名空间配额总量
|
|
9920
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9921
10010
|
:rtype: int
|
|
9922
10011
|
"""
|
|
9923
10012
|
return self._TotalConcurrencyMem
|
|
@@ -9929,7 +10018,6 @@ class NamespaceUsage(AbstractModel):
|
|
|
9929
10018
|
@property
|
|
9930
10019
|
def TotalAllocatedConcurrencyMem(self):
|
|
9931
10020
|
"""命名空间并发使用量
|
|
9932
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9933
10021
|
:rtype: int
|
|
9934
10022
|
"""
|
|
9935
10023
|
return self._TotalAllocatedConcurrencyMem
|
|
@@ -9941,7 +10029,6 @@ class NamespaceUsage(AbstractModel):
|
|
|
9941
10029
|
@property
|
|
9942
10030
|
def TotalAllocatedProvisionedMem(self):
|
|
9943
10031
|
"""命名空间预置使用量
|
|
9944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9945
10032
|
:rtype: int
|
|
9946
10033
|
"""
|
|
9947
10034
|
return self._TotalAllocatedProvisionedMem
|
|
@@ -9976,13 +10063,10 @@ class PathRewriteRule(AbstractModel):
|
|
|
9976
10063
|
def __init__(self):
|
|
9977
10064
|
r"""
|
|
9978
10065
|
:param _Path: 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
|
|
9979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9980
10066
|
:type Path: str
|
|
9981
10067
|
:param _Type: 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
|
|
9982
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9983
10068
|
:type Type: str
|
|
9984
10069
|
:param _Rewrite: 替换值:比如/, /$
|
|
9985
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9986
10070
|
:type Rewrite: str
|
|
9987
10071
|
"""
|
|
9988
10072
|
self._Path = None
|
|
@@ -9992,7 +10076,6 @@ class PathRewriteRule(AbstractModel):
|
|
|
9992
10076
|
@property
|
|
9993
10077
|
def Path(self):
|
|
9994
10078
|
"""需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
|
|
9995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9996
10079
|
:rtype: str
|
|
9997
10080
|
"""
|
|
9998
10081
|
return self._Path
|
|
@@ -10004,7 +10087,6 @@ class PathRewriteRule(AbstractModel):
|
|
|
10004
10087
|
@property
|
|
10005
10088
|
def Type(self):
|
|
10006
10089
|
"""匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
|
|
10007
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10008
10090
|
:rtype: str
|
|
10009
10091
|
"""
|
|
10010
10092
|
return self._Type
|
|
@@ -10016,7 +10098,6 @@ class PathRewriteRule(AbstractModel):
|
|
|
10016
10098
|
@property
|
|
10017
10099
|
def Rewrite(self):
|
|
10018
10100
|
"""替换值:比如/, /$
|
|
10019
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10020
10101
|
:rtype: str
|
|
10021
10102
|
"""
|
|
10022
10103
|
return self._Rewrite
|
|
@@ -11864,13 +11945,10 @@ class TriggerAction(AbstractModel):
|
|
|
11864
11945
|
def __init__(self):
|
|
11865
11946
|
r"""
|
|
11866
11947
|
:param _TriggerName: 定时预置名称
|
|
11867
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11868
11948
|
:type TriggerName: str
|
|
11869
11949
|
:param _TriggerProvisionedConcurrencyNum: 定时预置并发数量
|
|
11870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11871
11950
|
:type TriggerProvisionedConcurrencyNum: int
|
|
11872
11951
|
:param _TriggerCronConfig: 设置定时触发器的时间配置,cron表达式。Cron 表达式有七个必需字段,按空格分隔。
|
|
11873
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11874
11952
|
:type TriggerCronConfig: str
|
|
11875
11953
|
:param _ProvisionedType: 预置类型 Default
|
|
11876
11954
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -11884,7 +11962,6 @@ class TriggerAction(AbstractModel):
|
|
|
11884
11962
|
@property
|
|
11885
11963
|
def TriggerName(self):
|
|
11886
11964
|
"""定时预置名称
|
|
11887
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11888
11965
|
:rtype: str
|
|
11889
11966
|
"""
|
|
11890
11967
|
return self._TriggerName
|
|
@@ -11896,7 +11973,6 @@ class TriggerAction(AbstractModel):
|
|
|
11896
11973
|
@property
|
|
11897
11974
|
def TriggerProvisionedConcurrencyNum(self):
|
|
11898
11975
|
"""定时预置并发数量
|
|
11899
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11900
11976
|
:rtype: int
|
|
11901
11977
|
"""
|
|
11902
11978
|
return self._TriggerProvisionedConcurrencyNum
|
|
@@ -11908,7 +11984,6 @@ class TriggerAction(AbstractModel):
|
|
|
11908
11984
|
@property
|
|
11909
11985
|
def TriggerCronConfig(self):
|
|
11910
11986
|
"""设置定时触发器的时间配置,cron表达式。Cron 表达式有七个必需字段,按空格分隔。
|
|
11911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11912
11987
|
:rtype: str
|
|
11913
11988
|
"""
|
|
11914
11989
|
return self._TriggerCronConfig
|
|
@@ -11975,7 +12050,6 @@ class TriggerCount(AbstractModel):
|
|
|
11975
12050
|
:param _Vod: Vod触发器数量
|
|
11976
12051
|
:type Vod: int
|
|
11977
12052
|
:param _Eb: Eb触发器数量
|
|
11978
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
11979
12053
|
:type Eb: int
|
|
11980
12054
|
"""
|
|
11981
12055
|
self._Cos = None
|
|
@@ -12115,7 +12189,6 @@ class TriggerCount(AbstractModel):
|
|
|
12115
12189
|
@property
|
|
12116
12190
|
def Eb(self):
|
|
12117
12191
|
"""Eb触发器数量
|
|
12118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12119
12192
|
:rtype: int
|
|
12120
12193
|
"""
|
|
12121
12194
|
return self._Eb
|
|
@@ -12900,7 +12973,7 @@ class UpdateFunctionConfigurationRequest(AbstractModel):
|
|
|
12900
12973
|
:type MemorySize: int
|
|
12901
12974
|
:param _Timeout: 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
|
|
12902
12975
|
:type Timeout: int
|
|
12903
|
-
:param _Runtime:
|
|
12976
|
+
:param _Runtime: 函数运行环境,创建时指定,目前不支持修改。
|
|
12904
12977
|
:type Runtime: str
|
|
12905
12978
|
:param _Environment: 函数的环境变量
|
|
12906
12979
|
:type Environment: :class:`tencentcloud.scf.v20180416.models.Environment`
|
|
@@ -13013,7 +13086,7 @@ class UpdateFunctionConfigurationRequest(AbstractModel):
|
|
|
13013
13086
|
|
|
13014
13087
|
@property
|
|
13015
13088
|
def Runtime(self):
|
|
13016
|
-
"""
|
|
13089
|
+
"""函数运行环境,创建时指定,目前不支持修改。
|
|
13017
13090
|
:rtype: str
|
|
13018
13091
|
"""
|
|
13019
13092
|
return self._Runtime
|
|
@@ -14343,10 +14416,8 @@ class WafConf(AbstractModel):
|
|
|
14343
14416
|
def __init__(self):
|
|
14344
14417
|
r"""
|
|
14345
14418
|
:param _WafOpen: web应用防火墙是否打开, 取值范围:OPEN, CLOSE
|
|
14346
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
14347
14419
|
:type WafOpen: str
|
|
14348
14420
|
:param _WafInstanceId: web应用防火墙实例ID
|
|
14349
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
14350
14421
|
:type WafInstanceId: str
|
|
14351
14422
|
"""
|
|
14352
14423
|
self._WafOpen = None
|
|
@@ -14355,7 +14426,6 @@ class WafConf(AbstractModel):
|
|
|
14355
14426
|
@property
|
|
14356
14427
|
def WafOpen(self):
|
|
14357
14428
|
"""web应用防火墙是否打开, 取值范围:OPEN, CLOSE
|
|
14358
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
14359
14429
|
:rtype: str
|
|
14360
14430
|
"""
|
|
14361
14431
|
return self._WafOpen
|
|
@@ -14367,7 +14437,6 @@ class WafConf(AbstractModel):
|
|
|
14367
14437
|
@property
|
|
14368
14438
|
def WafInstanceId(self):
|
|
14369
14439
|
"""web应用防火墙实例ID
|
|
14370
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
14371
14440
|
:rtype: str
|
|
14372
14441
|
"""
|
|
14373
14442
|
return self._WafInstanceId
|
|
@@ -240,6 +240,29 @@ class ScfClient(AbstractClient):
|
|
|
240
240
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
241
241
|
|
|
242
242
|
|
|
243
|
+
def DeleteFunctionVersion(self, request):
|
|
244
|
+
"""该接口根据传入参数删除函数的指定版本。
|
|
245
|
+
|
|
246
|
+
:param request: Request instance for DeleteFunctionVersion.
|
|
247
|
+
:type request: :class:`tencentcloud.scf.v20180416.models.DeleteFunctionVersionRequest`
|
|
248
|
+
:rtype: :class:`tencentcloud.scf.v20180416.models.DeleteFunctionVersionResponse`
|
|
249
|
+
|
|
250
|
+
"""
|
|
251
|
+
try:
|
|
252
|
+
params = request._serialize()
|
|
253
|
+
headers = request.headers
|
|
254
|
+
body = self.call("DeleteFunctionVersion", params, headers=headers)
|
|
255
|
+
response = json.loads(body)
|
|
256
|
+
model = models.DeleteFunctionVersionResponse()
|
|
257
|
+
model._deserialize(response["Response"])
|
|
258
|
+
return model
|
|
259
|
+
except Exception as e:
|
|
260
|
+
if isinstance(e, TencentCloudSDKException):
|
|
261
|
+
raise
|
|
262
|
+
else:
|
|
263
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
264
|
+
|
|
265
|
+
|
|
243
266
|
def DeleteLayerVersion(self, request):
|
|
244
267
|
"""删除指定层的指定版本,被删除的版本无法再关联到函数上,但不会影响正在引用这个层的函数。
|
|
245
268
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-scf
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1304
|
|
4
4
|
Summary: Tencent Cloud Scf SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1304)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=hLpndqqq64w7W4Nu57s-XCFWI1VmsfYkfZtTdjzz-Dg,631
|
|
2
|
+
tencentcloud/scf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/scf/v20180416/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/scf/v20180416/errorcodes.py,sha256=YSBsylZTxgH42Pz6b2bMTiBmO3klp4PJmi_yAvToF8Q,33310
|
|
5
|
+
tencentcloud/scf/v20180416/models.py,sha256=gt_cGM2wxrCNW60JwkHcwBZdruZ7w1F41uhdRc6m2TQ,444955
|
|
6
|
+
tencentcloud/scf/v20180416/scf_client.py,sha256=Cc69LRYHDNpChq1pwQfMQ_dF3u8HKn6O5hEkZjxXEtE,49911
|
|
7
|
+
tencentcloud_sdk_python_scf-3.0.1304.dist-info/METADATA,sha256=2aKtHkYF2PGVDiyf6NCCdp5sh2mCxIHbulL-E9dIaQU,1496
|
|
8
|
+
tencentcloud_sdk_python_scf-3.0.1304.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_scf-3.0.1304.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_scf-3.0.1304.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=TyI3hin136zU4cJvjg_Y-Zb1L3Xnfz1Hc2HqrbXHfWg,631
|
|
2
|
-
tencentcloud/scf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/scf/v20180416/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/scf/v20180416/errorcodes.py,sha256=YSBsylZTxgH42Pz6b2bMTiBmO3klp4PJmi_yAvToF8Q,33310
|
|
5
|
-
tencentcloud/scf/v20180416/models.py,sha256=IyiJ4N7r54PQVRby2pK4srLxFtm8KXPiSRGgWfXTJoU,445230
|
|
6
|
-
tencentcloud/scf/v20180416/scf_client.py,sha256=phB6xq6Kas8INrc9YeNzkfP84T08swzdyKiDndCCx4g,48979
|
|
7
|
-
tencentcloud_sdk_python_scf-3.0.1288.dist-info/METADATA,sha256=AiFtWYQjcc-tg97d5reFbduM_K9CSm-u2OdZf1sSd2Y,1496
|
|
8
|
-
tencentcloud_sdk_python_scf-3.0.1288.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_scf-3.0.1288.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_scf-3.0.1288.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|