UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

167 lines (166 loc) 6.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language. * * Visit * * **zia_traffic_forwarding_gre_tunnel** can be imported by using `<TUNNEL_ID>` as the import ID. * * For example: * * ```sh * $ pulumi import zia:index/trafficForwardingGRETunnel:TrafficForwardingGRETunnel example <tunnel_id> * ``` * * or * * ```sh * $ pulumi import zia:index/trafficForwardingGRETunnel:TrafficForwardingGRETunnel example <engine_name> * ``` */ 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 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<pulumi.ID>, state?: TrafficForwardingGRETunnelState, 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 this GRE tunnel */ readonly comment: pulumi.Output<string | undefined>; /** * When withinCountry is enabled, you must set this to the country code. */ readonly countryCode: pulumi.Output<string>; /** * The start of the internal IP address in /29 CIDR range */ readonly internalIpRange: pulumi.Output<string | undefined>; /** * This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true greTunIp and greTunId are * set to null */ readonly ipUnnumbered: pulumi.Output<boolean>; /** * The primary destination data center and virtual IP address (VIP) of the GRE tunnel */ readonly primaryDestVips: pulumi.Output<outputs.TrafficForwardingGRETunnelPrimaryDestVip[]>; /** * The secondary destination data center and virtual IP address (VIP) of the GRE tunnel */ readonly secondaryDestVips: pulumi.Output<outputs.TrafficForwardingGRETunnelSecondaryDestVip[]>; /** * The source IP address of the GRE tunnel. This is typically a static IP address in the organization or SD-WAN. */ readonly sourceIp: pulumi.Output<string>; /** * The ID of the GRE tunnel. */ readonly tunnelId: pulumi.Output<number>; /** * Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address */ readonly withinCountry: pulumi.Output<boolean>; /** * 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); } /** * Input properties used for looking up and filtering TrafficForwardingGRETunnel resources. */ export interface TrafficForwardingGRETunnelState { /** * Additional information about this GRE tunnel */ comment?: pulumi.Input<string>; /** * When withinCountry is enabled, you must set this to the country code. */ countryCode?: pulumi.Input<string>; /** * The start of the internal IP address in /29 CIDR range */ internalIpRange?: pulumi.Input<string>; /** * This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true greTunIp and greTunId are * set to null */ ipUnnumbered?: pulumi.Input<boolean>; /** * The primary destination data center and virtual IP address (VIP) of the GRE tunnel */ primaryDestVips?: pulumi.Input<pulumi.Input<inputs.TrafficForwardingGRETunnelPrimaryDestVip>[]>; /** * The secondary destination data center and virtual IP address (VIP) of the GRE tunnel */ secondaryDestVips?: pulumi.Input<pulumi.Input<inputs.TrafficForwardingGRETunnelSecondaryDestVip>[]>; /** * The source IP address of the GRE tunnel. This is typically a static IP address in the organization or SD-WAN. */ sourceIp?: pulumi.Input<string>; /** * The ID of the GRE tunnel. */ tunnelId?: pulumi.Input<number>; /** * Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address */ withinCountry?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a TrafficForwardingGRETunnel resource. */ export interface TrafficForwardingGRETunnelArgs { /** * Additional information about this GRE tunnel */ comment?: pulumi.Input<string>; /** * When withinCountry is enabled, you must set this to the country code. */ countryCode?: pulumi.Input<string>; /** * The start of the internal IP address in /29 CIDR range */ internalIpRange?: pulumi.Input<string>; /** * This is required to support the automated SD-WAN provisioning of GRE tunnels, when set to true greTunIp and greTunId are * set to null */ ipUnnumbered?: pulumi.Input<boolean>; /** * The primary destination data center and virtual IP address (VIP) of the GRE tunnel */ primaryDestVips?: pulumi.Input<pulumi.Input<inputs.TrafficForwardingGRETunnelPrimaryDestVip>[]>; /** * The secondary destination data center and virtual IP address (VIP) of the GRE tunnel */ secondaryDestVips?: pulumi.Input<pulumi.Input<inputs.TrafficForwardingGRETunnelSecondaryDestVip>[]>; /** * The source IP address of the GRE tunnel. This is typically a static IP address in the organization or SD-WAN. */ sourceIp: pulumi.Input<string>; /** * Restrict the data center virtual IP addresses (VIPs) only to those within the same country as the source IP address */ withinCountry?: pulumi.Input<boolean>; }