import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleMagicWanGreTunnel = new cloudflare.MagicWanGreTunnel("example_magic_wan_gre_tunnel", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * cloudflareGreEndpoint: "203.0.113.1", * customerGreEndpoint: "203.0.113.1", * interfaceAddress: "192.0.2.0/31", * name: "GRE_1", * description: "Tunnel for ISP X", * healthCheck: { * direction: "bidirectional", * enabled: true, * rate: "low", * target: { * saved: "203.0.113.1", * }, * type: "request", * }, * mtu: 0, * ttl: 0, * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/magicWanGreTunnel:MagicWanGreTunnel example '/' * ``` */ export declare class MagicWanGreTunnel extends pulumi.CustomResource { /** * Get an existing MagicWanGreTunnel 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?: MagicWanGreTunnelState, opts?: pulumi.CustomResourceOptions): MagicWanGreTunnel; /** * Returns true if the given object is an instance of MagicWanGreTunnel. 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 MagicWanGreTunnel; /** * Identifier */ readonly accountId: pulumi.Output; /** * The IP address assigned to the Cloudflare side of the GRE tunnel. */ readonly cloudflareGreEndpoint: pulumi.Output; /** * The date and time the tunnel was created. */ readonly createdOn: pulumi.Output; /** * The IP address assigned to the customer side of the GRE tunnel. */ readonly customerGreEndpoint: pulumi.Output; /** * An optional description of the GRE tunnel. */ readonly description: pulumi.Output; readonly greTunnel: pulumi.Output; readonly healthCheck: pulumi.Output; /** * A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255. */ readonly interfaceAddress: pulumi.Output; readonly modified: pulumi.Output; readonly modifiedGreTunnel: pulumi.Output; /** * The date and time the tunnel was last modified. */ readonly modifiedOn: pulumi.Output; /** * Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576. */ readonly mtu: pulumi.Output; /** * The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel. */ readonly name: pulumi.Output; /** * Time To Live (TTL) in number of hops of the GRE tunnel. */ readonly ttl: pulumi.Output; /** * Create a MagicWanGreTunnel 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: MagicWanGreTunnelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MagicWanGreTunnel resources. */ export interface MagicWanGreTunnelState { /** * Identifier */ accountId?: pulumi.Input; /** * The IP address assigned to the Cloudflare side of the GRE tunnel. */ cloudflareGreEndpoint?: pulumi.Input; /** * The date and time the tunnel was created. */ createdOn?: pulumi.Input; /** * The IP address assigned to the customer side of the GRE tunnel. */ customerGreEndpoint?: pulumi.Input; /** * An optional description of the GRE tunnel. */ description?: pulumi.Input; greTunnel?: pulumi.Input; healthCheck?: pulumi.Input; /** * A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255. */ interfaceAddress?: pulumi.Input; modified?: pulumi.Input; modifiedGreTunnel?: pulumi.Input; /** * The date and time the tunnel was last modified. */ modifiedOn?: pulumi.Input; /** * Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576. */ mtu?: pulumi.Input; /** * The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel. */ name?: pulumi.Input; /** * Time To Live (TTL) in number of hops of the GRE tunnel. */ ttl?: pulumi.Input; } /** * The set of arguments for constructing a MagicWanGreTunnel resource. */ export interface MagicWanGreTunnelArgs { /** * Identifier */ accountId: pulumi.Input; /** * The IP address assigned to the Cloudflare side of the GRE tunnel. */ cloudflareGreEndpoint: pulumi.Input; /** * The IP address assigned to the customer side of the GRE tunnel. */ customerGreEndpoint: pulumi.Input; /** * An optional description of the GRE tunnel. */ description?: pulumi.Input; healthCheck?: pulumi.Input; /** * A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255. */ interfaceAddress: pulumi.Input; /** * Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576. */ mtu?: pulumi.Input; /** * The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel. */ name: pulumi.Input; /** * Time To Live (TTL) in number of hops of the GRE tunnel. */ ttl?: pulumi.Input; }