import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::APIG::Upstream */ export declare function getUpstream(args: GetUpstreamArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUpstream. */ export interface GetUpstreamArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getUpstream. */ export interface GetUpstreamResult { /** * Backend node. Not valid when the upstream source type is VeFaas */ readonly backendTargets: outputs.apig.GetUpstreamBackendTarget[]; /** * Service circuit breaking configuration */ readonly circuitBreakingSettings: outputs.apig.GetUpstreamCircuitBreakingSettings; /** * Remarks */ readonly comments: string; /** * Connection Pool Configuration */ readonly connectionPoolSettings: outputs.apig.GetUpstreamConnectionPoolSettings; /** * Upstream creation time */ readonly createdTime: string; /** * Gateway Instance ID */ readonly gatewayId: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Load Balancing Configuration */ readonly loadBalancerSettings: outputs.apig.GetUpstreamLoadBalancerSettings; /** * Upstream name */ readonly name: string; /** * Protocol. Options: HTTP: HTTP/1.1; HTTP2: HTTP/2; GRPC: GRPC */ readonly protocol: string; /** * Upstream source type. Options: VeFaas: function service. ECS: cloud server. K8S: container service. Nacos: registry. AIProvider: AI model proxy */ readonly sourceType: string; /** * TLS Configuration */ readonly tlsSettings: outputs.apig.GetUpstreamTlsSettings; /** * Upstream update time */ readonly updatedTime: string; /** * Upstream ID。 */ readonly upstreamId: string; /** * Upstream Configuration */ readonly upstreamSpec: outputs.apig.GetUpstreamUpstreamSpec; /** * Upstream version, only valid when the upstream source type is K8S */ readonly versionDetails: outputs.apig.GetUpstreamVersionDetail[]; } /** * Data Source schema for Volcengine::APIG::Upstream */ export declare function getUpstreamOutput(args: GetUpstreamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUpstream. */ export interface GetUpstreamOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }