import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The zia_traffic_forwarding_gre_tunnel resource manages GRE (Generic Routing Encapsulation) tunnels for traffic forwarding in the Zscaler Internet Access (ZIA) cloud service. GRE tunnels are used to forward traffic from on-premises networks to the Zscaler cloud. * * For more information, see the [ZIA Traffic Forwarding documentation](https://help.zscaler.com/zia/traffic-forwarding). * * ## Example Usage * ### Basic GRE Tunnel * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * const example = new zia.TrafficForwardingGreTunnel("example", { * sourceIp: "203.0.113.10", * comment: "Branch office GRE tunnel", * withinCountry: true, * ipUnnumbered: true, * }); * ``` * * ## Import * * An existing GRE tunnel can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:TrafficForwardingGreTunnel example 12345 * ``` */ export declare class TrafficForwardingGreTunnel extends pulumi.CustomResource { /** * Get an existing TrafficForwardingGreTunnel 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): TrafficForwardingGreTunnel; /** * Returns true if the given object is an instance of TrafficForwardingGreTunnel. 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 TrafficForwardingGreTunnel; /** * Additional information about the GRE tunnel. */ readonly comment: pulumi.Output; /** * Country code (ISO 3166-1 alpha-2) used when withinCountry is true to restrict VIP selection. */ readonly countryCode: pulumi.Output; /** * The start of the internal IP address in /29 CIDR range. Automatically assigned if not provided. */ readonly internalIpRange: pulumi.Output; /** * When set to true, indicates that the GRE tunnel interface is unnumbered (no internal IP range is assigned). */ readonly ipUnnumbered: pulumi.Output; /** * The primary destination data center and virtual IP address (VIP) of the GRE tunnel. */ readonly primaryDestVip: pulumi.Output; /** * The secondary destination data center and virtual IP address (VIP) of the GRE tunnel. */ readonly secondaryDestVip: pulumi.Output; /** * The source IP address of the GRE tunnel. This is typically a static IP associated with the location. */ readonly sourceIp: pulumi.Output; /** * The system-generated ID of the GRE tunnel. */ readonly tunnelId: pulumi.Output; /** * Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP. */ readonly withinCountry: pulumi.Output; /** * Create a TrafficForwardingGreTunnel 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: TrafficForwardingGreTunnelArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TrafficForwardingGreTunnel resource. */ export interface TrafficForwardingGreTunnelArgs { /** * Additional information about the GRE tunnel. */ comment?: pulumi.Input; /** * Country code (ISO 3166-1 alpha-2) used when withinCountry is true to restrict VIP selection. */ countryCode?: pulumi.Input; /** * The start of the internal IP address in /29 CIDR range. Automatically assigned if not provided. */ internalIpRange?: pulumi.Input; /** * When set to true, indicates that the GRE tunnel interface is unnumbered (no internal IP range is assigned). */ ipUnnumbered?: pulumi.Input; /** * The primary destination data center and virtual IP address (VIP) of the GRE tunnel. */ primaryDestVip?: pulumi.Input; /** * The secondary destination data center and virtual IP address (VIP) of the GRE tunnel. */ secondaryDestVip?: pulumi.Input; /** * The source IP address of the GRE tunnel. This is typically a static IP associated with the location. */ sourceIp: pulumi.Input; /** * Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP. */ withinCountry?: pulumi.Input; } //# sourceMappingURL=trafficForwardingGreTunnel.d.ts.map