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

fortios.firewall.Ldbmonitor

Explore with Pulumi AI

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

    Configure server load balancing health monitors.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Ldbmonitor("trname", {
        httpMaxRedirects: 0,
        interval: 10,
        port: 0,
        retry: 3,
        timeout: 2,
        type: "ping",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Ldbmonitor("trname",
        http_max_redirects=0,
        interval=10,
        port=0,
        retry=3,
        timeout=2,
        type="ping")
    
    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.NewLdbmonitor(ctx, "trname", &firewall.LdbmonitorArgs{
    			HttpMaxRedirects: pulumi.Int(0),
    			Interval:         pulumi.Int(10),
    			Port:             pulumi.Int(0),
    			Retry:            pulumi.Int(3),
    			Timeout:          pulumi.Int(2),
    			Type:             pulumi.String("ping"),
    		})
    		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.Ldbmonitor("trname", new()
        {
            HttpMaxRedirects = 0,
            Interval = 10,
            Port = 0,
            Retry = 3,
            Timeout = 2,
            Type = "ping",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Ldbmonitor;
    import com.pulumi.fortios.firewall.LdbmonitorArgs;
    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 Ldbmonitor("trname", LdbmonitorArgs.builder()
                .httpMaxRedirects(0)
                .interval(10)
                .port(0)
                .retry(3)
                .timeout(2)
                .type("ping")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Ldbmonitor
        properties:
          httpMaxRedirects: 0
          interval: 10
          port: 0
          retry: 3
          timeout: 2
          type: ping
    

    Create Ldbmonitor Resource

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

    Constructor syntax

    new Ldbmonitor(name: string, args: LdbmonitorArgs, opts?: CustomResourceOptions);
    @overload
    def Ldbmonitor(resource_name: str,
                   args: LdbmonitorArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ldbmonitor(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   type: Optional[str] = None,
                   interval: Optional[int] = None,
                   dns_request_domain: Optional[str] = None,
                   http_get: Optional[str] = None,
                   http_match: Optional[str] = None,
                   http_max_redirects: Optional[int] = None,
                   dns_match_ip: Optional[str] = None,
                   name: Optional[str] = None,
                   port: Optional[int] = None,
                   retry: Optional[int] = None,
                   src_ip: Optional[str] = None,
                   timeout: Optional[int] = None,
                   dns_protocol: Optional[str] = None,
                   vdomparam: Optional[str] = None)
    func NewLdbmonitor(ctx *Context, name string, args LdbmonitorArgs, opts ...ResourceOption) (*Ldbmonitor, error)
    public Ldbmonitor(string name, LdbmonitorArgs args, CustomResourceOptions? opts = null)
    public Ldbmonitor(String name, LdbmonitorArgs args)
    public Ldbmonitor(String name, LdbmonitorArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Ldbmonitor
    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 LdbmonitorArgs
    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 LdbmonitorArgs
    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 LdbmonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LdbmonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LdbmonitorArgs
    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 ldbmonitorResource = new Fortios.Firewall.Ldbmonitor("ldbmonitorResource", new()
    {
        Type = "string",
        Interval = 0,
        DnsRequestDomain = "string",
        HttpGet = "string",
        HttpMatch = "string",
        HttpMaxRedirects = 0,
        DnsMatchIp = "string",
        Name = "string",
        Port = 0,
        Retry = 0,
        SrcIp = "string",
        Timeout = 0,
        DnsProtocol = "string",
        Vdomparam = "string",
    });
    
    example, err := firewall.NewLdbmonitor(ctx, "ldbmonitorResource", &firewall.LdbmonitorArgs{
    	Type:             pulumi.String("string"),
    	Interval:         pulumi.Int(0),
    	DnsRequestDomain: pulumi.String("string"),
    	HttpGet:          pulumi.String("string"),
    	HttpMatch:        pulumi.String("string"),
    	HttpMaxRedirects: pulumi.Int(0),
    	DnsMatchIp:       pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Port:             pulumi.Int(0),
    	Retry:            pulumi.Int(0),
    	SrcIp:            pulumi.String("string"),
    	Timeout:          pulumi.Int(0),
    	DnsProtocol:      pulumi.String("string"),
    	Vdomparam:        pulumi.String("string"),
    })
    
    var ldbmonitorResource = new Ldbmonitor("ldbmonitorResource", LdbmonitorArgs.builder()
        .type("string")
        .interval(0)
        .dnsRequestDomain("string")
        .httpGet("string")
        .httpMatch("string")
        .httpMaxRedirects(0)
        .dnsMatchIp("string")
        .name("string")
        .port(0)
        .retry(0)
        .srcIp("string")
        .timeout(0)
        .dnsProtocol("string")
        .vdomparam("string")
        .build());
    
    ldbmonitor_resource = fortios.firewall.Ldbmonitor("ldbmonitorResource",
        type="string",
        interval=0,
        dns_request_domain="string",
        http_get="string",
        http_match="string",
        http_max_redirects=0,
        dns_match_ip="string",
        name="string",
        port=0,
        retry=0,
        src_ip="string",
        timeout=0,
        dns_protocol="string",
        vdomparam="string")
    
    const ldbmonitorResource = new fortios.firewall.Ldbmonitor("ldbmonitorResource", {
        type: "string",
        interval: 0,
        dnsRequestDomain: "string",
        httpGet: "string",
        httpMatch: "string",
        httpMaxRedirects: 0,
        dnsMatchIp: "string",
        name: "string",
        port: 0,
        retry: 0,
        srcIp: "string",
        timeout: 0,
        dnsProtocol: "string",
        vdomparam: "string",
    });
    
    type: fortios:firewall:Ldbmonitor
    properties:
        dnsMatchIp: string
        dnsProtocol: string
        dnsRequestDomain: string
        httpGet: string
        httpMatch: string
        httpMaxRedirects: 0
        interval: 0
        name: string
        port: 0
        retry: 0
        srcIp: string
        timeout: 0
        type: string
        vdomparam: string
    

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

    Type string
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    DnsMatchIp string
    Response IP expected from DNS server.
    DnsProtocol string
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    DnsRequestDomain string
    Fully qualified domain name to resolve for the DNS probe.
    HttpGet string
    URL used to send a GET request to check the health of an HTTP server.
    HttpMatch string
    String to match the value expected in response to an HTTP-GET request.
    HttpMaxRedirects int
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    Interval int
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    Name string
    Monitor name.
    Port int
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    Retry int
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    SrcIp string
    Source IP for ldb-monitor.
    Timeout int
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    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.
    Type string
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    DnsMatchIp string
    Response IP expected from DNS server.
    DnsProtocol string
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    DnsRequestDomain string
    Fully qualified domain name to resolve for the DNS probe.
    HttpGet string
    URL used to send a GET request to check the health of an HTTP server.
    HttpMatch string
    String to match the value expected in response to an HTTP-GET request.
    HttpMaxRedirects int
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    Interval int
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    Name string
    Monitor name.
    Port int
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    Retry int
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    SrcIp string
    Source IP for ldb-monitor.
    Timeout int
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    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.
    type String
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    dnsMatchIp String
    Response IP expected from DNS server.
    dnsProtocol String
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dnsRequestDomain String
    Fully qualified domain name to resolve for the DNS probe.
    httpGet String
    URL used to send a GET request to check the health of an HTTP server.
    httpMatch String
    String to match the value expected in response to an HTTP-GET request.
    httpMaxRedirects Integer
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval Integer
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name String
    Monitor name.
    port Integer
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry Integer
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    srcIp String
    Source IP for ldb-monitor.
    timeout Integer
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    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.
    type string
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    dnsMatchIp string
    Response IP expected from DNS server.
    dnsProtocol string
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dnsRequestDomain string
    Fully qualified domain name to resolve for the DNS probe.
    httpGet string
    URL used to send a GET request to check the health of an HTTP server.
    httpMatch string
    String to match the value expected in response to an HTTP-GET request.
    httpMaxRedirects number
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval number
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name string
    Monitor name.
    port number
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry number
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    srcIp string
    Source IP for ldb-monitor.
    timeout number
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    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.
    type str
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    dns_match_ip str
    Response IP expected from DNS server.
    dns_protocol str
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dns_request_domain str
    Fully qualified domain name to resolve for the DNS probe.
    http_get str
    URL used to send a GET request to check the health of an HTTP server.
    http_match str
    String to match the value expected in response to an HTTP-GET request.
    http_max_redirects int
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval int
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name str
    Monitor name.
    port int
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry int
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    src_ip str
    Source IP for ldb-monitor.
    timeout int
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    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.
    type String
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    dnsMatchIp String
    Response IP expected from DNS server.
    dnsProtocol String
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dnsRequestDomain String
    Fully qualified domain name to resolve for the DNS probe.
    httpGet String
    URL used to send a GET request to check the health of an HTTP server.
    httpMatch String
    String to match the value expected in response to an HTTP-GET request.
    httpMaxRedirects Number
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval Number
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name String
    Monitor name.
    port Number
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry Number
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    srcIp String
    Source IP for ldb-monitor.
    timeout Number
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    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 Ldbmonitor 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 Ldbmonitor Resource

    Get an existing Ldbmonitor 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?: LdbmonitorState, opts?: CustomResourceOptions): Ldbmonitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dns_match_ip: Optional[str] = None,
            dns_protocol: Optional[str] = None,
            dns_request_domain: Optional[str] = None,
            http_get: Optional[str] = None,
            http_match: Optional[str] = None,
            http_max_redirects: Optional[int] = None,
            interval: Optional[int] = None,
            name: Optional[str] = None,
            port: Optional[int] = None,
            retry: Optional[int] = None,
            src_ip: Optional[str] = None,
            timeout: Optional[int] = None,
            type: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Ldbmonitor
    func GetLdbmonitor(ctx *Context, name string, id IDInput, state *LdbmonitorState, opts ...ResourceOption) (*Ldbmonitor, error)
    public static Ldbmonitor Get(string name, Input<string> id, LdbmonitorState? state, CustomResourceOptions? opts = null)
    public static Ldbmonitor get(String name, Output<String> id, LdbmonitorState 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:
    DnsMatchIp string
    Response IP expected from DNS server.
    DnsProtocol string
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    DnsRequestDomain string
    Fully qualified domain name to resolve for the DNS probe.
    HttpGet string
    URL used to send a GET request to check the health of an HTTP server.
    HttpMatch string
    String to match the value expected in response to an HTTP-GET request.
    HttpMaxRedirects int
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    Interval int
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    Name string
    Monitor name.
    Port int
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    Retry int
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    SrcIp string
    Source IP for ldb-monitor.
    Timeout int
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    Type string
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    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.
    DnsMatchIp string
    Response IP expected from DNS server.
    DnsProtocol string
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    DnsRequestDomain string
    Fully qualified domain name to resolve for the DNS probe.
    HttpGet string
    URL used to send a GET request to check the health of an HTTP server.
    HttpMatch string
    String to match the value expected in response to an HTTP-GET request.
    HttpMaxRedirects int
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    Interval int
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    Name string
    Monitor name.
    Port int
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    Retry int
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    SrcIp string
    Source IP for ldb-monitor.
    Timeout int
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    Type string
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    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.
    dnsMatchIp String
    Response IP expected from DNS server.
    dnsProtocol String
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dnsRequestDomain String
    Fully qualified domain name to resolve for the DNS probe.
    httpGet String
    URL used to send a GET request to check the health of an HTTP server.
    httpMatch String
    String to match the value expected in response to an HTTP-GET request.
    httpMaxRedirects Integer
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval Integer
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name String
    Monitor name.
    port Integer
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry Integer
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    srcIp String
    Source IP for ldb-monitor.
    timeout Integer
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    type String
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    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.
    dnsMatchIp string
    Response IP expected from DNS server.
    dnsProtocol string
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dnsRequestDomain string
    Fully qualified domain name to resolve for the DNS probe.
    httpGet string
    URL used to send a GET request to check the health of an HTTP server.
    httpMatch string
    String to match the value expected in response to an HTTP-GET request.
    httpMaxRedirects number
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval number
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name string
    Monitor name.
    port number
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry number
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    srcIp string
    Source IP for ldb-monitor.
    timeout number
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    type string
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    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.
    dns_match_ip str
    Response IP expected from DNS server.
    dns_protocol str
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dns_request_domain str
    Fully qualified domain name to resolve for the DNS probe.
    http_get str
    URL used to send a GET request to check the health of an HTTP server.
    http_match str
    String to match the value expected in response to an HTTP-GET request.
    http_max_redirects int
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval int
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name str
    Monitor name.
    port int
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry int
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    src_ip str
    Source IP for ldb-monitor.
    timeout int
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    type str
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    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.
    dnsMatchIp String
    Response IP expected from DNS server.
    dnsProtocol String
    Select the protocol used by the DNS health check monitor to check the health of the server (UDP | TCP). Valid values: udp, tcp.
    dnsRequestDomain String
    Fully qualified domain name to resolve for the DNS probe.
    httpGet String
    URL used to send a GET request to check the health of an HTTP server.
    httpMatch String
    String to match the value expected in response to an HTTP-GET request.
    httpMaxRedirects Number
    The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).
    interval Number
    Time between health checks (default = 10). On FortiOS versions 6.2.0-7.0.15: 5 - 65635 sec. On FortiOS versions >= 7.2.0: 5 - 65535 sec.
    name String
    Monitor name.
    port Number
    Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (default = 0). On FortiOS versions 6.2.0-7.0.15: 0 - 65635. On FortiOS versions >= 7.2.0: 0 - 65535.
    retry Number
    Number health check attempts before the server is considered down (1 - 255, default = 3).
    srcIp String
    Source IP for ldb-monitor.
    timeout Number
    Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).
    type String
    Select the Monitor type used by the health check monitor to check the health of the server. On FortiOS versions 6.2.0: PING | TCP | HTTP. On FortiOS versions 6.2.4-7.0.0: PING | TCP | HTTP | HTTPS. On FortiOS versions >= 7.0.1: PING | TCP | HTTP | HTTPS | DNS.
    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

    Firewall LdbMonitor can be imported using any of these accepted formats:

    $ pulumi import fortios:firewall/ldbmonitor:Ldbmonitor labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/ldbmonitor:Ldbmonitor 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