fortios.system.Proberesponse
Explore with Pulumi AI
Configure system probe response.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.system.Proberesponse("trname", {
httpProbeValue: "OK",
mode: "none",
port: 8008,
securityMode: "none",
timeout: 300,
ttlMode: "retain",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.system.Proberesponse("trname",
http_probe_value="OK",
mode="none",
port=8008,
security_mode="none",
timeout=300,
ttl_mode="retain")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewProberesponse(ctx, "trname", &system.ProberesponseArgs{
HttpProbeValue: pulumi.String("OK"),
Mode: pulumi.String("none"),
Port: pulumi.Int(8008),
SecurityMode: pulumi.String("none"),
Timeout: pulumi.Int(300),
TtlMode: pulumi.String("retain"),
})
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.System.Proberesponse("trname", new()
{
HttpProbeValue = "OK",
Mode = "none",
Port = 8008,
SecurityMode = "none",
Timeout = 300,
TtlMode = "retain",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Proberesponse;
import com.pulumi.fortios.system.ProberesponseArgs;
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 Proberesponse("trname", ProberesponseArgs.builder()
.httpProbeValue("OK")
.mode("none")
.port(8008)
.securityMode("none")
.timeout(300)
.ttlMode("retain")
.build());
}
}
resources:
trname:
type: fortios:system:Proberesponse
properties:
httpProbeValue: OK
mode: none
port: 8008
securityMode: none
timeout: 300
ttlMode: retain
Create Proberesponse Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Proberesponse(name: string, args?: ProberesponseArgs, opts?: CustomResourceOptions);
@overload
def Proberesponse(resource_name: str,
args: Optional[ProberesponseArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Proberesponse(resource_name: str,
opts: Optional[ResourceOptions] = None,
http_probe_value: Optional[str] = None,
mode: Optional[str] = None,
password: Optional[str] = None,
port: Optional[int] = None,
security_mode: Optional[str] = None,
timeout: Optional[int] = None,
ttl_mode: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewProberesponse(ctx *Context, name string, args *ProberesponseArgs, opts ...ResourceOption) (*Proberesponse, error)
public Proberesponse(string name, ProberesponseArgs? args = null, CustomResourceOptions? opts = null)
public Proberesponse(String name, ProberesponseArgs args)
public Proberesponse(String name, ProberesponseArgs args, CustomResourceOptions options)
type: fortios:system:Proberesponse
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 ProberesponseArgs
- 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 ProberesponseArgs
- 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 ProberesponseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProberesponseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProberesponseArgs
- 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 proberesponseResource = new Fortios.System.Proberesponse("proberesponseResource", new()
{
HttpProbeValue = "string",
Mode = "string",
Password = "string",
Port = 0,
SecurityMode = "string",
Timeout = 0,
TtlMode = "string",
Vdomparam = "string",
});
example, err := system.NewProberesponse(ctx, "proberesponseResource", &system.ProberesponseArgs{
HttpProbeValue: pulumi.String("string"),
Mode: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.Int(0),
SecurityMode: pulumi.String("string"),
Timeout: pulumi.Int(0),
TtlMode: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var proberesponseResource = new Proberesponse("proberesponseResource", ProberesponseArgs.builder()
.httpProbeValue("string")
.mode("string")
.password("string")
.port(0)
.securityMode("string")
.timeout(0)
.ttlMode("string")
.vdomparam("string")
.build());
proberesponse_resource = fortios.system.Proberesponse("proberesponseResource",
http_probe_value="string",
mode="string",
password="string",
port=0,
security_mode="string",
timeout=0,
ttl_mode="string",
vdomparam="string")
const proberesponseResource = new fortios.system.Proberesponse("proberesponseResource", {
httpProbeValue: "string",
mode: "string",
password: "string",
port: 0,
securityMode: "string",
timeout: 0,
ttlMode: "string",
vdomparam: "string",
});
type: fortios:system:Proberesponse
properties:
httpProbeValue: string
mode: string
password: string
port: 0
securityMode: string
timeout: 0
ttlMode: string
vdomparam: string
Proberesponse 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 Proberesponse resource accepts the following input properties:
- Http
Probe stringValue - Value to respond to the monitoring server.
- Mode string
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - Password string
- Twamp respondor password in authentication mode
- Port int
- Port number to response.
- Security
Mode string - Twamp respondor security mode. Valid values:
none
,authentication
. - Timeout int
- An inactivity timer for a twamp test session.
- Ttl
Mode string - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- Http
Probe stringValue - Value to respond to the monitoring server.
- Mode string
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - Password string
- Twamp respondor password in authentication mode
- Port int
- Port number to response.
- Security
Mode string - Twamp respondor security mode. Valid values:
none
,authentication
. - Timeout int
- An inactivity timer for a twamp test session.
- Ttl
Mode string - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http
Probe StringValue - Value to respond to the monitoring server.
- mode String
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password String
- Twamp respondor password in authentication mode
- port Integer
- Port number to response.
- security
Mode String - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout Integer
- An inactivity timer for a twamp test session.
- ttl
Mode String - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http
Probe stringValue - Value to respond to the monitoring server.
- mode string
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password string
- Twamp respondor password in authentication mode
- port number
- Port number to response.
- security
Mode string - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout number
- An inactivity timer for a twamp test session.
- ttl
Mode string - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http_
probe_ strvalue - Value to respond to the monitoring server.
- mode str
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password str
- Twamp respondor password in authentication mode
- port int
- Port number to response.
- security_
mode str - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout int
- An inactivity timer for a twamp test session.
- ttl_
mode str - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http
Probe StringValue - Value to respond to the monitoring server.
- mode String
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password String
- Twamp respondor password in authentication mode
- port Number
- Port number to response.
- security
Mode String - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout Number
- An inactivity timer for a twamp test session.
- ttl
Mode String - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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 Proberesponse 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 Proberesponse Resource
Get an existing Proberesponse 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?: ProberesponseState, opts?: CustomResourceOptions): Proberesponse
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
http_probe_value: Optional[str] = None,
mode: Optional[str] = None,
password: Optional[str] = None,
port: Optional[int] = None,
security_mode: Optional[str] = None,
timeout: Optional[int] = None,
ttl_mode: Optional[str] = None,
vdomparam: Optional[str] = None) -> Proberesponse
func GetProberesponse(ctx *Context, name string, id IDInput, state *ProberesponseState, opts ...ResourceOption) (*Proberesponse, error)
public static Proberesponse Get(string name, Input<string> id, ProberesponseState? state, CustomResourceOptions? opts = null)
public static Proberesponse get(String name, Output<String> id, ProberesponseState 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.
- Http
Probe stringValue - Value to respond to the monitoring server.
- Mode string
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - Password string
- Twamp respondor password in authentication mode
- Port int
- Port number to response.
- Security
Mode string - Twamp respondor security mode. Valid values:
none
,authentication
. - Timeout int
- An inactivity timer for a twamp test session.
- Ttl
Mode string - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- Http
Probe stringValue - Value to respond to the monitoring server.
- Mode string
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - Password string
- Twamp respondor password in authentication mode
- Port int
- Port number to response.
- Security
Mode string - Twamp respondor security mode. Valid values:
none
,authentication
. - Timeout int
- An inactivity timer for a twamp test session.
- Ttl
Mode string - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http
Probe StringValue - Value to respond to the monitoring server.
- mode String
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password String
- Twamp respondor password in authentication mode
- port Integer
- Port number to response.
- security
Mode String - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout Integer
- An inactivity timer for a twamp test session.
- ttl
Mode String - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http
Probe stringValue - Value to respond to the monitoring server.
- mode string
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password string
- Twamp respondor password in authentication mode
- port number
- Port number to response.
- security
Mode string - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout number
- An inactivity timer for a twamp test session.
- ttl
Mode string - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http_
probe_ strvalue - Value to respond to the monitoring server.
- mode str
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password str
- Twamp respondor password in authentication mode
- port int
- Port number to response.
- security_
mode str - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout int
- An inactivity timer for a twamp test session.
- ttl_
mode str - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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.
- http
Probe StringValue - Value to respond to the monitoring server.
- mode String
- SLA response mode. Valid values:
none
,http-probe
,twamp
. - password String
- Twamp respondor password in authentication mode
- port Number
- Port number to response.
- security
Mode String - Twamp respondor security mode. Valid values:
none
,authentication
. - timeout Number
- An inactivity timer for a twamp test session.
- ttl
Mode String - Mode for TWAMP packet TTL modification. Valid values:
reinit
,decrease
,retain
. - 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
System ProbeResponse can be imported using any of these accepted formats:
$ pulumi import fortios:system/proberesponse:Proberesponse labelname SystemProbeResponse
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/proberesponse:Proberesponse labelname SystemProbeResponse
$ 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.