volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine
volcenginecc.apig.getUpstreamSource
Data Source schema for Volcengine::APIG::UpstreamSource
Using getUpstreamSource
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 getUpstreamSource(args: GetUpstreamSourceArgs, opts?: InvokeOptions): Promise<GetUpstreamSourceResult>
function getUpstreamSourceOutput(args: GetUpstreamSourceOutputArgs, opts?: InvokeOptions): Output<GetUpstreamSourceResult>def get_upstream_source(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUpstreamSourceResult
def get_upstream_source_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUpstreamSourceResult]func LookupUpstreamSource(ctx *Context, args *LookupUpstreamSourceArgs, opts ...InvokeOption) (*LookupUpstreamSourceResult, error)
func LookupUpstreamSourceOutput(ctx *Context, args *LookupUpstreamSourceOutputArgs, opts ...InvokeOption) LookupUpstreamSourceResultOutput> Note: This function is named LookupUpstreamSource in the Go SDK.
public static class GetUpstreamSource
{
public static Task<GetUpstreamSourceResult> InvokeAsync(GetUpstreamSourceArgs args, InvokeOptions? opts = null)
public static Output<GetUpstreamSourceResult> Invoke(GetUpstreamSourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUpstreamSourceResult> getUpstreamSource(GetUpstreamSourceArgs args, InvokeOptions options)
public static Output<GetUpstreamSourceResult> getUpstreamSource(GetUpstreamSourceArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:apig/getUpstreamSource:getUpstreamSource
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.
getUpstreamSource Result
The following output properties are available:
- Comments string
- 备注,长度限制为0~253个字符。
- Created
Time string - 创建时间。
- Gateway
Id string - 网关实例ID。
- Id string
- Uniquely identifies the resource.
- Ingress
Settings Volcengine.Get Upstream Source Ingress Settings - 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
- Source
Spec Volcengine.Get Upstream Source Source Spec - Upstream来源配置。
- Source
Type string - Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
- Status string
- 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
- Status
Message string - 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
- Updated
Time string - 更新时间。
- Upstream
Source stringId - Upstream来源ID。
- Watch
Namespaces List<string> - 指定命名空间。
- Comments string
- 备注,长度限制为0~253个字符。
- Created
Time string - 创建时间。
- Gateway
Id string - 网关实例ID。
- Id string
- Uniquely identifies the resource.
- Ingress
Settings GetUpstream Source Ingress Settings - 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
- Source
Spec GetUpstream Source Source Spec - Upstream来源配置。
- Source
Type string - Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
- Status string
- 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
- Status
Message string - 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
- Updated
Time string - 更新时间。
- Upstream
Source stringId - Upstream来源ID。
- Watch
Namespaces []string - 指定命名空间。
- comments String
- 备注,长度限制为0~253个字符。
- created
Time String - 创建时间。
- gateway
Id String - 网关实例ID。
- id String
- Uniquely identifies the resource.
- ingress
Settings GetUpstream Source Ingress Settings - 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
- source
Spec GetUpstream Source Source Spec - Upstream来源配置。
- source
Type String - Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
- status String
- 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
- status
Message String - 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
- updated
Time String - 更新时间。
- upstream
Source StringId - Upstream来源ID。
- watch
Namespaces List<String> - 指定命名空间。
- comments string
- 备注,长度限制为0~253个字符。
- created
Time string - 创建时间。
- gateway
Id string - 网关实例ID。
- id string
- Uniquely identifies the resource.
- ingress
Settings GetUpstream Source Ingress Settings - 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
- source
Spec GetUpstream Source Source Spec - Upstream来源配置。
- source
Type string - Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
- status string
- 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
- status
Message string - 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
- updated
Time string - 更新时间。
- upstream
Source stringId - Upstream来源ID。
- watch
Namespaces string[] - 指定命名空间。
- comments str
- 备注,长度限制为0~253个字符。
- created_
time str - 创建时间。
- gateway_
id str - 网关实例ID。
- id str
- Uniquely identifies the resource.
- ingress_
settings GetUpstream Source Ingress Settings - 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
- source_
spec GetUpstream Source Source Spec - Upstream来源配置。
- source_
type str - Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
- status str
- 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
- status_
message str - 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
- updated_
time str - 更新时间。
- upstream_
source_ strid - Upstream来源ID。
- watch_
namespaces Sequence[str] - 指定命名空间。
- comments String
- 备注,长度限制为0~253个字符。
- created
Time String - 创建时间。
- gateway
Id String - 网关实例ID。
- id String
- Uniquely identifies the resource.
- ingress
Settings Property Map - 路由同步。开启后,API网关会自动监听Ingress资源的变化,并将Ingress资源转义为服务,域名,Upstream等资源合并至当前网关。由Ingress转义的资源不支持在控制台操作。仅支持容器集群来源类型。
- source
Spec Property Map - Upstream来源配置。
- source
Type String - Upstream来源类型,取值:K8S:容器集群。Nacos:注册中心。
- status String
- 导入状态,取值:Syncing:导入中。SyncedSucceed:导入成功。SyncedFailed:导入失败。
- status
Message String - 导入状态信息,取值:ConnectionFailed:Nacos集群无法连接。AuthenticationFailed:认证失败。PermissionFailed:Nacos集群无法连接。
- updated
Time String - 更新时间。
- upstream
Source StringId - Upstream来源ID。
- watch
Namespaces List<String> - 指定命名空间。
Supporting Types
GetUpstreamSourceIngressSettings
- Enable
All boolIngress Classes - 是否启用所有Ingress类。
- Enable
All boolNamespaces - 是否全部命名空间。
- Enable
Ingress bool - 是否开启。
- Enable
Ingress boolWithout Ingress Class - 是否监听IngressClass为空的资源。
- Ingress
Classes List<string> - 指定IngressClass。
- Update
Status bool - 流量入口切换。开启后,当前集群Ingress中Status的IP地址会被修改为当前网关的IP地址。
- Watch
Namespaces List<string> - 指定命名空间。
- Enable
All boolIngress Classes - 是否启用所有Ingress类。
- Enable
All boolNamespaces - 是否全部命名空间。
- Enable
Ingress bool - 是否开启。
- Enable
Ingress boolWithout Ingress Class - 是否监听IngressClass为空的资源。
- Ingress
Classes []string - 指定IngressClass。
- Update
Status bool - 流量入口切换。开启后,当前集群Ingress中Status的IP地址会被修改为当前网关的IP地址。
- Watch
Namespaces []string - 指定命名空间。
- enable
All BooleanIngress Classes - 是否启用所有Ingress类。
- enable
All BooleanNamespaces - 是否全部命名空间。
- enable
Ingress Boolean - 是否开启。
- enable
Ingress BooleanWithout Ingress Class - 是否监听IngressClass为空的资源。
- ingress
Classes List<String> - 指定IngressClass。
- update
Status Boolean - 流量入口切换。开启后,当前集群Ingress中Status的IP地址会被修改为当前网关的IP地址。
- watch
Namespaces List<String> - 指定命名空间。
- enable
All booleanIngress Classes - 是否启用所有Ingress类。
- enable
All booleanNamespaces - 是否全部命名空间。
- enable
Ingress boolean - 是否开启。
- enable
Ingress booleanWithout Ingress Class - 是否监听IngressClass为空的资源。
- ingress
Classes string[] - 指定IngressClass。
- update
Status boolean - 流量入口切换。开启后,当前集群Ingress中Status的IP地址会被修改为当前网关的IP地址。
- watch
Namespaces string[] - 指定命名空间。
- enable_
all_ boolingress_ classes - 是否启用所有Ingress类。
- enable_
all_ boolnamespaces - 是否全部命名空间。
- enable_
ingress bool - 是否开启。
- enable_
ingress_ boolwithout_ ingress_ class - 是否监听IngressClass为空的资源。
- ingress_
classes Sequence[str] - 指定IngressClass。
- update_
status bool - 流量入口切换。开启后,当前集群Ingress中Status的IP地址会被修改为当前网关的IP地址。
- watch_
namespaces Sequence[str] - 指定命名空间。
- enable
All BooleanIngress Classes - 是否启用所有Ingress类。
- enable
All BooleanNamespaces - 是否全部命名空间。
- enable
Ingress Boolean - 是否开启。
- enable
Ingress BooleanWithout Ingress Class - 是否监听IngressClass为空的资源。
- ingress
Classes List<String> - 指定IngressClass。
- update
Status Boolean - 流量入口切换。开启后,当前集群Ingress中Status的IP地址会被修改为当前网关的IP地址。
- watch
Namespaces List<String> - 指定命名空间。
GetUpstreamSourceSourceSpec
- k8SSource Property Map
- 容器集群来源。
- nacos
Source Property Map - 注册中心来源。
GetUpstreamSourceSourceSpecK8SSource
- Cluster
Id string - 集群ID。
- Cluster
Type string - 集群类型。
- Cluster
Id string - 集群ID。
- Cluster
Type string - 集群类型。
- cluster
Id String - 集群ID。
- cluster
Type String - 集群类型。
- cluster
Id string - 集群ID。
- cluster
Type string - 集群类型。
- cluster_
id str - 集群ID。
- cluster_
type str - 集群类型。
- cluster
Id String - 集群ID。
- cluster
Type String - 集群类型。
GetUpstreamSourceSourceSpecNacosSource
- Auth
Config Volcengine.Get Upstream Source Source Spec Nacos Source Auth Config - 认证配置。
- Nacos
Id string - Nacos ID。
- Nacos
Name string - Nacos名称。
- Auth
Config GetUpstream Source Source Spec Nacos Source Auth Config - 认证配置。
- Nacos
Id string - Nacos ID。
- Nacos
Name string - Nacos名称。
- auth
Config GetUpstream Source Source Spec Nacos Source Auth Config - 认证配置。
- nacos
Id String - Nacos ID。
- nacos
Name String - Nacos名称。
- auth
Config GetUpstream Source Source Spec Nacos Source Auth Config - 认证配置。
- nacos
Id string - Nacos ID。
- nacos
Name string - Nacos名称。
- auth_
config GetUpstream Source Source Spec Nacos Source Auth Config - 认证配置。
- nacos_
id str - Nacos ID。
- nacos_
name str - Nacos名称。
- auth
Config Property Map - 认证配置。
- nacos
Id String - Nacos ID。
- nacos
Name String - Nacos名称。
GetUpstreamSourceSourceSpecNacosSourceAuthConfig
- basic Property Map
- Basic认证。
GetUpstreamSourceSourceSpecNacosSourceAuthConfigBasic
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
