import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of apig routes
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getRoutes({
 *     gatewayId: "gd1ek1ki9optek6ooabh0",
 * });
 * ```
 */
export declare function getRoutes(args?: GetRoutesArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutesResult>;
/**
 * A collection of arguments for invoking getRoutes.
 */
export interface GetRoutesArgs {
    /**
     * The id of api gateway.
     */
    gatewayId?: string;
    /**
     * The name of api gateway route. This field support fuzzy query.
     */
    name?: string;
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The path of api gateway route.
     */
    path?: string;
    /**
     * The resource type of route. Valid values: `Console`, `Ingress`.
     */
    resourceType?: string;
    /**
     * The id of api gateway service.
     */
    serviceId?: string;
    /**
     * The id of api gateway upstream.
     */
    upstreamId?: string;
    /**
     * The version of api gateway upstream.
     */
    upstreamVersion?: string;
}
/**
 * A collection of values returned by getRoutes.
 */
export interface GetRoutesResult {
    readonly gatewayId?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The name of the api gateway route.
     */
    readonly name?: string;
    readonly nameRegex?: string;
    readonly outputFile?: string;
    /**
     * The path of the api gateway route.
     */
    readonly path?: string;
    /**
     * The resource type of route. Valid values: `Console`, `Ingress`.
     */
    readonly resourceType?: string;
    /**
     * The collection of query.
     */
    readonly routes: outputs.apig.GetRoutesRoute[];
    /**
     * The id of the api gateway service.
     */
    readonly serviceId?: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
    /**
     * The id of the api gateway upstream.
     */
    readonly upstreamId?: string;
    readonly upstreamVersion?: string;
}
/**
 * Use this data source to query detailed information of apig routes
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.apig.getRoutes({
 *     gatewayId: "gd1ek1ki9optek6ooabh0",
 * });
 * ```
 */
export declare function getRoutesOutput(args?: GetRoutesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoutesResult>;
/**
 * A collection of arguments for invoking getRoutes.
 */
export interface GetRoutesOutputArgs {
    /**
     * The id of api gateway.
     */
    gatewayId?: pulumi.Input<string>;
    /**
     * The name of api gateway route. This field support fuzzy query.
     */
    name?: pulumi.Input<string>;
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The path of api gateway route.
     */
    path?: pulumi.Input<string>;
    /**
     * The resource type of route. Valid values: `Console`, `Ingress`.
     */
    resourceType?: pulumi.Input<string>;
    /**
     * The id of api gateway service.
     */
    serviceId?: pulumi.Input<string>;
    /**
     * The id of api gateway upstream.
     */
    upstreamId?: pulumi.Input<string>;
    /**
     * The version of api gateway upstream.
     */
    upstreamVersion?: pulumi.Input<string>;
}
