import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of apig upstream sources
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getUpstreamSources({
 *     gatewayId: "gd13d8c6eq1emkiunq6p0",
 * });
 * ```
 */
export declare function getUpstreamSources(args?: GetUpstreamSourcesArgs, opts?: pulumi.InvokeOptions): Promise<GetUpstreamSourcesResult>;
/**
 * A collection of arguments for invoking getUpstreamSources.
 */
export interface GetUpstreamSourcesArgs {
    /**
     * The enable ingress of apig upstream source.
     */
    enableIngress?: boolean;
    /**
     * The id of api gateway.
     */
    gatewayId?: string;
    /**
     * The name of nacos source.
     */
    name?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The source type of apig upstream source. Valid values: `K8S`, `Nacos`.
     */
    sourceType?: string;
    /**
     * The status of apig upstream source. Valid values: `Syncing`, `SyncedSucceed`, `SyncedFailed`.
     */
    status?: string;
}
/**
 * A collection of values returned by getUpstreamSources.
 */
export interface GetUpstreamSourcesResult {
    /**
     * Whether to enable ingress.
     */
    readonly enableIngress?: boolean;
    /**
     * The id of api gateway.
     */
    readonly gatewayId?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly name?: string;
    readonly outputFile?: string;
    /**
     * The source type of apig upstream source.
     */
    readonly sourceType?: string;
    /**
     * The status of apig upstream source.
     */
    readonly status?: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
    /**
     * The collection of query.
     */
    readonly upstreamSources: outputs.apig.GetUpstreamSourcesUpstreamSource[];
}
/**
 * Use this data source to query detailed information of apig upstream sources
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getUpstreamSources({
 *     gatewayId: "gd13d8c6eq1emkiunq6p0",
 * });
 * ```
 */
export declare function getUpstreamSourcesOutput(args?: GetUpstreamSourcesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUpstreamSourcesResult>;
/**
 * A collection of arguments for invoking getUpstreamSources.
 */
export interface GetUpstreamSourcesOutputArgs {
    /**
     * The enable ingress of apig upstream source.
     */
    enableIngress?: pulumi.Input<boolean>;
    /**
     * The id of api gateway.
     */
    gatewayId?: pulumi.Input<string>;
    /**
     * The name of nacos source.
     */
    name?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The source type of apig upstream source. Valid values: `K8S`, `Nacos`.
     */
    sourceType?: pulumi.Input<string>;
    /**
     * The status of apig upstream source. Valid values: `Syncing`, `SyncedSucceed`, `SyncedFailed`.
     */
    status?: pulumi.Input<string>;
}
