nsxt.LbHttpMonitor
Explore with Pulumi AI
Create LbHttpMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LbHttpMonitor(name: string, args?: LbHttpMonitorArgs, opts?: CustomResourceOptions);
@overload
def LbHttpMonitor(resource_name: str,
args: Optional[LbHttpMonitorArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def LbHttpMonitor(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_http_monitor_id: Optional[str] = None,
monitor_port: Optional[str] = None,
request_body: Optional[str] = None,
request_headers: Optional[Sequence[LbHttpMonitorRequestHeaderArgs]] = None,
request_method: Optional[str] = None,
request_url: Optional[str] = None,
request_version: Optional[str] = None,
response_body: Optional[str] = None,
response_status_codes: Optional[Sequence[float]] = None,
rise_count: Optional[float] = None,
tags: Optional[Sequence[LbHttpMonitorTagArgs]] = None,
timeout: Optional[float] = None)
func NewLbHttpMonitor(ctx *Context, name string, args *LbHttpMonitorArgs, opts ...ResourceOption) (*LbHttpMonitor, error)
public LbHttpMonitor(string name, LbHttpMonitorArgs? args = null, CustomResourceOptions? opts = null)
public LbHttpMonitor(String name, LbHttpMonitorArgs args)
public LbHttpMonitor(String name, LbHttpMonitorArgs args, CustomResourceOptions options)
type: nsxt:LbHttpMonitor
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 LbHttpMonitorArgs
- 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 LbHttpMonitorArgs
- 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 LbHttpMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbHttpMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbHttpMonitorArgs
- 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 lbHttpMonitorResource = new Nsxt.LbHttpMonitor("lbHttpMonitorResource", new()
{
Description = "string",
DisplayName = "string",
FallCount = 0,
Interval = 0,
LbHttpMonitorId = "string",
MonitorPort = "string",
RequestBody = "string",
RequestHeaders = new[]
{
new Nsxt.Inputs.LbHttpMonitorRequestHeaderArgs
{
Name = "string",
Value = "string",
},
},
RequestMethod = "string",
RequestUrl = "string",
RequestVersion = "string",
ResponseBody = "string",
ResponseStatusCodes = new[]
{
0,
},
RiseCount = 0,
Tags = new[]
{
new Nsxt.Inputs.LbHttpMonitorTagArgs
{
Scope = "string",
Tag = "string",
},
},
Timeout = 0,
});
example, err := nsxt.NewLbHttpMonitor(ctx, "lbHttpMonitorResource", &nsxt.LbHttpMonitorArgs{
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FallCount: pulumi.Float64(0),
Interval: pulumi.Float64(0),
LbHttpMonitorId: pulumi.String("string"),
MonitorPort: pulumi.String("string"),
RequestBody: pulumi.String("string"),
RequestHeaders: nsxt.LbHttpMonitorRequestHeaderArray{
&nsxt.LbHttpMonitorRequestHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
RequestMethod: pulumi.String("string"),
RequestUrl: pulumi.String("string"),
RequestVersion: pulumi.String("string"),
ResponseBody: pulumi.String("string"),
ResponseStatusCodes: pulumi.Float64Array{
pulumi.Float64(0),
},
RiseCount: pulumi.Float64(0),
Tags: nsxt.LbHttpMonitorTagArray{
&nsxt.LbHttpMonitorTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Timeout: pulumi.Float64(0),
})
var lbHttpMonitorResource = new LbHttpMonitor("lbHttpMonitorResource", LbHttpMonitorArgs.builder()
.description("string")
.displayName("string")
.fallCount(0)
.interval(0)
.lbHttpMonitorId("string")
.monitorPort("string")
.requestBody("string")
.requestHeaders(LbHttpMonitorRequestHeaderArgs.builder()
.name("string")
.value("string")
.build())
.requestMethod("string")
.requestUrl("string")
.requestVersion("string")
.responseBody("string")
.responseStatusCodes(0)
.riseCount(0)
.tags(LbHttpMonitorTagArgs.builder()
.scope("string")
.tag("string")
.build())
.timeout(0)
.build());
lb_http_monitor_resource = nsxt.LbHttpMonitor("lbHttpMonitorResource",
description="string",
display_name="string",
fall_count=0,
interval=0,
lb_http_monitor_id="string",
monitor_port="string",
request_body="string",
request_headers=[{
"name": "string",
"value": "string",
}],
request_method="string",
request_url="string",
request_version="string",
response_body="string",
response_status_codes=[0],
rise_count=0,
tags=[{
"scope": "string",
"tag": "string",
}],
timeout=0)
const lbHttpMonitorResource = new nsxt.LbHttpMonitor("lbHttpMonitorResource", {
description: "string",
displayName: "string",
fallCount: 0,
interval: 0,
lbHttpMonitorId: "string",
monitorPort: "string",
requestBody: "string",
requestHeaders: [{
name: "string",
value: "string",
}],
requestMethod: "string",
requestUrl: "string",
requestVersion: "string",
responseBody: "string",
responseStatusCodes: [0],
riseCount: 0,
tags: [{
scope: "string",
tag: "string",
}],
timeout: 0,
});
type: nsxt:LbHttpMonitor
properties:
description: string
displayName: string
fallCount: 0
interval: 0
lbHttpMonitorId: string
monitorPort: string
requestBody: string
requestHeaders:
- name: string
value: string
requestMethod: string
requestUrl: string
requestVersion: string
responseBody: string
responseStatusCodes:
- 0
riseCount: 0
tags:
- scope: string
tag: string
timeout: 0
LbHttpMonitor 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 LbHttpMonitor 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 that must fail before marking it down.
- Interval double
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Http stringMonitor Id - ID of the lb_http_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- Request
Body string - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers List<LbHttp Monitor Request Header> - HTTP request headers.
- Request
Method string - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- Request
Url string - URL used for HTTP monitor.
- Request
Version string - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- Response
Body string - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- Response
Status List<double>Codes - HTTP response status code should be a valid HTTP status code.
- Rise
Count double - Number of consecutive checks that must pass before marking it up.
- List<Lb
Http Monitor Tag> - A list of scope + tag pairs to associate with this lb http monitor.
- Timeout double
- Number of seconds the target has 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 that must fail before marking it down.
- Interval float64
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Http stringMonitor Id - ID of the lb_http_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- Request
Body string - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers []LbHttp Monitor Request Header Args - HTTP request headers.
- Request
Method string - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- Request
Url string - URL used for HTTP monitor.
- Request
Version string - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- Response
Body string - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- Response
Status []float64Codes - HTTP response status code should be a valid HTTP status code.
- Rise
Count float64 - Number of consecutive checks that must pass before marking it up.
- []Lb
Http Monitor Tag Args - A list of scope + tag pairs to associate with this lb http monitor.
- Timeout float64
- Number of seconds the target has 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 that must fail before marking it down.
- interval Double
- The frequency at which the system issues the monitor check (in seconds).
- lb
Http StringMonitor Id - ID of the lb_http_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request
Body String - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<LbHttp Monitor Request Header> - HTTP request headers.
- request
Method String - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request
Url String - URL used for HTTP monitor.
- request
Version String - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response
Body String - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response
Status List<Double>Codes - HTTP response status code should be a valid HTTP status code.
- rise
Count Double - Number of consecutive checks that must pass before marking it up.
- List<Lb
Http Monitor Tag> - A list of scope + tag pairs to associate with this lb http monitor.
- timeout Double
- Number of seconds the target has 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 that must fail before marking it down.
- interval number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Http stringMonitor Id - ID of the lb_http_monitor.
- monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request
Body string - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers LbHttp Monitor Request Header[] - HTTP request headers.
- request
Method string - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request
Url string - URL used for HTTP monitor.
- request
Version string - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response
Body string - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response
Status number[]Codes - HTTP response status code should be a valid HTTP status code.
- rise
Count number - Number of consecutive checks that must pass before marking it up.
- Lb
Http Monitor Tag[] - A list of scope + tag pairs to associate with this lb http monitor.
- timeout number
- Number of seconds the target has 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 that must fail before marking it down.
- interval float
- The frequency at which the system issues the monitor check (in seconds).
- lb_
http_ strmonitor_ id - ID of the lb_http_monitor.
- monitor_
port str - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request_
body str - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request_
headers Sequence[LbHttp Monitor Request Header Args] - HTTP request headers.
- request_
method str - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request_
url str - URL used for HTTP monitor.
- request_
version str - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response_
body str - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response_
status_ Sequence[float]codes - HTTP response status code should be a valid HTTP status code.
- rise_
count float - Number of consecutive checks that must pass before marking it up.
- Sequence[Lb
Http Monitor Tag Args] - A list of scope + tag pairs to associate with this lb http monitor.
- timeout float
- Number of seconds the target has 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 that must fail before marking it down.
- interval Number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Http StringMonitor Id - ID of the lb_http_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request
Body String - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<Property Map> - HTTP request headers.
- request
Method String - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request
Url String - URL used for HTTP monitor.
- request
Version String - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response
Body String - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response
Status List<Number>Codes - HTTP response status code should be a valid HTTP status code.
- rise
Count Number - Number of consecutive checks that must pass before marking it up.
- List<Property Map>
- A list of scope + tag pairs to associate with this lb http monitor.
- timeout Number
- Number of seconds the target has to respond to the monitor request.
Outputs
All input properties are implicitly available as output properties. Additionally, the LbHttpMonitor resource produces the following output properties:
Look up Existing LbHttpMonitor Resource
Get an existing LbHttpMonitor 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?: LbHttpMonitorState, opts?: CustomResourceOptions): LbHttpMonitor
@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_http_monitor_id: Optional[str] = None,
monitor_port: Optional[str] = None,
request_body: Optional[str] = None,
request_headers: Optional[Sequence[LbHttpMonitorRequestHeaderArgs]] = None,
request_method: Optional[str] = None,
request_url: Optional[str] = None,
request_version: Optional[str] = None,
response_body: Optional[str] = None,
response_status_codes: Optional[Sequence[float]] = None,
revision: Optional[float] = None,
rise_count: Optional[float] = None,
tags: Optional[Sequence[LbHttpMonitorTagArgs]] = None,
timeout: Optional[float] = None) -> LbHttpMonitor
func GetLbHttpMonitor(ctx *Context, name string, id IDInput, state *LbHttpMonitorState, opts ...ResourceOption) (*LbHttpMonitor, error)
public static LbHttpMonitor Get(string name, Input<string> id, LbHttpMonitorState? state, CustomResourceOptions? opts = null)
public static LbHttpMonitor get(String name, Output<String> id, LbHttpMonitorState state, CustomResourceOptions options)
resources: _: type: nsxt:LbHttpMonitor 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 that must fail before marking it down.
- Interval double
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Http stringMonitor Id - ID of the lb_http_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- Request
Body string - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers List<LbHttp Monitor Request Header> - HTTP request headers.
- Request
Method string - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- Request
Url string - URL used for HTTP monitor.
- Request
Version string - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- Response
Body string - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- Response
Status List<double>Codes - HTTP response status code should be a valid HTTP status code.
- 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 that must pass before marking it up.
- List<Lb
Http Monitor Tag> - A list of scope + tag pairs to associate with this lb http monitor.
- Timeout double
- Number of seconds the target has 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 that must fail before marking it down.
- Interval float64
- The frequency at which the system issues the monitor check (in seconds).
- Lb
Http stringMonitor Id - ID of the lb_http_monitor.
- Monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- Request
Body string - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers []LbHttp Monitor Request Header Args - HTTP request headers.
- Request
Method string - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- Request
Url string - URL used for HTTP monitor.
- Request
Version string - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- Response
Body string - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- Response
Status []float64Codes - HTTP response status code should be a valid HTTP status code.
- 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 that must pass before marking it up.
- []Lb
Http Monitor Tag Args - A list of scope + tag pairs to associate with this lb http monitor.
- Timeout float64
- Number of seconds the target has 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 that must fail before marking it down.
- interval Double
- The frequency at which the system issues the monitor check (in seconds).
- lb
Http StringMonitor Id - ID of the lb_http_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request
Body String - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<LbHttp Monitor Request Header> - HTTP request headers.
- request
Method String - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request
Url String - URL used for HTTP monitor.
- request
Version String - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response
Body String - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response
Status List<Double>Codes - HTTP response status code should be a valid HTTP status code.
- 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 that must pass before marking it up.
- List<Lb
Http Monitor Tag> - A list of scope + tag pairs to associate with this lb http monitor.
- timeout Double
- Number of seconds the target has 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 that must fail before marking it down.
- interval number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Http stringMonitor Id - ID of the lb_http_monitor.
- monitor
Port string - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request
Body string - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers LbHttp Monitor Request Header[] - HTTP request headers.
- request
Method string - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request
Url string - URL used for HTTP monitor.
- request
Version string - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response
Body string - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response
Status number[]Codes - HTTP response status code should be a valid HTTP status code.
- 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 that must pass before marking it up.
- Lb
Http Monitor Tag[] - A list of scope + tag pairs to associate with this lb http monitor.
- timeout number
- Number of seconds the target has 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 that must fail before marking it down.
- interval float
- The frequency at which the system issues the monitor check (in seconds).
- lb_
http_ strmonitor_ id - ID of the lb_http_monitor.
- monitor_
port str - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request_
body str - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request_
headers Sequence[LbHttp Monitor Request Header Args] - HTTP request headers.
- request_
method str - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request_
url str - URL used for HTTP monitor.
- request_
version str - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response_
body str - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response_
status_ Sequence[float]codes - HTTP response status code should be a valid HTTP status code.
- 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 that must pass before marking it up.
- Sequence[Lb
Http Monitor Tag Args] - A list of scope + tag pairs to associate with this lb http monitor.
- timeout float
- Number of seconds the target has 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 that must fail before marking it down.
- interval Number
- The frequency at which the system issues the monitor check (in seconds).
- lb
Http StringMonitor Id - ID of the lb_http_monitor.
- monitor
Port String - If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
- request
Body String - String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<Property Map> - HTTP request headers.
- request
Method String - Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
- request
Url String - URL used for HTTP monitor.
- request
Version String - HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
- response
Body String - If response body is specified, healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match (regular expressions not supported). If response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is among configured values.
- response
Status List<Number>Codes - HTTP response status code should be a valid HTTP status code.
- 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 that must pass before marking it up.
- List<Property Map>
- A list of scope + tag pairs to associate with this lb http monitor.
- timeout Number
- Number of seconds the target has to respond to the monitor request.
Supporting Types
LbHttpMonitorRequestHeader, LbHttpMonitorRequestHeaderArgs
LbHttpMonitorTag, LbHttpMonitorTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.