1. Packages
  2. Fortios
  3. API Docs
  4. webproxy
  5. Forwardserver
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.webproxy.Forwardserver

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure forward-server addresses.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.webproxy.Forwardserver("trname", {
        addrType: "fqdn",
        healthcheck: "disable",
        ip: "0.0.0.0",
        monitor: "http://www.google.com",
        port: 3128,
        serverDownOption: "block",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.webproxy.Forwardserver("trname",
        addr_type="fqdn",
        healthcheck="disable",
        ip="0.0.0.0",
        monitor="http://www.google.com",
        port=3128,
        server_down_option="block")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/webproxy"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := webproxy.NewForwardserver(ctx, "trname", &webproxy.ForwardserverArgs{
    			AddrType:         pulumi.String("fqdn"),
    			Healthcheck:      pulumi.String("disable"),
    			Ip:               pulumi.String("0.0.0.0"),
    			Monitor:          pulumi.String("http://www.google.com"),
    			Port:             pulumi.Int(3128),
    			ServerDownOption: pulumi.String("block"),
    		})
    		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.Webproxy.Forwardserver("trname", new()
        {
            AddrType = "fqdn",
            Healthcheck = "disable",
            Ip = "0.0.0.0",
            Monitor = "http://www.google.com",
            Port = 3128,
            ServerDownOption = "block",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.webproxy.Forwardserver;
    import com.pulumi.fortios.webproxy.ForwardserverArgs;
    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 Forwardserver("trname", ForwardserverArgs.builder()
                .addrType("fqdn")
                .healthcheck("disable")
                .ip("0.0.0.0")
                .monitor("http://www.google.com")
                .port(3128)
                .serverDownOption("block")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:webproxy:Forwardserver
        properties:
          addrType: fqdn
          healthcheck: disable
          ip: 0.0.0.0
          monitor: http://www.google.com
          port: 3128
          serverDownOption: block
    

    Create Forwardserver Resource

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

    Constructor syntax

    new Forwardserver(name: string, args?: ForwardserverArgs, opts?: CustomResourceOptions);
    @overload
    def Forwardserver(resource_name: str,
                      args: Optional[ForwardserverArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Forwardserver(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      addr_type: Optional[str] = None,
                      comment: Optional[str] = None,
                      fqdn: Optional[str] = None,
                      healthcheck: Optional[str] = None,
                      ip: Optional[str] = None,
                      ipv6: Optional[str] = None,
                      masquerade: Optional[str] = None,
                      monitor: Optional[str] = None,
                      name: Optional[str] = None,
                      password: Optional[str] = None,
                      port: Optional[int] = None,
                      server_down_option: Optional[str] = None,
                      username: Optional[str] = None,
                      vdomparam: Optional[str] = None)
    func NewForwardserver(ctx *Context, name string, args *ForwardserverArgs, opts ...ResourceOption) (*Forwardserver, error)
    public Forwardserver(string name, ForwardserverArgs? args = null, CustomResourceOptions? opts = null)
    public Forwardserver(String name, ForwardserverArgs args)
    public Forwardserver(String name, ForwardserverArgs args, CustomResourceOptions options)
    
    type: fortios:webproxy:Forwardserver
    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 ForwardserverArgs
    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 ForwardserverArgs
    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 ForwardserverArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ForwardserverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ForwardserverArgs
    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 forwardserverResource = new Fortios.Webproxy.Forwardserver("forwardserverResource", new()
    {
        AddrType = "string",
        Comment = "string",
        Fqdn = "string",
        Healthcheck = "string",
        Ip = "string",
        Ipv6 = "string",
        Masquerade = "string",
        Monitor = "string",
        Name = "string",
        Password = "string",
        Port = 0,
        ServerDownOption = "string",
        Username = "string",
        Vdomparam = "string",
    });
    
    example, err := webproxy.NewForwardserver(ctx, "forwardserverResource", &webproxy.ForwardserverArgs{
    	AddrType:         pulumi.String("string"),
    	Comment:          pulumi.String("string"),
    	Fqdn:             pulumi.String("string"),
    	Healthcheck:      pulumi.String("string"),
    	Ip:               pulumi.String("string"),
    	Ipv6:             pulumi.String("string"),
    	Masquerade:       pulumi.String("string"),
    	Monitor:          pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Password:         pulumi.String("string"),
    	Port:             pulumi.Int(0),
    	ServerDownOption: pulumi.String("string"),
    	Username:         pulumi.String("string"),
    	Vdomparam:        pulumi.String("string"),
    })
    
    var forwardserverResource = new Forwardserver("forwardserverResource", ForwardserverArgs.builder()
        .addrType("string")
        .comment("string")
        .fqdn("string")
        .healthcheck("string")
        .ip("string")
        .ipv6("string")
        .masquerade("string")
        .monitor("string")
        .name("string")
        .password("string")
        .port(0)
        .serverDownOption("string")
        .username("string")
        .vdomparam("string")
        .build());
    
    forwardserver_resource = fortios.webproxy.Forwardserver("forwardserverResource",
        addr_type="string",
        comment="string",
        fqdn="string",
        healthcheck="string",
        ip="string",
        ipv6="string",
        masquerade="string",
        monitor="string",
        name="string",
        password="string",
        port=0,
        server_down_option="string",
        username="string",
        vdomparam="string")
    
    const forwardserverResource = new fortios.webproxy.Forwardserver("forwardserverResource", {
        addrType: "string",
        comment: "string",
        fqdn: "string",
        healthcheck: "string",
        ip: "string",
        ipv6: "string",
        masquerade: "string",
        monitor: "string",
        name: "string",
        password: "string",
        port: 0,
        serverDownOption: "string",
        username: "string",
        vdomparam: "string",
    });
    
    type: fortios:webproxy:Forwardserver
    properties:
        addrType: string
        comment: string
        fqdn: string
        healthcheck: string
        ip: string
        ipv6: string
        masquerade: string
        monitor: string
        name: string
        password: string
        port: 0
        serverDownOption: string
        username: string
        vdomparam: string
    

    Forwardserver 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 Forwardserver resource accepts the following input properties:

    AddrType string
    Address type of the forwarding proxy server: IP or FQDN.
    Comment string
    Comment.
    Fqdn string
    Forward server Fully Qualified Domain Name (FQDN).
    Healthcheck string
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    Ip string
    Forward proxy server IP address.
    Ipv6 string
    Forward proxy server IPv6 address.
    Masquerade string
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    Monitor string
    URL for forward server health check monitoring (default = http://www.google.com).
    Name string
    Server name.
    Password string
    HTTP authentication password.
    Port int
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    ServerDownOption string
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    Username string
    HTTP authentication user name.
    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.
    AddrType string
    Address type of the forwarding proxy server: IP or FQDN.
    Comment string
    Comment.
    Fqdn string
    Forward server Fully Qualified Domain Name (FQDN).
    Healthcheck string
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    Ip string
    Forward proxy server IP address.
    Ipv6 string
    Forward proxy server IPv6 address.
    Masquerade string
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    Monitor string
    URL for forward server health check monitoring (default = http://www.google.com).
    Name string
    Server name.
    Password string
    HTTP authentication password.
    Port int
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    ServerDownOption string
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    Username string
    HTTP authentication user name.
    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.
    addrType String
    Address type of the forwarding proxy server: IP or FQDN.
    comment String
    Comment.
    fqdn String
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck String
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip String
    Forward proxy server IP address.
    ipv6 String
    Forward proxy server IPv6 address.
    masquerade String
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor String
    URL for forward server health check monitoring (default = http://www.google.com).
    name String
    Server name.
    password String
    HTTP authentication password.
    port Integer
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    serverDownOption String
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username String
    HTTP authentication user name.
    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.
    addrType string
    Address type of the forwarding proxy server: IP or FQDN.
    comment string
    Comment.
    fqdn string
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck string
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip string
    Forward proxy server IP address.
    ipv6 string
    Forward proxy server IPv6 address.
    masquerade string
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor string
    URL for forward server health check monitoring (default = http://www.google.com).
    name string
    Server name.
    password string
    HTTP authentication password.
    port number
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    serverDownOption string
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username string
    HTTP authentication user name.
    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.
    addr_type str
    Address type of the forwarding proxy server: IP or FQDN.
    comment str
    Comment.
    fqdn str
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck str
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip str
    Forward proxy server IP address.
    ipv6 str
    Forward proxy server IPv6 address.
    masquerade str
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor str
    URL for forward server health check monitoring (default = http://www.google.com).
    name str
    Server name.
    password str
    HTTP authentication password.
    port int
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    server_down_option str
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username str
    HTTP authentication user name.
    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.
    addrType String
    Address type of the forwarding proxy server: IP or FQDN.
    comment String
    Comment.
    fqdn String
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck String
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip String
    Forward proxy server IP address.
    ipv6 String
    Forward proxy server IPv6 address.
    masquerade String
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor String
    URL for forward server health check monitoring (default = http://www.google.com).
    name String
    Server name.
    password String
    HTTP authentication password.
    port Number
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    serverDownOption String
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username String
    HTTP authentication user name.
    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 Forwardserver 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 Forwardserver Resource

    Get an existing Forwardserver 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?: ForwardserverState, opts?: CustomResourceOptions): Forwardserver
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addr_type: Optional[str] = None,
            comment: Optional[str] = None,
            fqdn: Optional[str] = None,
            healthcheck: Optional[str] = None,
            ip: Optional[str] = None,
            ipv6: Optional[str] = None,
            masquerade: Optional[str] = None,
            monitor: Optional[str] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            port: Optional[int] = None,
            server_down_option: Optional[str] = None,
            username: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Forwardserver
    func GetForwardserver(ctx *Context, name string, id IDInput, state *ForwardserverState, opts ...ResourceOption) (*Forwardserver, error)
    public static Forwardserver Get(string name, Input<string> id, ForwardserverState? state, CustomResourceOptions? opts = null)
    public static Forwardserver get(String name, Output<String> id, ForwardserverState 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.
    The following state arguments are supported:
    AddrType string
    Address type of the forwarding proxy server: IP or FQDN.
    Comment string
    Comment.
    Fqdn string
    Forward server Fully Qualified Domain Name (FQDN).
    Healthcheck string
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    Ip string
    Forward proxy server IP address.
    Ipv6 string
    Forward proxy server IPv6 address.
    Masquerade string
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    Monitor string
    URL for forward server health check monitoring (default = http://www.google.com).
    Name string
    Server name.
    Password string
    HTTP authentication password.
    Port int
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    ServerDownOption string
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    Username string
    HTTP authentication user name.
    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.
    AddrType string
    Address type of the forwarding proxy server: IP or FQDN.
    Comment string
    Comment.
    Fqdn string
    Forward server Fully Qualified Domain Name (FQDN).
    Healthcheck string
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    Ip string
    Forward proxy server IP address.
    Ipv6 string
    Forward proxy server IPv6 address.
    Masquerade string
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    Monitor string
    URL for forward server health check monitoring (default = http://www.google.com).
    Name string
    Server name.
    Password string
    HTTP authentication password.
    Port int
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    ServerDownOption string
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    Username string
    HTTP authentication user name.
    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.
    addrType String
    Address type of the forwarding proxy server: IP or FQDN.
    comment String
    Comment.
    fqdn String
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck String
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip String
    Forward proxy server IP address.
    ipv6 String
    Forward proxy server IPv6 address.
    masquerade String
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor String
    URL for forward server health check monitoring (default = http://www.google.com).
    name String
    Server name.
    password String
    HTTP authentication password.
    port Integer
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    serverDownOption String
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username String
    HTTP authentication user name.
    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.
    addrType string
    Address type of the forwarding proxy server: IP or FQDN.
    comment string
    Comment.
    fqdn string
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck string
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip string
    Forward proxy server IP address.
    ipv6 string
    Forward proxy server IPv6 address.
    masquerade string
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor string
    URL for forward server health check monitoring (default = http://www.google.com).
    name string
    Server name.
    password string
    HTTP authentication password.
    port number
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    serverDownOption string
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username string
    HTTP authentication user name.
    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.
    addr_type str
    Address type of the forwarding proxy server: IP or FQDN.
    comment str
    Comment.
    fqdn str
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck str
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip str
    Forward proxy server IP address.
    ipv6 str
    Forward proxy server IPv6 address.
    masquerade str
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor str
    URL for forward server health check monitoring (default = http://www.google.com).
    name str
    Server name.
    password str
    HTTP authentication password.
    port int
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    server_down_option str
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username str
    HTTP authentication user name.
    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.
    addrType String
    Address type of the forwarding proxy server: IP or FQDN.
    comment String
    Comment.
    fqdn String
    Forward server Fully Qualified Domain Name (FQDN).
    healthcheck String
    Enable/disable forward server health checking. Attempts to connect through the remote forwarding server to a destination to verify that the forwarding server is operating normally. Valid values: disable, enable.
    ip String
    Forward proxy server IP address.
    ipv6 String
    Forward proxy server IPv6 address.
    masquerade String
    Enable/disable use of the of the IP address of the outgoing interface as the client IP address (default = enable) Valid values: enable, disable.
    monitor String
    URL for forward server health check monitoring (default = http://www.google.com).
    name String
    Server name.
    password String
    HTTP authentication password.
    port Number
    Port number that the forwarding server expects to receive HTTP sessions on (1 - 65535, default = 3128).
    serverDownOption String
    Action to take when the forward server is found to be down: block sessions until the server is back up or pass sessions to their destination. Valid values: block, pass.
    username String
    HTTP authentication user name.
    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.

    Import

    WebProxy ForwardServer can be imported using any of these accepted formats:

    $ pulumi import fortios:webproxy/forwardserver:Forwardserver labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:webproxy/forwardserver:Forwardserver 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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse