Class UpdateFunctionConfigurationRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.scf.v20180416.models.UpdateFunctionConfigurationRequest
-
public class UpdateFunctionConfigurationRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdateFunctionConfigurationRequest()UpdateFunctionConfigurationRequest(UpdateFunctionConfigurationRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CfsConfiggetCfsConfig()Get 文件系统配置入参,用于云函数绑定CFS文件系统StringgetClsLogsetId()Get 日志投递到的cls日志集IDStringgetClsTopicId()Get 日志投递到的cls Topic IDDeadLetterConfiggetDeadLetterConfig()Get 函数关联的死信队列信息StringgetDescription()Get 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文EnvironmentgetEnvironment()Get 函数的环境变量StringgetFunctionName()Get 要修改的函数名称LonggetInitTimeout()Get 函数初始化执行超时时间StringgetInstallDependency()Get [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。InstanceConcurrencyConfiggetInstanceConcurrencyConfig()Get 单实例多并发配置。只支持Web函数。StringgetL5Enable()Get 是否开启L5访问能力,TRUE 为开启,FALSE为关闭LayerVersionSimple[]getLayers()Get 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。LonggetMemorySize()Get 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。StringgetNamespace()Get 函数所属命名空间 默认值: defaultProtocolParamsgetProtocolParams()Get HTTP函数配置ProtocolType访问协议,当前协议可配置的参数PublicNetConfigIngetPublicNetConfig()Get 公网访问配置StringgetPublish()Get 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本StringgetRole()Get 函数绑定的角色StringgetRuntime()Get 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntimeLonggetTimeout()Get 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒VpcConfiggetVpcConfig()Get 函数的私有网络配置voidsetCfsConfig(CfsConfig CfsConfig)Set 文件系统配置入参,用于云函数绑定CFS文件系统voidsetClsLogsetId(String ClsLogsetId)Set 日志投递到的cls日志集IDvoidsetClsTopicId(String ClsTopicId)Set 日志投递到的cls Topic IDvoidsetDeadLetterConfig(DeadLetterConfig DeadLetterConfig)Set 函数关联的死信队列信息voidsetDescription(String Description)Set 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文voidsetEnvironment(Environment Environment)Set 函数的环境变量voidsetFunctionName(String FunctionName)Set 要修改的函数名称voidsetInitTimeout(Long InitTimeout)Set 函数初始化执行超时时间voidsetInstallDependency(String InstallDependency)Set [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。voidsetInstanceConcurrencyConfig(InstanceConcurrencyConfig InstanceConcurrencyConfig)Set 单实例多并发配置。只支持Web函数。voidsetL5Enable(String L5Enable)Set 是否开启L5访问能力,TRUE 为开启,FALSE为关闭voidsetLayers(LayerVersionSimple[] Layers)Set 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。voidsetMemorySize(Long MemorySize)Set 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。voidsetNamespace(String Namespace)Set 函数所属命名空间 默认值: defaultvoidsetProtocolParams(ProtocolParams ProtocolParams)Set HTTP函数配置ProtocolType访问协议,当前协议可配置的参数voidsetPublicNetConfig(PublicNetConfigIn PublicNetConfig)Set 公网访问配置voidsetPublish(String Publish)Set 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本voidsetRole(String Role)Set 函数绑定的角色voidsetRuntime(String Runtime)Set 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntimevoidsetTimeout(Long Timeout)Set 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒voidsetVpcConfig(VpcConfig VpcConfig)Set 函数的私有网络配置voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UpdateFunctionConfigurationRequest
public UpdateFunctionConfigurationRequest()
-
UpdateFunctionConfigurationRequest
public UpdateFunctionConfigurationRequest(UpdateFunctionConfigurationRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getFunctionName
public String getFunctionName()
Get 要修改的函数名称- Returns:
- FunctionName 要修改的函数名称
-
setFunctionName
public void setFunctionName(String FunctionName)
Set 要修改的函数名称- Parameters:
FunctionName- 要修改的函数名称
-
getDescription
public String getDescription()
Get 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文- Returns:
- Description 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
-
setDescription
public void setDescription(String Description)
Set 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文- Parameters:
Description- 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
-
getMemorySize
public Long getMemorySize()
Get 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。- Returns:
- MemorySize 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。
-
setMemorySize
public void setMemorySize(Long MemorySize)
Set 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。- Parameters:
MemorySize- 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。
-
getTimeout
public Long getTimeout()
Get 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒- Returns:
- Timeout 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
-
setTimeout
public void setTimeout(Long Timeout)
Set 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒- Parameters:
Timeout- 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
-
getRuntime
public String getRuntime()
Get 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime- Returns:
- Runtime 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime
-
setRuntime
public void setRuntime(String Runtime)
Set 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime- Parameters:
Runtime- 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime
-
getEnvironment
public Environment getEnvironment()
Get 函数的环境变量- Returns:
- Environment 函数的环境变量
-
setEnvironment
public void setEnvironment(Environment Environment)
Set 函数的环境变量- Parameters:
Environment- 函数的环境变量
-
getNamespace
public String getNamespace()
Get 函数所属命名空间 默认值: default- Returns:
- Namespace 函数所属命名空间 默认值: default
-
setNamespace
public void setNamespace(String Namespace)
Set 函数所属命名空间 默认值: default- Parameters:
Namespace- 函数所属命名空间 默认值: default
-
getVpcConfig
public VpcConfig getVpcConfig()
Get 函数的私有网络配置- Returns:
- VpcConfig 函数的私有网络配置
-
setVpcConfig
public void setVpcConfig(VpcConfig VpcConfig)
Set 函数的私有网络配置- Parameters:
VpcConfig- 函数的私有网络配置
-
getRole
public String getRole()
Get 函数绑定的角色- Returns:
- Role 函数绑定的角色
-
setRole
public void setRole(String Role)
Set 函数绑定的角色- Parameters:
Role- 函数绑定的角色
-
getInstallDependency
public String getInstallDependency()
Get [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。- Returns:
- InstallDependency [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。
-
setInstallDependency
public void setInstallDependency(String InstallDependency)
Set [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。- Parameters:
InstallDependency- [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。
-
getClsLogsetId
public String getClsLogsetId()
Get 日志投递到的cls日志集ID- Returns:
- ClsLogsetId 日志投递到的cls日志集ID
-
setClsLogsetId
public void setClsLogsetId(String ClsLogsetId)
Set 日志投递到的cls日志集ID- Parameters:
ClsLogsetId- 日志投递到的cls日志集ID
-
getClsTopicId
public String getClsTopicId()
Get 日志投递到的cls Topic ID- Returns:
- ClsTopicId 日志投递到的cls Topic ID
-
setClsTopicId
public void setClsTopicId(String ClsTopicId)
Set 日志投递到的cls Topic ID- Parameters:
ClsTopicId- 日志投递到的cls Topic ID
-
getPublish
public String getPublish()
Get 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本- Returns:
- Publish 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本
-
setPublish
public void setPublish(String Publish)
Set 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本- Parameters:
Publish- 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本
-
getL5Enable
public String getL5Enable()
Get 是否开启L5访问能力,TRUE 为开启,FALSE为关闭- Returns:
- L5Enable 是否开启L5访问能力,TRUE 为开启,FALSE为关闭
-
setL5Enable
public void setL5Enable(String L5Enable)
Set 是否开启L5访问能力,TRUE 为开启,FALSE为关闭- Parameters:
L5Enable- 是否开启L5访问能力,TRUE 为开启,FALSE为关闭
-
getLayers
public LayerVersionSimple[] getLayers()
Get 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。- Returns:
- Layers 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。
-
setLayers
public void setLayers(LayerVersionSimple[] Layers)
Set 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。- Parameters:
Layers- 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。
-
getDeadLetterConfig
public DeadLetterConfig getDeadLetterConfig()
Get 函数关联的死信队列信息- Returns:
- DeadLetterConfig 函数关联的死信队列信息
-
setDeadLetterConfig
public void setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
Set 函数关联的死信队列信息- Parameters:
DeadLetterConfig- 函数关联的死信队列信息
-
getPublicNetConfig
public PublicNetConfigIn getPublicNetConfig()
Get 公网访问配置- Returns:
- PublicNetConfig 公网访问配置
-
setPublicNetConfig
public void setPublicNetConfig(PublicNetConfigIn PublicNetConfig)
Set 公网访问配置- Parameters:
PublicNetConfig- 公网访问配置
-
getCfsConfig
public CfsConfig getCfsConfig()
Get 文件系统配置入参,用于云函数绑定CFS文件系统- Returns:
- CfsConfig 文件系统配置入参,用于云函数绑定CFS文件系统
-
setCfsConfig
public void setCfsConfig(CfsConfig CfsConfig)
Set 文件系统配置入参,用于云函数绑定CFS文件系统- Parameters:
CfsConfig- 文件系统配置入参,用于云函数绑定CFS文件系统
-
getInitTimeout
public Long getInitTimeout()
Get 函数初始化执行超时时间- Returns:
- InitTimeout 函数初始化执行超时时间
-
setInitTimeout
public void setInitTimeout(Long InitTimeout)
Set 函数初始化执行超时时间- Parameters:
InitTimeout- 函数初始化执行超时时间
-
getProtocolParams
public ProtocolParams getProtocolParams()
Get HTTP函数配置ProtocolType访问协议,当前协议可配置的参数- Returns:
- ProtocolParams HTTP函数配置ProtocolType访问协议,当前协议可配置的参数
-
setProtocolParams
public void setProtocolParams(ProtocolParams ProtocolParams)
Set HTTP函数配置ProtocolType访问协议,当前协议可配置的参数- Parameters:
ProtocolParams- HTTP函数配置ProtocolType访问协议,当前协议可配置的参数
-
getInstanceConcurrencyConfig
public InstanceConcurrencyConfig getInstanceConcurrencyConfig()
Get 单实例多并发配置。只支持Web函数。- Returns:
- InstanceConcurrencyConfig 单实例多并发配置。只支持Web函数。
-
setInstanceConcurrencyConfig
public void setInstanceConcurrencyConfig(InstanceConcurrencyConfig InstanceConcurrencyConfig)
Set 单实例多并发配置。只支持Web函数。- Parameters:
InstanceConcurrencyConfig- 单实例多并发配置。只支持Web函数。
-
-