fortios.firewall.Vip46
Explore with Pulumi AI
Configure IPv4 to IPv6 virtual IPs. Applies to FortiOS Version <= 7.0.0
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.firewall.Vip46("trname", {
arpReply: "enable",
color: 0,
extip: "10.202.1.200",
extport: "0-65535",
fosid: 0,
ldbMethod: "static",
mappedip: "2001:1:1:2::200",
mappedport: "0-65535",
portforward: "disable",
protocol: "tcp",
type: "static-nat",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.firewall.Vip46("trname",
arp_reply="enable",
color=0,
extip="10.202.1.200",
extport="0-65535",
fosid=0,
ldb_method="static",
mappedip="2001:1:1:2::200",
mappedport="0-65535",
portforward="disable",
protocol="tcp",
type="static-nat")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := firewall.NewVip46(ctx, "trname", &firewall.Vip46Args{
ArpReply: pulumi.String("enable"),
Color: pulumi.Int(0),
Extip: pulumi.String("10.202.1.200"),
Extport: pulumi.String("0-65535"),
Fosid: pulumi.Int(0),
LdbMethod: pulumi.String("static"),
Mappedip: pulumi.String("2001:1:1:2::200"),
Mappedport: pulumi.String("0-65535"),
Portforward: pulumi.String("disable"),
Protocol: pulumi.String("tcp"),
Type: pulumi.String("static-nat"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Firewall.Vip46("trname", new()
{
ArpReply = "enable",
Color = 0,
Extip = "10.202.1.200",
Extport = "0-65535",
Fosid = 0,
LdbMethod = "static",
Mappedip = "2001:1:1:2::200",
Mappedport = "0-65535",
Portforward = "disable",
Protocol = "tcp",
Type = "static-nat",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.firewall.Vip46;
import com.pulumi.fortios.firewall.Vip46Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Vip46("trname", Vip46Args.builder()
.arpReply("enable")
.color(0)
.extip("10.202.1.200")
.extport("0-65535")
.fosid(0)
.ldbMethod("static")
.mappedip("2001:1:1:2::200")
.mappedport("0-65535")
.portforward("disable")
.protocol("tcp")
.type("static-nat")
.build());
}
}
resources:
trname:
type: fortios:firewall:Vip46
properties:
arpReply: enable
color: 0
extip: 10.202.1.200
extport: 0-65535
fosid: 0
ldbMethod: static
mappedip: 2001:1:1:2::200
mappedport: 0-65535
portforward: disable
protocol: tcp
type: static-nat
Create Vip46 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vip46(name: string, args: Vip46Args, opts?: CustomResourceOptions);
@overload
def Vip46(resource_name: str,
args: Vip46Args,
opts: Optional[ResourceOptions] = None)
@overload
def Vip46(resource_name: str,
opts: Optional[ResourceOptions] = None,
extip: Optional[str] = None,
mappedip: Optional[str] = None,
mappedport: Optional[str] = None,
monitors: Optional[Sequence[Vip46MonitorArgs]] = None,
comment: Optional[str] = None,
extport: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
ldb_method: Optional[str] = None,
color: Optional[int] = None,
arp_reply: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
name: Optional[str] = None,
portforward: Optional[str] = None,
protocol: Optional[str] = None,
realservers: Optional[Sequence[Vip46RealserverArgs]] = None,
server_type: Optional[str] = None,
src_filters: Optional[Sequence[Vip46SrcFilterArgs]] = None,
srcintf_filters: Optional[Sequence[Vip46SrcintfFilterArgs]] = None,
type: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewVip46(ctx *Context, name string, args Vip46Args, opts ...ResourceOption) (*Vip46, error)
public Vip46(string name, Vip46Args args, CustomResourceOptions? opts = null)
type: fortios:firewall:Vip46
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 Vip46Args
- 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 Vip46Args
- 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 Vip46Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Vip46Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Vip46Args
- 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 vip46Resource = new Fortios.Firewall.Vip46("vip46Resource", new()
{
Extip = "string",
Mappedip = "string",
Mappedport = "string",
Monitors = new[]
{
new Fortios.Firewall.Inputs.Vip46MonitorArgs
{
Name = "string",
},
},
Comment = "string",
Extport = "string",
Fosid = 0,
GetAllTables = "string",
LdbMethod = "string",
Color = 0,
ArpReply = "string",
DynamicSortSubtable = "string",
Name = "string",
Portforward = "string",
Protocol = "string",
Realservers = new[]
{
new Fortios.Firewall.Inputs.Vip46RealserverArgs
{
ClientIp = "string",
Healthcheck = "string",
HolddownInterval = 0,
Id = 0,
Ip = "string",
MaxConnections = 0,
Monitor = "string",
Port = 0,
Status = "string",
Weight = 0,
},
},
ServerType = "string",
SrcFilters = new[]
{
new Fortios.Firewall.Inputs.Vip46SrcFilterArgs
{
Range = "string",
},
},
SrcintfFilters = new[]
{
new Fortios.Firewall.Inputs.Vip46SrcintfFilterArgs
{
InterfaceName = "string",
},
},
Type = "string",
Uuid = "string",
Vdomparam = "string",
});
example, err := firewall.NewVip46(ctx, "vip46Resource", &firewall.Vip46Args{
Extip: pulumi.String("string"),
Mappedip: pulumi.String("string"),
Mappedport: pulumi.String("string"),
Monitors: firewall.Vip46MonitorArray{
&firewall.Vip46MonitorArgs{
Name: pulumi.String("string"),
},
},
Comment: pulumi.String("string"),
Extport: pulumi.String("string"),
Fosid: pulumi.Int(0),
GetAllTables: pulumi.String("string"),
LdbMethod: pulumi.String("string"),
Color: pulumi.Int(0),
ArpReply: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Name: pulumi.String("string"),
Portforward: pulumi.String("string"),
Protocol: pulumi.String("string"),
Realservers: firewall.Vip46RealserverArray{
&firewall.Vip46RealserverArgs{
ClientIp: pulumi.String("string"),
Healthcheck: pulumi.String("string"),
HolddownInterval: pulumi.Int(0),
Id: pulumi.Int(0),
Ip: pulumi.String("string"),
MaxConnections: pulumi.Int(0),
Monitor: pulumi.String("string"),
Port: pulumi.Int(0),
Status: pulumi.String("string"),
Weight: pulumi.Int(0),
},
},
ServerType: pulumi.String("string"),
SrcFilters: firewall.Vip46SrcFilterArray{
&firewall.Vip46SrcFilterArgs{
Range: pulumi.String("string"),
},
},
SrcintfFilters: firewall.Vip46SrcintfFilterArray{
&firewall.Vip46SrcintfFilterArgs{
InterfaceName: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
Uuid: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var vip46Resource = new Vip46("vip46Resource", Vip46Args.builder()
.extip("string")
.mappedip("string")
.mappedport("string")
.monitors(Vip46MonitorArgs.builder()
.name("string")
.build())
.comment("string")
.extport("string")
.fosid(0)
.getAllTables("string")
.ldbMethod("string")
.color(0)
.arpReply("string")
.dynamicSortSubtable("string")
.name("string")
.portforward("string")
.protocol("string")
.realservers(Vip46RealserverArgs.builder()
.clientIp("string")
.healthcheck("string")
.holddownInterval(0)
.id(0)
.ip("string")
.maxConnections(0)
.monitor("string")
.port(0)
.status("string")
.weight(0)
.build())
.serverType("string")
.srcFilters(Vip46SrcFilterArgs.builder()
.range("string")
.build())
.srcintfFilters(Vip46SrcintfFilterArgs.builder()
.interfaceName("string")
.build())
.type("string")
.uuid("string")
.vdomparam("string")
.build());
vip46_resource = fortios.firewall.Vip46("vip46Resource",
extip="string",
mappedip="string",
mappedport="string",
monitors=[{
"name": "string",
}],
comment="string",
extport="string",
fosid=0,
get_all_tables="string",
ldb_method="string",
color=0,
arp_reply="string",
dynamic_sort_subtable="string",
name="string",
portforward="string",
protocol="string",
realservers=[{
"client_ip": "string",
"healthcheck": "string",
"holddown_interval": 0,
"id": 0,
"ip": "string",
"max_connections": 0,
"monitor": "string",
"port": 0,
"status": "string",
"weight": 0,
}],
server_type="string",
src_filters=[{
"range": "string",
}],
srcintf_filters=[{
"interface_name": "string",
}],
type="string",
uuid="string",
vdomparam="string")
const vip46Resource = new fortios.firewall.Vip46("vip46Resource", {
extip: "string",
mappedip: "string",
mappedport: "string",
monitors: [{
name: "string",
}],
comment: "string",
extport: "string",
fosid: 0,
getAllTables: "string",
ldbMethod: "string",
color: 0,
arpReply: "string",
dynamicSortSubtable: "string",
name: "string",
portforward: "string",
protocol: "string",
realservers: [{
clientIp: "string",
healthcheck: "string",
holddownInterval: 0,
id: 0,
ip: "string",
maxConnections: 0,
monitor: "string",
port: 0,
status: "string",
weight: 0,
}],
serverType: "string",
srcFilters: [{
range: "string",
}],
srcintfFilters: [{
interfaceName: "string",
}],
type: "string",
uuid: "string",
vdomparam: "string",
});
type: fortios:firewall:Vip46
properties:
arpReply: string
color: 0
comment: string
dynamicSortSubtable: string
extip: string
extport: string
fosid: 0
getAllTables: string
ldbMethod: string
mappedip: string
mappedport: string
monitors:
- name: string
name: string
portforward: string
protocol: string
realservers:
- clientIp: string
healthcheck: string
holddownInterval: 0
id: 0
ip: string
maxConnections: 0
monitor: string
port: 0
status: string
weight: 0
serverType: string
srcFilters:
- range: string
srcintfFilters:
- interfaceName: string
type: string
uuid: string
vdomparam: string
Vip46 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 Vip46 resource accepts the following input properties:
- Extip string
- Start-external-IP [-end-external-IP].
- Mappedip string
- Start-mapped-IP [-end mapped-IP].
- Arp
Reply string - Enable ARP reply. Valid values:
disable
,enable
. - Color int
- Color of icon on the GUI.
- Comment string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Extport string
- External service port.
- Fosid int
- Custom defined id.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ldb
Method string - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - Mappedport string
- Mapped service port.
- Monitors
List<Pulumiverse.
Fortios. Firewall. Inputs. Vip46Monitor> - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP46 name.
- Portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - Protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - Realservers
List<Pulumiverse.
Fortios. Firewall. Inputs. Vip46Realserver> - Real servers. The structure of
realservers
block is documented below. - Server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - Src
Filters List<Pulumiverse.Fortios. Firewall. Inputs. Vip46Src Filter> - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - Srcintf
Filters List<Pulumiverse.Fortios. Firewall. Inputs. Vip46Srcintf Filter> - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - Type string
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Extip string
- Start-external-IP [-end-external-IP].
- Mappedip string
- Start-mapped-IP [-end mapped-IP].
- Arp
Reply string - Enable ARP reply. Valid values:
disable
,enable
. - Color int
- Color of icon on the GUI.
- Comment string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Extport string
- External service port.
- Fosid int
- Custom defined id.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ldb
Method string - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - Mappedport string
- Mapped service port.
- Monitors
[]Vip46Monitor
Args - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP46 name.
- Portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - Protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - Realservers
[]Vip46Realserver
Args - Real servers. The structure of
realservers
block is documented below. - Server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - Src
Filters []Vip46SrcFilter Args - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - Srcintf
Filters []Vip46SrcintfFilter Args - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - Type string
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- extip String
- Start-external-IP [-end-external-IP].
- mappedip String
- Start-mapped-IP [-end mapped-IP].
- arp
Reply String - Enable ARP reply. Valid values:
disable
,enable
. - color Integer
- Color of icon on the GUI.
- comment String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extport String
- External service port.
- fosid Integer
- Custom defined id.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb
Method String - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedport String
- Mapped service port.
- monitors List<Vip46Monitor>
- Health monitors. The structure of
monitor
block is documented below. - name String
- VIP46 name.
- portforward String
- Enable port forwarding. Valid values:
disable
,enable
. - protocol String
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers List<Vip46Realserver>
- Real servers. The structure of
realservers
block is documented below. - server
Type String - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters List<Vip46SrcFilter> - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf
Filters List<Vip46SrcintfFilter> - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type String
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- extip string
- Start-external-IP [-end-external-IP].
- mappedip string
- Start-mapped-IP [-end mapped-IP].
- arp
Reply string - Enable ARP reply. Valid values:
disable
,enable
. - color number
- Color of icon on the GUI.
- comment string
- Comment.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extport string
- External service port.
- fosid number
- Custom defined id.
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb
Method string - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedport string
- Mapped service port.
- monitors Vip46Monitor[]
- Health monitors. The structure of
monitor
block is documented below. - name string
- VIP46 name.
- portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers Vip46Realserver[]
- Real servers. The structure of
realservers
block is documented below. - server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters Vip46SrcFilter[] - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf
Filters Vip46SrcintfFilter[] - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type string
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- extip str
- Start-external-IP [-end-external-IP].
- mappedip str
- Start-mapped-IP [-end mapped-IP].
- arp_
reply str - Enable ARP reply. Valid values:
disable
,enable
. - color int
- Color of icon on the GUI.
- comment str
- Comment.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extport str
- External service port.
- fosid int
- Custom defined id.
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb_
method str - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedport str
- Mapped service port.
- monitors
Sequence[Vip46Monitor
Args] - Health monitors. The structure of
monitor
block is documented below. - name str
- VIP46 name.
- portforward str
- Enable port forwarding. Valid values:
disable
,enable
. - protocol str
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers
Sequence[Vip46Realserver
Args] - Real servers. The structure of
realservers
block is documented below. - server_
type str - Server type. Valid values:
http
,tcp
,udp
,ip
. - src_
filters Sequence[Vip46SrcFilter Args] - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf_
filters Sequence[Vip46SrcintfFilter Args] - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type str
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- extip String
- Start-external-IP [-end-external-IP].
- mappedip String
- Start-mapped-IP [-end mapped-IP].
- arp
Reply String - Enable ARP reply. Valid values:
disable
,enable
. - color Number
- Color of icon on the GUI.
- comment String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extport String
- External service port.
- fosid Number
- Custom defined id.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb
Method String - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedport String
- Mapped service port.
- monitors List<Property Map>
- Health monitors. The structure of
monitor
block is documented below. - name String
- VIP46 name.
- portforward String
- Enable port forwarding. Valid values:
disable
,enable
. - protocol String
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers List<Property Map>
- Real servers. The structure of
realservers
block is documented below. - server
Type String - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters List<Property Map> - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf
Filters List<Property Map> - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type String
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Vip46 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 Vip46 Resource
Get an existing Vip46 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?: Vip46State, opts?: CustomResourceOptions): Vip46
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arp_reply: Optional[str] = None,
color: Optional[int] = None,
comment: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
extip: Optional[str] = None,
extport: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
ldb_method: Optional[str] = None,
mappedip: Optional[str] = None,
mappedport: Optional[str] = None,
monitors: Optional[Sequence[Vip46MonitorArgs]] = None,
name: Optional[str] = None,
portforward: Optional[str] = None,
protocol: Optional[str] = None,
realservers: Optional[Sequence[Vip46RealserverArgs]] = None,
server_type: Optional[str] = None,
src_filters: Optional[Sequence[Vip46SrcFilterArgs]] = None,
srcintf_filters: Optional[Sequence[Vip46SrcintfFilterArgs]] = None,
type: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None) -> Vip46
func GetVip46(ctx *Context, name string, id IDInput, state *Vip46State, opts ...ResourceOption) (*Vip46, error)
public static Vip46 Get(string name, Input<string> id, Vip46State? state, CustomResourceOptions? opts = null)
public static Vip46 get(String name, Output<String> id, Vip46State state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Arp
Reply string - Enable ARP reply. Valid values:
disable
,enable
. - Color int
- Color of icon on the GUI.
- Comment string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Extip string
- Start-external-IP [-end-external-IP].
- Extport string
- External service port.
- Fosid int
- Custom defined id.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ldb
Method string - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - Mappedip string
- Start-mapped-IP [-end mapped-IP].
- Mappedport string
- Mapped service port.
- Monitors
List<Pulumiverse.
Fortios. Firewall. Inputs. Vip46Monitor> - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP46 name.
- Portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - Protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - Realservers
List<Pulumiverse.
Fortios. Firewall. Inputs. Vip46Realserver> - Real servers. The structure of
realservers
block is documented below. - Server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - Src
Filters List<Pulumiverse.Fortios. Firewall. Inputs. Vip46Src Filter> - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - Srcintf
Filters List<Pulumiverse.Fortios. Firewall. Inputs. Vip46Srcintf Filter> - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - Type string
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Arp
Reply string - Enable ARP reply. Valid values:
disable
,enable
. - Color int
- Color of icon on the GUI.
- Comment string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Extip string
- Start-external-IP [-end-external-IP].
- Extport string
- External service port.
- Fosid int
- Custom defined id.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ldb
Method string - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - Mappedip string
- Start-mapped-IP [-end mapped-IP].
- Mappedport string
- Mapped service port.
- Monitors
[]Vip46Monitor
Args - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP46 name.
- Portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - Protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - Realservers
[]Vip46Realserver
Args - Real servers. The structure of
realservers
block is documented below. - Server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - Src
Filters []Vip46SrcFilter Args - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - Srcintf
Filters []Vip46SrcintfFilter Args - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - Type string
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- arp
Reply String - Enable ARP reply. Valid values:
disable
,enable
. - color Integer
- Color of icon on the GUI.
- comment String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extip String
- Start-external-IP [-end-external-IP].
- extport String
- External service port.
- fosid Integer
- Custom defined id.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb
Method String - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedip String
- Start-mapped-IP [-end mapped-IP].
- mappedport String
- Mapped service port.
- monitors List<Vip46Monitor>
- Health monitors. The structure of
monitor
block is documented below. - name String
- VIP46 name.
- portforward String
- Enable port forwarding. Valid values:
disable
,enable
. - protocol String
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers List<Vip46Realserver>
- Real servers. The structure of
realservers
block is documented below. - server
Type String - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters List<Vip46SrcFilter> - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf
Filters List<Vip46SrcintfFilter> - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type String
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- arp
Reply string - Enable ARP reply. Valid values:
disable
,enable
. - color number
- Color of icon on the GUI.
- comment string
- Comment.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extip string
- Start-external-IP [-end-external-IP].
- extport string
- External service port.
- fosid number
- Custom defined id.
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb
Method string - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedip string
- Start-mapped-IP [-end mapped-IP].
- mappedport string
- Mapped service port.
- monitors Vip46Monitor[]
- Health monitors. The structure of
monitor
block is documented below. - name string
- VIP46 name.
- portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers Vip46Realserver[]
- Real servers. The structure of
realservers
block is documented below. - server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters Vip46SrcFilter[] - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf
Filters Vip46SrcintfFilter[] - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type string
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- arp_
reply str - Enable ARP reply. Valid values:
disable
,enable
. - color int
- Color of icon on the GUI.
- comment str
- Comment.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extip str
- Start-external-IP [-end-external-IP].
- extport str
- External service port.
- fosid int
- Custom defined id.
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb_
method str - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedip str
- Start-mapped-IP [-end mapped-IP].
- mappedport str
- Mapped service port.
- monitors
Sequence[Vip46Monitor
Args] - Health monitors. The structure of
monitor
block is documented below. - name str
- VIP46 name.
- portforward str
- Enable port forwarding. Valid values:
disable
,enable
. - protocol str
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers
Sequence[Vip46Realserver
Args] - Real servers. The structure of
realservers
block is documented below. - server_
type str - Server type. Valid values:
http
,tcp
,udp
,ip
. - src_
filters Sequence[Vip46SrcFilter Args] - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf_
filters Sequence[Vip46SrcintfFilter Args] - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type str
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- arp
Reply String - Enable ARP reply. Valid values:
disable
,enable
. - color Number
- Color of icon on the GUI.
- comment String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- extip String
- Start-external-IP [-end-external-IP].
- extport String
- External service port.
- fosid Number
- Custom defined id.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ldb
Method String - Load balance method. Valid values:
static
,round-robin
,weighted
,least-session
,least-rtt
,first-alive
. - mappedip String
- Start-mapped-IP [-end mapped-IP].
- mappedport String
- Mapped service port.
- monitors List<Property Map>
- Health monitors. The structure of
monitor
block is documented below. - name String
- VIP46 name.
- portforward String
- Enable port forwarding. Valid values:
disable
,enable
. - protocol String
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers List<Property Map>
- Real servers. The structure of
realservers
block is documented below. - server
Type String - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters List<Property Map> - Source IP filter (x.x.x.x/x). The structure of
src_filter
block is documented below. - srcintf
Filters List<Property Map> - Interfaces to which the VIP46 applies. Separate the names with spaces. The structure of
srcintf_filter
block is documented below. - type String
- VIP type: static NAT or server load balance. Valid values:
static-nat
,server-load-balance
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
Vip46Monitor, Vip46MonitorArgs
- Name string
- Health monitor name.
- Name string
- Health monitor name.
- name String
- Health monitor name.
- name string
- Health monitor name.
- name str
- Health monitor name.
- name String
- Health monitor name.
Vip46Realserver, Vip46RealserverArgs
- Client
Ip string - Restrict server to a client IP in this range.
- Healthcheck string
- Per server health check. Valid values:
disable
,enable
,vip
. - Holddown
Interval int - Hold down interval.
- Id int
- Real server ID.
- Ip string
- Mapped server IPv6.
- Max
Connections int - Maximum number of connections allowed to server.
- Monitor string
- Health monitors.
- Port int
- Mapped server port.
- Status string
- Server administrative status. Valid values:
active
,standby
,disable
. - Weight int
- weight
- Client
Ip string - Restrict server to a client IP in this range.
- Healthcheck string
- Per server health check. Valid values:
disable
,enable
,vip
. - Holddown
Interval int - Hold down interval.
- Id int
- Real server ID.
- Ip string
- Mapped server IPv6.
- Max
Connections int - Maximum number of connections allowed to server.
- Monitor string
- Health monitors.
- Port int
- Mapped server port.
- Status string
- Server administrative status. Valid values:
active
,standby
,disable
. - Weight int
- weight
- client
Ip String - Restrict server to a client IP in this range.
- healthcheck String
- Per server health check. Valid values:
disable
,enable
,vip
. - holddown
Interval Integer - Hold down interval.
- id Integer
- Real server ID.
- ip String
- Mapped server IPv6.
- max
Connections Integer - Maximum number of connections allowed to server.
- monitor String
- Health monitors.
- port Integer
- Mapped server port.
- status String
- Server administrative status. Valid values:
active
,standby
,disable
. - weight Integer
- weight
- client
Ip string - Restrict server to a client IP in this range.
- healthcheck string
- Per server health check. Valid values:
disable
,enable
,vip
. - holddown
Interval number - Hold down interval.
- id number
- Real server ID.
- ip string
- Mapped server IPv6.
- max
Connections number - Maximum number of connections allowed to server.
- monitor string
- Health monitors.
- port number
- Mapped server port.
- status string
- Server administrative status. Valid values:
active
,standby
,disable
. - weight number
- weight
- client_
ip str - Restrict server to a client IP in this range.
- healthcheck str
- Per server health check. Valid values:
disable
,enable
,vip
. - holddown_
interval int - Hold down interval.
- id int
- Real server ID.
- ip str
- Mapped server IPv6.
- max_
connections int - Maximum number of connections allowed to server.
- monitor str
- Health monitors.
- port int
- Mapped server port.
- status str
- Server administrative status. Valid values:
active
,standby
,disable
. - weight int
- weight
- client
Ip String - Restrict server to a client IP in this range.
- healthcheck String
- Per server health check. Valid values:
disable
,enable
,vip
. - holddown
Interval Number - Hold down interval.
- id Number
- Real server ID.
- ip String
- Mapped server IPv6.
- max
Connections Number - Maximum number of connections allowed to server.
- monitor String
- Health monitors.
- port Number
- Mapped server port.
- status String
- Server administrative status. Valid values:
active
,standby
,disable
. - weight Number
- weight
Vip46SrcFilter, Vip46SrcFilterArgs
- Range string
- Src-filter range.
- Range string
- Src-filter range.
- range String
- Src-filter range.
- range string
- Src-filter range.
- range str
- Src-filter range.
- range String
- Src-filter range.
Vip46SrcintfFilter, Vip46SrcintfFilterArgs
- Interface
Name string - Interface name.
- Interface
Name string - Interface name.
- interface
Name String - Interface name.
- interface
Name string - Interface name.
- interface_
name str - Interface name.
- interface
Name String - Interface name.
Import
Firewall Vip46 can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/vip46:Vip46 labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/vip46:Vip46 labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.