1. Packages
  2. Panos Provider
  3. API Docs
  4. ProxySettings
panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks
panos logo
panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks

    Create ProxySettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProxySettings(name: string, args: ProxySettingsArgs, opts?: CustomResourceOptions);
    @overload
    def ProxySettings(resource_name: str,
                      args: ProxySettingsArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProxySettings(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      location: Optional[ProxySettingsLocationArgs] = None,
                      lcaas_use_proxy: Optional[bool] = None,
                      secure_proxy_password: Optional[str] = None,
                      secure_proxy_port: Optional[float] = None,
                      secure_proxy_server: Optional[str] = None,
                      secure_proxy_user: Optional[str] = None)
    func NewProxySettings(ctx *Context, name string, args ProxySettingsArgs, opts ...ResourceOption) (*ProxySettings, error)
    public ProxySettings(string name, ProxySettingsArgs args, CustomResourceOptions? opts = null)
    public ProxySettings(String name, ProxySettingsArgs args)
    public ProxySettings(String name, ProxySettingsArgs args, CustomResourceOptions options)
    
    type: panos:ProxySettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProxySettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProxySettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProxySettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProxySettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProxySettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var proxySettingsResource = new Panos.ProxySettings("proxySettingsResource", new()
    {
        Location = new Panos.Inputs.ProxySettingsLocationArgs
        {
            System = new Panos.Inputs.ProxySettingsLocationSystemArgs
            {
                Device = "string",
            },
            Template = new Panos.Inputs.ProxySettingsLocationTemplateArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
            TemplateStack = new Panos.Inputs.ProxySettingsLocationTemplateStackArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
        },
        LcaasUseProxy = false,
        SecureProxyPassword = "string",
        SecureProxyPort = 0,
        SecureProxyServer = "string",
        SecureProxyUser = "string",
    });
    
    example, err := panos.NewProxySettings(ctx, "proxySettingsResource", &panos.ProxySettingsArgs{
    	Location: &panos.ProxySettingsLocationArgs{
    		System: &panos.ProxySettingsLocationSystemArgs{
    			Device: pulumi.String("string"),
    		},
    		Template: &panos.ProxySettingsLocationTemplateArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStack: &panos.ProxySettingsLocationTemplateStackArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    	},
    	LcaasUseProxy:       pulumi.Bool(false),
    	SecureProxyPassword: pulumi.String("string"),
    	SecureProxyPort:     pulumi.Float64(0),
    	SecureProxyServer:   pulumi.String("string"),
    	SecureProxyUser:     pulumi.String("string"),
    })
    
    var proxySettingsResource = new ProxySettings("proxySettingsResource", ProxySettingsArgs.builder()
        .location(ProxySettingsLocationArgs.builder()
            .system(ProxySettingsLocationSystemArgs.builder()
                .device("string")
                .build())
            .template(ProxySettingsLocationTemplateArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .templateStack(ProxySettingsLocationTemplateStackArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .build())
        .lcaasUseProxy(false)
        .secureProxyPassword("string")
        .secureProxyPort(0.0)
        .secureProxyServer("string")
        .secureProxyUser("string")
        .build());
    
    proxy_settings_resource = panos.ProxySettings("proxySettingsResource",
        location={
            "system": {
                "device": "string",
            },
            "template": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
            "template_stack": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
        },
        lcaas_use_proxy=False,
        secure_proxy_password="string",
        secure_proxy_port=0,
        secure_proxy_server="string",
        secure_proxy_user="string")
    
    const proxySettingsResource = new panos.ProxySettings("proxySettingsResource", {
        location: {
            system: {
                device: "string",
            },
            template: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
            templateStack: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
        },
        lcaasUseProxy: false,
        secureProxyPassword: "string",
        secureProxyPort: 0,
        secureProxyServer: "string",
        secureProxyUser: "string",
    });
    
    type: panos:ProxySettings
    properties:
        lcaasUseProxy: false
        location:
            system:
                device: string
            template:
                name: string
                ngfwDevice: string
                panoramaDevice: string
            templateStack:
                name: string
                ngfwDevice: string
                panoramaDevice: string
        secureProxyPassword: string
        secureProxyPort: 0
        secureProxyServer: string
        secureProxyUser: string
    

    ProxySettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ProxySettings resource accepts the following input properties:

    Location ProxySettingsLocation
    The location of this object.
    LcaasUseProxy bool
    Enable proxy access to CDL
    SecureProxyPassword string
    Secure Proxy password to use
    SecureProxyPort double
    Port for secure proxy server
    SecureProxyServer string
    Secure Proxy server to use
    SecureProxyUser string
    Secure Proxy user name to use
    Location ProxySettingsLocationArgs
    The location of this object.
    LcaasUseProxy bool
    Enable proxy access to CDL
    SecureProxyPassword string
    Secure Proxy password to use
    SecureProxyPort float64
    Port for secure proxy server
    SecureProxyServer string
    Secure Proxy server to use
    SecureProxyUser string
    Secure Proxy user name to use
    location ProxySettingsLocation
    The location of this object.
    lcaasUseProxy Boolean
    Enable proxy access to CDL
    secureProxyPassword String
    Secure Proxy password to use
    secureProxyPort Double
    Port for secure proxy server
    secureProxyServer String
    Secure Proxy server to use
    secureProxyUser String
    Secure Proxy user name to use
    location ProxySettingsLocation
    The location of this object.
    lcaasUseProxy boolean
    Enable proxy access to CDL
    secureProxyPassword string
    Secure Proxy password to use
    secureProxyPort number
    Port for secure proxy server
    secureProxyServer string
    Secure Proxy server to use
    secureProxyUser string
    Secure Proxy user name to use
    location ProxySettingsLocationArgs
    The location of this object.
    lcaas_use_proxy bool
    Enable proxy access to CDL
    secure_proxy_password str
    Secure Proxy password to use
    secure_proxy_port float
    Port for secure proxy server
    secure_proxy_server str
    Secure Proxy server to use
    secure_proxy_user str
    Secure Proxy user name to use
    location Property Map
    The location of this object.
    lcaasUseProxy Boolean
    Enable proxy access to CDL
    secureProxyPassword String
    Secure Proxy password to use
    secureProxyPort Number
    Port for secure proxy server
    secureProxyServer String
    Secure Proxy server to use
    secureProxyUser String
    Secure Proxy user name to use

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProxySettings resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ProxySettings Resource

    Get an existing ProxySettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProxySettingsState, opts?: CustomResourceOptions): ProxySettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            lcaas_use_proxy: Optional[bool] = None,
            location: Optional[ProxySettingsLocationArgs] = None,
            secure_proxy_password: Optional[str] = None,
            secure_proxy_port: Optional[float] = None,
            secure_proxy_server: Optional[str] = None,
            secure_proxy_user: Optional[str] = None) -> ProxySettings
    func GetProxySettings(ctx *Context, name string, id IDInput, state *ProxySettingsState, opts ...ResourceOption) (*ProxySettings, error)
    public static ProxySettings Get(string name, Input<string> id, ProxySettingsState? state, CustomResourceOptions? opts = null)
    public static ProxySettings get(String name, Output<String> id, ProxySettingsState state, CustomResourceOptions options)
    resources:  _:    type: panos:ProxySettings    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    LcaasUseProxy bool
    Enable proxy access to CDL
    Location ProxySettingsLocation
    The location of this object.
    SecureProxyPassword string
    Secure Proxy password to use
    SecureProxyPort double
    Port for secure proxy server
    SecureProxyServer string
    Secure Proxy server to use
    SecureProxyUser string
    Secure Proxy user name to use
    LcaasUseProxy bool
    Enable proxy access to CDL
    Location ProxySettingsLocationArgs
    The location of this object.
    SecureProxyPassword string
    Secure Proxy password to use
    SecureProxyPort float64
    Port for secure proxy server
    SecureProxyServer string
    Secure Proxy server to use
    SecureProxyUser string
    Secure Proxy user name to use
    lcaasUseProxy Boolean
    Enable proxy access to CDL
    location ProxySettingsLocation
    The location of this object.
    secureProxyPassword String
    Secure Proxy password to use
    secureProxyPort Double
    Port for secure proxy server
    secureProxyServer String
    Secure Proxy server to use
    secureProxyUser String
    Secure Proxy user name to use
    lcaasUseProxy boolean
    Enable proxy access to CDL
    location ProxySettingsLocation
    The location of this object.
    secureProxyPassword string
    Secure Proxy password to use
    secureProxyPort number
    Port for secure proxy server
    secureProxyServer string
    Secure Proxy server to use
    secureProxyUser string
    Secure Proxy user name to use
    lcaas_use_proxy bool
    Enable proxy access to CDL
    location ProxySettingsLocationArgs
    The location of this object.
    secure_proxy_password str
    Secure Proxy password to use
    secure_proxy_port float
    Port for secure proxy server
    secure_proxy_server str
    Secure Proxy server to use
    secure_proxy_user str
    Secure Proxy user name to use
    lcaasUseProxy Boolean
    Enable proxy access to CDL
    location Property Map
    The location of this object.
    secureProxyPassword String
    Secure Proxy password to use
    secureProxyPort Number
    Port for secure proxy server
    secureProxyServer String
    Secure Proxy server to use
    secureProxyUser String
    Secure Proxy user name to use

    Supporting Types

    ProxySettingsLocation, ProxySettingsLocationArgs

    System ProxySettingsLocationSystem
    System-level configuration
    Template ProxySettingsLocationTemplate
    Located in a specific template
    TemplateStack ProxySettingsLocationTemplateStack
    Located in a specific template stack
    System ProxySettingsLocationSystem
    System-level configuration
    Template ProxySettingsLocationTemplate
    Located in a specific template
    TemplateStack ProxySettingsLocationTemplateStack
    Located in a specific template stack
    system ProxySettingsLocationSystem
    System-level configuration
    template ProxySettingsLocationTemplate
    Located in a specific template
    templateStack ProxySettingsLocationTemplateStack
    Located in a specific template stack
    system ProxySettingsLocationSystem
    System-level configuration
    template ProxySettingsLocationTemplate
    Located in a specific template
    templateStack ProxySettingsLocationTemplateStack
    Located in a specific template stack
    system ProxySettingsLocationSystem
    System-level configuration
    template ProxySettingsLocationTemplate
    Located in a specific template
    template_stack ProxySettingsLocationTemplateStack
    Located in a specific template stack
    system Property Map
    System-level configuration
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    ProxySettingsLocationSystem, ProxySettingsLocationSystemArgs

    Device string
    Device
    Device string
    Device
    device String
    Device
    device string
    Device
    device str
    Device
    device String
    Device

    ProxySettingsLocationTemplate, ProxySettingsLocationTemplateArgs

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    ProxySettingsLocationTemplateStack, ProxySettingsLocationTemplateStackArgs

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template stack
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    Package Details

    Repository
    panos paloaltonetworks/terraform-provider-panos
    License
    Notes
    This Pulumi package is based on the panos Terraform Provider.
    panos logo
    panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks
      Meet Neo: Your AI Platform Teammate