import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::APIG::UpstreamSource */ export declare function getUpstreamSource(args: GetUpstreamSourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUpstreamSource. */ export interface GetUpstreamSourceArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getUpstreamSource. */ export interface GetUpstreamSourceResult { /** * Remarks, length limit: 0–253 characters */ readonly comments: string; /** * Creation time */ readonly createdTime: string; /** * Gateway instance ID */ readonly gatewayId: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Route synchronization. When enabled, the API Gateway automatically monitors changes to Ingress resources and converts them into services, domains, Upstream, and other resources, merging them into the current gateway. Resources converted from Ingress cannot be managed in the console. Only supported for container cluster source type */ readonly ingressSettings: outputs.apig.GetUpstreamSourceIngressSettings; /** * Upstream source configuration */ readonly sourceSpec: outputs.apig.GetUpstreamSourceSourceSpec; /** * Upstream source type. Options: K8S: Container cluster. Nacos: Registry */ readonly sourceType: string; /** * Import status. Options: Syncing: Importing. SyncedSucceed: Import successful. SyncedFailed: Import failed */ readonly status: string; /** * Import status information. Options: ConnectionFailed: Unable to connect to Nacos cluster. AuthenticationFailed: Authentication failed. PermissionFailed: Unable to connect to Nacos cluster */ readonly statusMessage: string; /** * Update time */ readonly updatedTime: string; /** * Upstream source ID */ readonly upstreamSourceId: string; /** * Specify namespace */ readonly watchNamespaces: string[]; } /** * Data Source schema for Volcengine::APIG::UpstreamSource */ export declare function getUpstreamSourceOutput(args: GetUpstreamSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUpstreamSource. */ export interface GetUpstreamSourceOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }