import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/staticRoute:StaticRoute example '/' * ``` * * @deprecated cloudflare.index/staticroute.StaticRoute has been deprecated in favor of cloudflare.index/magicwanstaticroute.MagicWanStaticRoute */ export declare class StaticRoute extends pulumi.CustomResource { /** * Get an existing StaticRoute 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?: StaticRouteState, opts?: pulumi.CustomResourceOptions): StaticRoute; /** * Returns true if the given object is an instance of StaticRoute. 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 StaticRoute; /** * Identifier */ readonly accountId: pulumi.Output; /** * When the route was created. */ readonly createdOn: pulumi.Output; /** * An optional human provided description of the static route. */ readonly description: pulumi.Output; readonly modified: pulumi.Output; /** * When the route was last modified. */ readonly modifiedOn: pulumi.Output; readonly modifiedRoute: pulumi.Output; /** * The next-hop IP Address for the static route. */ readonly nexthop: pulumi.Output; /** * IP Prefix in Classless Inter-Domain Routing format. */ readonly prefix: pulumi.Output; /** * Priority of the static route. */ readonly priority: pulumi.Output; readonly route: pulumi.Output; /** * Used only for ECMP routes. */ readonly scope: pulumi.Output; /** * Optional weight of the ECMP scope - if provided. */ readonly weight: pulumi.Output; /** * Create a StaticRoute 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. */ /** @deprecated cloudflare.index/staticroute.StaticRoute has been deprecated in favor of cloudflare.index/magicwanstaticroute.MagicWanStaticRoute */ constructor(name: string, args: StaticRouteArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StaticRoute resources. */ export interface StaticRouteState { /** * Identifier */ accountId?: pulumi.Input; /** * When the route was created. */ createdOn?: pulumi.Input; /** * An optional human provided description of the static route. */ description?: pulumi.Input; modified?: pulumi.Input; /** * When the route was last modified. */ modifiedOn?: pulumi.Input; modifiedRoute?: pulumi.Input; /** * The next-hop IP Address for the static route. */ nexthop?: pulumi.Input; /** * IP Prefix in Classless Inter-Domain Routing format. */ prefix?: pulumi.Input; /** * Priority of the static route. */ priority?: pulumi.Input; route?: pulumi.Input; /** * Used only for ECMP routes. */ scope?: pulumi.Input; /** * Optional weight of the ECMP scope - if provided. */ weight?: pulumi.Input; } /** * The set of arguments for constructing a StaticRoute resource. */ export interface StaticRouteArgs { /** * Identifier */ accountId: pulumi.Input; /** * An optional human provided description of the static route. */ description?: pulumi.Input; /** * The next-hop IP Address for the static route. */ nexthop: pulumi.Input; /** * IP Prefix in Classless Inter-Domain Routing format. */ prefix: pulumi.Input; /** * Priority of the static route. */ priority: pulumi.Input; route?: pulumi.Input; /** * Used only for ECMP routes. */ scope?: pulumi.Input; /** * Optional weight of the ECMP scope - if provided. */ weight?: pulumi.Input; }