nsxt.LbTcpMonitor
Explore with Pulumi AI
Create LbTcpMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbTcpMonitor(name: string, args?: LbTcpMonitorArgs, opts?: CustomResourceOptions);
@overload
def LbTcpMonitor(resource_name: str,
args: Optional[LbTcpMonitorArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def LbTcpMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
fall_count: Optional[float] = None,
interval: Optional[float] = None,
lb_tcp_monitor_id: Optional[str] = None,
monitor_port: Optional[str] = None,
receive: Optional[str] = None,
rise_count: Optional[float] = None,
send: Optional[str] = None,
tags: Optional[Sequence[LbTcpMonitorTagArgs]] = None,
timeout: Optional[float] = None)
func NewLbTcpMonitor(ctx *Context, name string, args *LbTcpMonitorArgs, opts ...ResourceOption) (*LbTcpMonitor, error)
public LbTcpMonitor(string name, LbTcpMonitorArgs? args = null, CustomResourceOptions? opts = null)
public LbTcpMonitor(String name, LbTcpMonitorArgs args)
public LbTcpMonitor(String name, LbTcpMonitorArgs args, CustomResourceOptions options)
type: nsxt:LbTcpMonitor
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 LbTcpMonitorArgs
- 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 LbTcpMonitorArgs
- 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 LbTcpMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbTcpMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbTcpMonitorArgs
- 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 lbTcpMonitorResource = new Nsxt.LbTcpMonitor("lbTcpMonitorResource", new()
{
Description = "string",
DisplayName = "string",
FallCount = 0,
Interval = 0,
LbTcpMonitorId = "string",
MonitorPort = "string",
Receive = "string",
RiseCount = 0,
Send = "string",
Tags = new[]
{
new Nsxt.Inputs.LbTcpMonitorTagArgs
{
Scope = "string",
Tag = "string",
},
},
Timeout = 0,
});
example, err := nsxt.NewLbTcpMonitor(ctx, "lbTcpMonitorResource", &nsxt.LbTcpMonitorArgs{
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FallCount: pulumi.Float64(0),
Interval: pulumi.Float64(0),
LbTcpMonitorId: pulumi.String("string"),
MonitorPort: pulumi.String("string"),
Receive: pulumi.String("string"),
RiseCount: pulumi.Float64(0),
Send: pulumi.String("string"),
Tags: nsxt.LbTcpMonitorTagArray{
&nsxt.LbTcpMonitorTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Timeout: pulumi.Float64(0),
})
var lbTcpMonitorResource = new LbTcpMonitor("lbTcpMonitorResource", LbTcpMonitorArgs.builder()
.description("string")
.displayName("string")
.fallCount(0)
.interval(0)
.lbTcpMonitorId("string")
.monitorPort("string")
.receive("string")
.riseCount(0)
.send("string")
.tags(LbTcpMonitorTagArgs.builder()
.scope("string")
.tag("string")
.build())
.timeout(0)
.build());
lb_tcp_monitor_resource = nsxt.LbTcpMonitor("lbTcpMonitorResource",
description="string",
display_name="string",
fall_count=0,
interval=0,
lb_tcp_monitor_id="string",
monitor_port="string",
receive="string",
rise_count=0,
send="string",
tags=[{
"scope": "string",
"tag": "string",
}],
timeout=0)
const lbTcpMonitorResource = new nsxt.LbTcpMonitor("lbTcpMonitorResource", {
description: "string",
displayName: "string",
fallCount: 0,
interval: 0,
lbTcpMonitorId: "string",
monitorPort: "string",
receive: "string",
riseCount: 0,
send: "string",
tags: [{
scope: "string",
tag: "string",
}],
timeout: 0,
});
type: nsxt:LbTcpMonitor
properties:
description: string
displayName: string
fallCount: 0
interval: 0
lbTcpMonitorId: string
monitorPort: string
receive: string
riseCount: 0
send: string
tags:
- scope: string
tag: string
timeout: 0
LbTcpMonitor 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 LbTcpMonitor resource accepts the following input properties:
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Fall
Count double - Number of consecutive checks must fail before marking it down.
- Interval double
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Tcp stringMonitor Id - ID of the lb_tcp_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- Receive string
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- Rise
Count double - Number of consecutive checks must pass before marking it up.
- Send string
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- List<Lb
Tcp Monitor Tag> - A list of scope + tag pairs to associate with this lb tcp monitor.
- Timeout double
- Number of seconds the target has in which to respond to the monitor request.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Fall
Count float64 - Number of consecutive checks must fail before marking it down.
- Interval float64
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Tcp stringMonitor Id - ID of the lb_tcp_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- Receive string
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- Rise
Count float64 - Number of consecutive checks must pass before marking it up.
- Send string
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- []Lb
Tcp Monitor Tag Args - A list of scope + tag pairs to associate with this lb tcp monitor.
- Timeout float64
- Number of seconds the target has in which to respond to the monitor request.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- fall
Count Double - Number of consecutive checks must fail before marking it down.
- interval Double
- The frequency at which the system issues the monitor check (in seconds).
- lb
Tcp StringMonitor Id - ID of the lb_tcp_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive String
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- rise
Count Double - Number of consecutive checks must pass before marking it up.
- send String
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- List<Lb
Tcp Monitor Tag> - A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout Double
- Number of seconds the target has in which to respond to the monitor request.
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- fall
Count number - Number of consecutive checks must fail before marking it down.
- interval number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Tcp stringMonitor Id - ID of the lb_tcp_monitor.
- monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive string
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- rise
Count number - Number of consecutive checks must pass before marking it up.
- send string
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- Lb
Tcp Monitor Tag[] - A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout number
- Number of seconds the target has in which to respond to the monitor request.
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- fall_
count float - Number of consecutive checks must fail before marking it down.
- interval float
- The frequency at which the system issues the monitor check (in seconds).
- lb_
tcp_ strmonitor_ id - ID of the lb_tcp_monitor.
- monitor_
port str - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive str
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- rise_
count float - Number of consecutive checks must pass before marking it up.
- send str
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- Sequence[Lb
Tcp Monitor Tag Args] - A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout float
- Number of seconds the target has in which to respond to the monitor request.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- fall
Count Number - Number of consecutive checks must fail before marking it down.
- interval Number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Tcp StringMonitor Id - ID of the lb_tcp_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive String
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- rise
Count Number - Number of consecutive checks must pass before marking it up.
- send String
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- List<Property Map>
- A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout Number
- Number of seconds the target has in which to respond to the monitor request.
Outputs
All input properties are implicitly available as output properties. Additionally, the LbTcpMonitor resource produces the following output properties:
Look up Existing LbTcpMonitor Resource
Get an existing LbTcpMonitor 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?: LbTcpMonitorState, opts?: CustomResourceOptions): LbTcpMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
fall_count: Optional[float] = None,
interval: Optional[float] = None,
lb_tcp_monitor_id: Optional[str] = None,
monitor_port: Optional[str] = None,
receive: Optional[str] = None,
revision: Optional[float] = None,
rise_count: Optional[float] = None,
send: Optional[str] = None,
tags: Optional[Sequence[LbTcpMonitorTagArgs]] = None,
timeout: Optional[float] = None) -> LbTcpMonitor
func GetLbTcpMonitor(ctx *Context, name string, id IDInput, state *LbTcpMonitorState, opts ...ResourceOption) (*LbTcpMonitor, error)
public static LbTcpMonitor Get(string name, Input<string> id, LbTcpMonitorState? state, CustomResourceOptions? opts = null)
public static LbTcpMonitor get(String name, Output<String> id, LbTcpMonitorState state, CustomResourceOptions options)
resources: _: type: nsxt:LbTcpMonitor get: id: ${id}
- 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.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Fall
Count double - Number of consecutive checks must fail before marking it down.
- Interval double
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Tcp stringMonitor Id - ID of the lb_tcp_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- Receive string
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rise
Count double - Number of consecutive checks must pass before marking it up.
- Send string
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- List<Lb
Tcp Monitor Tag> - A list of scope + tag pairs to associate with this lb tcp monitor.
- Timeout double
- Number of seconds the target has in which to respond to the monitor request.
- Description string
- Description of this resource.
- Display
Name string - The display name of this resource. Defaults to ID if not set.
- Fall
Count float64 - Number of consecutive checks must fail before marking it down.
- Interval float64
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Tcp stringMonitor Id - ID of the lb_tcp_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- Receive string
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Rise
Count float64 - Number of consecutive checks must pass before marking it up.
- Send string
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- []Lb
Tcp Monitor Tag Args - A list of scope + tag pairs to associate with this lb tcp monitor.
- Timeout float64
- Number of seconds the target has in which to respond to the monitor request.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- fall
Count Double - Number of consecutive checks must fail before marking it down.
- interval Double
- The frequency at which the system issues the monitor check (in seconds).
- lb
Tcp StringMonitor Id - ID of the lb_tcp_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive String
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise
Count Double - Number of consecutive checks must pass before marking it up.
- send String
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- List<Lb
Tcp Monitor Tag> - A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout Double
- Number of seconds the target has in which to respond to the monitor request.
- description string
- Description of this resource.
- display
Name string - The display name of this resource. Defaults to ID if not set.
- fall
Count number - Number of consecutive checks must fail before marking it down.
- interval number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Tcp stringMonitor Id - ID of the lb_tcp_monitor.
- monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive string
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise
Count number - Number of consecutive checks must pass before marking it up.
- send string
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- Lb
Tcp Monitor Tag[] - A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout number
- Number of seconds the target has in which to respond to the monitor request.
- description str
- Description of this resource.
- display_
name str - The display name of this resource. Defaults to ID if not set.
- fall_
count float - Number of consecutive checks must fail before marking it down.
- interval float
- The frequency at which the system issues the monitor check (in seconds).
- lb_
tcp_ strmonitor_ id - ID of the lb_tcp_monitor.
- monitor_
port str - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive str
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise_
count float - Number of consecutive checks must pass before marking it up.
- send str
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- Sequence[Lb
Tcp Monitor Tag Args] - A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout float
- Number of seconds the target has in which to respond to the monitor request.
- description String
- Description of this resource.
- display
Name String - The display name of this resource. Defaults to ID if not set.
- fall
Count Number - Number of consecutive checks must fail before marking it down.
- interval Number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Tcp StringMonitor Id - ID of the lb_tcp_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. Port range is not supported.
- receive String
- Expected data, if specified, can be anywhere in the response and it has to be a string, regular expressions are not supported.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- rise
Count Number - Number of consecutive checks must pass before marking it up.
- send String
- Payload to send out to the monitored server. If both send and receive are not specified, then just a TCP connection is established (3-way handshake) to validate server is healthy, no data is sent.
- List<Property Map>
- A list of scope + tag pairs to associate with this lb tcp monitor.
- timeout Number
- Number of seconds the target has in which to respond to the monitor request.
Supporting Types
LbTcpMonitorTag, LbTcpMonitorTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.