import * as pulumi from "@pulumi/pulumi"; /** * The zia_traffic_forwarding_vpn_credentials resource manages VPN credentials for traffic forwarding in the Zscaler Internet Access (ZIA) cloud service. VPN credentials are used to authenticate IPSec VPN tunnels between on-premises equipment and the Zscaler cloud. * * For more information, see the [ZIA Traffic Forwarding documentation](https://help.zscaler.com/zia/traffic-forwarding). * * ## Example Usage * ### Basic VPN Credentials (UFQDN) * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * import * as pulumi from "@pulumi/pulumi"; * * const cfg = new pulumi.Config(); * const vpnPreSharedKey = cfg.requireSecret("vpnPreSharedKey"); * * const example = new zia.TrafficForwardingVpnCredentials("example", { * type: "UFQDN", * fqdn: "user@example.com", * preSharedKey: vpnPreSharedKey, * comments: "Branch office VPN credentials", * }); * ``` * * ## Import * * An existing VPN credential can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:TrafficForwardingVpnCredentials example 12345 * ``` */ export declare class TrafficForwardingVpnCredentials extends pulumi.CustomResource { /** * Get an existing TrafficForwardingVpnCredentials 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): TrafficForwardingVpnCredentials; /** * Returns true if the given object is an instance of TrafficForwardingVpnCredentials. 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 TrafficForwardingVpnCredentials; /** * Additional information about the VPN credential. Maximum 10240 characters. */ readonly comments: pulumi.Output; /** * Fully Qualified Domain Name (FQDN). Required when type is `UFQDN`. */ readonly fqdn: pulumi.Output; /** * The static IP address associated with the VPN credential. Required when type is `IP`. */ readonly ipAddress: pulumi.Output; /** * Pre-shared key (PSK) for the VPN credential. This is a secret value. */ readonly preSharedKey: pulumi.Output; /** * VPN credential type. Valid values: `IP`, `UFQDN`. */ readonly type: pulumi.Output; /** * The system-generated ID of the VPN credential. */ readonly vpnId: pulumi.Output; /** * Create a TrafficForwardingVpnCredentials 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?: TrafficForwardingVpnCredentialsArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TrafficForwardingVpnCredentials resource. */ export interface TrafficForwardingVpnCredentialsArgs { /** * Additional information about the VPN credential. Maximum 10240 characters. */ comments?: pulumi.Input; /** * Fully Qualified Domain Name (FQDN). Required when type is `UFQDN`. */ fqdn?: pulumi.Input; /** * The static IP address associated with the VPN credential. Required when type is `IP`. */ ipAddress?: pulumi.Input; /** * Pre-shared key (PSK) for the VPN credential. This is a secret value. */ preSharedKey?: pulumi.Input; /** * VPN credential type. Valid values: `IP`, `UFQDN`. */ type?: pulumi.Input; } //# sourceMappingURL=trafficForwardingVpnCredentials.d.ts.map