volcenginecc v0.0.11 published on Thursday, Dec 4, 2025 by Volcengine
volcenginecc v0.0.11 published on Thursday, Dec 4, 2025 by Volcengine
Data Source schema for Volcengine::APIG::Upstream
Using getUpstream
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUpstream(args: GetUpstreamArgs, opts?: InvokeOptions): Promise<GetUpstreamResult>
function getUpstreamOutput(args: GetUpstreamOutputArgs, opts?: InvokeOptions): Output<GetUpstreamResult>def get_upstream(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUpstreamResult
def get_upstream_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUpstreamResult]func LookupUpstream(ctx *Context, args *LookupUpstreamArgs, opts ...InvokeOption) (*LookupUpstreamResult, error)
func LookupUpstreamOutput(ctx *Context, args *LookupUpstreamOutputArgs, opts ...InvokeOption) LookupUpstreamResultOutput> Note: This function is named LookupUpstream in the Go SDK.
public static class GetUpstream
{
public static Task<GetUpstreamResult> InvokeAsync(GetUpstreamArgs args, InvokeOptions? opts = null)
public static Output<GetUpstreamResult> Invoke(GetUpstreamInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUpstreamResult> getUpstream(GetUpstreamArgs args, InvokeOptions options)
public static Output<GetUpstreamResult> getUpstream(GetUpstreamArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:apig/getUpstream:getUpstream
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getUpstream Result
The following output properties are available:
- Backend
Targets List<Volcengine.Get Upstream Backend Target> - 后端节点,Upstream来源类型为VeFaas时无效。
- Circuit
Breaking Volcengine.Settings Get Upstream Circuit Breaking Settings - 服务熔断配置。
- Comments string
- 备注。
- Created
Time string - Upstream创建时间。
- Gateway
Id string - 网关实例ID。
- Id string
- Uniquely identifies the resource.
- Load
Balancer Volcengine.Settings Get Upstream Load Balancer Settings - 负载均衡配置。
- Name string
- Upstream名称。
- Protocol string
- 协议,取值:HTTP:HTTP/1.1。HTTP2:HTTP/2。GRPC:GRPC。
- Source
Type string - Upstream来源类型,取值:VeFaas:函数服务。ECS:云服务器。K8S:容器服务。Nacos:注册中心。AIProvider:AI模型代理。
- Tls
Settings Volcengine.Get Upstream Tls Settings - TLS配置。
- Updated
Time string - Upstream更新时间。
- Upstream
Id string - Upstream ID。
- Upstream
Spec Volcengine.Get Upstream Upstream Spec - Upstream配置。
- Version
Details List<Volcengine.Get Upstream Version Detail> - Upstream版本,仅在Upstream来源类型为K8S时有效。
- Backend
Targets []GetUpstream Backend Target - 后端节点,Upstream来源类型为VeFaas时无效。
- Circuit
Breaking GetSettings Upstream Circuit Breaking Settings - 服务熔断配置。
- Comments string
- 备注。
- Created
Time string - Upstream创建时间。
- Gateway
Id string - 网关实例ID。
- Id string
- Uniquely identifies the resource.
- Load
Balancer GetSettings Upstream Load Balancer Settings - 负载均衡配置。
- Name string
- Upstream名称。
- Protocol string
- 协议,取值:HTTP:HTTP/1.1。HTTP2:HTTP/2。GRPC:GRPC。
- Source
Type string - Upstream来源类型,取值:VeFaas:函数服务。ECS:云服务器。K8S:容器服务。Nacos:注册中心。AIProvider:AI模型代理。
- Tls
Settings GetUpstream Tls Settings - TLS配置。
- Updated
Time string - Upstream更新时间。
- Upstream
Id string - Upstream ID。
- Upstream
Spec GetUpstream Upstream Spec - Upstream配置。
- Version
Details []GetUpstream Version Detail - Upstream版本,仅在Upstream来源类型为K8S时有效。
- backend
Targets List<GetUpstream Backend Target> - 后端节点,Upstream来源类型为VeFaas时无效。
- circuit
Breaking GetSettings Upstream Circuit Breaking Settings - 服务熔断配置。
- comments String
- 备注。
- created
Time String - Upstream创建时间。
- gateway
Id String - 网关实例ID。
- id String
- Uniquely identifies the resource.
- load
Balancer GetSettings Upstream Load Balancer Settings - 负载均衡配置。
- name String
- Upstream名称。
- protocol String
- 协议,取值:HTTP:HTTP/1.1。HTTP2:HTTP/2。GRPC:GRPC。
- source
Type String - Upstream来源类型,取值:VeFaas:函数服务。ECS:云服务器。K8S:容器服务。Nacos:注册中心。AIProvider:AI模型代理。
- tls
Settings GetUpstream Tls Settings - TLS配置。
- updated
Time String - Upstream更新时间。
- upstream
Id String - Upstream ID。
- upstream
Spec GetUpstream Upstream Spec - Upstream配置。
- version
Details List<GetUpstream Version Detail> - Upstream版本,仅在Upstream来源类型为K8S时有效。
- backend
Targets GetUpstream Backend Target[] - 后端节点,Upstream来源类型为VeFaas时无效。
- circuit
Breaking GetSettings Upstream Circuit Breaking Settings - 服务熔断配置。
- comments string
- 备注。
- created
Time string - Upstream创建时间。
- gateway
Id string - 网关实例ID。
- id string
- Uniquely identifies the resource.
- load
Balancer GetSettings Upstream Load Balancer Settings - 负载均衡配置。
- name string
- Upstream名称。
- protocol string
- 协议,取值:HTTP:HTTP/1.1。HTTP2:HTTP/2。GRPC:GRPC。
- source
Type string - Upstream来源类型,取值:VeFaas:函数服务。ECS:云服务器。K8S:容器服务。Nacos:注册中心。AIProvider:AI模型代理。
- tls
Settings GetUpstream Tls Settings - TLS配置。
- updated
Time string - Upstream更新时间。
- upstream
Id string - Upstream ID。
- upstream
Spec GetUpstream Upstream Spec - Upstream配置。
- version
Details GetUpstream Version Detail[] - Upstream版本,仅在Upstream来源类型为K8S时有效。
- backend_
targets Sequence[GetUpstream Backend Target] - 后端节点,Upstream来源类型为VeFaas时无效。
- circuit_
breaking_ Getsettings Upstream Circuit Breaking Settings - 服务熔断配置。
- comments str
- 备注。
- created_
time str - Upstream创建时间。
- gateway_
id str - 网关实例ID。
- id str
- Uniquely identifies the resource.
- load_
balancer_ Getsettings Upstream Load Balancer Settings - 负载均衡配置。
- name str
- Upstream名称。
- protocol str
- 协议,取值:HTTP:HTTP/1.1。HTTP2:HTTP/2。GRPC:GRPC。
- source_
type str - Upstream来源类型,取值:VeFaas:函数服务。ECS:云服务器。K8S:容器服务。Nacos:注册中心。AIProvider:AI模型代理。
- tls_
settings GetUpstream Tls Settings - TLS配置。
- updated_
time str - Upstream更新时间。
- upstream_
id str - Upstream ID。
- upstream_
spec GetUpstream Upstream Spec - Upstream配置。
- version_
details Sequence[GetUpstream Version Detail] - Upstream版本,仅在Upstream来源类型为K8S时有效。
- backend
Targets List<Property Map> - 后端节点,Upstream来源类型为VeFaas时无效。
- circuit
Breaking Property MapSettings - 服务熔断配置。
- comments String
- 备注。
- created
Time String - Upstream创建时间。
- gateway
Id String - 网关实例ID。
- id String
- Uniquely identifies the resource.
- load
Balancer Property MapSettings - 负载均衡配置。
- name String
- Upstream名称。
- protocol String
- 协议,取值:HTTP:HTTP/1.1。HTTP2:HTTP/2。GRPC:GRPC。
- source
Type String - Upstream来源类型,取值:VeFaas:函数服务。ECS:云服务器。K8S:容器服务。Nacos:注册中心。AIProvider:AI模型代理。
- tls
Settings Property Map - TLS配置。
- updated
Time String - Upstream更新时间。
- upstream
Id String - Upstream ID。
- upstream
Spec Property Map - Upstream配置。
- version
Details List<Property Map> - Upstream版本,仅在Upstream来源类型为K8S时有效。
Supporting Types
GetUpstreamBackendTarget
- Health
Status string - 健康检查状态。
- Ip string
- 后端节点IP。
- Port int
- 后端节点端口。
- Health
Status string - 健康检查状态。
- Ip string
- 后端节点IP。
- Port int
- 后端节点端口。
- health
Status String - 健康检查状态。
- ip String
- 后端节点IP。
- port Integer
- 后端节点端口。
- health
Status string - 健康检查状态。
- ip string
- 后端节点IP。
- port number
- 后端节点端口。
- health_
status str - 健康检查状态。
- ip str
- 后端节点IP。
- port int
- 后端节点端口。
- health
Status String - 健康检查状态。
- ip String
- 后端节点IP。
- port Number
- 后端节点端口。
GetUpstreamCircuitBreakingSettings
- Base
Ejection intTime - 最小弹出时间。单位为毫秒。取值限制为1~86400000。默认值为30秒。
- Consecutive
Errors int - 连续失败次数。取值限制为1~100。默认值为5。
- Enable bool
- 开启。
- Interval int
- 计算周期。单位为毫秒。取值限制为1~86400000。默认值为10秒。
- Max
Ejection intPercent - 最大熔断比例。取值限制为1~100。默认值为20%。
- Min
Health intPercent - 最小健康比例。取值限制为0~100。默认值为60%。
- Base
Ejection intTime - 最小弹出时间。单位为毫秒。取值限制为1~86400000。默认值为30秒。
- Consecutive
Errors int - 连续失败次数。取值限制为1~100。默认值为5。
- Enable bool
- 开启。
- Interval int
- 计算周期。单位为毫秒。取值限制为1~86400000。默认值为10秒。
- Max
Ejection intPercent - 最大熔断比例。取值限制为1~100。默认值为20%。
- Min
Health intPercent - 最小健康比例。取值限制为0~100。默认值为60%。
- base
Ejection IntegerTime - 最小弹出时间。单位为毫秒。取值限制为1~86400000。默认值为30秒。
- consecutive
Errors Integer - 连续失败次数。取值限制为1~100。默认值为5。
- enable Boolean
- 开启。
- interval Integer
- 计算周期。单位为毫秒。取值限制为1~86400000。默认值为10秒。
- max
Ejection IntegerPercent - 最大熔断比例。取值限制为1~100。默认值为20%。
- min
Health IntegerPercent - 最小健康比例。取值限制为0~100。默认值为60%。
- base
Ejection numberTime - 最小弹出时间。单位为毫秒。取值限制为1~86400000。默认值为30秒。
- consecutive
Errors number - 连续失败次数。取值限制为1~100。默认值为5。
- enable boolean
- 开启。
- interval number
- 计算周期。单位为毫秒。取值限制为1~86400000。默认值为10秒。
- max
Ejection numberPercent - 最大熔断比例。取值限制为1~100。默认值为20%。
- min
Health numberPercent - 最小健康比例。取值限制为0~100。默认值为60%。
- base_
ejection_ inttime - 最小弹出时间。单位为毫秒。取值限制为1~86400000。默认值为30秒。
- consecutive_
errors int - 连续失败次数。取值限制为1~100。默认值为5。
- enable bool
- 开启。
- interval int
- 计算周期。单位为毫秒。取值限制为1~86400000。默认值为10秒。
- max_
ejection_ intpercent - 最大熔断比例。取值限制为1~100。默认值为20%。
- min_
health_ intpercent - 最小健康比例。取值限制为0~100。默认值为60%。
- base
Ejection NumberTime - 最小弹出时间。单位为毫秒。取值限制为1~86400000。默认值为30秒。
- consecutive
Errors Number - 连续失败次数。取值限制为1~100。默认值为5。
- enable Boolean
- 开启。
- interval Number
- 计算周期。单位为毫秒。取值限制为1~86400000。默认值为10秒。
- max
Ejection NumberPercent - 最大熔断比例。取值限制为1~100。默认值为20%。
- min
Health NumberPercent - 最小健康比例。取值限制为0~100。默认值为60%。
GetUpstreamLoadBalancerSettings
- Consistent
Hash Volcengine.Lb Get Upstream Load Balancer Settings Consistent Hash Lb - 一致性哈希负载均衡。
- Lb
Policy string - 负载均衡策略,取值:SimpleLB:简单负载均衡。ConsistentHashLB:一致性哈希负载均衡。
- Simple
Lb string - 简单负载均衡,取值:ROUNDROBIN:轮询。LEASTCONN:最小连接数。RANDOM:随机。
- Warmup
Duration int - 预热时间。单位为秒。
- Consistent
Hash GetLb Upstream Load Balancer Settings Consistent Hash Lb - 一致性哈希负载均衡。
- Lb
Policy string - 负载均衡策略,取值:SimpleLB:简单负载均衡。ConsistentHashLB:一致性哈希负载均衡。
- Simple
Lb string - 简单负载均衡,取值:ROUNDROBIN:轮询。LEASTCONN:最小连接数。RANDOM:随机。
- Warmup
Duration int - 预热时间。单位为秒。
- consistent
Hash GetLb Upstream Load Balancer Settings Consistent Hash Lb - 一致性哈希负载均衡。
- lb
Policy String - 负载均衡策略,取值:SimpleLB:简单负载均衡。ConsistentHashLB:一致性哈希负载均衡。
- simple
Lb String - 简单负载均衡,取值:ROUNDROBIN:轮询。LEASTCONN:最小连接数。RANDOM:随机。
- warmup
Duration Integer - 预热时间。单位为秒。
- consistent
Hash GetLb Upstream Load Balancer Settings Consistent Hash Lb - 一致性哈希负载均衡。
- lb
Policy string - 负载均衡策略,取值:SimpleLB:简单负载均衡。ConsistentHashLB:一致性哈希负载均衡。
- simple
Lb string - 简单负载均衡,取值:ROUNDROBIN:轮询。LEASTCONN:最小连接数。RANDOM:随机。
- warmup
Duration number - 预热时间。单位为秒。
- consistent_
hash_ Getlb Upstream Load Balancer Settings Consistent Hash Lb - 一致性哈希负载均衡。
- lb_
policy str - 负载均衡策略,取值:SimpleLB:简单负载均衡。ConsistentHashLB:一致性哈希负载均衡。
- simple_
lb str - 简单负载均衡,取值:ROUNDROBIN:轮询。LEASTCONN:最小连接数。RANDOM:随机。
- warmup_
duration int - 预热时间。单位为秒。
- consistent
Hash Property MapLb - 一致性哈希负载均衡。
- lb
Policy String - 负载均衡策略,取值:SimpleLB:简单负载均衡。ConsistentHashLB:一致性哈希负载均衡。
- simple
Lb String - 简单负载均衡,取值:ROUNDROBIN:轮询。LEASTCONN:最小连接数。RANDOM:随机。
- warmup
Duration Number - 预热时间。单位为秒。
GetUpstreamLoadBalancerSettingsConsistentHashLb
- Hash
Key string - 一致性哈希方式,取值:UseSourceIp:基于源IP地址。HttpQueryParameterName:基于参数。HttpHeaderName:基于头。HTTPCookie:基于cookie。
-
Volcengine.
Get Upstream Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- Http
Header stringName - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- Http
Query stringParameter Name - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- Use
Source stringIp - 源IP地址。
- Hash
Key string - 一致性哈希方式,取值:UseSourceIp:基于源IP地址。HttpQueryParameterName:基于参数。HttpHeaderName:基于头。HTTPCookie:基于cookie。
-
Get
Upstream Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- Http
Header stringName - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- Http
Query stringParameter Name - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- Use
Source stringIp - 源IP地址。
- hash
Key String - 一致性哈希方式,取值:UseSourceIp:基于源IP地址。HttpQueryParameterName:基于参数。HttpHeaderName:基于头。HTTPCookie:基于cookie。
-
Get
Upstream Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- http
Header StringName - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- http
Query StringParameter Name - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- use
Source StringIp - 源IP地址。
- hash
Key string - 一致性哈希方式,取值:UseSourceIp:基于源IP地址。HttpQueryParameterName:基于参数。HttpHeaderName:基于头。HTTPCookie:基于cookie。
-
Get
Upstream Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- http
Header stringName - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- http
Query stringParameter Name - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- use
Source stringIp - 源IP地址。
- hash_
key str - 一致性哈希方式,取值:UseSourceIp:基于源IP地址。HttpQueryParameterName:基于参数。HttpHeaderName:基于头。HTTPCookie:基于cookie。
-
Get
Upstream Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- http_
header_ strname - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- http_
query_ strparameter_ name - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- use_
source_ strip - 源IP地址。
- hash
Key String - 一致性哈希方式,取值:UseSourceIp:基于源IP地址。HttpQueryParameterName:基于参数。HttpHeaderName:基于头。HTTPCookie:基于cookie。
- Property Map
- Cookie。
- http
Header StringName - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- http
Query StringParameter Name - 参数。支持ASCII可打印字符,长度限制为1~256个字符。
- use
Source StringIp - 源IP地址。
GetUpstreamLoadBalancerSettingsConsistentHashLbHttpCookie
GetUpstreamTlsSettings
GetUpstreamUpstreamSpec
- Ai
Provider Volcengine.Get Upstream Upstream Spec Ai Provider - AI模型代理。
- Ecs
Instances List<Volcengine.Get Upstream Upstream Spec Ecs Instance> - 云服务器。
- K8SService
Volcengine.
Get Upstream Upstream Spec K8SService - 容器服务。
- Nacos
Service Volcengine.Get Upstream Upstream Spec Nacos Service - 注册中心。
- Ve
Faas Volcengine.Get Upstream Upstream Spec Ve Faas - 函数服务。
- ai
Provider Property Map - AI模型代理。
- ecs
Instances List<Property Map> - 云服务器。
- k8SService Property Map
- 容器服务。
- nacos
Service Property Map - 注册中心。
- ve
Faas Property Map - 函数服务。
GetUpstreamUpstreamSpecAiProvider
- Base
Url string - 模型地址。
- Custom
Model Volcengine.Service Get Upstream Upstream Spec Ai Provider Custom Model Service - 火山自部署模型服务。
- Name string
- 模型服务商名称。
- Token string
- 模型API key。
- Base
Url string - 模型地址。
- Custom
Model GetService Upstream Upstream Spec Ai Provider Custom Model Service - 火山自部署模型服务。
- Name string
- 模型服务商名称。
- Token string
- 模型API key。
- base
Url String - 模型地址。
- custom
Model GetService Upstream Upstream Spec Ai Provider Custom Model Service - 火山自部署模型服务。
- name String
- 模型服务商名称。
- token String
- 模型API key。
- base
Url string - 模型地址。
- custom
Model GetService Upstream Upstream Spec Ai Provider Custom Model Service - 火山自部署模型服务。
- name string
- 模型服务商名称。
- token string
- 模型API key。
- base_
url str - 模型地址。
- custom_
model_ Getservice Upstream Upstream Spec Ai Provider Custom Model Service - 火山自部署模型服务。
- name str
- 模型服务商名称。
- token str
- 模型API key。
- base
Url String - 模型地址。
- custom
Model Property MapService - 火山自部署模型服务。
- name String
- 模型服务商名称。
- token String
- 模型API key。
GetUpstreamUpstreamSpecAiProviderCustomModelService
GetUpstreamUpstreamSpecEcsInstance
GetUpstreamUpstreamSpecK8SService
GetUpstreamUpstreamSpecNacosService
- Group string
- 分组。
- Namespace string
- 命名空间。
- Namespace
Id string - 命名空间ID。
- Service string
- 服务。
- Upstream
Source stringId - Upstream来源ID。
- Group string
- 分组。
- Namespace string
- 命名空间。
- Namespace
Id string - 命名空间ID。
- Service string
- 服务。
- Upstream
Source stringId - Upstream来源ID。
- group String
- 分组。
- namespace String
- 命名空间。
- namespace
Id String - 命名空间ID。
- service String
- 服务。
- upstream
Source StringId - Upstream来源ID。
- group string
- 分组。
- namespace string
- 命名空间。
- namespace
Id string - 命名空间ID。
- service string
- 服务。
- upstream
Source stringId - Upstream来源ID。
- group str
- 分组。
- namespace str
- 命名空间。
- namespace_
id str - 命名空间ID。
- service str
- 服务。
- upstream_
source_ strid - Upstream来源ID。
- group String
- 分组。
- namespace String
- 命名空间。
- namespace
Id String - 命名空间ID。
- service String
- 服务。
- upstream
Source StringId - Upstream来源ID。
GetUpstreamUpstreamSpecVeFaas
- Function
Id string - 函数ID。
- Function
Id string - 函数ID。
- function
Id String - 函数ID。
- function
Id string - 函数ID。
- function_
id str - 函数ID。
- function
Id String - 函数ID。
GetUpstreamVersionDetail
- Labels
List<Volcengine.
Get Upstream Version Detail Label> - 标签。
- Name string
- 版本名称。支持大小写字母、数字和中划线(-),长度限制为2~63个字符。不能以中划线(-)开头。
- Update
Time string - 更新时间。
- Labels
[]Get
Upstream Version Detail Label - 标签。
- Name string
- 版本名称。支持大小写字母、数字和中划线(-),长度限制为2~63个字符。不能以中划线(-)开头。
- Update
Time string - 更新时间。
- labels
List<Get
Upstream Version Detail Label> - 标签。
- name String
- 版本名称。支持大小写字母、数字和中划线(-),长度限制为2~63个字符。不能以中划线(-)开头。
- update
Time String - 更新时间。
- labels
Get
Upstream Version Detail Label[] - 标签。
- name string
- 版本名称。支持大小写字母、数字和中划线(-),长度限制为2~63个字符。不能以中划线(-)开头。
- update
Time string - 更新时间。
- labels
Sequence[Get
Upstream Version Detail Label] - 标签。
- name str
- 版本名称。支持大小写字母、数字和中划线(-),长度限制为2~63个字符。不能以中划线(-)开头。
- update_
time str - 更新时间。
- labels List<Property Map>
- 标签。
- name String
- 版本名称。支持大小写字母、数字和中划线(-),长度限制为2~63个字符。不能以中划线(-)开头。
- update
Time String - 更新时间。
GetUpstreamVersionDetailLabel
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
volcenginecc v0.0.11 published on Thursday, Dec 4, 2025 by Volcengine
