import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ForwardingProfileRegionalAndCustomProxy resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Basic gp-and-pac proxy with a primary proxy server * // proxy_1 and proxy_2 are only available for gp-and-pac * const exampleGpAndPacBasic = new scm.ForwardingProfileRegionalAndCustomProxy("example_gp_and_pac_basic", { * folder: "Mobile Users", * name: "example-gp-pac-proxy-1", * type: "gp-and-pac", * proxy1: { * fqdn: "proxy1.example.com", * port: 8080, * location: "us-east", * }, * }); * // gp-and-pac with primary and secondary proxy servers for high availability * const exampleGpAndPacDualProxy = new scm.ForwardingProfileRegionalAndCustomProxy("example_gp_and_pac_dual_proxy", { * folder: "Mobile Users", * name: "example-gp-pac-dual-proxy", * description: "Managed by Terraform - Dual proxy configuration for high availability", * type: "gp-and-pac", * proxy1: { * fqdn: "proxy1.example.com", * port: 8080, * location: "us-east", * }, * proxy2: { * fqdn: "proxy2.example.com", * port: 8080, * location: "us-west", * }, * }); * // Basic ztna-agent proxy * // connectivity_preference and fallback_option are only available for ztna-agent * // At least one connectivity_preference entry must have enabled = true * const exampleZtnaBasic = new scm.ForwardingProfileRegionalAndCustomProxy("example_ztna_basic", { * folder: "Mobile Users", * name: "example-ztna-proxy", * description: "Managed by Terraform - ZTNA agent proxy configuration", * type: "ztna-agent", * fallbackOption: "fail-open", * connectivityPreferences: [ * { * name: "tunnel", * enabled: true, * }, * { * name: "proxy", * enabled: false, * }, * ], * }); * // Full ztna-agent with location_preference and Prisma Access locations * // location_preference is only available for ztna-agent * const exampleZtnaFull = new scm.ForwardingProfileRegionalAndCustomProxy("example_ztna_full", { * folder: "Mobile Users", * name: "example-ztna-full", * description: "Managed by Terraform - Full ZTNA agent with location and connectivity settings", * type: "ztna-agent", * fallbackOption: "fail-safe", * locationPreference: "specific-pa-location", * prismaAccessLocations: [ * { * name: "americas", * locations: [ * "us-east-1", * "us-west-1", * ], * }, * { * name: "europe", * locations: ["europe-west"], * }, * { * name: "apac", * locations: ["asia-southeast1"], * }, * ], * connectivityPreferences: [ * { * name: "tunnel", * enabled: true, * }, * { * name: "adns", * enabled: true, * }, * { * name: "masque", * enabled: true, * }, * ], * }); * ``` * * ## Import * * The following command can be used to import a resource not managed by Terraform: * * ```sh * $ pulumi import scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy example folder:::id * ``` * * or * * ```sh * $ pulumi import scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy example :snippet::id * ``` * * or * * ```sh * $ pulumi import scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy example ::device:id * ``` * * **Note:** Please provide just one of folder, snippet, or device for the import command. */ export declare class ForwardingProfileRegionalAndCustomProxy extends pulumi.CustomResource { /** * Get an existing ForwardingProfileRegionalAndCustomProxy 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?: ForwardingProfileRegionalAndCustomProxyState, opts?: pulumi.CustomResourceOptions): ForwardingProfileRegionalAndCustomProxy; /** * Returns true if the given object is an instance of ForwardingProfileRegionalAndCustomProxy. 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 ForwardingProfileRegionalAndCustomProxy; /** * List of connectivity methods and their enablement status for establishing proxy connections */ readonly connectivityPreferences: pulumi.Output; /** * regional and custom proxy configuration description */ readonly description: pulumi.Output; /** * Behavior when proxy connection fails - 'fail-open' allows direct internet access, 'fail-safe' blocks traffic until proxy is restored */ readonly fallbackOption: pulumi.Output; /** * The folder in which the resource is defined */ readonly folder: pulumi.Output; /** * Strategy for selecting Prisma Access location - 'best-available-pa-location' automatically selects optimal location, 'specific-pa-location' uses predefined locations */ readonly locationPreference: pulumi.Output; /** * alphanumeric string [ 0-9a-zA-Z ._-] */ readonly name: pulumi.Output; /** * Select Prisma Access location Americas, Europe and Asia-Pacific. */ readonly prismaAccessLocations: pulumi.Output; /** * primary regional and custom proxy */ readonly proxy1: pulumi.Output; /** * secondary regional and custom proxy */ readonly proxy2: pulumi.Output; /** * The Terraform ID. */ readonly tfid: pulumi.Output; /** * Proxy configuration type - 'gp-and-pac' for GlobalProtect and PAC file forwarding, 'ztna-agent' for ZTNA agent forwarding */ readonly type: pulumi.Output; /** * Create a ForwardingProfileRegionalAndCustomProxy 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?: ForwardingProfileRegionalAndCustomProxyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ForwardingProfileRegionalAndCustomProxy resources. */ export interface ForwardingProfileRegionalAndCustomProxyState { /** * List of connectivity methods and their enablement status for establishing proxy connections */ connectivityPreferences?: pulumi.Input[] | undefined>; /** * regional and custom proxy configuration description */ description?: pulumi.Input; /** * Behavior when proxy connection fails - 'fail-open' allows direct internet access, 'fail-safe' blocks traffic until proxy is restored */ fallbackOption?: pulumi.Input; /** * The folder in which the resource is defined */ folder?: pulumi.Input; /** * Strategy for selecting Prisma Access location - 'best-available-pa-location' automatically selects optimal location, 'specific-pa-location' uses predefined locations */ locationPreference?: pulumi.Input; /** * alphanumeric string [ 0-9a-zA-Z ._-] */ name?: pulumi.Input; /** * Select Prisma Access location Americas, Europe and Asia-Pacific. */ prismaAccessLocations?: pulumi.Input[] | undefined>; /** * primary regional and custom proxy */ proxy1?: pulumi.Input; /** * secondary regional and custom proxy */ proxy2?: pulumi.Input; /** * The Terraform ID. */ tfid?: pulumi.Input; /** * Proxy configuration type - 'gp-and-pac' for GlobalProtect and PAC file forwarding, 'ztna-agent' for ZTNA agent forwarding */ type?: pulumi.Input; } /** * The set of arguments for constructing a ForwardingProfileRegionalAndCustomProxy resource. */ export interface ForwardingProfileRegionalAndCustomProxyArgs { /** * List of connectivity methods and their enablement status for establishing proxy connections */ connectivityPreferences?: pulumi.Input[] | undefined>; /** * regional and custom proxy configuration description */ description?: pulumi.Input; /** * Behavior when proxy connection fails - 'fail-open' allows direct internet access, 'fail-safe' blocks traffic until proxy is restored */ fallbackOption?: pulumi.Input; /** * The folder in which the resource is defined */ folder?: pulumi.Input; /** * Strategy for selecting Prisma Access location - 'best-available-pa-location' automatically selects optimal location, 'specific-pa-location' uses predefined locations */ locationPreference?: pulumi.Input; /** * alphanumeric string [ 0-9a-zA-Z ._-] */ name?: pulumi.Input; /** * Select Prisma Access location Americas, Europe and Asia-Pacific. */ prismaAccessLocations?: pulumi.Input[] | undefined>; /** * primary regional and custom proxy */ proxy1?: pulumi.Input; /** * secondary regional and custom proxy */ proxy2?: pulumi.Input; /** * Proxy configuration type - 'gp-and-pac' for GlobalProtect and PAC file forwarding, 'ztna-agent' for ZTNA agent forwarding */ type?: pulumi.Input; } //# sourceMappingURL=forwardingProfileRegionalAndCustomProxy.d.ts.map