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",
 * });
 * ```
 */
/** @deprecated volcengine.apig.UpstreamVersions has been deprecated in favor of volcengine.apig.getUpstreamVersions */
export declare function upstreamVersions(args: UpstreamVersionsArgs, opts?: pulumi.InvokeOptions): Promise<UpstreamVersionsResult>;
/**
 * A collection of arguments for invoking UpstreamVersions.
 */
export interface UpstreamVersionsArgs {
    /**
     * 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 UpstreamVersions.
 */
export interface UpstreamVersionsResult {
    /**
     * 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.UpstreamVersionsVersion[];
}
/**
 * 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",
 * });
 * ```
 */
/** @deprecated volcengine.apig.UpstreamVersions has been deprecated in favor of volcengine.apig.getUpstreamVersions */
export declare function upstreamVersionsOutput(args: UpstreamVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<UpstreamVersionsResult>;
/**
 * A collection of arguments for invoking UpstreamVersions.
 */
export interface UpstreamVersionsOutputArgs {
    /**
     * 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>;
}
