import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Routers can be used to connect multiple Private Networks. UpCloud Servers on any attached network can communicate directly with each other. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as upcloud from "@upcloud/pulumi-upcloud"; * * const myExampleRouter = new upcloud.Router("my_example_router", {name: "My Example Router"}); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import upcloud:index/router:Router my_example_router 049d7ca2-757e-4fb1-a833-f87ee056547a * ``` */ export declare class Router extends pulumi.CustomResource { /** * Get an existing Router resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RouterState, opts?: pulumi.CustomResourceOptions): Router; /** * Returns true if the given object is an instance of Router. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Router; /** * List of UUIDs representing networks attached to this router. */ readonly attachedNetworks: pulumi.Output; /** * User defined key-value pairs to classify the router. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Name of the router. */ readonly name: pulumi.Output; /** * A collection of user managed static routes for this router. */ readonly staticRoute: pulumi.Output; /** * A collection of static routes for this router. This set includes both user and service defined static routes. The objects in this set use the same schema as `staticRoute` blocks. */ readonly staticRoutes: pulumi.Output; /** * Type of the router */ readonly type: pulumi.Output; /** * Create a Router resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: RouterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Router resources. */ export interface RouterState { /** * List of UUIDs representing networks attached to this router. */ attachedNetworks?: pulumi.Input[]>; /** * User defined key-value pairs to classify the router. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Name of the router. */ name?: pulumi.Input; /** * A collection of user managed static routes for this router. */ staticRoute?: pulumi.Input[]>; /** * A collection of static routes for this router. This set includes both user and service defined static routes. The objects in this set use the same schema as `staticRoute` blocks. */ staticRoutes?: pulumi.Input[]>; /** * Type of the router */ type?: pulumi.Input; } /** * The set of arguments for constructing a Router resource. */ export interface RouterArgs { /** * User defined key-value pairs to classify the router. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Name of the router. */ name?: pulumi.Input; /** * A collection of user managed static routes for this router. */ staticRoute?: pulumi.Input[]>; }