panos.TunnelInterface
Explore with Pulumi AI
Create TunnelInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TunnelInterface(name: string, args: TunnelInterfaceArgs, opts?: CustomResourceOptions);
@overload
def TunnelInterface(resource_name: str,
args: TunnelInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TunnelInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[TunnelInterfaceLocationArgs] = None,
bonjour: Optional[TunnelInterfaceBonjourArgs] = None,
comment: Optional[str] = None,
df_ignore: Optional[bool] = None,
interface_management_profile: Optional[str] = None,
ips: Optional[Sequence[TunnelInterfaceIpArgs]] = None,
ipv6: Optional[TunnelInterfaceIpv6Args] = None,
link_tag: Optional[str] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
netflow_profile: Optional[str] = None)
func NewTunnelInterface(ctx *Context, name string, args TunnelInterfaceArgs, opts ...ResourceOption) (*TunnelInterface, error)
public TunnelInterface(string name, TunnelInterfaceArgs args, CustomResourceOptions? opts = null)
public TunnelInterface(String name, TunnelInterfaceArgs args)
public TunnelInterface(String name, TunnelInterfaceArgs args, CustomResourceOptions options)
type: panos:TunnelInterface
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 TunnelInterfaceArgs
- 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 TunnelInterfaceArgs
- 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 TunnelInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TunnelInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TunnelInterfaceArgs
- 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 tunnelInterfaceResource = new Panos.TunnelInterface("tunnelInterfaceResource", new()
{
Location = new Panos.Inputs.TunnelInterfaceLocationArgs
{
Ngfw = new Panos.Inputs.TunnelInterfaceLocationNgfwArgs
{
NgfwDevice = "string",
},
Shared = null,
Template = new Panos.Inputs.TunnelInterfaceLocationTemplateArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
TemplateStack = new Panos.Inputs.TunnelInterfaceLocationTemplateStackArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
},
Bonjour = new Panos.Inputs.TunnelInterfaceBonjourArgs
{
Enable = false,
GroupId = 0,
TtlCheck = false,
},
Comment = "string",
DfIgnore = false,
InterfaceManagementProfile = "string",
Ips = new[]
{
new Panos.Inputs.TunnelInterfaceIpArgs
{
Name = "string",
},
},
Ipv6 = new Panos.Inputs.TunnelInterfaceIpv6Args
{
Addresses = new[]
{
new Panos.Inputs.TunnelInterfaceIpv6AddressArgs
{
Name = "string",
Anycast = null,
EnableOnInterface = false,
Prefix = null,
},
},
Enabled = false,
InterfaceId = "string",
},
LinkTag = "string",
Mtu = 0,
Name = "string",
NetflowProfile = "string",
});
example, err := panos.NewTunnelInterface(ctx, "tunnelInterfaceResource", &panos.TunnelInterfaceArgs{
Location: &panos.TunnelInterfaceLocationArgs{
Ngfw: &panos.TunnelInterfaceLocationNgfwArgs{
NgfwDevice: pulumi.String("string"),
},
Shared: &panos.TunnelInterfaceLocationSharedArgs{},
Template: &panos.TunnelInterfaceLocationTemplateArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
TemplateStack: &panos.TunnelInterfaceLocationTemplateStackArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
},
Bonjour: &panos.TunnelInterfaceBonjourArgs{
Enable: pulumi.Bool(false),
GroupId: pulumi.Float64(0),
TtlCheck: pulumi.Bool(false),
},
Comment: pulumi.String("string"),
DfIgnore: pulumi.Bool(false),
InterfaceManagementProfile: pulumi.String("string"),
Ips: panos.TunnelInterfaceIpArray{
&panos.TunnelInterfaceIpArgs{
Name: pulumi.String("string"),
},
},
Ipv6: &panos.TunnelInterfaceIpv6Args{
Addresses: panos.TunnelInterfaceIpv6AddressArray{
&panos.TunnelInterfaceIpv6AddressArgs{
Name: pulumi.String("string"),
Anycast: &panos.TunnelInterfaceIpv6AddressAnycastArgs{},
EnableOnInterface: pulumi.Bool(false),
Prefix: &panos.TunnelInterfaceIpv6AddressPrefixArgs{},
},
},
Enabled: pulumi.Bool(false),
InterfaceId: pulumi.String("string"),
},
LinkTag: pulumi.String("string"),
Mtu: pulumi.Float64(0),
Name: pulumi.String("string"),
NetflowProfile: pulumi.String("string"),
})
var tunnelInterfaceResource = new TunnelInterface("tunnelInterfaceResource", TunnelInterfaceArgs.builder()
.location(TunnelInterfaceLocationArgs.builder()
.ngfw(TunnelInterfaceLocationNgfwArgs.builder()
.ngfwDevice("string")
.build())
.shared()
.template(TunnelInterfaceLocationTemplateArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.templateStack(TunnelInterfaceLocationTemplateStackArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.build())
.bonjour(TunnelInterfaceBonjourArgs.builder()
.enable(false)
.groupId(0)
.ttlCheck(false)
.build())
.comment("string")
.dfIgnore(false)
.interfaceManagementProfile("string")
.ips(TunnelInterfaceIpArgs.builder()
.name("string")
.build())
.ipv6(TunnelInterfaceIpv6Args.builder()
.addresses(TunnelInterfaceIpv6AddressArgs.builder()
.name("string")
.anycast()
.enableOnInterface(false)
.prefix()
.build())
.enabled(false)
.interfaceId("string")
.build())
.linkTag("string")
.mtu(0)
.name("string")
.netflowProfile("string")
.build());
tunnel_interface_resource = panos.TunnelInterface("tunnelInterfaceResource",
location={
"ngfw": {
"ngfw_device": "string",
},
"shared": {},
"template": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
"template_stack": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
},
bonjour={
"enable": False,
"group_id": 0,
"ttl_check": False,
},
comment="string",
df_ignore=False,
interface_management_profile="string",
ips=[{
"name": "string",
}],
ipv6={
"addresses": [{
"name": "string",
"anycast": {},
"enable_on_interface": False,
"prefix": {},
}],
"enabled": False,
"interface_id": "string",
},
link_tag="string",
mtu=0,
name="string",
netflow_profile="string")
const tunnelInterfaceResource = new panos.TunnelInterface("tunnelInterfaceResource", {
location: {
ngfw: {
ngfwDevice: "string",
},
shared: {},
template: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
templateStack: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
},
bonjour: {
enable: false,
groupId: 0,
ttlCheck: false,
},
comment: "string",
dfIgnore: false,
interfaceManagementProfile: "string",
ips: [{
name: "string",
}],
ipv6: {
addresses: [{
name: "string",
anycast: {},
enableOnInterface: false,
prefix: {},
}],
enabled: false,
interfaceId: "string",
},
linkTag: "string",
mtu: 0,
name: "string",
netflowProfile: "string",
});
type: panos:TunnelInterface
properties:
bonjour:
enable: false
groupId: 0
ttlCheck: false
comment: string
dfIgnore: false
interfaceManagementProfile: string
ips:
- name: string
ipv6:
addresses:
- anycast: {}
enableOnInterface: false
name: string
prefix: {}
enabled: false
interfaceId: string
linkTag: string
location:
ngfw:
ngfwDevice: string
shared: {}
template:
name: string
ngfwDevice: string
panoramaDevice: string
templateStack:
name: string
ngfwDevice: string
panoramaDevice: string
mtu: 0
name: string
netflowProfile: string
TunnelInterface 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 TunnelInterface resource accepts the following input properties:
- Location
Tunnel
Interface Location - The location of this object.
- Bonjour
Tunnel
Interface Bonjour - Comment string
- Df
Ignore bool - Interface
Management stringProfile - Interface management profile
- Ips
List<Tunnel
Interface Ip> - Ipv6
Tunnel
Interface Ipv6 - Link
Tag string - Mtu double
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- Name string
- Netflow
Profile string - Netflow Server Profile
- Location
Tunnel
Interface Location Args - The location of this object.
- Bonjour
Tunnel
Interface Bonjour Args - Comment string
- Df
Ignore bool - Interface
Management stringProfile - Interface management profile
- Ips
[]Tunnel
Interface Ip Args - Ipv6
Tunnel
Interface Ipv6Args - Link
Tag string - Mtu float64
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- Name string
- Netflow
Profile string - Netflow Server Profile
- location
Tunnel
Interface Location - The location of this object.
- bonjour
Tunnel
Interface Bonjour - comment String
- df
Ignore Boolean - interface
Management StringProfile - Interface management profile
- ips
List<Tunnel
Interface Ip> - ipv6
Tunnel
Interface Ipv6 - link
Tag String - mtu Double
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name String
- netflow
Profile String - Netflow Server Profile
- location
Tunnel
Interface Location - The location of this object.
- bonjour
Tunnel
Interface Bonjour - comment string
- df
Ignore boolean - interface
Management stringProfile - Interface management profile
- ips
Tunnel
Interface Ip[] - ipv6
Tunnel
Interface Ipv6 - link
Tag string - mtu number
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name string
- netflow
Profile string - Netflow Server Profile
- location
Tunnel
Interface Location Args - The location of this object.
- bonjour
Tunnel
Interface Bonjour Args - comment str
- df_
ignore bool - interface_
management_ strprofile - Interface management profile
- ips
Sequence[Tunnel
Interface Ip Args] - ipv6
Tunnel
Interface Ipv6Args - link_
tag str - mtu float
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name str
- netflow_
profile str - Netflow Server Profile
- location Property Map
- The location of this object.
- bonjour Property Map
- comment String
- df
Ignore Boolean - interface
Management StringProfile - Interface management profile
- ips List<Property Map>
- ipv6 Property Map
- link
Tag String - mtu Number
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name String
- netflow
Profile String - Netflow Server Profile
Outputs
All input properties are implicitly available as output properties. Additionally, the TunnelInterface 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 TunnelInterface Resource
Get an existing TunnelInterface 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?: TunnelInterfaceState, opts?: CustomResourceOptions): TunnelInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bonjour: Optional[TunnelInterfaceBonjourArgs] = None,
comment: Optional[str] = None,
df_ignore: Optional[bool] = None,
interface_management_profile: Optional[str] = None,
ips: Optional[Sequence[TunnelInterfaceIpArgs]] = None,
ipv6: Optional[TunnelInterfaceIpv6Args] = None,
link_tag: Optional[str] = None,
location: Optional[TunnelInterfaceLocationArgs] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
netflow_profile: Optional[str] = None) -> TunnelInterface
func GetTunnelInterface(ctx *Context, name string, id IDInput, state *TunnelInterfaceState, opts ...ResourceOption) (*TunnelInterface, error)
public static TunnelInterface Get(string name, Input<string> id, TunnelInterfaceState? state, CustomResourceOptions? opts = null)
public static TunnelInterface get(String name, Output<String> id, TunnelInterfaceState state, CustomResourceOptions options)
resources: _: type: panos:TunnelInterface 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.
- Bonjour
Tunnel
Interface Bonjour - Comment string
- Df
Ignore bool - Interface
Management stringProfile - Interface management profile
- Ips
List<Tunnel
Interface Ip> - Ipv6
Tunnel
Interface Ipv6 - Link
Tag string - Location
Tunnel
Interface Location - The location of this object.
- Mtu double
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- Name string
- Netflow
Profile string - Netflow Server Profile
- Bonjour
Tunnel
Interface Bonjour Args - Comment string
- Df
Ignore bool - Interface
Management stringProfile - Interface management profile
- Ips
[]Tunnel
Interface Ip Args - Ipv6
Tunnel
Interface Ipv6Args - Link
Tag string - Location
Tunnel
Interface Location Args - The location of this object.
- Mtu float64
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- Name string
- Netflow
Profile string - Netflow Server Profile
- bonjour
Tunnel
Interface Bonjour - comment String
- df
Ignore Boolean - interface
Management StringProfile - Interface management profile
- ips
List<Tunnel
Interface Ip> - ipv6
Tunnel
Interface Ipv6 - link
Tag String - location
Tunnel
Interface Location - The location of this object.
- mtu Double
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name String
- netflow
Profile String - Netflow Server Profile
- bonjour
Tunnel
Interface Bonjour - comment string
- df
Ignore boolean - interface
Management stringProfile - Interface management profile
- ips
Tunnel
Interface Ip[] - ipv6
Tunnel
Interface Ipv6 - link
Tag string - location
Tunnel
Interface Location - The location of this object.
- mtu number
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name string
- netflow
Profile string - Netflow Server Profile
- bonjour
Tunnel
Interface Bonjour Args - comment str
- df_
ignore bool - interface_
management_ strprofile - Interface management profile
- ips
Sequence[Tunnel
Interface Ip Args] - ipv6
Tunnel
Interface Ipv6Args - link_
tag str - location
Tunnel
Interface Location Args - The location of this object.
- mtu float
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name str
- netflow_
profile str - Netflow Server Profile
- bonjour Property Map
- comment String
- df
Ignore Boolean - interface
Management StringProfile - Interface management profile
- ips List<Property Map>
- ipv6 Property Map
- link
Tag String - location Property Map
- The location of this object.
- mtu Number
- Maximum Transfer Unit, up to 9216 in Jumbo-Frame mode, up to 1500 otherwise
- name String
- netflow
Profile String - Netflow Server Profile
Supporting Types
TunnelInterfaceBonjour, TunnelInterfaceBonjourArgs
TunnelInterfaceIp, TunnelInterfaceIpArgs
- Name string
- Name string
- name String
- name string
- name str
- name String
TunnelInterfaceIpv6, TunnelInterfaceIpv6Args
- Addresses
List<Tunnel
Interface Ipv6Address> - Enabled bool
- Enable IPv6 on the interface
- Interface
Id string
- Addresses
[]Tunnel
Interface Ipv6Address - Enabled bool
- Enable IPv6 on the interface
- Interface
Id string
- addresses
List<Tunnel
Interface Ipv6Address> - enabled Boolean
- Enable IPv6 on the interface
- interface
Id String
- addresses
Tunnel
Interface Ipv6Address[] - enabled boolean
- Enable IPv6 on the interface
- interface
Id string
- addresses
Sequence[Tunnel
Interface Ipv6Address] - enabled bool
- Enable IPv6 on the interface
- interface_
id str
- addresses List<Property Map>
- enabled Boolean
- Enable IPv6 on the interface
- interface
Id String
TunnelInterfaceIpv6Address, TunnelInterfaceIpv6AddressArgs
- Name string
- Anycast
Tunnel
Interface Ipv6Address Anycast - Enable
On boolInterface - configure this address on interface
- Prefix
Tunnel
Interface Ipv6Address Prefix
- Name string
- Anycast
Tunnel
Interface Ipv6Address Anycast - Enable
On boolInterface - configure this address on interface
- Prefix
Tunnel
Interface Ipv6Address Prefix
- name String
- anycast
Tunnel
Interface Ipv6Address Anycast - enable
On BooleanInterface - configure this address on interface
- prefix
Tunnel
Interface Ipv6Address Prefix
- name string
- anycast
Tunnel
Interface Ipv6Address Anycast - enable
On booleanInterface - configure this address on interface
- prefix
Tunnel
Interface Ipv6Address Prefix
- name str
- anycast
Tunnel
Interface Ipv6Address Anycast - enable_
on_ boolinterface - configure this address on interface
- prefix
Tunnel
Interface Ipv6Address Prefix
- name String
- anycast Property Map
- enable
On BooleanInterface - configure this address on interface
- prefix Property Map
TunnelInterfaceLocation, TunnelInterfaceLocationArgs
- Ngfw
Tunnel
Interface Location Ngfw - Located in a specific NGFW device
- Tunnel
Interface Location Shared - Panorama shared object
- Template
Tunnel
Interface Location Template - Located in a specific template
- Template
Stack TunnelInterface Location Template Stack - Located in a specific template stack
- Ngfw
Tunnel
Interface Location Ngfw - Located in a specific NGFW device
- Tunnel
Interface Location Shared - Panorama shared object
- Template
Tunnel
Interface Location Template - Located in a specific template
- Template
Stack TunnelInterface Location Template Stack - Located in a specific template stack
- ngfw
Tunnel
Interface Location Ngfw - Located in a specific NGFW device
- Tunnel
Interface Location Shared - Panorama shared object
- template
Tunnel
Interface Location Template - Located in a specific template
- template
Stack TunnelInterface Location Template Stack - Located in a specific template stack
- ngfw
Tunnel
Interface Location Ngfw - Located in a specific NGFW device
- Tunnel
Interface Location Shared - Panorama shared object
- template
Tunnel
Interface Location Template - Located in a specific template
- template
Stack TunnelInterface Location Template Stack - Located in a specific template stack
- ngfw
Tunnel
Interface Location Ngfw - Located in a specific NGFW device
- Tunnel
Interface Location Shared - Panorama shared object
- template
Tunnel
Interface Location Template - Located in a specific template
- template_
stack TunnelInterface Location Template Stack - Located in a specific template stack
- ngfw Property Map
- Located in a specific NGFW device
- Property Map
- Panorama shared object
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template stack
TunnelInterfaceLocationNgfw, TunnelInterfaceLocationNgfwArgs
- Ngfw
Device string - The NGFW device
- Ngfw
Device string - The NGFW device
- ngfw
Device String - The NGFW device
- ngfw
Device string - The NGFW device
- ngfw_
device str - The NGFW device
- ngfw
Device String - The NGFW device
TunnelInterfaceLocationTemplate, TunnelInterfaceLocationTemplateArgs
- 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
TunnelInterfaceLocationTemplateStack, TunnelInterfaceLocationTemplateStackArgs
- 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
panos
Terraform Provider.