import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of apig upstream versions
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getUpstreamVersions({
 *     upstreamId: "ud18p5krj5ce3htvrd0v0",
 * });
 * ```
 */
export declare function getUpstreamVersions(args: GetUpstreamVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetUpstreamVersionsResult>;
/**
 * A collection of arguments for invoking getUpstreamVersions.
 */
export interface GetUpstreamVersionsArgs {
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The id of the apig upstream.
     */
    upstreamId: string;
}
/**
 * A collection of values returned by getUpstreamVersions.
 */
export interface GetUpstreamVersionsResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly nameRegex?: string;
    readonly outputFile?: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
    readonly upstreamId: string;
    /**
     * The collection of query.
     */
    readonly versions: outputs.apig.GetUpstreamVersionsVersion[];
}
/**
 * Use this data source to query detailed information of apig upstream versions
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getUpstreamVersions({
 *     upstreamId: "ud18p5krj5ce3htvrd0v0",
 * });
 * ```
 */
export declare function getUpstreamVersionsOutput(args: GetUpstreamVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUpstreamVersionsResult>;
/**
 * A collection of arguments for invoking getUpstreamVersions.
 */
export interface GetUpstreamVersionsOutputArgs {
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The id of the apig upstream.
     */
    upstreamId: pulumi.Input<string>;
}
