import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a list of interconnect locations. For more information see * the official [API](https://cloud.google.com/compute/docs/reference/rest/v1/interconnectLocations/list) documentation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const all = gcp.compute.getInterconnectLocations({}); * export const interconnectLocations = all.then(all => all.locations); * ``` */ export declare function getInterconnectLocations(args?: GetInterconnectLocationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInterconnectLocations. */ export interface GetInterconnectLocationsArgs { /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getInterconnectLocations. */ export interface GetInterconnectLocationsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of interconnect locations. Each location will have the following attributes: */ readonly locations: outputs.compute.GetInterconnectLocationsLocation[]; readonly project: string; } /** * Get a list of interconnect locations. For more information see * the official [API](https://cloud.google.com/compute/docs/reference/rest/v1/interconnectLocations/list) documentation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const all = gcp.compute.getInterconnectLocations({}); * export const interconnectLocations = all.then(all => all.locations); * ``` */ export declare function getInterconnectLocationsOutput(args?: GetInterconnectLocationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInterconnectLocations. */ export interface GetInterconnectLocationsOutputArgs { /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input; }