首次推送
This commit is contained in:
50
TencentCloud/Scf/V20180416/Models/AccessInfo.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/AccessInfo.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class AccessInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 域名
|
||||
/// </summary>
|
||||
[JsonProperty("Host")]
|
||||
public string Host{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// VIP
|
||||
/// </summary>
|
||||
[JsonProperty("Vip")]
|
||||
public string Vip{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Host", this.Host);
|
||||
this.SetParamSimple(map, prefix + "Vip", this.Vip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
134
TencentCloud/Scf/V20180416/Models/Code.cs
Normal file
134
TencentCloud/Scf/V20180416/Models/Code.cs
Normal file
@@ -0,0 +1,134 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Code : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 对象存储桶名称
|
||||
/// </summary>
|
||||
[JsonProperty("CosBucketName")]
|
||||
public string CosBucketName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对象存储对象路径
|
||||
/// </summary>
|
||||
[JsonProperty("CosObjectName")]
|
||||
public string CosObjectName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 包含函数代码文件及其依赖项的 zip 格式文件,使用该接口时要求将 zip 文件的内容转成 base64 编码,最大支持20M
|
||||
/// </summary>
|
||||
[JsonProperty("ZipFile")]
|
||||
public string ZipFile{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对象存储的地域,地域为北京时需要传入ap-beijing,北京一区时需要传递ap-beijing-1,其他的地域不需要传递。
|
||||
/// </summary>
|
||||
[JsonProperty("CosBucketRegion")]
|
||||
public string CosBucketRegion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 如果是通过Demo创建的话,需要传入DemoId
|
||||
/// </summary>
|
||||
[JsonProperty("DemoId")]
|
||||
public string DemoId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 如果是从TempCos创建的话,需要传入TempCosObjectName
|
||||
/// </summary>
|
||||
[JsonProperty("TempCosObjectName")]
|
||||
public string TempCosObjectName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Git地址
|
||||
/// </summary>
|
||||
[JsonProperty("GitUrl")]
|
||||
public string GitUrl{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Git用户名
|
||||
/// </summary>
|
||||
[JsonProperty("GitUserName")]
|
||||
public string GitUserName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Git密码
|
||||
/// </summary>
|
||||
[JsonProperty("GitPassword")]
|
||||
public string GitPassword{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 加密后的Git密码,一般无需指定
|
||||
/// </summary>
|
||||
[JsonProperty("GitPasswordSecret")]
|
||||
public string GitPasswordSecret{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Git分支
|
||||
/// </summary>
|
||||
[JsonProperty("GitBranch")]
|
||||
public string GitBranch{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代码在Git仓库中的路径
|
||||
/// </summary>
|
||||
[JsonProperty("GitDirectory")]
|
||||
public string GitDirectory{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 指定要拉取的版本
|
||||
/// </summary>
|
||||
[JsonProperty("GitCommitId")]
|
||||
public string GitCommitId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 加密后的Git用户名,一般无需指定
|
||||
/// </summary>
|
||||
[JsonProperty("GitUserNameSecret")]
|
||||
public string GitUserNameSecret{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "CosBucketName", this.CosBucketName);
|
||||
this.SetParamSimple(map, prefix + "CosObjectName", this.CosObjectName);
|
||||
this.SetParamSimple(map, prefix + "ZipFile", this.ZipFile);
|
||||
this.SetParamSimple(map, prefix + "CosBucketRegion", this.CosBucketRegion);
|
||||
this.SetParamSimple(map, prefix + "DemoId", this.DemoId);
|
||||
this.SetParamSimple(map, prefix + "TempCosObjectName", this.TempCosObjectName);
|
||||
this.SetParamSimple(map, prefix + "GitUrl", this.GitUrl);
|
||||
this.SetParamSimple(map, prefix + "GitUserName", this.GitUserName);
|
||||
this.SetParamSimple(map, prefix + "GitPassword", this.GitPassword);
|
||||
this.SetParamSimple(map, prefix + "GitPasswordSecret", this.GitPasswordSecret);
|
||||
this.SetParamSimple(map, prefix + "GitBranch", this.GitBranch);
|
||||
this.SetParamSimple(map, prefix + "GitDirectory", this.GitDirectory);
|
||||
this.SetParamSimple(map, prefix + "GitCommitId", this.GitCommitId);
|
||||
this.SetParamSimple(map, prefix + "GitUserNameSecret", this.GitUserNameSecret);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
97
TencentCloud/Scf/V20180416/Models/CopyFunctionRequest.cs
Normal file
97
TencentCloud/Scf/V20180416/Models/CopyFunctionRequest.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CopyFunctionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 要复制的函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("NewFunctionName")]
|
||||
public string NewFunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要复制的函数所在的命名空间,默认为default
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 将函数复制到的命名空间,默认为default
|
||||
/// </summary>
|
||||
[JsonProperty("TargetNamespace")]
|
||||
public string TargetNamespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新函数的描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要将函数复制到的地域,不填则默认为当前地域
|
||||
/// </summary>
|
||||
[JsonProperty("TargetRegion")]
|
||||
public string TargetRegion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 如果目标Namespace下已有同名函数,是否覆盖,默认为否
|
||||
/// (注意:如果选择覆盖,会导致同名函数被删除,请慎重操作)
|
||||
/// TRUE:覆盖同名函数
|
||||
/// FALSE:不覆盖同名函数
|
||||
/// </summary>
|
||||
[JsonProperty("Override")]
|
||||
public bool? Override{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否复制函数的属性,包括环境变量、内存、超时、函数描述、标签、VPC等,默认为是。
|
||||
/// TRUE:复制函数配置
|
||||
/// FALSE:不复制函数配置
|
||||
/// </summary>
|
||||
[JsonProperty("CopyConfiguration")]
|
||||
public bool? CopyConfiguration{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "NewFunctionName", this.NewFunctionName);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "TargetNamespace", this.TargetNamespace);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "TargetRegion", this.TargetRegion);
|
||||
this.SetParamSimple(map, prefix + "Override", this.Override);
|
||||
this.SetParamSimple(map, prefix + "CopyConfiguration", this.CopyConfiguration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/CopyFunctionResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/CopyFunctionResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CopyFunctionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
155
TencentCloud/Scf/V20180416/Models/CreateFunctionRequest.cs
Normal file
155
TencentCloud/Scf/V20180416/Models/CreateFunctionRequest.cs
Normal file
@@ -0,0 +1,155 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateFunctionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 创建的函数名称,函数名称支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度2-60
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的代码. 注意:不能同时指定Cos与ZipFile
|
||||
/// </summary>
|
||||
[JsonProperty("Code")]
|
||||
public Code Code{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数处理方法名称,名称格式支持 "文件名称.方法名称" 形式,文件名称和函数名称之间以"."隔开,文件名称和函数名称要求以字母开始和结尾,中间允许插入字母、数字、下划线和连接符,文件名称和函数名字的长度要求是 2-60 个字符
|
||||
/// </summary>
|
||||
[JsonProperty("Handler")]
|
||||
public string Handler{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数描述,最大支持 1000 个英文字母、数字、空格、逗号、换行符和英文句号,支持中文
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数运行时内存大小,默认为 128M,可选范围 64、128MB-3072MB,并且以 128MB 为阶梯
|
||||
/// </summary>
|
||||
[JsonProperty("MemorySize")]
|
||||
public long? MemorySize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数最长执行时间,单位为秒,可选值范围 1-900 秒,默认为 3 秒
|
||||
/// </summary>
|
||||
[JsonProperty("Timeout")]
|
||||
public long? Timeout{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的环境变量
|
||||
/// </summary>
|
||||
[JsonProperty("Environment")]
|
||||
public Environment Environment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15, PHP5, PHP7,Golang1 和 Java8,默认Python2.7
|
||||
/// </summary>
|
||||
[JsonProperty("Runtime")]
|
||||
public string Runtime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的私有网络配置
|
||||
/// </summary>
|
||||
[JsonProperty("VpcConfig")]
|
||||
public VpcConfig VpcConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数绑定的角色
|
||||
/// </summary>
|
||||
[JsonProperty("Role")]
|
||||
public string Role{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数日志投递到的CLS LogsetID
|
||||
/// </summary>
|
||||
[JsonProperty("ClsLogsetId")]
|
||||
public string ClsLogsetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数日志投递到的CLS TopicID
|
||||
/// </summary>
|
||||
[JsonProperty("ClsTopicId")]
|
||||
public string ClsTopicId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数类型,默认值为Event,创建触发器函数请填写Event,创建HTTP函数级服务请填写HTTP
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// CodeSource 代码来源,支持以下'ZipFile', 'Cos', 'Demo', 'TempCos', 'Git'之一,使用Git来源必须指定此字段
|
||||
/// </summary>
|
||||
[JsonProperty("CodeSource")]
|
||||
public string CodeSource{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数要关联的Layer版本列表,Layer会按照在列表中顺序依次覆盖。
|
||||
/// </summary>
|
||||
[JsonProperty("Layers")]
|
||||
public LayerVersionSimple[] Layers{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 死信队列参数
|
||||
/// </summary>
|
||||
[JsonProperty("DeadLetterConfig")]
|
||||
public DeadLetterConfig DeadLetterConfig{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamObj(map, prefix + "Code.", this.Code);
|
||||
this.SetParamSimple(map, prefix + "Handler", this.Handler);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "MemorySize", this.MemorySize);
|
||||
this.SetParamSimple(map, prefix + "Timeout", this.Timeout);
|
||||
this.SetParamObj(map, prefix + "Environment.", this.Environment);
|
||||
this.SetParamSimple(map, prefix + "Runtime", this.Runtime);
|
||||
this.SetParamObj(map, prefix + "VpcConfig.", this.VpcConfig);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Role", this.Role);
|
||||
this.SetParamSimple(map, prefix + "ClsLogsetId", this.ClsLogsetId);
|
||||
this.SetParamSimple(map, prefix + "ClsTopicId", this.ClsTopicId);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "CodeSource", this.CodeSource);
|
||||
this.SetParamArrayObj(map, prefix + "Layers.", this.Layers);
|
||||
this.SetParamObj(map, prefix + "DeadLetterConfig.", this.DeadLetterConfig);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/CreateFunctionResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/CreateFunctionResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateFunctionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/CreateNamespaceRequest.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/CreateNamespaceRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateNamespaceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/CreateNamespaceResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/CreateNamespaceResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateNamespaceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Scf/V20180416/Models/CreateTriggerRequest.cs
Normal file
85
TencentCloud/Scf/V20180416/Models/CreateTriggerRequest.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateTriggerRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 新建触发器绑定的函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新建触发器名称。如果是定时触发器,名称支持英文字母、数字、连接符和下划线,最长100个字符;如果是cos触发器,需要是对应cos存储桶适用于XML API的访问域名(例如:5401-5ff414-12345.cos.ap-shanghai.myqcloud.com);如果是其他触发器,见具体触发器绑定参数的说明
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerName")]
|
||||
public string TriggerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器类型,目前支持 cos 、cmq、 timer、 ckafka类型
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器对应的参数,可见具体[触发器描述说明](https://cloud.tencent.com/document/product/583/39901)
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerDesc")]
|
||||
public string TriggerDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本
|
||||
/// </summary>
|
||||
[JsonProperty("Qualifier")]
|
||||
public string Qualifier{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭
|
||||
/// </summary>
|
||||
[JsonProperty("Enable")]
|
||||
public string Enable{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "TriggerName", this.TriggerName);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "TriggerDesc", this.TriggerDesc);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Qualifier", this.Qualifier);
|
||||
this.SetParamSimple(map, prefix + "Enable", this.Enable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/CreateTriggerResponse.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/CreateTriggerResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class CreateTriggerResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 触发器信息
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerInfo")]
|
||||
public Trigger TriggerInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "TriggerInfo.", this.TriggerInfo);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Scf/V20180416/Models/DeadLetterConfig.cs
Normal file
57
TencentCloud/Scf/V20180416/Models/DeadLetterConfig.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeadLetterConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 死信队列模式
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 死信队列名称
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 死信队列主题模式的标签形式
|
||||
/// </summary>
|
||||
[JsonProperty("FilterType")]
|
||||
public string FilterType{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "FilterType", this.FilterType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/DeleteFunctionRequest.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/DeleteFunctionRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteFunctionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 要删除的函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/DeleteFunctionResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/DeleteFunctionResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteFunctionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteLayerVersionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 层名称
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersion")]
|
||||
public long? LayerVersion{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamSimple(map, prefix + "LayerVersion", this.LayerVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteLayerVersionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/DeleteNamespaceRequest.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/DeleteNamespaceRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteNamespaceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/DeleteNamespaceResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/DeleteNamespaceResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteNamespaceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
TencentCloud/Scf/V20180416/Models/DeleteTriggerRequest.cs
Normal file
78
TencentCloud/Scf/V20180416/Models/DeleteTriggerRequest.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteTriggerRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要删除的触发器名称
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerName")]
|
||||
public string TriggerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要删除的触发器类型,目前支持 cos 、cmq、 timer、ckafka 类型
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 如果删除的触发器类型为 COS 触发器,该字段为必填值,存放 JSON 格式的数据 {"event":"cos:ObjectCreated:*"},数据内容和 SetTrigger 接口中该字段的格式相同;如果删除的触发器类型为定时触发器或 CMQ 触发器,可以不指定该字段
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerDesc")]
|
||||
public string TriggerDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本信息
|
||||
/// </summary>
|
||||
[JsonProperty("Qualifier")]
|
||||
public string Qualifier{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "TriggerName", this.TriggerName);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "TriggerDesc", this.TriggerDesc);
|
||||
this.SetParamSimple(map, prefix + "Qualifier", this.Qualifier);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/DeleteTriggerResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/DeleteTriggerResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class DeleteTriggerResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
51
TencentCloud/Scf/V20180416/Models/EipConfigOut.cs
Normal file
51
TencentCloud/Scf/V20180416/Models/EipConfigOut.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EipConfigOut : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 是否是固定IP,["ENABLE","DISABLE"]
|
||||
/// </summary>
|
||||
[JsonProperty("EipStatus")]
|
||||
public string EipStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// IP列表
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("EipAddress")]
|
||||
public string[] EipAddress{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "EipStatus", this.EipStatus);
|
||||
this.SetParamArraySimple(map, prefix + "EipAddress.", this.EipAddress);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/EipOutConfig.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/EipOutConfig.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class EipOutConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 是否是固定IP,["TRUE","FALSE"]
|
||||
/// </summary>
|
||||
[JsonProperty("EipFixed")]
|
||||
public string EipFixed{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// IP列表
|
||||
/// </summary>
|
||||
[JsonProperty("Eips")]
|
||||
public string[] Eips{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "EipFixed", this.EipFixed);
|
||||
this.SetParamArraySimple(map, prefix + "Eips.", this.Eips);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/Environment.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/Environment.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Environment : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 环境变量数组
|
||||
/// </summary>
|
||||
[JsonProperty("Variables")]
|
||||
public Variable[] Variables{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "Variables.", this.Variables);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/Filter.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/Filter.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Filter : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要过滤的字段。
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字段的过滤值。
|
||||
/// </summary>
|
||||
[JsonProperty("Values")]
|
||||
public string[] Values{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamArraySimple(map, prefix + "Values.", this.Values);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
113
TencentCloud/Scf/V20180416/Models/Function.cs
Normal file
113
TencentCloud/Scf/V20180416/Models/Function.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Function : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModTime")]
|
||||
public string ModTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行时
|
||||
/// </summary>
|
||||
[JsonProperty("Runtime")]
|
||||
public string Runtime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数ID
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionId")]
|
||||
public string FunctionId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数状态
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数状态详情
|
||||
/// </summary>
|
||||
[JsonProperty("StatusDesc")]
|
||||
public string StatusDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数标签
|
||||
/// </summary>
|
||||
[JsonProperty("Tags")]
|
||||
public Tag[] Tags{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数类型,取值为 HTTP 或者 Event
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModTime", this.ModTime);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamSimple(map, prefix + "Runtime", this.Runtime);
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "FunctionId", this.FunctionId);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "StatusDesc", this.StatusDesc);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
120
TencentCloud/Scf/V20180416/Models/FunctionLog.cs
Normal file
120
TencentCloud/Scf/V20180416/Models/FunctionLog.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class FunctionLog : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数执行完成后的返回值
|
||||
/// </summary>
|
||||
[JsonProperty("RetMsg")]
|
||||
public string RetMsg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行该函数对应的requestId
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数开始执行时的时间点
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数执行结果,如果是 0 表示执行成功,其他值表示失败
|
||||
/// </summary>
|
||||
[JsonProperty("RetCode")]
|
||||
public long? RetCode{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数调用是否结束,如果是 1 表示执行结束,其他值表示调用异常
|
||||
/// </summary>
|
||||
[JsonProperty("InvokeFinished")]
|
||||
public long? InvokeFinished{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数执行耗时,单位为 ms
|
||||
/// </summary>
|
||||
[JsonProperty("Duration")]
|
||||
public float? Duration{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数计费时间,根据 duration 向上取最近的 100ms,单位为ms
|
||||
/// </summary>
|
||||
[JsonProperty("BillDuration")]
|
||||
public long? BillDuration{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数执行时消耗实际内存大小,单位为 Byte
|
||||
/// </summary>
|
||||
[JsonProperty("MemUsage")]
|
||||
public long? MemUsage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数执行过程中的日志输出
|
||||
/// </summary>
|
||||
[JsonProperty("Log")]
|
||||
public string Log{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志等级
|
||||
/// </summary>
|
||||
[JsonProperty("Level")]
|
||||
public string Level{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志来源
|
||||
/// </summary>
|
||||
[JsonProperty("Source")]
|
||||
public string Source{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "RetMsg", this.RetMsg);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "RetCode", this.RetCode);
|
||||
this.SetParamSimple(map, prefix + "InvokeFinished", this.InvokeFinished);
|
||||
this.SetParamSimple(map, prefix + "Duration", this.Duration);
|
||||
this.SetParamSimple(map, prefix + "BillDuration", this.BillDuration);
|
||||
this.SetParamSimple(map, prefix + "MemUsage", this.MemUsage);
|
||||
this.SetParamSimple(map, prefix + "Log", this.Log);
|
||||
this.SetParamSimple(map, prefix + "Level", this.Level);
|
||||
this.SetParamSimple(map, prefix + "Source", this.Source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
67
TencentCloud/Scf/V20180416/Models/FunctionVersion.cs
Normal file
67
TencentCloud/Scf/V20180416/Models/FunctionVersion.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class FunctionVersion : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数版本名称
|
||||
/// </summary>
|
||||
[JsonProperty("Version")]
|
||||
public string Version{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本描述信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("ModTime")]
|
||||
public string ModTime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Version", this.Version);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamSimple(map, prefix + "ModTime", this.ModTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetFunctionAddressRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本
|
||||
/// </summary>
|
||||
[JsonProperty("Qualifier")]
|
||||
public string Qualifier{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Qualifier", this.Qualifier);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetFunctionAddressResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的Cos地址
|
||||
/// </summary>
|
||||
[JsonProperty("Url")]
|
||||
public string Url{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的SHA256编码
|
||||
/// </summary>
|
||||
[JsonProperty("CodeSha256")]
|
||||
public string CodeSha256{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Url", this.Url);
|
||||
this.SetParamSimple(map, prefix + "CodeSha256", this.CodeSha256);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
120
TencentCloud/Scf/V20180416/Models/GetFunctionLogsRequest.cs
Normal file
120
TencentCloud/Scf/V20180416/Models/GetFunctionLogsRequest.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetFunctionLogsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据的偏移量,Offset+Limit不能大于10000
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数据的长度,Offset+Limit不能大于10000
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 以升序还是降序的方式对日志进行排序,可选值 desc和 asc
|
||||
/// </summary>
|
||||
[JsonProperty("Order")]
|
||||
public string Order{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据某个字段排序日志,支持以下字段:function_name, duration, mem_usage, start_time
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志过滤条件。可用来区分正确和错误日志,filter.RetCode=not0 表示只返回错误日志,filter.RetCode=is0 表示只返回正确日志,不传,则返回所有日志
|
||||
/// </summary>
|
||||
[JsonProperty("Filter")]
|
||||
public LogFilter Filter{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本
|
||||
/// </summary>
|
||||
[JsonProperty("Qualifier")]
|
||||
public string Qualifier{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行该函数对应的requestId
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionRequestId")]
|
||||
public string FunctionRequestId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询的具体日期,例如:2017-05-16 20:00:00,只能与endtime相差一天之内
|
||||
/// </summary>
|
||||
[JsonProperty("StartTime")]
|
||||
public string StartTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询的具体日期,例如:2017-05-16 20:59:59,只能与startTime相差一天之内
|
||||
/// </summary>
|
||||
[JsonProperty("EndTime")]
|
||||
public string EndTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务日志相关参数,第一页日志 Offset 为空字符串,后续分页按响应字段里的SearchContext填写
|
||||
/// </summary>
|
||||
[JsonProperty("SearchContext")]
|
||||
public LogSearchContext SearchContext{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Order", this.Order);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
this.SetParamObj(map, prefix + "Filter.", this.Filter);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Qualifier", this.Qualifier);
|
||||
this.SetParamSimple(map, prefix + "FunctionRequestId", this.FunctionRequestId);
|
||||
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
|
||||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||||
this.SetParamObj(map, prefix + "SearchContext.", this.SearchContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Scf/V20180416/Models/GetFunctionLogsResponse.cs
Normal file
64
TencentCloud/Scf/V20180416/Models/GetFunctionLogsResponse.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetFunctionLogsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数日志的总数
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数日志信息
|
||||
/// </summary>
|
||||
[JsonProperty("Data")]
|
||||
public FunctionLog[] Data{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志服务分页参数
|
||||
/// </summary>
|
||||
[JsonProperty("SearchContext")]
|
||||
public LogSearchContext SearchContext{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamArrayObj(map, prefix + "Data.", this.Data);
|
||||
this.SetParamObj(map, prefix + "SearchContext.", this.SearchContext);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Scf/V20180416/Models/GetFunctionRequest.cs
Normal file
64
TencentCloud/Scf/V20180416/Models/GetFunctionRequest.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetFunctionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 需要获取详情的函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本号
|
||||
/// </summary>
|
||||
[JsonProperty("Qualifier")]
|
||||
public string Qualifier{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否显示代码, TRUE表示显示代码,FALSE表示不显示代码,大于1M的入口文件不会显示
|
||||
/// </summary>
|
||||
[JsonProperty("ShowCode")]
|
||||
public string ShowCode{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Qualifier", this.Qualifier);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "ShowCode", this.ShowCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
290
TencentCloud/Scf/V20180416/Models/GetFunctionResponse.cs
Normal file
290
TencentCloud/Scf/V20180416/Models/GetFunctionResponse.cs
Normal file
@@ -0,0 +1,290 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetFunctionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的最后修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModTime")]
|
||||
public string ModTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的代码
|
||||
/// </summary>
|
||||
[JsonProperty("CodeInfo")]
|
||||
public string CodeInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的描述信息
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的触发器列表
|
||||
/// </summary>
|
||||
[JsonProperty("Triggers")]
|
||||
public Trigger[] Triggers{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的入口
|
||||
/// </summary>
|
||||
[JsonProperty("Handler")]
|
||||
public string Handler{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数代码大小
|
||||
/// </summary>
|
||||
[JsonProperty("CodeSize")]
|
||||
public long? CodeSize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的超时时间
|
||||
/// </summary>
|
||||
[JsonProperty("Timeout")]
|
||||
public long? Timeout{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionVersion")]
|
||||
public string FunctionVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的最大可用内存
|
||||
/// </summary>
|
||||
[JsonProperty("MemorySize")]
|
||||
public long? MemorySize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的运行环境
|
||||
/// </summary>
|
||||
[JsonProperty("Runtime")]
|
||||
public string Runtime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的私有网络
|
||||
/// </summary>
|
||||
[JsonProperty("VpcConfig")]
|
||||
public VpcConfig VpcConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否使用GPU
|
||||
/// </summary>
|
||||
[JsonProperty("UseGpu")]
|
||||
public string UseGpu{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的环境变量
|
||||
/// </summary>
|
||||
[JsonProperty("Environment")]
|
||||
public Environment Environment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代码是否正确
|
||||
/// </summary>
|
||||
[JsonProperty("CodeResult")]
|
||||
public string CodeResult{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代码错误信息
|
||||
/// </summary>
|
||||
[JsonProperty("CodeError")]
|
||||
public string CodeError{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代码错误码
|
||||
/// </summary>
|
||||
[JsonProperty("ErrNo")]
|
||||
public long? ErrNo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数绑定的角色
|
||||
/// </summary>
|
||||
[JsonProperty("Role")]
|
||||
public string Role{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否自动安装依赖
|
||||
/// </summary>
|
||||
[JsonProperty("InstallDependency")]
|
||||
public string InstallDependency{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数状态
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态描述
|
||||
/// </summary>
|
||||
[JsonProperty("StatusDesc")]
|
||||
public string StatusDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志投递到的Cls日志集
|
||||
/// </summary>
|
||||
[JsonProperty("ClsLogsetId")]
|
||||
public string ClsLogsetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志投递到的Cls Topic
|
||||
/// </summary>
|
||||
[JsonProperty("ClsTopicId")]
|
||||
public string ClsTopicId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数ID
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionId")]
|
||||
public string FunctionId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的标签列表
|
||||
/// </summary>
|
||||
[JsonProperty("Tags")]
|
||||
public Tag[] Tags{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// EipConfig配置
|
||||
/// </summary>
|
||||
[JsonProperty("EipConfig")]
|
||||
public EipOutConfig EipConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 域名信息
|
||||
/// </summary>
|
||||
[JsonProperty("AccessInfo")]
|
||||
public AccessInfo AccessInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数类型,取值为HTTP或者Event
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用L5
|
||||
/// </summary>
|
||||
[JsonProperty("L5Enable")]
|
||||
public string L5Enable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数关联的Layer版本信息
|
||||
/// </summary>
|
||||
[JsonProperty("Layers")]
|
||||
public LayerVersionInfo[] Layers{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数关联的死信队列信息
|
||||
/// </summary>
|
||||
[JsonProperty("DeadLetterConfig")]
|
||||
public DeadLetterConfig DeadLetterConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数创建回见
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公网访问配置
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("PublicNetConfig")]
|
||||
public PublicNetConfigOut PublicNetConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用Ons
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("OnsEnable")]
|
||||
public string OnsEnable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModTime", this.ModTime);
|
||||
this.SetParamSimple(map, prefix + "CodeInfo", this.CodeInfo);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamArrayObj(map, prefix + "Triggers.", this.Triggers);
|
||||
this.SetParamSimple(map, prefix + "Handler", this.Handler);
|
||||
this.SetParamSimple(map, prefix + "CodeSize", this.CodeSize);
|
||||
this.SetParamSimple(map, prefix + "Timeout", this.Timeout);
|
||||
this.SetParamSimple(map, prefix + "FunctionVersion", this.FunctionVersion);
|
||||
this.SetParamSimple(map, prefix + "MemorySize", this.MemorySize);
|
||||
this.SetParamSimple(map, prefix + "Runtime", this.Runtime);
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamObj(map, prefix + "VpcConfig.", this.VpcConfig);
|
||||
this.SetParamSimple(map, prefix + "UseGpu", this.UseGpu);
|
||||
this.SetParamObj(map, prefix + "Environment.", this.Environment);
|
||||
this.SetParamSimple(map, prefix + "CodeResult", this.CodeResult);
|
||||
this.SetParamSimple(map, prefix + "CodeError", this.CodeError);
|
||||
this.SetParamSimple(map, prefix + "ErrNo", this.ErrNo);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Role", this.Role);
|
||||
this.SetParamSimple(map, prefix + "InstallDependency", this.InstallDependency);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "StatusDesc", this.StatusDesc);
|
||||
this.SetParamSimple(map, prefix + "ClsLogsetId", this.ClsLogsetId);
|
||||
this.SetParamSimple(map, prefix + "ClsTopicId", this.ClsTopicId);
|
||||
this.SetParamSimple(map, prefix + "FunctionId", this.FunctionId);
|
||||
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
|
||||
this.SetParamObj(map, prefix + "EipConfig.", this.EipConfig);
|
||||
this.SetParamObj(map, prefix + "AccessInfo.", this.AccessInfo);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "L5Enable", this.L5Enable);
|
||||
this.SetParamArrayObj(map, prefix + "Layers.", this.Layers);
|
||||
this.SetParamObj(map, prefix + "DeadLetterConfig.", this.DeadLetterConfig);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamObj(map, prefix + "PublicNetConfig.", this.PublicNetConfig);
|
||||
this.SetParamSimple(map, prefix + "OnsEnable", this.OnsEnable);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/GetLayerVersionRequest.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/GetLayerVersionRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetLayerVersionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 层名称
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersion")]
|
||||
public long? LayerVersion{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamSimple(map, prefix + "LayerVersion", this.LayerVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
110
TencentCloud/Scf/V20180416/Models/GetLayerVersionResponse.cs
Normal file
110
TencentCloud/Scf/V20180416/Models/GetLayerVersionResponse.cs
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class GetLayerVersionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 适配的运行时
|
||||
/// </summary>
|
||||
[JsonProperty("CompatibleRuntimes")]
|
||||
public string[] CompatibleRuntimes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层中版本文件的SHA256编码
|
||||
/// </summary>
|
||||
[JsonProperty("CodeSha256")]
|
||||
public string CodeSha256{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层中版本文件的下载地址
|
||||
/// </summary>
|
||||
[JsonProperty("Location")]
|
||||
public string Location{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本的创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本的描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 许可证信息
|
||||
/// </summary>
|
||||
[JsonProperty("LicenseInfo")]
|
||||
public string LicenseInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersion")]
|
||||
public long? LayerVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层名称
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层的具体版本当前状态,可能取值:
|
||||
/// Active 正常
|
||||
/// Publishing 发布中
|
||||
/// PublishFailed 发布失败
|
||||
/// Deleted 已删除
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArraySimple(map, prefix + "CompatibleRuntimes.", this.CompatibleRuntimes);
|
||||
this.SetParamSimple(map, prefix + "CodeSha256", this.CodeSha256);
|
||||
this.SetParamSimple(map, prefix + "Location", this.Location);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "LicenseInfo", this.LicenseInfo);
|
||||
this.SetParamSimple(map, prefix + "LayerVersion", this.LayerVersion);
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
TencentCloud/Scf/V20180416/Models/InvokeRequest.cs
Normal file
85
TencentCloud/Scf/V20180416/Models/InvokeRequest.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InvokeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// RequestResponse(同步) 和 Event(异步),默认为同步
|
||||
/// </summary>
|
||||
[JsonProperty("InvocationType")]
|
||||
public string InvocationType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发函数的版本号
|
||||
/// </summary>
|
||||
[JsonProperty("Qualifier")]
|
||||
public string Qualifier{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 运行函数时的参数,以json格式传入,最大支持的参数长度是 1M
|
||||
/// </summary>
|
||||
[JsonProperty("ClientContext")]
|
||||
public string ClientContext{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 同步调用时指定该字段,返回值会包含4K的日志,可选值为None和Tail,默认值为None。当该值为Tail时,返回参数中的logMsg字段会包含对应的函数执行日志
|
||||
/// </summary>
|
||||
[JsonProperty("LogType")]
|
||||
public string LogType{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数灰度流量控制调用,以json格式传入,例如{"k":"v"},注意kv都需要是字符串类型,最大支持的参数长度是1024字节
|
||||
/// </summary>
|
||||
[JsonProperty("RoutingKey")]
|
||||
public string RoutingKey{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "InvocationType", this.InvocationType);
|
||||
this.SetParamSimple(map, prefix + "Qualifier", this.Qualifier);
|
||||
this.SetParamSimple(map, prefix + "ClientContext", this.ClientContext);
|
||||
this.SetParamSimple(map, prefix + "LogType", this.LogType);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "RoutingKey", this.RoutingKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/InvokeResponse.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/InvokeResponse.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class InvokeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数执行结果
|
||||
/// </summary>
|
||||
[JsonProperty("Result")]
|
||||
public Result Result{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamObj(map, prefix + "Result.", this.Result);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Scf/V20180416/Models/LayerVersionInfo.cs
Normal file
92
TencentCloud/Scf/V20180416/Models/LayerVersionInfo.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LayerVersionInfo : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 版本适用的运行时
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("CompatibleRuntimes")]
|
||||
public string[] CompatibleRuntimes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本描述
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 许可证信息
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("LicenseInfo")]
|
||||
public string LicenseInfo{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersion")]
|
||||
public long? LayerVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层名称
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层的具体版本当前状态,可能取值:
|
||||
/// Active 正常
|
||||
/// Publishing 发布中
|
||||
/// PublishFailed 发布失败
|
||||
/// Deleted 已删除
|
||||
/// </summary>
|
||||
[JsonProperty("Status")]
|
||||
public string Status{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArraySimple(map, prefix + "CompatibleRuntimes.", this.CompatibleRuntimes);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "LicenseInfo", this.LicenseInfo);
|
||||
this.SetParamSimple(map, prefix + "LayerVersion", this.LayerVersion);
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/LayerVersionSimple.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/LayerVersionSimple.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LayerVersionSimple : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// layer名称
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersion")]
|
||||
public long? LayerVersion{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamSimple(map, prefix + "LayerVersion", this.LayerVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
95
TencentCloud/Scf/V20180416/Models/ListFunctionsRequest.cs
Normal file
95
TencentCloud/Scf/V20180416/Models/ListFunctionsRequest.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListFunctionsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
|
||||
/// </summary>
|
||||
[JsonProperty("Order")]
|
||||
public string Order{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime, FunctionName
|
||||
/// </summary>
|
||||
[JsonProperty("Orderby")]
|
||||
public string Orderby{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据偏移量,默认值为 0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数据长度,默认值为 20
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支持FunctionName模糊匹配
|
||||
/// </summary>
|
||||
[JsonProperty("SearchKey")]
|
||||
public string SearchKey{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数描述,支持模糊搜索
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过滤条件。
|
||||
/// - tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
||||
///
|
||||
/// 每次请求的Filters的上限为10,Filter.Values的上限为5。
|
||||
/// </summary>
|
||||
[JsonProperty("Filters")]
|
||||
public Filter[] Filters{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Order", this.Order);
|
||||
this.SetParamSimple(map, prefix + "Orderby", this.Orderby);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamArrayObj(map, prefix + "Filters.", this.Filters);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Scf/V20180416/Models/ListFunctionsResponse.cs
Normal file
57
TencentCloud/Scf/V20180416/Models/ListFunctionsResponse.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListFunctionsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数列表
|
||||
/// </summary>
|
||||
[JsonProperty("Functions")]
|
||||
public Function[] Functions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总数
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "Functions.", this.Functions);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListLayerVersionsRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 层名称
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 适配的运行时
|
||||
/// </summary>
|
||||
[JsonProperty("CompatibleRuntime")]
|
||||
public string[] CompatibleRuntime{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamArraySimple(map, prefix + "CompatibleRuntime.", this.CompatibleRuntime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListLayerVersionsResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 层版本列表
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersions")]
|
||||
public LayerVersionInfo[] LayerVersions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "LayerVersions.", this.LayerVersions);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Scf/V20180416/Models/ListLayersRequest.cs
Normal file
64
TencentCloud/Scf/V20180416/Models/ListLayersRequest.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListLayersRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 适配的运行时
|
||||
/// </summary>
|
||||
[JsonProperty("CompatibleRuntime")]
|
||||
public string CompatibleRuntime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Offset
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Limit
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询key,模糊匹配名称
|
||||
/// </summary>
|
||||
[JsonProperty("SearchKey")]
|
||||
public string SearchKey{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "CompatibleRuntime", this.CompatibleRuntime);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Scf/V20180416/Models/ListLayersResponse.cs
Normal file
57
TencentCloud/Scf/V20180416/Models/ListLayersResponse.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListLayersResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 层列表
|
||||
/// </summary>
|
||||
[JsonProperty("Layers")]
|
||||
public LayerVersionInfo[] Layers{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层总数
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "Layers.", this.Layers);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Scf/V20180416/Models/ListNamespacesRequest.cs
Normal file
64
TencentCloud/Scf/V20180416/Models/ListNamespacesRequest.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListNamespacesRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 返回数据长度,默认值为 20
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public long? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据的偏移量,默认值为 0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public long? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据哪个字段进行返回结果排序,支持以下字段:Name,Updatetime
|
||||
/// </summary>
|
||||
[JsonProperty("Orderby")]
|
||||
public string Orderby{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
|
||||
/// </summary>
|
||||
[JsonProperty("Order")]
|
||||
public string Order{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Orderby", this.Orderby);
|
||||
this.SetParamSimple(map, prefix + "Order", this.Order);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Scf/V20180416/Models/ListNamespacesResponse.cs
Normal file
57
TencentCloud/Scf/V20180416/Models/ListNamespacesResponse.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListNamespacesResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// namespace详情
|
||||
/// </summary>
|
||||
[JsonProperty("Namespaces")]
|
||||
public Namespace[] Namespaces{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的namespace数量
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public long? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArrayObj(map, prefix + "Namespaces.", this.Namespaces);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListVersionByFunctionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数名
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所在命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据偏移量,默认值为 0
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public ulong? Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回数据长度,默认值为 20
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 以升序还是降序的方式返回结果,可选值 ASC 和 DESC
|
||||
/// </summary>
|
||||
[JsonProperty("Order")]
|
||||
public string Order{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime
|
||||
/// </summary>
|
||||
[JsonProperty("OrderBy")]
|
||||
public string OrderBy{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Order", this.Order);
|
||||
this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class ListVersionByFunctionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数版本。
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionVersion")]
|
||||
public string[] FunctionVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数版本列表。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("Versions")]
|
||||
public FunctionVersion[] Versions{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数版本总数。
|
||||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||||
/// </summary>
|
||||
[JsonProperty("TotalCount")]
|
||||
public ulong? TotalCount{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamArraySimple(map, prefix + "FunctionVersion.", this.FunctionVersion);
|
||||
this.SetParamArrayObj(map, prefix + "Versions.", this.Versions);
|
||||
this.SetParamSimple(map, prefix + "TotalCount", this.TotalCount);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
49
TencentCloud/Scf/V20180416/Models/LogFilter.cs
Normal file
49
TencentCloud/Scf/V20180416/Models/LogFilter.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LogFilter : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// filter.RetCode的取值有:
|
||||
/// not0 表示只返回错误日志,
|
||||
/// is0 表示只返回正确日志,
|
||||
/// TimeLimitExceeded 返回函数调用发生超时的日志,
|
||||
/// ResourceLimitExceeded 返回函数调用发生资源超限的日志,
|
||||
/// UserCodeException 返回函数调用发生用户代码错误的日志,
|
||||
/// 无输入则返回所有日志。
|
||||
/// </summary>
|
||||
[JsonProperty("RetCode")]
|
||||
public string RetCode{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RetCode", this.RetCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
64
TencentCloud/Scf/V20180416/Models/LogSearchContext.cs
Normal file
64
TencentCloud/Scf/V20180416/Models/LogSearchContext.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class LogSearchContext : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 偏移量
|
||||
/// </summary>
|
||||
[JsonProperty("Offset")]
|
||||
public string Offset{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志条数
|
||||
/// </summary>
|
||||
[JsonProperty("Limit")]
|
||||
public ulong? Limit{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志关键词
|
||||
/// </summary>
|
||||
[JsonProperty("Keyword")]
|
||||
public string Keyword{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志类型,支持Application和Platform,默认为Application
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||||
this.SetParamSimple(map, prefix + "Keyword", this.Keyword);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
71
TencentCloud/Scf/V20180416/Models/Namespace.cs
Normal file
71
TencentCloud/Scf/V20180416/Models/Namespace.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Namespace : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModTime")]
|
||||
public string ModTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// </summary>
|
||||
[JsonProperty("Name")]
|
||||
public string Name{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 默认default,TCB表示是小程序云开发创建的
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModTime", this.ModTime);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "Name", this.Name);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/PublicNetConfigOut.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/PublicNetConfigOut.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class PublicNetConfigOut : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启公网访问能力取值['DISABLE','ENABLE']
|
||||
/// </summary>
|
||||
[JsonProperty("PublicNetStatus")]
|
||||
public string PublicNetStatus{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Eip配置
|
||||
/// </summary>
|
||||
[JsonProperty("EipConfig")]
|
||||
public EipConfigOut EipConfig{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "PublicNetStatus", this.PublicNetStatus);
|
||||
this.SetParamObj(map, prefix + "EipConfig.", this.EipConfig);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class PublishLayerVersionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64
|
||||
/// </summary>
|
||||
[JsonProperty("LayerName")]
|
||||
public string LayerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。
|
||||
/// </summary>
|
||||
[JsonProperty("CompatibleRuntimes")]
|
||||
public string[] CompatibleRuntimes{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层的文件来源或文件内容
|
||||
/// </summary>
|
||||
[JsonProperty("Content")]
|
||||
public Code Content{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层的版本的描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 层的软件许可证
|
||||
/// </summary>
|
||||
[JsonProperty("LicenseInfo")]
|
||||
public string LicenseInfo{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LayerName", this.LayerName);
|
||||
this.SetParamArraySimple(map, prefix + "CompatibleRuntimes.", this.CompatibleRuntimes);
|
||||
this.SetParamObj(map, prefix + "Content.", this.Content);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "LicenseInfo", this.LicenseInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class PublishLayerVersionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 本次创建的层的版本号
|
||||
/// </summary>
|
||||
[JsonProperty("LayerVersion")]
|
||||
public long? LayerVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "LayerVersion", this.LayerVersion);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
57
TencentCloud/Scf/V20180416/Models/PublishVersionRequest.cs
Normal file
57
TencentCloud/Scf/V20180416/Models/PublishVersionRequest.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class PublishVersionRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 发布函数的名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
99
TencentCloud/Scf/V20180416/Models/PublishVersionResponse.cs
Normal file
99
TencentCloud/Scf/V20180416/Models/PublishVersionResponse.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class PublishVersionResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数的版本
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionVersion")]
|
||||
public string FunctionVersion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代码大小
|
||||
/// </summary>
|
||||
[JsonProperty("CodeSize")]
|
||||
public long? CodeSize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最大可用内存
|
||||
/// </summary>
|
||||
[JsonProperty("MemorySize")]
|
||||
public long? MemorySize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的入口
|
||||
/// </summary>
|
||||
[JsonProperty("Handler")]
|
||||
public string Handler{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的超时时间
|
||||
/// </summary>
|
||||
[JsonProperty("Timeout")]
|
||||
public long? Timeout{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的运行环境
|
||||
/// </summary>
|
||||
[JsonProperty("Runtime")]
|
||||
public string Runtime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionVersion", this.FunctionVersion);
|
||||
this.SetParamSimple(map, prefix + "CodeSize", this.CodeSize);
|
||||
this.SetParamSimple(map, prefix + "MemorySize", this.MemorySize);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "Handler", this.Handler);
|
||||
this.SetParamSimple(map, prefix + "Timeout", this.Timeout);
|
||||
this.SetParamSimple(map, prefix + "Runtime", this.Runtime);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Scf/V20180416/Models/Result.cs
Normal file
92
TencentCloud/Scf/V20180416/Models/Result.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Result : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 表示执行过程中的日志输出,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("Log")]
|
||||
public string Log{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表示执行函数的返回,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("RetMsg")]
|
||||
public string RetMsg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表示执行函数的错误返回信息,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("ErrMsg")]
|
||||
public string ErrMsg{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行函数时的内存大小,单位为Byte,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("MemUsage")]
|
||||
public long? MemUsage{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表示执行函数的耗时,单位是毫秒,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("Duration")]
|
||||
public float? Duration{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表示函数的计费耗时,单位是毫秒,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("BillDuration")]
|
||||
public long? BillDuration{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 此次函数执行的Id
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionRequestId")]
|
||||
public string FunctionRequestId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 0为正确,异步调用返回为空
|
||||
/// </summary>
|
||||
[JsonProperty("InvokeResult")]
|
||||
public long? InvokeResult{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Log", this.Log);
|
||||
this.SetParamSimple(map, prefix + "RetMsg", this.RetMsg);
|
||||
this.SetParamSimple(map, prefix + "ErrMsg", this.ErrMsg);
|
||||
this.SetParamSimple(map, prefix + "MemUsage", this.MemUsage);
|
||||
this.SetParamSimple(map, prefix + "Duration", this.Duration);
|
||||
this.SetParamSimple(map, prefix + "BillDuration", this.BillDuration);
|
||||
this.SetParamSimple(map, prefix + "FunctionRequestId", this.FunctionRequestId);
|
||||
this.SetParamSimple(map, prefix + "InvokeResult", this.InvokeResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/Tag.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/Tag.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Tag : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 标签的key
|
||||
/// </summary>
|
||||
[JsonProperty("Key")]
|
||||
public string Key{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签的value
|
||||
/// </summary>
|
||||
[JsonProperty("Value")]
|
||||
public string Value{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Key", this.Key);
|
||||
this.SetParamSimple(map, prefix + "Value", this.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
92
TencentCloud/Scf/V20180416/Models/Trigger.cs
Normal file
92
TencentCloud/Scf/V20180416/Models/Trigger.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Trigger : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 触发器最后修改时间
|
||||
/// </summary>
|
||||
[JsonProperty("ModTime")]
|
||||
public string ModTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器类型
|
||||
/// </summary>
|
||||
[JsonProperty("Type")]
|
||||
public string Type{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器详细配置
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerDesc")]
|
||||
public string TriggerDesc{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器名称
|
||||
/// </summary>
|
||||
[JsonProperty("TriggerName")]
|
||||
public string TriggerName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器创建时间
|
||||
/// </summary>
|
||||
[JsonProperty("AddTime")]
|
||||
public string AddTime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使能开关
|
||||
/// </summary>
|
||||
[JsonProperty("Enable")]
|
||||
public long? Enable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户自定义参数
|
||||
/// </summary>
|
||||
[JsonProperty("CustomArgument")]
|
||||
public string CustomArgument{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 触发器状态
|
||||
/// </summary>
|
||||
[JsonProperty("AvailableStatus")]
|
||||
public string AvailableStatus{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "ModTime", this.ModTime);
|
||||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||||
this.SetParamSimple(map, prefix + "TriggerDesc", this.TriggerDesc);
|
||||
this.SetParamSimple(map, prefix + "TriggerName", this.TriggerName);
|
||||
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
|
||||
this.SetParamSimple(map, prefix + "Enable", this.Enable);
|
||||
this.SetParamSimple(map, prefix + "CustomArgument", this.CustomArgument);
|
||||
this.SetParamSimple(map, prefix + "AvailableStatus", this.AvailableStatus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
113
TencentCloud/Scf/V20180416/Models/UpdateFunctionCodeRequest.cs
Normal file
113
TencentCloud/Scf/V20180416/Models/UpdateFunctionCodeRequest.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateFunctionCodeRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 函数处理方法名称。名称格式支持“文件名称.函数名称”形式,文件名称和函数名称之间以"."隔开,文件名称和函数名称要求以字母开始和结尾,中间允许插入字母、数字、下划线和连接符,文件名称和函数名字的长度要求 2-60 个字符
|
||||
/// </summary>
|
||||
[JsonProperty("Handler")]
|
||||
public string Handler{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 要修改的函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对象存储桶名称
|
||||
/// </summary>
|
||||
[JsonProperty("CosBucketName")]
|
||||
public string CosBucketName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对象存储对象路径
|
||||
/// </summary>
|
||||
[JsonProperty("CosObjectName")]
|
||||
public string CosObjectName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 包含函数代码文件及其依赖项的 zip 格式文件,使用该接口时要求将 zip 文件的内容转成 base64 编码,最大支持20M
|
||||
/// </summary>
|
||||
[JsonProperty("ZipFile")]
|
||||
public string ZipFile{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对象存储的地域,注:北京分为ap-beijing和ap-beijing-1
|
||||
/// </summary>
|
||||
[JsonProperty("CosBucketRegion")]
|
||||
public string CosBucketRegion{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属环境
|
||||
/// </summary>
|
||||
[JsonProperty("EnvId")]
|
||||
public string EnvId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 在更新时是否同步发布新版本,默认为:FALSE,不发布
|
||||
/// </summary>
|
||||
[JsonProperty("Publish")]
|
||||
public string Publish{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数代码
|
||||
/// </summary>
|
||||
[JsonProperty("Code")]
|
||||
public Code Code{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代码来源方式,支持以下'ZipFile', 'Cos', 'Inline', 'TempCos', 'Git' 之一,使用Git来源必须指定此字段
|
||||
/// </summary>
|
||||
[JsonProperty("CodeSource")]
|
||||
public string CodeSource{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Handler", this.Handler);
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "CosBucketName", this.CosBucketName);
|
||||
this.SetParamSimple(map, prefix + "CosObjectName", this.CosObjectName);
|
||||
this.SetParamSimple(map, prefix + "ZipFile", this.ZipFile);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "CosBucketRegion", this.CosBucketRegion);
|
||||
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
|
||||
this.SetParamSimple(map, prefix + "Publish", this.Publish);
|
||||
this.SetParamObj(map, prefix + "Code.", this.Code);
|
||||
this.SetParamSimple(map, prefix + "CodeSource", this.CodeSource);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateFunctionCodeResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateFunctionConfigurationRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 要修改的函数名称
|
||||
/// </summary>
|
||||
[JsonProperty("FunctionName")]
|
||||
public string FunctionName{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。
|
||||
/// </summary>
|
||||
[JsonProperty("MemorySize")]
|
||||
public long? MemorySize{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
|
||||
/// </summary>
|
||||
[JsonProperty("Timeout")]
|
||||
public long? Timeout{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,PHP5, PHP7,Golang1 和 Java8
|
||||
/// </summary>
|
||||
[JsonProperty("Runtime")]
|
||||
public string Runtime{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的环境变量
|
||||
/// </summary>
|
||||
[JsonProperty("Environment")]
|
||||
public Environment Environment{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数所属命名空间
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数的私有网络配置
|
||||
/// </summary>
|
||||
[JsonProperty("VpcConfig")]
|
||||
public VpcConfig VpcConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数绑定的角色
|
||||
/// </summary>
|
||||
[JsonProperty("Role")]
|
||||
public string Role{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志投递到的cls日志集ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClsLogsetId")]
|
||||
public string ClsLogsetId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 日志投递到的cls Topic ID
|
||||
/// </summary>
|
||||
[JsonProperty("ClsTopicId")]
|
||||
public string ClsTopicId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 在更新时是否同步发布新版本,默认为:FALSE,不发布
|
||||
/// </summary>
|
||||
[JsonProperty("Publish")]
|
||||
public string Publish{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启L5访问能力,TRUE 为开启,FALSE为关闭
|
||||
/// </summary>
|
||||
[JsonProperty("L5Enable")]
|
||||
public string L5Enable{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。
|
||||
/// </summary>
|
||||
[JsonProperty("Layers")]
|
||||
public LayerVersionSimple[] Layers{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 函数关联的死信队列信息
|
||||
/// </summary>
|
||||
[JsonProperty("DeadLetterConfig")]
|
||||
public DeadLetterConfig DeadLetterConfig{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启Ons访问能力,TRUE 为开启,FALSE为关闭
|
||||
/// </summary>
|
||||
[JsonProperty("OnsEnable")]
|
||||
public string OnsEnable{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
this.SetParamSimple(map, prefix + "MemorySize", this.MemorySize);
|
||||
this.SetParamSimple(map, prefix + "Timeout", this.Timeout);
|
||||
this.SetParamSimple(map, prefix + "Runtime", this.Runtime);
|
||||
this.SetParamObj(map, prefix + "Environment.", this.Environment);
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamObj(map, prefix + "VpcConfig.", this.VpcConfig);
|
||||
this.SetParamSimple(map, prefix + "Role", this.Role);
|
||||
this.SetParamSimple(map, prefix + "ClsLogsetId", this.ClsLogsetId);
|
||||
this.SetParamSimple(map, prefix + "ClsTopicId", this.ClsTopicId);
|
||||
this.SetParamSimple(map, prefix + "Publish", this.Publish);
|
||||
this.SetParamSimple(map, prefix + "L5Enable", this.L5Enable);
|
||||
this.SetParamArrayObj(map, prefix + "Layers.", this.Layers);
|
||||
this.SetParamObj(map, prefix + "DeadLetterConfig.", this.DeadLetterConfig);
|
||||
this.SetParamSimple(map, prefix + "OnsEnable", this.OnsEnable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateFunctionConfigurationResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/UpdateNamespaceRequest.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/UpdateNamespaceRequest.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateNamespaceRequest : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间名称
|
||||
/// </summary>
|
||||
[JsonProperty("Namespace")]
|
||||
public string Namespace{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 命名空间描述
|
||||
/// </summary>
|
||||
[JsonProperty("Description")]
|
||||
public string Description{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
|
||||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
TencentCloud/Scf/V20180416/Models/UpdateNamespaceResponse.cs
Normal file
43
TencentCloud/Scf/V20180416/Models/UpdateNamespaceResponse.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class UpdateNamespaceResponse : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
||||
/// </summary>
|
||||
[JsonProperty("RequestId")]
|
||||
public string RequestId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/Variable.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/Variable.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class Variable : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 变量的名称
|
||||
/// </summary>
|
||||
[JsonProperty("Key")]
|
||||
public string Key{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 变量的值
|
||||
/// </summary>
|
||||
[JsonProperty("Value")]
|
||||
public string Value{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "Key", this.Key);
|
||||
this.SetParamSimple(map, prefix + "Value", this.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
TencentCloud/Scf/V20180416/Models/VpcConfig.cs
Normal file
50
TencentCloud/Scf/V20180416/Models/VpcConfig.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
namespace TencentCloud.Scf.V20180416.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using TencentCloud.Common;
|
||||
|
||||
public class VpcConfig : AbstractModel
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 私有网络 的 Id
|
||||
/// </summary>
|
||||
[JsonProperty("VpcId")]
|
||||
public string VpcId{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子网的 Id
|
||||
/// </summary>
|
||||
[JsonProperty("SubnetId")]
|
||||
public string SubnetId{ get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// For internal usage only. DO NOT USE IT.
|
||||
/// </summary>
|
||||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||||
{
|
||||
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
|
||||
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user