public class UpdateFunctionConfigurationRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
CfsConfig |
getCfsConfig()
Get 文件系统配置入参,用于云函数绑定CFS文件系统
|
String |
getClsLogsetId()
Get 日志投递到的cls日志集ID
|
String |
getClsTopicId()
Get 日志投递到的cls Topic ID
|
DeadLetterConfig |
getDeadLetterConfig()
Get 函数关联的死信队列信息
|
String |
getDescription()
Get 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
|
String |
getDnsCache()
Get 是否开启Dns缓存能力。只支持EVENT函数。默认为FALSE,TRUE 为开启,FALSE为关闭
|
Environment |
getEnvironment()
Get 函数的环境变量
|
String |
getFunctionName()
Get 要修改的函数名称
|
Boolean |
getIgnoreSysLog()
Get 忽略系统日志上报
|
Long |
getInitTimeout()
Get 函数初始化执行超时时间
|
String |
getInstallDependency()
Get [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。
|
InstanceConcurrencyConfig |
getInstanceConcurrencyConfig()
Get 单实例多并发配置。只支持Web函数。
|
IntranetConfigIn |
getIntranetConfig()
Get 内网访问配置
|
String |
getL5Enable()
Get 是否开启L5访问能力,TRUE 为开启,FALSE为关闭
|
LayerVersionSimple[] |
getLayers()
Get 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。
|
Long |
getMemorySize()
Get 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。
|
String |
getNamespace()
Get 函数所属命名空间
默认值: default
|
ProtocolParams |
getProtocolParams()
Get HTTP函数配置ProtocolType访问协议,当前协议可配置的参数
|
PublicNetConfigIn |
getPublicNetConfig()
Get 公网访问配置
|
String |
getPublish()
Get 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本
|
String |
getRole()
Get 函数绑定的角色
|
String |
getRuntime()
Get 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime
|
Long |
getTimeout()
Get 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
|
VpcConfig |
getVpcConfig()
Get 函数的私有网络配置
|
void |
setCfsConfig(CfsConfig CfsConfig)
Set 文件系统配置入参,用于云函数绑定CFS文件系统
|
void |
setClsLogsetId(String ClsLogsetId)
Set 日志投递到的cls日志集ID
|
void |
setClsTopicId(String ClsTopicId)
Set 日志投递到的cls Topic ID
|
void |
setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
Set 函数关联的死信队列信息
|
void |
setDescription(String Description)
Set 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文
|
void |
setDnsCache(String DnsCache)
Set 是否开启Dns缓存能力。只支持EVENT函数。默认为FALSE,TRUE 为开启,FALSE为关闭
|
void |
setEnvironment(Environment Environment)
Set 函数的环境变量
|
void |
setFunctionName(String FunctionName)
Set 要修改的函数名称
|
void |
setIgnoreSysLog(Boolean IgnoreSysLog)
Set 忽略系统日志上报
|
void |
setInitTimeout(Long InitTimeout)
Set 函数初始化执行超时时间
|
void |
setInstallDependency(String InstallDependency)
Set [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。
|
void |
setInstanceConcurrencyConfig(InstanceConcurrencyConfig InstanceConcurrencyConfig)
Set 单实例多并发配置。只支持Web函数。
|
void |
setIntranetConfig(IntranetConfigIn IntranetConfig)
Set 内网访问配置
|
void |
setL5Enable(String L5Enable)
Set 是否开启L5访问能力,TRUE 为开启,FALSE为关闭
|
void |
setLayers(LayerVersionSimple[] Layers)
Set 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。
|
void |
setMemorySize(Long MemorySize)
Set 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。
|
void |
setNamespace(String Namespace)
Set 函数所属命名空间
默认值: default
|
void |
setProtocolParams(ProtocolParams ProtocolParams)
Set HTTP函数配置ProtocolType访问协议,当前协议可配置的参数
|
void |
setPublicNetConfig(PublicNetConfigIn PublicNetConfig)
Set 公网访问配置
|
void |
setPublish(String Publish)
Set 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本
|
void |
setRole(String Role)
Set 函数绑定的角色
|
void |
setRuntime(String Runtime)
Set 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime
|
void |
setTimeout(Long Timeout)
Set 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
|
void |
setVpcConfig(VpcConfig VpcConfig)
Set 函数的私有网络配置
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpdateFunctionConfigurationRequest()
public UpdateFunctionConfigurationRequest(UpdateFunctionConfigurationRequest source)
public String getFunctionName()
public void setFunctionName(String FunctionName)
FunctionName
- 要修改的函数名称public String getDescription()
public void setDescription(String Description)
Description
- 函数描述。最大支持 1000 个英文字母、数字、空格、逗号和英文句号,支持中文public Long getMemorySize()
public void setMemorySize(Long MemorySize)
MemorySize
- 函数运行时内存大小,默认为 128 M,可选范64M、128 M-3072 M,以 128MB 为阶梯。public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒public String getRuntime()
public void setRuntime(String Runtime)
Runtime
- 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntimepublic Environment getEnvironment()
public void setEnvironment(Environment Environment)
Environment
- 函数的环境变量public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- 函数所属命名空间
默认值: defaultpublic VpcConfig getVpcConfig()
public void setVpcConfig(VpcConfig VpcConfig)
VpcConfig
- 函数的私有网络配置public String getRole()
public void setRole(String Role)
Role
- 函数绑定的角色public String getInstallDependency()
public void setInstallDependency(String InstallDependency)
InstallDependency
- [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。public String getClsLogsetId()
public void setClsLogsetId(String ClsLogsetId)
ClsLogsetId
- 日志投递到的cls日志集IDpublic String getClsTopicId()
public void setClsTopicId(String ClsTopicId)
ClsTopicId
- 日志投递到的cls Topic IDpublic String getPublish()
public void setPublish(String Publish)
Publish
- 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本public String getL5Enable()
public void setL5Enable(String L5Enable)
L5Enable
- 是否开启L5访问能力,TRUE 为开启,FALSE为关闭public LayerVersionSimple[] getLayers()
public void setLayers(LayerVersionSimple[] Layers)
Layers
- 函数要关联的层版本列表,层的版本会按照在列表中顺序依次覆盖。public DeadLetterConfig getDeadLetterConfig()
public void setDeadLetterConfig(DeadLetterConfig DeadLetterConfig)
DeadLetterConfig
- 函数关联的死信队列信息public PublicNetConfigIn getPublicNetConfig()
public void setPublicNetConfig(PublicNetConfigIn PublicNetConfig)
PublicNetConfig
- 公网访问配置public CfsConfig getCfsConfig()
public void setCfsConfig(CfsConfig CfsConfig)
CfsConfig
- 文件系统配置入参,用于云函数绑定CFS文件系统public Long getInitTimeout()
public void setInitTimeout(Long InitTimeout)
InitTimeout
- 函数初始化执行超时时间public ProtocolParams getProtocolParams()
public void setProtocolParams(ProtocolParams ProtocolParams)
ProtocolParams
- HTTP函数配置ProtocolType访问协议,当前协议可配置的参数public InstanceConcurrencyConfig getInstanceConcurrencyConfig()
public void setInstanceConcurrencyConfig(InstanceConcurrencyConfig InstanceConcurrencyConfig)
InstanceConcurrencyConfig
- 单实例多并发配置。只支持Web函数。public String getDnsCache()
public void setDnsCache(String DnsCache)
DnsCache
- 是否开启Dns缓存能力。只支持EVENT函数。默认为FALSE,TRUE 为开启,FALSE为关闭public IntranetConfigIn getIntranetConfig()
public void setIntranetConfig(IntranetConfigIn IntranetConfig)
IntranetConfig
- 内网访问配置public Boolean getIgnoreSysLog()
public void setIgnoreSysLog(Boolean IgnoreSysLog)
IgnoreSysLog
- 忽略系统日志上报Copyright © 2024. All rights reserved.