Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system.getLinkmonitor
Explore with Pulumi AI
Use this data source to get information on an fortios system linkmonitor
Using getLinkmonitor
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLinkmonitor(args: GetLinkmonitorArgs, opts?: InvokeOptions): Promise<GetLinkmonitorResult>
function getLinkmonitorOutput(args: GetLinkmonitorOutputArgs, opts?: InvokeOptions): Output<GetLinkmonitorResult>
def get_linkmonitor(name: Optional[str] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLinkmonitorResult
def get_linkmonitor_output(name: Optional[pulumi.Input[str]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLinkmonitorResult]
func LookupLinkmonitor(ctx *Context, args *LookupLinkmonitorArgs, opts ...InvokeOption) (*LookupLinkmonitorResult, error)
func LookupLinkmonitorOutput(ctx *Context, args *LookupLinkmonitorOutputArgs, opts ...InvokeOption) LookupLinkmonitorResultOutput
> Note: This function is named LookupLinkmonitor
in the Go SDK.
public static class GetLinkmonitor
{
public static Task<GetLinkmonitorResult> InvokeAsync(GetLinkmonitorArgs args, InvokeOptions? opts = null)
public static Output<GetLinkmonitorResult> Invoke(GetLinkmonitorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLinkmonitorResult> getLinkmonitor(GetLinkmonitorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getLinkmonitor:getLinkmonitor
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired system linkmonitor.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- Name string
- Specify the name of the desired system linkmonitor.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- name String
- Specify the name of the desired system linkmonitor.
- vdomparam String
- Specifies the vdom to which the data source 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.
- name string
- Specify the name of the desired system linkmonitor.
- vdomparam string
- Specifies the vdom to which the data source 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.
- name str
- Specify the name of the desired system linkmonitor.
- vdomparam str
- Specifies the vdom to which the data source 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.
- name String
- Specify the name of the desired system linkmonitor.
- vdomparam String
- Specifies the vdom to which the data source 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.
getLinkmonitor Result
The following output properties are available:
- Addr
Mode string - Address mode (IPv4 or IPv6).
- Class
Id int - Traffic class ID.
- Diffservcode string
- Differentiated services code point (DSCP) in the IP header of the probe packet.
- Fail
Weight int - Threshold weight to trigger link failure alert.
- Failtime int
- Number of retry attempts before the server is considered down (1 - 10, default = 5)
- Gateway
Ip string - Gateway IP address used to probe the server.
- Gateway
Ip6 string - Gateway IPv6 address used to probe the server.
- Ha
Priority int - HA election priority (1 - 50).
- Http
Agent string - String in the http-agent field in the HTTP header.
- Http
Get string - If you are monitoring an HTML server you can send an HTTP-GET request with a custom string. Use this option to define the string.
- Http
Match string - String that you expect to see in the HTTP-GET requests of the traffic to be monitored.
- Id string
- The provider-assigned unique ID for this managed resource.
- Interval int
- Detection interval (1 - 3600 sec, default = 5).
- Name string
- Link monitor name.
- Packet
Size int - Packet size of a twamp test session,
- Password string
- Twamp controller password in authentication mode
- Port int
- Port number of the traffic to be used to monitor the server.
- Probe
Count int - Number of most recent probes that should be used to calculate latency and jitter (5 - 30, default = 30).
- Probe
Timeout int - Time to wait before a probe packet is considered lost (500 - 5000 msec, default = 500).
- Protocol string
- Protocols used to monitor the server.
- Recoverytime int
- Number of successful responses received before server is considered recovered (1 - 10, default = 5).
- Routes
List<Pulumiverse.
Fortios. System. Outputs. Get Linkmonitor Route> - Subnet to monitor. The structure of
route
block is documented below. - Security
Mode string - Twamp controller security mode.
- Server
Config string - Mode of server configuration.
- Server
Lists List<Pulumiverse.Fortios. System. Outputs. Get Linkmonitor Server List> - Servers for link-monitor to monitor. The structure of
server_list
block is documented below. - Server
Type string - Server type (static or dynamic).
- Servers
List<Pulumiverse.
Fortios. System. Outputs. Get Linkmonitor Server> - IP address of the server(s) to be monitored. The structure of
server
block is documented below. - Service
Detection string - Only use monitor to read quality values. If enabled, static routes and cascade interfaces will not be updated.
- Source
Ip string - Source IP address used in packet to the server.
- Source
Ip6 string - Source IPv6 address used in packet to the server.
- Srcintf string
- Interface that receives the traffic to be monitored.
- Status string
- Enable/disable this link monitor.
- Update
Cascade stringInterface - Enable/disable update cascade interface.
- Update
Policy stringRoute - Enable/disable updating the policy route.
- Update
Static stringRoute - Enable/disable updating the static route.
- Vdomparam string
- Addr
Mode string - Address mode (IPv4 or IPv6).
- Class
Id int - Traffic class ID.
- Diffservcode string
- Differentiated services code point (DSCP) in the IP header of the probe packet.
- Fail
Weight int - Threshold weight to trigger link failure alert.
- Failtime int
- Number of retry attempts before the server is considered down (1 - 10, default = 5)
- Gateway
Ip string - Gateway IP address used to probe the server.
- Gateway
Ip6 string - Gateway IPv6 address used to probe the server.
- Ha
Priority int - HA election priority (1 - 50).
- Http
Agent string - String in the http-agent field in the HTTP header.
- Http
Get string - If you are monitoring an HTML server you can send an HTTP-GET request with a custom string. Use this option to define the string.
- Http
Match string - String that you expect to see in the HTTP-GET requests of the traffic to be monitored.
- Id string
- The provider-assigned unique ID for this managed resource.
- Interval int
- Detection interval (1 - 3600 sec, default = 5).
- Name string
- Link monitor name.
- Packet
Size int - Packet size of a twamp test session,
- Password string
- Twamp controller password in authentication mode
- Port int
- Port number of the traffic to be used to monitor the server.
- Probe
Count int - Number of most recent probes that should be used to calculate latency and jitter (5 - 30, default = 30).
- Probe
Timeout int - Time to wait before a probe packet is considered lost (500 - 5000 msec, default = 500).
- Protocol string
- Protocols used to monitor the server.
- Recoverytime int
- Number of successful responses received before server is considered recovered (1 - 10, default = 5).
- Routes
[]Get
Linkmonitor Route - Subnet to monitor. The structure of
route
block is documented below. - Security
Mode string - Twamp controller security mode.
- Server
Config string - Mode of server configuration.
- Server
Lists []GetLinkmonitor Server List - Servers for link-monitor to monitor. The structure of
server_list
block is documented below. - Server
Type string - Server type (static or dynamic).
- Servers
[]Get
Linkmonitor Server - IP address of the server(s) to be monitored. The structure of
server
block is documented below. - Service
Detection string - Only use monitor to read quality values. If enabled, static routes and cascade interfaces will not be updated.
- Source
Ip string - Source IP address used in packet to the server.
- Source
Ip6 string - Source IPv6 address used in packet to the server.
- Srcintf string
- Interface that receives the traffic to be monitored.
- Status string
- Enable/disable this link monitor.
- Update
Cascade stringInterface - Enable/disable update cascade interface.
- Update
Policy stringRoute - Enable/disable updating the policy route.
- Update
Static stringRoute - Enable/disable updating the static route.
- Vdomparam string
- addr
Mode String - Address mode (IPv4 or IPv6).
- class
Id Integer - Traffic class ID.
- diffservcode String
- Differentiated services code point (DSCP) in the IP header of the probe packet.
- fail
Weight Integer - Threshold weight to trigger link failure alert.
- failtime Integer
- Number of retry attempts before the server is considered down (1 - 10, default = 5)
- gateway
Ip String - Gateway IP address used to probe the server.
- gateway
Ip6 String - Gateway IPv6 address used to probe the server.
- ha
Priority Integer - HA election priority (1 - 50).
- http
Agent String - String in the http-agent field in the HTTP header.
- http
Get String - If you are monitoring an HTML server you can send an HTTP-GET request with a custom string. Use this option to define the string.
- http
Match String - String that you expect to see in the HTTP-GET requests of the traffic to be monitored.
- id String
- The provider-assigned unique ID for this managed resource.
- interval Integer
- Detection interval (1 - 3600 sec, default = 5).
- name String
- Link monitor name.
- packet
Size Integer - Packet size of a twamp test session,
- password String
- Twamp controller password in authentication mode
- port Integer
- Port number of the traffic to be used to monitor the server.
- probe
Count Integer - Number of most recent probes that should be used to calculate latency and jitter (5 - 30, default = 30).
- probe
Timeout Integer - Time to wait before a probe packet is considered lost (500 - 5000 msec, default = 500).
- protocol String
- Protocols used to monitor the server.
- recoverytime Integer
- Number of successful responses received before server is considered recovered (1 - 10, default = 5).
- routes
List<Get
Linkmonitor Route> - Subnet to monitor. The structure of
route
block is documented below. - security
Mode String - Twamp controller security mode.
- server
Config String - Mode of server configuration.
- server
Lists List<GetLinkmonitor Server List> - Servers for link-monitor to monitor. The structure of
server_list
block is documented below. - server
Type String - Server type (static or dynamic).
- servers
List<Get
Linkmonitor Server> - IP address of the server(s) to be monitored. The structure of
server
block is documented below. - service
Detection String - Only use monitor to read quality values. If enabled, static routes and cascade interfaces will not be updated.
- source
Ip String - Source IP address used in packet to the server.
- source
Ip6 String - Source IPv6 address used in packet to the server.
- srcintf String
- Interface that receives the traffic to be monitored.
- status String
- Enable/disable this link monitor.
- update
Cascade StringInterface - Enable/disable update cascade interface.
- update
Policy StringRoute - Enable/disable updating the policy route.
- update
Static StringRoute - Enable/disable updating the static route.
- vdomparam String
- addr
Mode string - Address mode (IPv4 or IPv6).
- class
Id number - Traffic class ID.
- diffservcode string
- Differentiated services code point (DSCP) in the IP header of the probe packet.
- fail
Weight number - Threshold weight to trigger link failure alert.
- failtime number
- Number of retry attempts before the server is considered down (1 - 10, default = 5)
- gateway
Ip string - Gateway IP address used to probe the server.
- gateway
Ip6 string - Gateway IPv6 address used to probe the server.
- ha
Priority number - HA election priority (1 - 50).
- http
Agent string - String in the http-agent field in the HTTP header.
- http
Get string - If you are monitoring an HTML server you can send an HTTP-GET request with a custom string. Use this option to define the string.
- http
Match string - String that you expect to see in the HTTP-GET requests of the traffic to be monitored.
- id string
- The provider-assigned unique ID for this managed resource.
- interval number
- Detection interval (1 - 3600 sec, default = 5).
- name string
- Link monitor name.
- packet
Size number - Packet size of a twamp test session,
- password string
- Twamp controller password in authentication mode
- port number
- Port number of the traffic to be used to monitor the server.
- probe
Count number - Number of most recent probes that should be used to calculate latency and jitter (5 - 30, default = 30).
- probe
Timeout number - Time to wait before a probe packet is considered lost (500 - 5000 msec, default = 500).
- protocol string
- Protocols used to monitor the server.
- recoverytime number
- Number of successful responses received before server is considered recovered (1 - 10, default = 5).
- routes
Get
Linkmonitor Route[] - Subnet to monitor. The structure of
route
block is documented below. - security
Mode string - Twamp controller security mode.
- server
Config string - Mode of server configuration.
- server
Lists GetLinkmonitor Server List[] - Servers for link-monitor to monitor. The structure of
server_list
block is documented below. - server
Type string - Server type (static or dynamic).
- servers
Get
Linkmonitor Server[] - IP address of the server(s) to be monitored. The structure of
server
block is documented below. - service
Detection string - Only use monitor to read quality values. If enabled, static routes and cascade interfaces will not be updated.
- source
Ip string - Source IP address used in packet to the server.
- source
Ip6 string - Source IPv6 address used in packet to the server.
- srcintf string
- Interface that receives the traffic to be monitored.
- status string
- Enable/disable this link monitor.
- update
Cascade stringInterface - Enable/disable update cascade interface.
- update
Policy stringRoute - Enable/disable updating the policy route.
- update
Static stringRoute - Enable/disable updating the static route.
- vdomparam string
- addr_
mode str - Address mode (IPv4 or IPv6).
- class_
id int - Traffic class ID.
- diffservcode str
- Differentiated services code point (DSCP) in the IP header of the probe packet.
- fail_
weight int - Threshold weight to trigger link failure alert.
- failtime int
- Number of retry attempts before the server is considered down (1 - 10, default = 5)
- gateway_
ip str - Gateway IP address used to probe the server.
- gateway_
ip6 str - Gateway IPv6 address used to probe the server.
- ha_
priority int - HA election priority (1 - 50).
- http_
agent str - String in the http-agent field in the HTTP header.
- http_
get str - If you are monitoring an HTML server you can send an HTTP-GET request with a custom string. Use this option to define the string.
- http_
match str - String that you expect to see in the HTTP-GET requests of the traffic to be monitored.
- id str
- The provider-assigned unique ID for this managed resource.
- interval int
- Detection interval (1 - 3600 sec, default = 5).
- name str
- Link monitor name.
- packet_
size int - Packet size of a twamp test session,
- password str
- Twamp controller password in authentication mode
- port int
- Port number of the traffic to be used to monitor the server.
- probe_
count int - Number of most recent probes that should be used to calculate latency and jitter (5 - 30, default = 30).
- probe_
timeout int - Time to wait before a probe packet is considered lost (500 - 5000 msec, default = 500).
- protocol str
- Protocols used to monitor the server.
- recoverytime int
- Number of successful responses received before server is considered recovered (1 - 10, default = 5).
- routes
Sequence[Get
Linkmonitor Route] - Subnet to monitor. The structure of
route
block is documented below. - security_
mode str - Twamp controller security mode.
- server_
config str - Mode of server configuration.
- server_
lists Sequence[GetLinkmonitor Server List] - Servers for link-monitor to monitor. The structure of
server_list
block is documented below. - server_
type str - Server type (static or dynamic).
- servers
Sequence[Get
Linkmonitor Server] - IP address of the server(s) to be monitored. The structure of
server
block is documented below. - service_
detection str - Only use monitor to read quality values. If enabled, static routes and cascade interfaces will not be updated.
- source_
ip str - Source IP address used in packet to the server.
- source_
ip6 str - Source IPv6 address used in packet to the server.
- srcintf str
- Interface that receives the traffic to be monitored.
- status str
- Enable/disable this link monitor.
- update_
cascade_ strinterface - Enable/disable update cascade interface.
- update_
policy_ strroute - Enable/disable updating the policy route.
- update_
static_ strroute - Enable/disable updating the static route.
- vdomparam str
- addr
Mode String - Address mode (IPv4 or IPv6).
- class
Id Number - Traffic class ID.
- diffservcode String
- Differentiated services code point (DSCP) in the IP header of the probe packet.
- fail
Weight Number - Threshold weight to trigger link failure alert.
- failtime Number
- Number of retry attempts before the server is considered down (1 - 10, default = 5)
- gateway
Ip String - Gateway IP address used to probe the server.
- gateway
Ip6 String - Gateway IPv6 address used to probe the server.
- ha
Priority Number - HA election priority (1 - 50).
- http
Agent String - String in the http-agent field in the HTTP header.
- http
Get String - If you are monitoring an HTML server you can send an HTTP-GET request with a custom string. Use this option to define the string.
- http
Match String - String that you expect to see in the HTTP-GET requests of the traffic to be monitored.
- id String
- The provider-assigned unique ID for this managed resource.
- interval Number
- Detection interval (1 - 3600 sec, default = 5).
- name String
- Link monitor name.
- packet
Size Number - Packet size of a twamp test session,
- password String
- Twamp controller password in authentication mode
- port Number
- Port number of the traffic to be used to monitor the server.
- probe
Count Number - Number of most recent probes that should be used to calculate latency and jitter (5 - 30, default = 30).
- probe
Timeout Number - Time to wait before a probe packet is considered lost (500 - 5000 msec, default = 500).
- protocol String
- Protocols used to monitor the server.
- recoverytime Number
- Number of successful responses received before server is considered recovered (1 - 10, default = 5).
- routes List<Property Map>
- Subnet to monitor. The structure of
route
block is documented below. - security
Mode String - Twamp controller security mode.
- server
Config String - Mode of server configuration.
- server
Lists List<Property Map> - Servers for link-monitor to monitor. The structure of
server_list
block is documented below. - server
Type String - Server type (static or dynamic).
- servers List<Property Map>
- IP address of the server(s) to be monitored. The structure of
server
block is documented below. - service
Detection String - Only use monitor to read quality values. If enabled, static routes and cascade interfaces will not be updated.
- source
Ip String - Source IP address used in packet to the server.
- source
Ip6 String - Source IPv6 address used in packet to the server.
- srcintf String
- Interface that receives the traffic to be monitored.
- status String
- Enable/disable this link monitor.
- update
Cascade StringInterface - Enable/disable update cascade interface.
- update
Policy StringRoute - Enable/disable updating the policy route.
- update
Static StringRoute - Enable/disable updating the static route.
- vdomparam String
Supporting Types
GetLinkmonitorRoute
- Subnet string
- IP and netmask (x.x.x.x/y).
- Subnet string
- IP and netmask (x.x.x.x/y).
- subnet String
- IP and netmask (x.x.x.x/y).
- subnet string
- IP and netmask (x.x.x.x/y).
- subnet str
- IP and netmask (x.x.x.x/y).
- subnet String
- IP and netmask (x.x.x.x/y).
GetLinkmonitorServer
- Address string
- Server address.
- Address string
- Server address.
- address String
- Server address.
- address string
- Server address.
- address str
- Server address.
- address String
- Server address.
GetLinkmonitorServerList
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.