import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the specified Router resource. */ export declare function getRouter(args: GetRouterArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetRouterArgs { project?: string; region: string; router: string; } export interface GetRouterResult { /** * BGP information specific to this router. */ readonly bgp: outputs.compute.v1.RouterBgpResponse; /** * BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. */ readonly bgpPeers: outputs.compute.v1.RouterBgpPeerResponse[]; /** * Creation timestamp in RFC3339 text format. */ readonly creationTimestamp: string; /** * An optional description of this resource. Provide this property when you create the resource. */ readonly description: string; /** * Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). */ readonly encryptedInterconnectRouter: boolean; /** * Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface. */ readonly interfaces: outputs.compute.v1.RouterInterfaceResponse[]; /** * Type of resource. Always compute#router for routers. */ readonly kind: string; /** * Keys used for MD5 authentication. */ readonly md5AuthenticationKeys: outputs.compute.v1.RouterMd5AuthenticationKeyResponse[]; /** * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. */ readonly name: string; /** * A list of NAT services created in this router. */ readonly nats: outputs.compute.v1.RouterNatResponse[]; /** * URI of the network to which this router belongs. */ readonly network: string; /** * URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. */ readonly region: string; /** * Server-defined URL for the resource. */ readonly selfLink: string; } /** * Returns the specified Router resource. */ export declare function getRouterOutput(args: GetRouterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetRouterOutputArgs { project?: pulumi.Input; region: pulumi.Input; router: pulumi.Input; }