fortios.firewall.Vip64
Explore with Pulumi AI
Configure IPv6 to IPv4 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.Vip64("trname", {
arpReply: "enable",
color: 0,
extip: "2001:db8:99:203::22",
extport: "0-65535",
fosid: 0,
ldbMethod: "static",
mappedip: "1.1.1.1",
mappedport: "0-65535",
portforward: "disable",
protocol: "tcp",
type: "static-nat",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.firewall.Vip64("trname",
arp_reply="enable",
color=0,
extip="2001:db8:99:203::22",
extport="0-65535",
fosid=0,
ldb_method="static",
mappedip="1.1.1.1",
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.NewVip64(ctx, "trname", &firewall.Vip64Args{
ArpReply: pulumi.String("enable"),
Color: pulumi.Int(0),
Extip: pulumi.String("2001:db8:99:203::22"),
Extport: pulumi.String("0-65535"),
Fosid: pulumi.Int(0),
LdbMethod: pulumi.String("static"),
Mappedip: pulumi.String("1.1.1.1"),
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.Vip64("trname", new()
{
ArpReply = "enable",
Color = 0,
Extip = "2001:db8:99:203::22",
Extport = "0-65535",
Fosid = 0,
LdbMethod = "static",
Mappedip = "1.1.1.1",
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.Vip64;
import com.pulumi.fortios.firewall.Vip64Args;
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 Vip64("trname", Vip64Args.builder()
.arpReply("enable")
.color(0)
.extip("2001:db8:99:203::22")
.extport("0-65535")
.fosid(0)
.ldbMethod("static")
.mappedip("1.1.1.1")
.mappedport("0-65535")
.portforward("disable")
.protocol("tcp")
.type("static-nat")
.build());
}
}
resources:
trname:
type: fortios:firewall:Vip64
properties:
arpReply: enable
color: 0
extip: 2001:db8:99:203::22
extport: 0-65535
fosid: 0
ldbMethod: static
mappedip: 1.1.1.1
mappedport: 0-65535
portforward: disable
protocol: tcp
type: static-nat
Create Vip64 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vip64(name: string, args: Vip64Args, opts?: CustomResourceOptions);
@overload
def Vip64(resource_name: str,
args: Vip64Args,
opts: Optional[ResourceOptions] = None)
@overload
def Vip64(resource_name: str,
opts: Optional[ResourceOptions] = None,
extip: Optional[str] = None,
mappedip: Optional[str] = None,
mappedport: Optional[str] = None,
monitors: Optional[Sequence[Vip64MonitorArgs]] = 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[Vip64RealserverArgs]] = None,
server_type: Optional[str] = None,
src_filters: Optional[Sequence[Vip64SrcFilterArgs]] = None,
type: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewVip64(ctx *Context, name string, args Vip64Args, opts ...ResourceOption) (*Vip64, error)
public Vip64(string name, Vip64Args args, CustomResourceOptions? opts = null)
type: fortios:firewall:Vip64
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 Vip64Args
- 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 Vip64Args
- 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 Vip64Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Vip64Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Vip64Args
- 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 vip64Resource = new Fortios.Firewall.Vip64("vip64Resource", new()
{
Extip = "string",
Mappedip = "string",
Mappedport = "string",
Monitors = new[]
{
new Fortios.Firewall.Inputs.Vip64MonitorArgs
{
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.Vip64RealserverArgs
{
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.Vip64SrcFilterArgs
{
Range = "string",
},
},
Type = "string",
Uuid = "string",
Vdomparam = "string",
});
example, err := firewall.NewVip64(ctx, "vip64Resource", &firewall.Vip64Args{
Extip: pulumi.String("string"),
Mappedip: pulumi.String("string"),
Mappedport: pulumi.String("string"),
Monitors: firewall.Vip64MonitorArray{
&firewall.Vip64MonitorArgs{
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.Vip64RealserverArray{
&firewall.Vip64RealserverArgs{
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.Vip64SrcFilterArray{
&firewall.Vip64SrcFilterArgs{
Range: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
Uuid: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var vip64Resource = new Vip64("vip64Resource", Vip64Args.builder()
.extip("string")
.mappedip("string")
.mappedport("string")
.monitors(Vip64MonitorArgs.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(Vip64RealserverArgs.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(Vip64SrcFilterArgs.builder()
.range("string")
.build())
.type("string")
.uuid("string")
.vdomparam("string")
.build());
vip64_resource = fortios.firewall.Vip64("vip64Resource",
extip="string",
mappedip="string",
mappedport="string",
monitors=[fortios.firewall.Vip64MonitorArgs(
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=[fortios.firewall.Vip64RealserverArgs(
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=[fortios.firewall.Vip64SrcFilterArgs(
range="string",
)],
type="string",
uuid="string",
vdomparam="string")
const vip64Resource = new fortios.firewall.Vip64("vip64Resource", {
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",
}],
type: "string",
uuid: "string",
vdomparam: "string",
});
type: fortios:firewall:Vip64
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
type: string
uuid: string
vdomparam: string
Vip64 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Vip64 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, otherwish 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. Vip64Monitor> - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP64 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. Vip64Realserver> - 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. Vip64Src Filter> - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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
[]Vip64Monitor
Args - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP64 name.
- Portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - Protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - Realservers
[]Vip64Realserver
Args - Real servers. The structure of
realservers
block is documented below. - Server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - Src
Filters []Vip64SrcFilter Args - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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<Vip64Monitor>
- Health monitors. The structure of
monitor
block is documented below. - name String
- VIP64 name.
- portforward String
- Enable port forwarding. Valid values:
disable
,enable
. - protocol String
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers List<Vip64Realserver>
- Real servers. The structure of
realservers
block is documented below. - server
Type String - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters List<Vip64SrcFilter> - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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 Vip64Monitor[]
- Health monitors. The structure of
monitor
block is documented below. - name string
- VIP64 name.
- portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers Vip64Realserver[]
- Real servers. The structure of
realservers
block is documented below. - server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters Vip64SrcFilter[] - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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[Vip64Monitor
Args] - Health monitors. The structure of
monitor
block is documented below. - name str
- VIP64 name.
- portforward str
- Enable port forwarding. Valid values:
disable
,enable
. - protocol str
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers
Sequence[Vip64Realserver
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[Vip64SrcFilter Args] - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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
- VIP64 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 IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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 Vip64 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 Vip64 Resource
Get an existing Vip64 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?: Vip64State, opts?: CustomResourceOptions): Vip64
@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[Vip64MonitorArgs]] = None,
name: Optional[str] = None,
portforward: Optional[str] = None,
protocol: Optional[str] = None,
realservers: Optional[Sequence[Vip64RealserverArgs]] = None,
server_type: Optional[str] = None,
src_filters: Optional[Sequence[Vip64SrcFilterArgs]] = None,
type: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None) -> Vip64
func GetVip64(ctx *Context, name string, id IDInput, state *Vip64State, opts ...ResourceOption) (*Vip64, error)
public static Vip64 Get(string name, Input<string> id, Vip64State? state, CustomResourceOptions? opts = null)
public static Vip64 get(String name, Output<String> id, Vip64State 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, otherwish 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. Vip64Monitor> - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP64 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. Vip64Realserver> - 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. Vip64Src Filter> - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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
[]Vip64Monitor
Args - Health monitors. The structure of
monitor
block is documented below. - Name string
- VIP64 name.
- Portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - Protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - Realservers
[]Vip64Realserver
Args - Real servers. The structure of
realservers
block is documented below. - Server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - Src
Filters []Vip64SrcFilter Args - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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<Vip64Monitor>
- Health monitors. The structure of
monitor
block is documented below. - name String
- VIP64 name.
- portforward String
- Enable port forwarding. Valid values:
disable
,enable
. - protocol String
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers List<Vip64Realserver>
- Real servers. The structure of
realservers
block is documented below. - server
Type String - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters List<Vip64SrcFilter> - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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 Vip64Monitor[]
- Health monitors. The structure of
monitor
block is documented below. - name string
- VIP64 name.
- portforward string
- Enable port forwarding. Valid values:
disable
,enable
. - protocol string
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers Vip64Realserver[]
- Real servers. The structure of
realservers
block is documented below. - server
Type string - Server type. Valid values:
http
,tcp
,udp
,ip
. - src
Filters Vip64SrcFilter[] - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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[Vip64Monitor
Args] - Health monitors. The structure of
monitor
block is documented below. - name str
- VIP64 name.
- portforward str
- Enable port forwarding. Valid values:
disable
,enable
. - protocol str
- Mapped port protocol. Valid values:
tcp
,udp
. - realservers
Sequence[Vip64Realserver
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[Vip64SrcFilter Args] - Source IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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, otherwish 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
- VIP64 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 IP6 filter (x:x:x:x:x:x:x:x/x). The structure of
src_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
Vip64Monitor, Vip64MonitorArgs
- 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.
Vip64Realserver, Vip64RealserverArgs
- 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 IP.
- 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 IP.
- 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 IP.
- 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 IP.
- 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 IP.
- 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 IP.
- 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
Vip64SrcFilter, Vip64SrcFilterArgs
- 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.
Import
Firewall Vip64 can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/vip64:Vip64 labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/vip64:Vip64 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.