import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a router within GCE from its name and VPC. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_router = gcp.compute.getRouter({ * name: "myrouter-us-east1", * network: "my-network", * }); * ``` */ export declare function getRouter(args: GetRouterArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRouter. */ export interface GetRouterArgs { /** * The name of the router. */ name: string; /** * The VPC network on which this router lives. */ network: string; /** * The ID of the project in which the resource * belongs. If it is not provided, the provider project is used. */ project?: string; /** * The region this router has been created in. If * unspecified, this defaults to the region configured in the provider. */ region?: string; } /** * A collection of values returned by getRouter. */ export interface GetRouterResult { readonly bgps: outputs.compute.GetRouterBgp[]; readonly creationTimestamp: string; readonly description: string; readonly encryptedInterconnectRouter: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly md5AuthenticationKeys: outputs.compute.GetRouterMd5AuthenticationKey[]; readonly name: string; readonly nccGateway: string; readonly network: string; readonly params: outputs.compute.GetRouterParam[]; readonly project?: string; readonly region?: string; readonly selfLink: string; } /** * Get a router within GCE from its name and VPC. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_router = gcp.compute.getRouter({ * name: "myrouter-us-east1", * network: "my-network", * }); * ``` */ export declare function getRouterOutput(args: GetRouterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRouter. */ export interface GetRouterOutputArgs { /** * The name of the router. */ name: pulumi.Input; /** * The VPC network on which this router lives. */ network: pulumi.Input; /** * The ID of the project in which the resource * belongs. If it is not provided, the provider project is used. */ project?: pulumi.Input; /** * The region this router has been created in. If * unspecified, this defaults to the region configured in the provider. */ region?: pulumi.Input; }