published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Upstream is an abstraction of the backend for API gateway instances. You can group backend applications with the same functionality into an upstream, which decouples routing from backend applications and provides flexible support for scenarios such as canary releases and multi-version management. This article introduces the concept and purpose of upstream
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
aPIGUpstreamAIProviderDemo:
type: volcenginecc:apig:Upstream
name: APIGUpstreamAIProviderDemo
properties:
circuitBreakingSettings:
base_ejection_time: 30
consecutive_errors: 5
enable: true
interval: 10
max_ejection_percent: 20
min_health_percent: 60
comments: this is a test
connectionPoolSettings:
enable: true
http_1_max_pending_requests: 1000
idle_timeout: 1000
max_connections: 1000
gatewayId: gd6hagxxxxxkh7is70
loadBalancerSettings:
lb_policy: SimpleLB
simple_lb: LEAST_CONN
warmup_duration: 5
name: test-7
protocol: HTTP
tlsSettings:
sni: ""
tls_mode: DISABLE
sourceType: Domain
upstreamSpec:
domain:
domainList:
- domain: www.test7.com
port: 5566
Create Upstream Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Upstream(name: string, args: UpstreamArgs, opts?: CustomResourceOptions);@overload
def Upstream(resource_name: str,
args: UpstreamArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Upstream(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_id: Optional[str] = None,
name: Optional[str] = None,
source_type: Optional[str] = None,
upstream_spec: Optional[UpstreamUpstreamSpecArgs] = None,
circuit_breaking_settings: Optional[UpstreamCircuitBreakingSettingsArgs] = None,
comments: Optional[str] = None,
connection_pool_settings: Optional[UpstreamConnectionPoolSettingsArgs] = None,
load_balancer_settings: Optional[UpstreamLoadBalancerSettingsArgs] = None,
protocol: Optional[str] = None,
tls_settings: Optional[UpstreamTlsSettingsArgs] = None)func NewUpstream(ctx *Context, name string, args UpstreamArgs, opts ...ResourceOption) (*Upstream, error)public Upstream(string name, UpstreamArgs args, CustomResourceOptions? opts = null)
public Upstream(String name, UpstreamArgs args)
public Upstream(String name, UpstreamArgs args, CustomResourceOptions options)
type: volcenginecc:apig:Upstream
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UpstreamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UpstreamArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UpstreamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UpstreamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UpstreamArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Upstream Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Upstream resource accepts the following input properties:
- Gateway
Id string - Gateway Instance ID
- Name string
- Upstream name
- Source
Type string - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- Upstream
Spec Volcengine.Upstream Upstream Spec - Upstream Configuration
- Circuit
Breaking Volcengine.Settings Upstream Circuit Breaking Settings - Service circuit breaking configuration
- Comments string
- Remarks
- Connection
Pool Volcengine.Settings Upstream Connection Pool Settings - Connection Pool Configuration
- Load
Balancer Volcengine.Settings Upstream Load Balancer Settings - Load Balancing Configuration
- Protocol string
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- Tls
Settings Volcengine.Upstream Tls Settings - TLS Configuration
- Gateway
Id string - Gateway Instance ID
- Name string
- Upstream name
- Source
Type string - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- Upstream
Spec UpstreamUpstream Spec Args - Upstream Configuration
- Circuit
Breaking UpstreamSettings Circuit Breaking Settings Args - Service circuit breaking configuration
- Comments string
- Remarks
- Connection
Pool UpstreamSettings Connection Pool Settings Args - Connection Pool Configuration
- Load
Balancer UpstreamSettings Load Balancer Settings Args - Load Balancing Configuration
- Protocol string
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- Tls
Settings UpstreamTls Settings Args - TLS Configuration
- gateway
Id String - Gateway Instance ID
- name String
- Upstream name
- source
Type String - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- upstream
Spec UpstreamUpstream Spec - Upstream Configuration
- circuit
Breaking UpstreamSettings Circuit Breaking Settings - Service circuit breaking configuration
- comments String
- Remarks
- connection
Pool UpstreamSettings Connection Pool Settings - Connection Pool Configuration
- load
Balancer UpstreamSettings Load Balancer Settings - Load Balancing Configuration
- protocol String
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- tls
Settings UpstreamTls Settings - TLS Configuration
- gateway
Id string - Gateway Instance ID
- name string
- Upstream name
- source
Type string - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- upstream
Spec UpstreamUpstream Spec - Upstream Configuration
- circuit
Breaking UpstreamSettings Circuit Breaking Settings - Service circuit breaking configuration
- comments string
- Remarks
- connection
Pool UpstreamSettings Connection Pool Settings - Connection Pool Configuration
- load
Balancer UpstreamSettings Load Balancer Settings - Load Balancing Configuration
- protocol string
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- tls
Settings UpstreamTls Settings - TLS Configuration
- gateway_
id str - Gateway Instance ID
- name str
- Upstream name
- source_
type str - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- upstream_
spec UpstreamUpstream Spec Args - Upstream Configuration
- circuit_
breaking_ Upstreamsettings Circuit Breaking Settings Args - Service circuit breaking configuration
- comments str
- Remarks
- connection_
pool_ Upstreamsettings Connection Pool Settings Args - Connection Pool Configuration
- load_
balancer_ Upstreamsettings Load Balancer Settings Args - Load Balancing Configuration
- protocol str
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- tls_
settings UpstreamTls Settings Args - TLS Configuration
- gateway
Id String - Gateway Instance ID
- name String
- Upstream name
- source
Type String - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- upstream
Spec Property Map - Upstream Configuration
- circuit
Breaking Property MapSettings - Service circuit breaking configuration
- comments String
- Remarks
- connection
Pool Property MapSettings - Connection Pool Configuration
- load
Balancer Property MapSettings - Load Balancing Configuration
- protocol String
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- tls
Settings Property Map - TLS Configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the Upstream resource produces the following output properties:
- Backend
Targets List<Volcengine.Upstream Backend Target> - Created
Time string - Upstream creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
Time string - Upstream update time
- Upstream
Id string - Upstream ID。
- Version
Details List<Volcengine.Upstream Version Detail>
- Backend
Targets []UpstreamBackend Target - Created
Time string - Upstream creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
Time string - Upstream update time
- Upstream
Id string - Upstream ID。
- Version
Details []UpstreamVersion Detail
- backend
Targets List<UpstreamBackend Target> - created
Time String - Upstream creation time
- id String
- The provider-assigned unique ID for this managed resource.
- updated
Time String - Upstream update time
- upstream
Id String - Upstream ID。
- version
Details List<UpstreamVersion Detail>
- backend
Targets UpstreamBackend Target[] - created
Time string - Upstream creation time
- id string
- The provider-assigned unique ID for this managed resource.
- updated
Time string - Upstream update time
- upstream
Id string - Upstream ID。
- version
Details UpstreamVersion Detail[]
- backend_
targets Sequence[UpstreamBackend Target] - created_
time str - Upstream creation time
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
time str - Upstream update time
- upstream_
id str - Upstream ID。
- version_
details Sequence[UpstreamVersion Detail]
- backend
Targets List<Property Map> - created
Time String - Upstream creation time
- id String
- The provider-assigned unique ID for this managed resource.
- updated
Time String - Upstream update time
- upstream
Id String - Upstream ID。
- version
Details List<Property Map>
Look up Existing Upstream Resource
Get an existing Upstream resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UpstreamState, opts?: CustomResourceOptions): Upstream@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backend_targets: Optional[Sequence[UpstreamBackendTargetArgs]] = None,
circuit_breaking_settings: Optional[UpstreamCircuitBreakingSettingsArgs] = None,
comments: Optional[str] = None,
connection_pool_settings: Optional[UpstreamConnectionPoolSettingsArgs] = None,
created_time: Optional[str] = None,
gateway_id: Optional[str] = None,
load_balancer_settings: Optional[UpstreamLoadBalancerSettingsArgs] = None,
name: Optional[str] = None,
protocol: Optional[str] = None,
source_type: Optional[str] = None,
tls_settings: Optional[UpstreamTlsSettingsArgs] = None,
updated_time: Optional[str] = None,
upstream_id: Optional[str] = None,
upstream_spec: Optional[UpstreamUpstreamSpecArgs] = None,
version_details: Optional[Sequence[UpstreamVersionDetailArgs]] = None) -> Upstreamfunc GetUpstream(ctx *Context, name string, id IDInput, state *UpstreamState, opts ...ResourceOption) (*Upstream, error)public static Upstream Get(string name, Input<string> id, UpstreamState? state, CustomResourceOptions? opts = null)public static Upstream get(String name, Output<String> id, UpstreamState state, CustomResourceOptions options)resources: _: type: volcenginecc:apig:Upstream get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backend
Targets List<Volcengine.Upstream Backend Target> - Circuit
Breaking Volcengine.Settings Upstream Circuit Breaking Settings - Service circuit breaking configuration
- Comments string
- Remarks
- Connection
Pool Volcengine.Settings Upstream Connection Pool Settings - Connection Pool Configuration
- Created
Time string - Upstream creation time
- Gateway
Id string - Gateway Instance ID
- Load
Balancer Volcengine.Settings Upstream Load Balancer Settings - Load Balancing Configuration
- Name string
- Upstream name
- Protocol string
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- Source
Type string - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- Tls
Settings Volcengine.Upstream Tls Settings - TLS Configuration
- Updated
Time string - Upstream update time
- Upstream
Id string - Upstream ID。
- Upstream
Spec Volcengine.Upstream Upstream Spec - Upstream Configuration
- Version
Details List<Volcengine.Upstream Version Detail>
- Backend
Targets []UpstreamBackend Target Args - Circuit
Breaking UpstreamSettings Circuit Breaking Settings Args - Service circuit breaking configuration
- Comments string
- Remarks
- Connection
Pool UpstreamSettings Connection Pool Settings Args - Connection Pool Configuration
- Created
Time string - Upstream creation time
- Gateway
Id string - Gateway Instance ID
- Load
Balancer UpstreamSettings Load Balancer Settings Args - Load Balancing Configuration
- Name string
- Upstream name
- Protocol string
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- Source
Type string - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- Tls
Settings UpstreamTls Settings Args - TLS Configuration
- Updated
Time string - Upstream update time
- Upstream
Id string - Upstream ID。
- Upstream
Spec UpstreamUpstream Spec Args - Upstream Configuration
- Version
Details []UpstreamVersion Detail Args
- backend
Targets List<UpstreamBackend Target> - circuit
Breaking UpstreamSettings Circuit Breaking Settings - Service circuit breaking configuration
- comments String
- Remarks
- connection
Pool UpstreamSettings Connection Pool Settings - Connection Pool Configuration
- created
Time String - Upstream creation time
- gateway
Id String - Gateway Instance ID
- load
Balancer UpstreamSettings Load Balancer Settings - Load Balancing Configuration
- name String
- Upstream name
- protocol String
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- source
Type String - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- tls
Settings UpstreamTls Settings - TLS Configuration
- updated
Time String - Upstream update time
- upstream
Id String - Upstream ID。
- upstream
Spec UpstreamUpstream Spec - Upstream Configuration
- version
Details List<UpstreamVersion Detail>
- backend
Targets UpstreamBackend Target[] - circuit
Breaking UpstreamSettings Circuit Breaking Settings - Service circuit breaking configuration
- comments string
- Remarks
- connection
Pool UpstreamSettings Connection Pool Settings - Connection Pool Configuration
- created
Time string - Upstream creation time
- gateway
Id string - Gateway Instance ID
- load
Balancer UpstreamSettings Load Balancer Settings - Load Balancing Configuration
- name string
- Upstream name
- protocol string
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- source
Type string - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- tls
Settings UpstreamTls Settings - TLS Configuration
- updated
Time string - Upstream update time
- upstream
Id string - Upstream ID。
- upstream
Spec UpstreamUpstream Spec - Upstream Configuration
- version
Details UpstreamVersion Detail[]
- backend_
targets Sequence[UpstreamBackend Target Args] - circuit_
breaking_ Upstreamsettings Circuit Breaking Settings Args - Service circuit breaking configuration
- comments str
- Remarks
- connection_
pool_ Upstreamsettings Connection Pool Settings Args - Connection Pool Configuration
- created_
time str - Upstream creation time
- gateway_
id str - Gateway Instance ID
- load_
balancer_ Upstreamsettings Load Balancer Settings Args - Load Balancing Configuration
- name str
- Upstream name
- protocol str
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- source_
type str - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- tls_
settings UpstreamTls Settings Args - TLS Configuration
- updated_
time str - Upstream update time
- upstream_
id str - Upstream ID。
- upstream_
spec UpstreamUpstream Spec Args - Upstream Configuration
- version_
details Sequence[UpstreamVersion Detail Args]
- backend
Targets List<Property Map> - circuit
Breaking Property MapSettings - Service circuit breaking configuration
- comments String
- Remarks
- connection
Pool Property MapSettings - Connection Pool Configuration
- created
Time String - Upstream creation time
- gateway
Id String - Gateway Instance ID
- load
Balancer Property MapSettings - Load Balancing Configuration
- name String
- Upstream name
- protocol String
- Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC
- source
Type String - Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy
- tls
Settings Property Map - TLS Configuration
- updated
Time String - Upstream update time
- upstream
Id String - Upstream ID。
- upstream
Spec Property Map - Upstream Configuration
- version
Details List<Property Map>
Supporting Types
UpstreamBackendTarget, UpstreamBackendTargetArgs
- Health
Status string - Health Check Status
- Ip string
- Backend node IP
- Port int
- Backend node port
- Health
Status string - Health Check Status
- Ip string
- Backend node IP
- Port int
- Backend node port
- health
Status String - Health Check Status
- ip String
- Backend node IP
- port Integer
- Backend node port
- health
Status string - Health Check Status
- ip string
- Backend node IP
- port number
- Backend node port
- health_
status str - Health Check Status
- ip str
- Backend node IP
- port int
- Backend node port
- health
Status String - Health Check Status
- ip String
- Backend node IP
- port Number
- Backend node port
UpstreamCircuitBreakingSettings, UpstreamCircuitBreakingSettingsArgs
- Base
Ejection intTime - Minimum pop time, in milliseconds. Value range: 1–86400000. Default: 30 seconds
- Consecutive
Errors int - Consecutive failure count. Value range: 1~100. Default: 5
- Enable bool
- Enable
- Interval int
- Calculation cycle, in milliseconds. Value range: 1–86400000. Default: 10 seconds
- Max
Ejection intPercent - Maximum circuit breaking ratio. Value range: 1~100. Default: 20%
- Min
Health intPercent - Minimum health ratio. Value range: 0~100. Default: 60%
- Base
Ejection intTime - Minimum pop time, in milliseconds. Value range: 1–86400000. Default: 30 seconds
- Consecutive
Errors int - Consecutive failure count. Value range: 1~100. Default: 5
- Enable bool
- Enable
- Interval int
- Calculation cycle, in milliseconds. Value range: 1–86400000. Default: 10 seconds
- Max
Ejection intPercent - Maximum circuit breaking ratio. Value range: 1~100. Default: 20%
- Min
Health intPercent - Minimum health ratio. Value range: 0~100. Default: 60%
- base
Ejection IntegerTime - Minimum pop time, in milliseconds. Value range: 1–86400000. Default: 30 seconds
- consecutive
Errors Integer - Consecutive failure count. Value range: 1~100. Default: 5
- enable Boolean
- Enable
- interval Integer
- Calculation cycle, in milliseconds. Value range: 1–86400000. Default: 10 seconds
- max
Ejection IntegerPercent - Maximum circuit breaking ratio. Value range: 1~100. Default: 20%
- min
Health IntegerPercent - Minimum health ratio. Value range: 0~100. Default: 60%
- base
Ejection numberTime - Minimum pop time, in milliseconds. Value range: 1–86400000. Default: 30 seconds
- consecutive
Errors number - Consecutive failure count. Value range: 1~100. Default: 5
- enable boolean
- Enable
- interval number
- Calculation cycle, in milliseconds. Value range: 1–86400000. Default: 10 seconds
- max
Ejection numberPercent - Maximum circuit breaking ratio. Value range: 1~100. Default: 20%
- min
Health numberPercent - Minimum health ratio. Value range: 0~100. Default: 60%
- base_
ejection_ inttime - Minimum pop time, in milliseconds. Value range: 1–86400000. Default: 30 seconds
- consecutive_
errors int - Consecutive failure count. Value range: 1~100. Default: 5
- enable bool
- Enable
- interval int
- Calculation cycle, in milliseconds. Value range: 1–86400000. Default: 10 seconds
- max_
ejection_ intpercent - Maximum circuit breaking ratio. Value range: 1~100. Default: 20%
- min_
health_ intpercent - Minimum health ratio. Value range: 0~100. Default: 60%
- base
Ejection NumberTime - Minimum pop time, in milliseconds. Value range: 1–86400000. Default: 30 seconds
- consecutive
Errors Number - Consecutive failure count. Value range: 1~100. Default: 5
- enable Boolean
- Enable
- interval Number
- Calculation cycle, in milliseconds. Value range: 1–86400000. Default: 10 seconds
- max
Ejection NumberPercent - Maximum circuit breaking ratio. Value range: 1~100. Default: 20%
- min
Health NumberPercent - Minimum health ratio. Value range: 0~100. Default: 60%
UpstreamConnectionPoolSettings, UpstreamConnectionPoolSettingsArgs
- Enable bool
- Enable
- Http1Max
Pending intRequests - Maximum HTTP/1 pending requests. Value range: 0~2^31-1. 0 means unlimited
- Idle
Timeout int - Idle timeout, in seconds. Value range: 0–2^31-1. 0 means no limit
- Max
Connections int - Maximum TCP connections. Value range: 0~2^31-1. 0 means unlimited
- Enable bool
- Enable
- Http1Max
Pending intRequests - Maximum HTTP/1 pending requests. Value range: 0~2^31-1. 0 means unlimited
- Idle
Timeout int - Idle timeout, in seconds. Value range: 0–2^31-1. 0 means no limit
- Max
Connections int - Maximum TCP connections. Value range: 0~2^31-1. 0 means unlimited
- enable Boolean
- Enable
- http1Max
Pending IntegerRequests - Maximum HTTP/1 pending requests. Value range: 0~2^31-1. 0 means unlimited
- idle
Timeout Integer - Idle timeout, in seconds. Value range: 0–2^31-1. 0 means no limit
- max
Connections Integer - Maximum TCP connections. Value range: 0~2^31-1. 0 means unlimited
- enable boolean
- Enable
- http1Max
Pending numberRequests - Maximum HTTP/1 pending requests. Value range: 0~2^31-1. 0 means unlimited
- idle
Timeout number - Idle timeout, in seconds. Value range: 0–2^31-1. 0 means no limit
- max
Connections number - Maximum TCP connections. Value range: 0~2^31-1. 0 means unlimited
- enable bool
- Enable
- http1_
max_ intpending_ requests - Maximum HTTP/1 pending requests. Value range: 0~2^31-1. 0 means unlimited
- idle_
timeout int - Idle timeout, in seconds. Value range: 0–2^31-1. 0 means no limit
- max_
connections int - Maximum TCP connections. Value range: 0~2^31-1. 0 means unlimited
- enable Boolean
- Enable
- http1Max
Pending NumberRequests - Maximum HTTP/1 pending requests. Value range: 0~2^31-1. 0 means unlimited
- idle
Timeout Number - Idle timeout, in seconds. Value range: 0–2^31-1. 0 means no limit
- max
Connections Number - Maximum TCP connections. Value range: 0~2^31-1. 0 means unlimited
UpstreamLoadBalancerSettings, UpstreamLoadBalancerSettingsArgs
- Consistent
Hash Volcengine.Lb Upstream Load Balancer Settings Consistent Hash Lb - Consistent Hash Load Balancing
- Lb
Policy string - Load balancing policy. Options: SimpleLB: simple load balancing. ConsistentHashLB: consistent hash load balancing
- Simple
Lb string - Simple load balancing. Options: ROUNDROBIN: round robin. LEASTCONN: least connections. RANDOM: random
- Warmup
Duration int - Warm-up time (seconds)
- Consistent
Hash UpstreamLb Load Balancer Settings Consistent Hash Lb - Consistent Hash Load Balancing
- Lb
Policy string - Load balancing policy. Options: SimpleLB: simple load balancing. ConsistentHashLB: consistent hash load balancing
- Simple
Lb string - Simple load balancing. Options: ROUNDROBIN: round robin. LEASTCONN: least connections. RANDOM: random
- Warmup
Duration int - Warm-up time (seconds)
- consistent
Hash UpstreamLb Load Balancer Settings Consistent Hash Lb - Consistent Hash Load Balancing
- lb
Policy String - Load balancing policy. Options: SimpleLB: simple load balancing. ConsistentHashLB: consistent hash load balancing
- simple
Lb String - Simple load balancing. Options: ROUNDROBIN: round robin. LEASTCONN: least connections. RANDOM: random
- warmup
Duration Integer - Warm-up time (seconds)
- consistent
Hash UpstreamLb Load Balancer Settings Consistent Hash Lb - Consistent Hash Load Balancing
- lb
Policy string - Load balancing policy. Options: SimpleLB: simple load balancing. ConsistentHashLB: consistent hash load balancing
- simple
Lb string - Simple load balancing. Options: ROUNDROBIN: round robin. LEASTCONN: least connections. RANDOM: random
- warmup
Duration number - Warm-up time (seconds)
- consistent_
hash_ Upstreamlb Load Balancer Settings Consistent Hash Lb - Consistent Hash Load Balancing
- lb_
policy str - Load balancing policy. Options: SimpleLB: simple load balancing. ConsistentHashLB: consistent hash load balancing
- simple_
lb str - Simple load balancing. Options: ROUNDROBIN: round robin. LEASTCONN: least connections. RANDOM: random
- warmup_
duration int - Warm-up time (seconds)
- consistent
Hash Property MapLb - Consistent Hash Load Balancing
- lb
Policy String - Load balancing policy. Options: SimpleLB: simple load balancing. ConsistentHashLB: consistent hash load balancing
- simple
Lb String - Simple load balancing. Options: ROUNDROBIN: round robin. LEASTCONN: least connections. RANDOM: random
- warmup
Duration Number - Warm-up time (seconds)
UpstreamLoadBalancerSettingsConsistentHashLb, UpstreamLoadBalancerSettingsConsistentHashLbArgs
- Hash
Balance intFactor - Overload protection parameter. Value range: 100–200. When set to 120, overload protection is triggered if the current active request count of an upstream node exceeds 120% of the average active request count. When overload protection is triggered, even if the request hash matches a specific upstream node, the load balancer will randomly select an upstream node
- Hash
Key string - Consistent hash method. Options: UseSourceIp: based on source IP address. HttpQueryParameterName: based on parameter. HttpHeaderName: based on header. HTTPCookie: based on cookie
-
Volcengine.
Upstream Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- Http
Header stringName - Parameter. Supports printable ASCII characters, length: 1–256 characters
- Http
Query stringParameter Name - Parameter. Supports printable ASCII characters, length: 1–256 characters
- Use
Source stringIp - Source IP address
- Hash
Balance intFactor - Overload protection parameter. Value range: 100–200. When set to 120, overload protection is triggered if the current active request count of an upstream node exceeds 120% of the average active request count. When overload protection is triggered, even if the request hash matches a specific upstream node, the load balancer will randomly select an upstream node
- Hash
Key string - Consistent hash method. Options: UseSourceIp: based on source IP address. HttpQueryParameterName: based on parameter. HttpHeaderName: based on header. HTTPCookie: based on cookie
-
Upstream
Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- Http
Header stringName - Parameter. Supports printable ASCII characters, length: 1–256 characters
- Http
Query stringParameter Name - Parameter. Supports printable ASCII characters, length: 1–256 characters
- Use
Source stringIp - Source IP address
- hash
Balance IntegerFactor - Overload protection parameter. Value range: 100–200. When set to 120, overload protection is triggered if the current active request count of an upstream node exceeds 120% of the average active request count. When overload protection is triggered, even if the request hash matches a specific upstream node, the load balancer will randomly select an upstream node
- hash
Key String - Consistent hash method. Options: UseSourceIp: based on source IP address. HttpQueryParameterName: based on parameter. HttpHeaderName: based on header. HTTPCookie: based on cookie
-
Upstream
Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- http
Header StringName - Parameter. Supports printable ASCII characters, length: 1–256 characters
- http
Query StringParameter Name - Parameter. Supports printable ASCII characters, length: 1–256 characters
- use
Source StringIp - Source IP address
- hash
Balance numberFactor - Overload protection parameter. Value range: 100–200. When set to 120, overload protection is triggered if the current active request count of an upstream node exceeds 120% of the average active request count. When overload protection is triggered, even if the request hash matches a specific upstream node, the load balancer will randomly select an upstream node
- hash
Key string - Consistent hash method. Options: UseSourceIp: based on source IP address. HttpQueryParameterName: based on parameter. HttpHeaderName: based on header. HTTPCookie: based on cookie
-
Upstream
Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- http
Header stringName - Parameter. Supports printable ASCII characters, length: 1–256 characters
- http
Query stringParameter Name - Parameter. Supports printable ASCII characters, length: 1–256 characters
- use
Source stringIp - Source IP address
- hash_
balance_ intfactor - Overload protection parameter. Value range: 100–200. When set to 120, overload protection is triggered if the current active request count of an upstream node exceeds 120% of the average active request count. When overload protection is triggered, even if the request hash matches a specific upstream node, the load balancer will randomly select an upstream node
- hash_
key str - Consistent hash method. Options: UseSourceIp: based on source IP address. HttpQueryParameterName: based on parameter. HttpHeaderName: based on header. HTTPCookie: based on cookie
-
Upstream
Load Balancer Settings Consistent Hash Lb Http Cookie - Cookie。
- http_
header_ strname - Parameter. Supports printable ASCII characters, length: 1–256 characters
- http_
query_ strparameter_ name - Parameter. Supports printable ASCII characters, length: 1–256 characters
- use_
source_ strip - Source IP address
- hash
Balance NumberFactor - Overload protection parameter. Value range: 100–200. When set to 120, overload protection is triggered if the current active request count of an upstream node exceeds 120% of the average active request count. When overload protection is triggered, even if the request hash matches a specific upstream node, the load balancer will randomly select an upstream node
- hash
Key String - Consistent hash method. Options: UseSourceIp: based on source IP address. HttpQueryParameterName: based on parameter. HttpHeaderName: based on header. HTTPCookie: based on cookie
- Property Map
- Cookie。
- http
Header StringName - Parameter. Supports printable ASCII characters, length: 1–256 characters
- http
Query StringParameter Name - Parameter. Supports printable ASCII characters, length: 1–256 characters
- use
Source StringIp - Source IP address
UpstreamLoadBalancerSettingsConsistentHashLbHttpCookie, UpstreamLoadBalancerSettingsConsistentHashLbHttpCookieArgs
UpstreamTlsSettings, UpstreamTlsSettingsArgs
UpstreamUpstreamSpec, UpstreamUpstreamSpecArgs
- Ai
Provider Volcengine.Upstream Upstream Spec Ai Provider - AI model proxy
- Domain
Volcengine.
Upstream Upstream Spec Domain - Fixed domain name
- Ecs
Instances List<Volcengine.Upstream Upstream Spec Ecs Instance> - K8SService
Volcengine.
Upstream Upstream Spec K8SService - Container Service
- Nacos
Service Volcengine.Upstream Upstream Spec Nacos Service - Registry Center
- Ve
Faas Volcengine.Upstream Upstream Spec Ve Faas - Function service
- Ai
Provider UpstreamUpstream Spec Ai Provider - AI model proxy
- Domain
Upstream
Upstream Spec Domain - Fixed domain name
- Ecs
Instances []UpstreamUpstream Spec Ecs Instance - K8SService
Upstream
Upstream Spec K8SService - Container Service
- Nacos
Service UpstreamUpstream Spec Nacos Service - Registry Center
- Ve
Faas UpstreamUpstream Spec Ve Faas - Function service
- ai
Provider UpstreamUpstream Spec Ai Provider - AI model proxy
- domain
Upstream
Upstream Spec Domain - Fixed domain name
- ecs
Instances List<UpstreamUpstream Spec Ecs Instance> - k8SService
Upstream
Upstream Spec K8SService - Container Service
- nacos
Service UpstreamUpstream Spec Nacos Service - Registry Center
- ve
Faas UpstreamUpstream Spec Ve Faas - Function service
- ai
Provider UpstreamUpstream Spec Ai Provider - AI model proxy
- domain
Upstream
Upstream Spec Domain - Fixed domain name
- ecs
Instances UpstreamUpstream Spec Ecs Instance[] - k8SService
Upstream
Upstream Spec K8SService - Container Service
- nacos
Service UpstreamUpstream Spec Nacos Service - Registry Center
- ve
Faas UpstreamUpstream Spec Ve Faas - Function service
- ai_
provider UpstreamUpstream Spec Ai Provider - AI model proxy
- domain
Upstream
Upstream Spec Domain - Fixed domain name
- ecs_
instances Sequence[UpstreamUpstream Spec Ecs Instance] - k8_
s_ Upstreamservice Upstream Spec K8SService - Container Service
- nacos_
service UpstreamUpstream Spec Nacos Service - Registry Center
- ve_
faas UpstreamUpstream Spec Ve Faas - Function service
- ai
Provider Property Map - AI model proxy
- domain Property Map
- Fixed domain name
- ecs
Instances List<Property Map> - k8SService Property Map
- Container Service
- nacos
Service Property Map - Registry Center
- ve
Faas Property Map - Function service
UpstreamUpstreamSpecAiProvider, UpstreamUpstreamSpecAiProviderArgs
- Base
Url string - Model address
- Custom
Model Volcengine.Service Upstream Upstream Spec Ai Provider Custom Model Service - Volcano Engine self-hosted model service
- Name string
- Model Service Provider Name
- Token string
- Model API key
- Base
Url string - Model address
- Custom
Model UpstreamService Upstream Spec Ai Provider Custom Model Service - Volcano Engine self-hosted model service
- Name string
- Model Service Provider Name
- Token string
- Model API key
- base
Url String - Model address
- custom
Model UpstreamService Upstream Spec Ai Provider Custom Model Service - Volcano Engine self-hosted model service
- name String
- Model Service Provider Name
- token String
- Model API key
- base
Url string - Model address
- custom
Model UpstreamService Upstream Spec Ai Provider Custom Model Service - Volcano Engine self-hosted model service
- name string
- Model Service Provider Name
- token string
- Model API key
- base_
url str - Model address
- custom_
model_ Upstreamservice Upstream Spec Ai Provider Custom Model Service - Volcano Engine self-hosted model service
- name str
- Model Service Provider Name
- token str
- Model API key
- base
Url String - Model address
- custom
Model Property MapService - Volcano Engine self-hosted model service
- name String
- Model Service Provider Name
- token String
- Model API key
UpstreamUpstreamSpecAiProviderCustomModelService, UpstreamUpstreamSpecAiProviderCustomModelServiceArgs
UpstreamUpstreamSpecDomain, UpstreamUpstreamSpecDomainArgs
UpstreamUpstreamSpecDomainDomainList, UpstreamUpstreamSpecDomainDomainListArgs
UpstreamUpstreamSpecEcsInstance, UpstreamUpstreamSpecEcsInstanceArgs
UpstreamUpstreamSpecK8SService, UpstreamUpstreamSpecK8SServiceArgs
UpstreamUpstreamSpecNacosService, UpstreamUpstreamSpecNacosServiceArgs
- Group string
- Group
- Namespace string
- Namespace
- Namespace
Id string - Namespace ID
- Service string
- Service
- Upstream
Source stringId - Upstream source ID
- Group string
- Group
- Namespace string
- Namespace
- Namespace
Id string - Namespace ID
- Service string
- Service
- Upstream
Source stringId - Upstream source ID
- group String
- Group
- namespace String
- Namespace
- namespace
Id String - Namespace ID
- service String
- Service
- upstream
Source StringId - Upstream source ID
- group string
- Group
- namespace string
- Namespace
- namespace
Id string - Namespace ID
- service string
- Service
- upstream
Source stringId - Upstream source ID
- group str
- Group
- namespace str
- Namespace
- namespace_
id str - Namespace ID
- service str
- Service
- upstream_
source_ strid - Upstream source ID
- group String
- Group
- namespace String
- Namespace
- namespace
Id String - Namespace ID
- service String
- Service
- upstream
Source StringId - Upstream source ID
UpstreamUpstreamSpecVeFaas, UpstreamUpstreamSpecVeFaasArgs
- Function
Id string - Function ID
- Function
Id string - Function ID
- function
Id String - Function ID
- function
Id string - Function ID
- function_
id str - Function ID
- function
Id String - Function ID
UpstreamVersionDetail, UpstreamVersionDetailArgs
- Labels
List<Volcengine.
Upstream Version Detail Label> - Name string
- Version name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length: 2~63 characters. Cannot start with a hyphen (-)
- Update
Time string - Update time
- Labels
[]Upstream
Version Detail Label - Name string
- Version name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length: 2~63 characters. Cannot start with a hyphen (-)
- Update
Time string - Update time
- labels
List<Upstream
Version Detail Label> - name String
- Version name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length: 2~63 characters. Cannot start with a hyphen (-)
- update
Time String - Update time
- labels
Upstream
Version Detail Label[] - name string
- Version name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length: 2~63 characters. Cannot start with a hyphen (-)
- update
Time string - Update time
- labels
Sequence[Upstream
Version Detail Label] - name str
- Version name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length: 2~63 characters. Cannot start with a hyphen (-)
- update_
time str - Update time
- labels List<Property Map>
- name String
- Version name. Supports uppercase and lowercase letters, numbers, and hyphens (-). Length: 2~63 characters. Cannot start with a hyphen (-)
- update
Time String - Update time
UpstreamVersionDetailLabel, UpstreamVersionDetailLabelArgs
Import
$ pulumi import volcenginecc:apig/upstream:Upstream example "upstream_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
