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
Proxy
Settings Location - The location of this object.
- Lcaas
Use boolProxy - Enable proxy access to CDL
- Secure
Proxy stringPassword - Secure Proxy password to use
- Secure
Proxy doublePort - Port for secure proxy server
- Secure
Proxy stringServer - Secure Proxy server to use
- Secure
Proxy stringUser - Secure Proxy user name to use
- Location
Proxy
Settings Location Args - The location of this object.
- Lcaas
Use boolProxy - Enable proxy access to CDL
- Secure
Proxy stringPassword - Secure Proxy password to use
- Secure
Proxy float64Port - Port for secure proxy server
- Secure
Proxy stringServer - Secure Proxy server to use
- Secure
Proxy stringUser - Secure Proxy user name to use
- location
Proxy
Settings Location - The location of this object.
- lcaas
Use BooleanProxy - Enable proxy access to CDL
- secure
Proxy StringPassword - Secure Proxy password to use
- secure
Proxy DoublePort - Port for secure proxy server
- secure
Proxy StringServer - Secure Proxy server to use
- secure
Proxy StringUser - Secure Proxy user name to use
- location
Proxy
Settings Location - The location of this object.
- lcaas
Use booleanProxy - Enable proxy access to CDL
- secure
Proxy stringPassword - Secure Proxy password to use
- secure
Proxy numberPort - Port for secure proxy server
- secure
Proxy stringServer - Secure Proxy server to use
- secure
Proxy stringUser - Secure Proxy user name to use
- location
Proxy
Settings Location Args - The location of this object.
- lcaas_
use_ boolproxy - Enable proxy access to CDL
- secure_
proxy_ strpassword - Secure Proxy password to use
- secure_
proxy_ floatport - Port for secure proxy server
- secure_
proxy_ strserver - Secure Proxy server to use
- secure_
proxy_ struser - Secure Proxy user name to use
- location Property Map
- The location of this object.
- lcaas
Use BooleanProxy - Enable proxy access to CDL
- secure
Proxy StringPassword - Secure Proxy password to use
- secure
Proxy NumberPort - Port for secure proxy server
- secure
Proxy StringServer - Secure Proxy server to use
- secure
Proxy StringUser - 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) -> ProxySettingsfunc 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.
- Lcaas
Use boolProxy - Enable proxy access to CDL
- Location
Proxy
Settings Location - The location of this object.
- Secure
Proxy stringPassword - Secure Proxy password to use
- Secure
Proxy doublePort - Port for secure proxy server
- Secure
Proxy stringServer - Secure Proxy server to use
- Secure
Proxy stringUser - Secure Proxy user name to use
- Lcaas
Use boolProxy - Enable proxy access to CDL
- Location
Proxy
Settings Location Args - The location of this object.
- Secure
Proxy stringPassword - Secure Proxy password to use
- Secure
Proxy float64Port - Port for secure proxy server
- Secure
Proxy stringServer - Secure Proxy server to use
- Secure
Proxy stringUser - Secure Proxy user name to use
- lcaas
Use BooleanProxy - Enable proxy access to CDL
- location
Proxy
Settings Location - The location of this object.
- secure
Proxy StringPassword - Secure Proxy password to use
- secure
Proxy DoublePort - Port for secure proxy server
- secure
Proxy StringServer - Secure Proxy server to use
- secure
Proxy StringUser - Secure Proxy user name to use
- lcaas
Use booleanProxy - Enable proxy access to CDL
- location
Proxy
Settings Location - The location of this object.
- secure
Proxy stringPassword - Secure Proxy password to use
- secure
Proxy numberPort - Port for secure proxy server
- secure
Proxy stringServer - Secure Proxy server to use
- secure
Proxy stringUser - Secure Proxy user name to use
- lcaas_
use_ boolproxy - Enable proxy access to CDL
- location
Proxy
Settings Location Args - The location of this object.
- secure_
proxy_ strpassword - Secure Proxy password to use
- secure_
proxy_ floatport - Port for secure proxy server
- secure_
proxy_ strserver - Secure Proxy server to use
- secure_
proxy_ struser - Secure Proxy user name to use
- lcaas
Use BooleanProxy - Enable proxy access to CDL
- location Property Map
- The location of this object.
- secure
Proxy StringPassword - Secure Proxy password to use
- secure
Proxy NumberPort - Port for secure proxy server
- secure
Proxy StringServer - Secure Proxy server to use
- secure
Proxy StringUser - Secure Proxy user name to use
Supporting Types
ProxySettingsLocation, ProxySettingsLocationArgs
- System
Proxy
Settings Location System - System-level configuration
- Template
Proxy
Settings Location Template - Located in a specific template
- Template
Stack ProxySettings Location Template Stack - Located in a specific template stack
- System
Proxy
Settings Location System - System-level configuration
- Template
Proxy
Settings Location Template - Located in a specific template
- Template
Stack ProxySettings Location Template Stack - Located in a specific template stack
- system
Proxy
Settings Location System - System-level configuration
- template
Proxy
Settings Location Template - Located in a specific template
- template
Stack ProxySettings Location Template Stack - Located in a specific template stack
- system
Proxy
Settings Location System - System-level configuration
- template
Proxy
Settings Location Template - Located in a specific template
- template
Stack ProxySettings Location Template Stack - Located in a specific template stack
- system
Proxy
Settings Location System - System-level configuration
- template
Proxy
Settings Location Template - Located in a specific template
- template_
stack ProxySettings Location Template Stack - Located in a specific template stack
- system Property Map
- System-level configuration
- template Property Map
- Located in a specific template
- template
Stack 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
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- ngfw
Device string - The NGFW device
- panorama
Device 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
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
ProxySettingsLocationTemplateStack, ProxySettingsLocationTemplateStackArgs
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template stack
- ngfw
Device string - The NGFW device
- panorama
Device 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
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panosTerraform Provider.
