tencentcloud-sdk-scf 3.0.973 → 3.0.975
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/client.rb +24 -0
- data/lib/v20180416/models.rb +63 -58
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e93534730f570b5e8f002cf01d6b750ff00cc689
|
4
|
+
data.tar.gz: 06d0d568b99dc68a56dee77e39b729a183449aec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e5b5e3ccdc47631f0272f5f39a741e15e84cf7bce1a8c788ad275e2de48545729425733140c6e764f5b728534fcf94af48ceeed7ad160bdea5adf50c24d465
|
7
|
+
data.tar.gz: 12f8e2441b53a29f8ef5005592bb5fd9788d5deb4ba1d0fd694905bac85f6dcf07fe5c5620bdb8a1d22863cf771e784916816cf9dd2932ff04e6a7ef7fc1dabb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.975
|
data/lib/v20180416/client.rb
CHANGED
@@ -252,6 +252,30 @@ module TencentCloud
|
|
252
252
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
253
253
|
end
|
254
254
|
|
255
|
+
# 该接口根据传入参数删除函数的指定版本。
|
256
|
+
|
257
|
+
# @param request: Request instance for DeleteFunctionVersion.
|
258
|
+
# @type request: :class:`Tencentcloud::scf::V20180416::DeleteFunctionVersionRequest`
|
259
|
+
# @rtype: :class:`Tencentcloud::scf::V20180416::DeleteFunctionVersionResponse`
|
260
|
+
def DeleteFunctionVersion(request)
|
261
|
+
body = send_request('DeleteFunctionVersion', request.serialize)
|
262
|
+
response = JSON.parse(body)
|
263
|
+
if response['Response'].key?('Error') == false
|
264
|
+
model = DeleteFunctionVersionResponse.new
|
265
|
+
model.deserialize(response['Response'])
|
266
|
+
model
|
267
|
+
else
|
268
|
+
code = response['Response']['Error']['Code']
|
269
|
+
message = response['Response']['Error']['Message']
|
270
|
+
reqid = response['Response']['RequestId']
|
271
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
272
|
+
end
|
273
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
274
|
+
raise e
|
275
|
+
rescue StandardError => e
|
276
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
277
|
+
end
|
278
|
+
|
255
279
|
# 删除指定层的指定版本,被删除的版本无法再关联到函数上,但不会影响正在引用这个层的函数。
|
256
280
|
|
257
281
|
# @param request: Request instance for DeleteLayerVersion.
|
data/lib/v20180416/models.rb
CHANGED
@@ -44,16 +44,12 @@ module TencentCloud
|
|
44
44
|
# @param Name: 别名的名称
|
45
45
|
# @type Name: String
|
46
46
|
# @param RoutingConfig: 别名的路由信息
|
47
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
48
47
|
# @type RoutingConfig: :class:`Tencentcloud::Scf.v20180416.models.RoutingConfig`
|
49
48
|
# @param Description: 描述信息
|
50
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
51
49
|
# @type Description: String
|
52
50
|
# @param AddTime: 创建时间
|
53
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
54
51
|
# @type AddTime: String
|
55
52
|
# @param ModTime: 更新时间
|
56
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
57
53
|
# @type ModTime: String
|
58
54
|
|
59
55
|
attr_accessor :FunctionVersion, :Name, :RoutingConfig, :Description, :AddTime, :ModTime
|
@@ -170,7 +166,6 @@ module TencentCloud
|
|
170
166
|
# 证书配置
|
171
167
|
class CertConf < TencentCloud::Common::AbstractModel
|
172
168
|
# @param CertificateId: ssl证书ID
|
173
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
174
169
|
# @type CertificateId: String
|
175
170
|
|
176
171
|
attr_accessor :CertificateId
|
@@ -464,7 +459,7 @@ module TencentCloud
|
|
464
459
|
# @type Protocol: String
|
465
460
|
# @param EndpointsConfig: 路由配置
|
466
461
|
# @type EndpointsConfig: Array
|
467
|
-
# @param CertConfig:
|
462
|
+
# @param CertConfig: 证书配置信息,有使用HTTPS协议时候必须传
|
468
463
|
# @type CertConfig: :class:`Tencentcloud::Scf.v20180416.models.CertConf`
|
469
464
|
# @param WafConfig: web 应用防火墙配置
|
470
465
|
# @type WafConfig: :class:`Tencentcloud::Scf.v20180416.models.WafConf`
|
@@ -960,6 +955,50 @@ module TencentCloud
|
|
960
955
|
end
|
961
956
|
end
|
962
957
|
|
958
|
+
# DeleteFunctionVersion请求参数结构体
|
959
|
+
class DeleteFunctionVersionRequest < TencentCloud::Common::AbstractModel
|
960
|
+
# @param FunctionName: 要删除的函数名称
|
961
|
+
# @type FunctionName: String
|
962
|
+
# @param Qualifier: 填写需要删除的版本号
|
963
|
+
# @type Qualifier: String
|
964
|
+
# @param Namespace: 函数所属命名空间
|
965
|
+
# @type Namespace: String
|
966
|
+
# @param ForceDelete: 强制删除标记,传true会直接删除容器,并强制关闭还在执行中的函数
|
967
|
+
# @type ForceDelete: String
|
968
|
+
|
969
|
+
attr_accessor :FunctionName, :Qualifier, :Namespace, :ForceDelete
|
970
|
+
|
971
|
+
def initialize(functionname=nil, qualifier=nil, namespace=nil, forcedelete=nil)
|
972
|
+
@FunctionName = functionname
|
973
|
+
@Qualifier = qualifier
|
974
|
+
@Namespace = namespace
|
975
|
+
@ForceDelete = forcedelete
|
976
|
+
end
|
977
|
+
|
978
|
+
def deserialize(params)
|
979
|
+
@FunctionName = params['FunctionName']
|
980
|
+
@Qualifier = params['Qualifier']
|
981
|
+
@Namespace = params['Namespace']
|
982
|
+
@ForceDelete = params['ForceDelete']
|
983
|
+
end
|
984
|
+
end
|
985
|
+
|
986
|
+
# DeleteFunctionVersion返回参数结构体
|
987
|
+
class DeleteFunctionVersionResponse < TencentCloud::Common::AbstractModel
|
988
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
989
|
+
# @type RequestId: String
|
990
|
+
|
991
|
+
attr_accessor :RequestId
|
992
|
+
|
993
|
+
def initialize(requestid=nil)
|
994
|
+
@RequestId = requestid
|
995
|
+
end
|
996
|
+
|
997
|
+
def deserialize(params)
|
998
|
+
@RequestId = params['RequestId']
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
963
1002
|
# DeleteLayerVersion请求参数结构体
|
964
1003
|
class DeleteLayerVersionRequest < TencentCloud::Common::AbstractModel
|
965
1004
|
# @param LayerName: 层名称
|
@@ -1163,13 +1202,10 @@ module TencentCloud
|
|
1163
1202
|
# @param Protocol: 协议,取值范围:HTTP, HTTPS, HTTP&HTTPS
|
1164
1203
|
# @type Protocol: String
|
1165
1204
|
# @param EndpointsConfig: 路由配置信息
|
1166
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1167
1205
|
# @type EndpointsConfig: Array
|
1168
1206
|
# @param CertConfig: 证书配置信息,HTTPS协议必传路由配置
|
1169
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1170
1207
|
# @type CertConfig: :class:`Tencentcloud::Scf.v20180416.models.CertConf`
|
1171
1208
|
# @param WafConfig: web 应用防火墙配置
|
1172
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1173
1209
|
# @type WafConfig: :class:`Tencentcloud::Scf.v20180416.models.WafConf`
|
1174
1210
|
|
1175
1211
|
attr_accessor :Domain, :Protocol, :EndpointsConfig, :CertConfig, :WafConfig
|
@@ -1225,7 +1261,6 @@ module TencentCloud
|
|
1225
1261
|
# @param EipStatus: 是否是固定IP,["ENABLE","DISABLE"]
|
1226
1262
|
# @type EipStatus: String
|
1227
1263
|
# @param EipAddress: IP列表
|
1228
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1229
1264
|
# @type EipAddress: Array
|
1230
1265
|
|
1231
1266
|
attr_accessor :EipStatus, :EipAddress
|
@@ -1264,16 +1299,12 @@ module TencentCloud
|
|
1264
1299
|
# 后端路由配置信息
|
1265
1300
|
class EndpointsConf < TencentCloud::Common::AbstractModel
|
1266
1301
|
# @param Namespace: 函数命名空间
|
1267
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1268
1302
|
# @type Namespace: String
|
1269
1303
|
# @param FunctionName: 函数名
|
1270
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1271
1304
|
# @type FunctionName: String
|
1272
1305
|
# @param Qualifier: 函数别名或版本
|
1273
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1274
1306
|
# @type Qualifier: String
|
1275
1307
|
# @param PathMatch: 路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*"
|
1276
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1277
1308
|
# @type PathMatch: String
|
1278
1309
|
# @param PathRewrite: 路径重写策略
|
1279
1310
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1476,6 +1507,11 @@ module TencentCloud
|
|
1476
1507
|
# @type RetryNum: Integer
|
1477
1508
|
|
1478
1509
|
attr_accessor :FunctionName, :RetMsg, :RequestId, :StartTime, :RetCode, :InvokeFinished, :Duration, :BillDuration, :MemUsage, :Log, :Level, :Source, :RetryNum
|
1510
|
+
extend Gem::Deprecate
|
1511
|
+
deprecate :Level, :none, 2025, 1
|
1512
|
+
deprecate :Level=, :none, 2025, 1
|
1513
|
+
deprecate :Source, :none, 2025, 1
|
1514
|
+
deprecate :Source=, :none, 2025, 1
|
1479
1515
|
|
1480
1516
|
def initialize(functionname=nil, retmsg=nil, requestid=nil, starttime=nil, retcode=nil, invokefinished=nil, duration=nil, billduration=nil, memusage=nil, log=nil, level=nil, source=nil, retrynum=nil)
|
1481
1517
|
@FunctionName = functionname
|
@@ -1620,13 +1656,10 @@ module TencentCloud
|
|
1620
1656
|
# @param RoutingConfig: 别名的路由信息
|
1621
1657
|
# @type RoutingConfig: :class:`Tencentcloud::Scf.v20180416.models.RoutingConfig`
|
1622
1658
|
# @param Description: 别名的描述
|
1623
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1624
1659
|
# @type Description: String
|
1625
1660
|
# @param AddTime: 创建时间
|
1626
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1627
1661
|
# @type AddTime: String
|
1628
1662
|
# @param ModTime: 更新时间
|
1629
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1630
1663
|
# @type ModTime: String
|
1631
1664
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1632
1665
|
# @type RequestId: String
|
@@ -2068,24 +2101,18 @@ module TencentCloud
|
|
2068
2101
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2069
2102
|
# @type OnsEnable: String
|
2070
2103
|
# @param CfsConfig: 文件系统配置参数,用于云函数挂载文件系统
|
2071
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2072
2104
|
# @type CfsConfig: :class:`Tencentcloud::Scf.v20180416.models.CfsConfig`
|
2073
2105
|
# @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)
|
2074
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2075
2106
|
# @type AvailableStatus: String
|
2076
2107
|
# @param Qualifier: 函数版本
|
2077
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2078
2108
|
# @type Qualifier: String
|
2079
2109
|
# @param InitTimeout: 函数初始化超时时间
|
2080
2110
|
# @type InitTimeout: Integer
|
2081
2111
|
# @param StatusReasons: 函数状态失败原因
|
2082
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2083
2112
|
# @type StatusReasons: Array
|
2084
2113
|
# @param AsyncRunEnable: 是否开启异步属性
|
2085
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2086
2114
|
# @type AsyncRunEnable: String
|
2087
2115
|
# @param TraceEnable: 是否开启事件追踪
|
2088
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2089
2116
|
# @type TraceEnable: String
|
2090
2117
|
# @param ImageConfig: 镜像配置
|
2091
2118
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2097,7 +2124,6 @@ module TencentCloud
|
|
2097
2124
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2098
2125
|
# @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
|
2099
2126
|
# @param DnsCache: 是否开启DNS缓存
|
2100
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2101
2127
|
# @type DnsCache: String
|
2102
2128
|
# @param IntranetConfig: 内网访问配置
|
2103
2129
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2801,12 +2827,10 @@ module TencentCloud
|
|
2801
2827
|
# 层版本信息
|
2802
2828
|
class LayerVersionInfo < TencentCloud::Common::AbstractModel
|
2803
2829
|
# @param CompatibleRuntimes: 版本适用的运行时
|
2804
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2805
2830
|
# @type CompatibleRuntimes: Array
|
2806
2831
|
# @param AddTime: 创建时间
|
2807
2832
|
# @type AddTime: String
|
2808
2833
|
# @param Description: 版本描述
|
2809
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2810
2834
|
# @type Description: String
|
2811
2835
|
# @param LicenseInfo: 许可证信息
|
2812
2836
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2818,7 +2842,6 @@ module TencentCloud
|
|
2818
2842
|
# @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)
|
2819
2843
|
# @type Status: String
|
2820
2844
|
# @param Stamp: Stamp
|
2821
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2822
2845
|
# @type Stamp: String
|
2823
2846
|
# @param Tags: 返回层绑定的标签信息
|
2824
2847
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2942,7 +2965,6 @@ module TencentCloud
|
|
2942
2965
|
# @param Aliases: 别名列表
|
2943
2966
|
# @type Aliases: Array
|
2944
2967
|
# @param TotalCount: 别名总数
|
2945
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2946
2968
|
# @type TotalCount: Integer
|
2947
2969
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2948
2970
|
# @type RequestId: String
|
@@ -3153,10 +3175,7 @@ module TencentCloud
|
|
3153
3175
|
# @type Namespace: String
|
3154
3176
|
# @param Description: 函数描述,支持模糊搜索
|
3155
3177
|
# @type Description: String
|
3156
|
-
# @param Filters:
|
3157
|
-
# - tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
3158
|
-
|
3159
|
-
# 每次请求的Filters的上限为10,Filter.Values的上限为5。
|
3178
|
+
# @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 可以传多个值
|
3160
3179
|
# @type Filters: Array
|
3161
3180
|
|
3162
3181
|
attr_accessor :Order, :Orderby, :Offset, :Limit, :SearchKey, :Namespace, :Description, :Filters
|
@@ -3519,10 +3538,8 @@ module TencentCloud
|
|
3519
3538
|
# @param FunctionVersion: 函数版本。
|
3520
3539
|
# @type FunctionVersion: Array
|
3521
3540
|
# @param Versions: 函数版本列表。
|
3522
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3523
3541
|
# @type Versions: Array
|
3524
3542
|
# @param TotalCount: 函数版本总数。
|
3525
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3526
3543
|
# @type TotalCount: Integer
|
3527
3544
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3528
3545
|
# @type RequestId: String
|
@@ -3788,13 +3805,10 @@ module TencentCloud
|
|
3788
3805
|
# @param FunctionsCount: 命名空间函数个数
|
3789
3806
|
# @type FunctionsCount: Integer
|
3790
3807
|
# @param TotalConcurrencyMem: 命名空间配额总量
|
3791
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3792
3808
|
# @type TotalConcurrencyMem: Integer
|
3793
3809
|
# @param TotalAllocatedConcurrencyMem: 命名空间并发使用量
|
3794
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3795
3810
|
# @type TotalAllocatedConcurrencyMem: Integer
|
3796
3811
|
# @param TotalAllocatedProvisionedMem: 命名空间预置使用量
|
3797
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3798
3812
|
# @type TotalAllocatedProvisionedMem: Integer
|
3799
3813
|
|
3800
3814
|
attr_accessor :Functions, :Namespace, :FunctionsCount, :TotalConcurrencyMem, :TotalAllocatedConcurrencyMem, :TotalAllocatedProvisionedMem
|
@@ -3821,13 +3835,10 @@ module TencentCloud
|
|
3821
3835
|
# 路径路由重写规则
|
3822
3836
|
class PathRewriteRule < TencentCloud::Common::AbstractModel
|
3823
3837
|
# @param Path: 需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*
|
3824
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3825
3838
|
# @type Path: String
|
3826
3839
|
# @param Type: 匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配
|
3827
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3828
3840
|
# @type Type: String
|
3829
3841
|
# @param Rewrite: 替换值:比如/, /$
|
3830
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3831
3842
|
# @type Rewrite: String
|
3832
3843
|
|
3833
3844
|
attr_accessor :Path, :Type, :Rewrite
|
@@ -4496,12 +4507,12 @@ module TencentCloud
|
|
4496
4507
|
|
4497
4508
|
attr_accessor :ModTime, :Type, :TriggerDesc, :TriggerName, :AddTime, :Enable, :CustomArgument, :AvailableStatus, :ResourceId, :BindStatus, :TriggerAttribute, :Qualifier, :Description
|
4498
4509
|
extend Gem::Deprecate
|
4499
|
-
deprecate :ResourceId, :none,
|
4500
|
-
deprecate :ResourceId=, :none,
|
4501
|
-
deprecate :BindStatus, :none,
|
4502
|
-
deprecate :BindStatus=, :none,
|
4503
|
-
deprecate :TriggerAttribute, :none,
|
4504
|
-
deprecate :TriggerAttribute=, :none,
|
4510
|
+
deprecate :ResourceId, :none, 2025, 1
|
4511
|
+
deprecate :ResourceId=, :none, 2025, 1
|
4512
|
+
deprecate :BindStatus, :none, 2025, 1
|
4513
|
+
deprecate :BindStatus=, :none, 2025, 1
|
4514
|
+
deprecate :TriggerAttribute, :none, 2025, 1
|
4515
|
+
deprecate :TriggerAttribute=, :none, 2025, 1
|
4505
4516
|
|
4506
4517
|
def initialize(modtime=nil, type=nil, triggerdesc=nil, triggername=nil, addtime=nil, enable=nil, customargument=nil, availablestatus=nil, resourceid=nil, bindstatus=nil, triggerattribute=nil, qualifier=nil, description=nil)
|
4507
4518
|
@ModTime = modtime
|
@@ -4539,13 +4550,10 @@ module TencentCloud
|
|
4539
4550
|
# 预置定时任务动作
|
4540
4551
|
class TriggerAction < TencentCloud::Common::AbstractModel
|
4541
4552
|
# @param TriggerName: 定时预置名称
|
4542
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4543
4553
|
# @type TriggerName: String
|
4544
4554
|
# @param TriggerProvisionedConcurrencyNum: 定时预置并发数量
|
4545
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4546
4555
|
# @type TriggerProvisionedConcurrencyNum: Integer
|
4547
4556
|
# @param TriggerCronConfig: 设置定时触发器的时间配置,cron表达式。Cron 表达式有七个必需字段,按空格分隔。
|
4548
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4549
4557
|
# @type TriggerCronConfig: String
|
4550
4558
|
# @param ProvisionedType: 预置类型 Default
|
4551
4559
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4593,7 +4601,6 @@ module TencentCloud
|
|
4593
4601
|
# @param Vod: Vod触发器数量
|
4594
4602
|
# @type Vod: Integer
|
4595
4603
|
# @param Eb: Eb触发器数量
|
4596
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4597
4604
|
# @type Eb: Integer
|
4598
4605
|
|
4599
4606
|
attr_accessor :Cos, :Timer, :Cmq, :Total, :Ckafka, :Apigw, :Cls, :Clb, :Mps, :Cm, :Vod, :Eb
|
@@ -4662,12 +4669,12 @@ module TencentCloud
|
|
4662
4669
|
|
4663
4670
|
attr_accessor :Enable, :Qualifier, :TriggerName, :Type, :TriggerDesc, :AvailableStatus, :CustomArgument, :AddTime, :ModTime, :ResourceId, :BindStatus, :TriggerAttribute, :Description
|
4664
4671
|
extend Gem::Deprecate
|
4665
|
-
deprecate :ResourceId, :none,
|
4666
|
-
deprecate :ResourceId=, :none,
|
4667
|
-
deprecate :BindStatus, :none,
|
4668
|
-
deprecate :BindStatus=, :none,
|
4669
|
-
deprecate :TriggerAttribute, :none,
|
4670
|
-
deprecate :TriggerAttribute=, :none,
|
4672
|
+
deprecate :ResourceId, :none, 2025, 1
|
4673
|
+
deprecate :ResourceId=, :none, 2025, 1
|
4674
|
+
deprecate :BindStatus, :none, 2025, 1
|
4675
|
+
deprecate :BindStatus=, :none, 2025, 1
|
4676
|
+
deprecate :TriggerAttribute, :none, 2025, 1
|
4677
|
+
deprecate :TriggerAttribute=, :none, 2025, 1
|
4671
4678
|
|
4672
4679
|
def initialize(enable=nil, qualifier=nil, triggername=nil, type=nil, triggerdesc=nil, availablestatus=nil, customargument=nil, addtime=nil, modtime=nil, resourceid=nil, bindstatus=nil, triggerattribute=nil, description=nil)
|
4673
4680
|
@Enable = enable
|
@@ -5450,10 +5457,8 @@ module TencentCloud
|
|
5450
5457
|
# web应用防火墙配置信息
|
5451
5458
|
class WafConf < TencentCloud::Common::AbstractModel
|
5452
5459
|
# @param WafOpen: web应用防火墙是否打开, 取值范围:OPEN, CLOSE
|
5453
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5454
5460
|
# @type WafOpen: String
|
5455
5461
|
# @param WafInstanceId: web应用防火墙实例ID
|
5456
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5457
5462
|
# @type WafInstanceId: String
|
5458
5463
|
|
5459
5464
|
attr_accessor :WafOpen, :WafInstanceId
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-scf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.975
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|