nsxt.PolicyLbHttpMonitorProfile
Explore with Pulumi AI
Create PolicyLbHttpMonitorProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyLbHttpMonitorProfile(name: string, args: PolicyLbHttpMonitorProfileArgs, opts?: CustomResourceOptions);
@overload
def PolicyLbHttpMonitorProfile(resource_name: str,
args: PolicyLbHttpMonitorProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyLbHttpMonitorProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
request_headers: Optional[Sequence[PolicyLbHttpMonitorProfileRequestHeaderArgs]] = None,
request_url: Optional[str] = None,
interval: Optional[float] = None,
monitor_port: Optional[float] = None,
nsx_id: Optional[str] = None,
policy_lb_http_monitor_profile_id: Optional[str] = None,
fall_count: Optional[float] = None,
request_body: Optional[str] = None,
request_method: Optional[str] = None,
description: 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[PolicyLbHttpMonitorProfileTagArgs]] = None,
timeout: Optional[float] = None)
func NewPolicyLbHttpMonitorProfile(ctx *Context, name string, args PolicyLbHttpMonitorProfileArgs, opts ...ResourceOption) (*PolicyLbHttpMonitorProfile, error)
public PolicyLbHttpMonitorProfile(string name, PolicyLbHttpMonitorProfileArgs args, CustomResourceOptions? opts = null)
public PolicyLbHttpMonitorProfile(String name, PolicyLbHttpMonitorProfileArgs args)
public PolicyLbHttpMonitorProfile(String name, PolicyLbHttpMonitorProfileArgs args, CustomResourceOptions options)
type: nsxt:PolicyLbHttpMonitorProfile
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 PolicyLbHttpMonitorProfileArgs
- 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 PolicyLbHttpMonitorProfileArgs
- 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 PolicyLbHttpMonitorProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyLbHttpMonitorProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyLbHttpMonitorProfileArgs
- 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 policyLbHttpMonitorProfileResource = new Nsxt.PolicyLbHttpMonitorProfile("policyLbHttpMonitorProfileResource", new()
{
DisplayName = "string",
RequestHeaders = new[]
{
new Nsxt.Inputs.PolicyLbHttpMonitorProfileRequestHeaderArgs
{
Name = "string",
Value = "string",
},
},
RequestUrl = "string",
Interval = 0,
MonitorPort = 0,
NsxId = "string",
PolicyLbHttpMonitorProfileId = "string",
FallCount = 0,
RequestBody = "string",
RequestMethod = "string",
Description = "string",
RequestVersion = "string",
ResponseBody = "string",
ResponseStatusCodes = new[]
{
0,
},
RiseCount = 0,
Tags = new[]
{
new Nsxt.Inputs.PolicyLbHttpMonitorProfileTagArgs
{
Scope = "string",
Tag = "string",
},
},
Timeout = 0,
});
example, err := nsxt.NewPolicyLbHttpMonitorProfile(ctx, "policyLbHttpMonitorProfileResource", &nsxt.PolicyLbHttpMonitorProfileArgs{
DisplayName: pulumi.String("string"),
RequestHeaders: nsxt.PolicyLbHttpMonitorProfileRequestHeaderArray{
&nsxt.PolicyLbHttpMonitorProfileRequestHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
RequestUrl: pulumi.String("string"),
Interval: pulumi.Float64(0),
MonitorPort: pulumi.Float64(0),
NsxId: pulumi.String("string"),
PolicyLbHttpMonitorProfileId: pulumi.String("string"),
FallCount: pulumi.Float64(0),
RequestBody: pulumi.String("string"),
RequestMethod: pulumi.String("string"),
Description: pulumi.String("string"),
RequestVersion: pulumi.String("string"),
ResponseBody: pulumi.String("string"),
ResponseStatusCodes: pulumi.Float64Array{
pulumi.Float64(0),
},
RiseCount: pulumi.Float64(0),
Tags: nsxt.PolicyLbHttpMonitorProfileTagArray{
&nsxt.PolicyLbHttpMonitorProfileTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Timeout: pulumi.Float64(0),
})
var policyLbHttpMonitorProfileResource = new PolicyLbHttpMonitorProfile("policyLbHttpMonitorProfileResource", PolicyLbHttpMonitorProfileArgs.builder()
.displayName("string")
.requestHeaders(PolicyLbHttpMonitorProfileRequestHeaderArgs.builder()
.name("string")
.value("string")
.build())
.requestUrl("string")
.interval(0)
.monitorPort(0)
.nsxId("string")
.policyLbHttpMonitorProfileId("string")
.fallCount(0)
.requestBody("string")
.requestMethod("string")
.description("string")
.requestVersion("string")
.responseBody("string")
.responseStatusCodes(0)
.riseCount(0)
.tags(PolicyLbHttpMonitorProfileTagArgs.builder()
.scope("string")
.tag("string")
.build())
.timeout(0)
.build());
policy_lb_http_monitor_profile_resource = nsxt.PolicyLbHttpMonitorProfile("policyLbHttpMonitorProfileResource",
display_name="string",
request_headers=[{
"name": "string",
"value": "string",
}],
request_url="string",
interval=0,
monitor_port=0,
nsx_id="string",
policy_lb_http_monitor_profile_id="string",
fall_count=0,
request_body="string",
request_method="string",
description="string",
request_version="string",
response_body="string",
response_status_codes=[0],
rise_count=0,
tags=[{
"scope": "string",
"tag": "string",
}],
timeout=0)
const policyLbHttpMonitorProfileResource = new nsxt.PolicyLbHttpMonitorProfile("policyLbHttpMonitorProfileResource", {
displayName: "string",
requestHeaders: [{
name: "string",
value: "string",
}],
requestUrl: "string",
interval: 0,
monitorPort: 0,
nsxId: "string",
policyLbHttpMonitorProfileId: "string",
fallCount: 0,
requestBody: "string",
requestMethod: "string",
description: "string",
requestVersion: "string",
responseBody: "string",
responseStatusCodes: [0],
riseCount: 0,
tags: [{
scope: "string",
tag: "string",
}],
timeout: 0,
});
type: nsxt:PolicyLbHttpMonitorProfile
properties:
description: string
displayName: string
fallCount: 0
interval: 0
monitorPort: 0
nsxId: string
policyLbHttpMonitorProfileId: 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
PolicyLbHttpMonitorProfile 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 PolicyLbHttpMonitorProfile resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Fall
Count double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Monitor
Port double - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Lb stringHttp Monitor Profile Id - ID of the resource.
- Request
Body string - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers List<PolicyLb Http Monitor Profile Request Header> - Array of HTTP request headers.
- Request
Method string - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - Request
Url string - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- Request
Version string - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - Response
Body string - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- Response
Status List<double>Codes - The HTTP response status code should be a valid HTTP status code.
- Rise
Count double - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Http Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Timeout double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- Display
Name string - Display name of the resource.
- Description string
- Description of the resource.
- Fall
Count float64 - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval float64
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Monitor
Port float64 - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Lb stringHttp Monitor Profile Id - ID of the resource.
- Request
Body string - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers []PolicyLb Http Monitor Profile Request Header Args - Array of HTTP request headers.
- Request
Method string - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - Request
Url string - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- Request
Version string - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - Response
Body string - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- Response
Status []float64Codes - The HTTP response status code should be a valid HTTP status code.
- Rise
Count float64 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- []Policy
Lb Http Monitor Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- Timeout float64
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display
Name String - Display name of the resource.
- description String
- Description of the resource.
- fall
Count Double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor
Port Double - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Lb StringHttp Monitor Profile Id - ID of the resource.
- request
Body String - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<PolicyLb Http Monitor Profile Request Header> - Array of HTTP request headers.
- request
Method String - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request
Url String - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request
Version String - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response
Body String - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response
Status List<Double>Codes - The HTTP response status code should be a valid HTTP status code.
- rise
Count Double - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Http Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- timeout Double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display
Name string - Display name of the resource.
- description string
- Description of the resource.
- fall
Count number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor
Port number - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Lb stringHttp Monitor Profile Id - ID of the resource.
- request
Body string - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers PolicyLb Http Monitor Profile Request Header[] - Array of HTTP request headers.
- request
Method string - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request
Url string - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request
Version string - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response
Body string - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response
Status number[]Codes - The HTTP response status code should be a valid HTTP status code.
- rise
Count number - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Policy
Lb Http Monitor Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- timeout number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display_
name str - Display name of the resource.
- description str
- Description of the resource.
- fall_
count float - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval float
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor_
port float - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
lb_ strhttp_ monitor_ profile_ id - ID of the resource.
- request_
body str - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request_
headers Sequence[PolicyLb Http Monitor Profile Request Header Args] - Array of HTTP request headers.
- request_
method str - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request_
url str - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request_
version str - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response_
body str - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response_
status_ Sequence[float]codes - The HTTP response status code should be a valid HTTP status code.
- rise_
count float - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Sequence[Policy
Lb Http Monitor Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- timeout float
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- display
Name String - Display name of the resource.
- description String
- Description of the resource.
- fall
Count Number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor
Port Number - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Lb StringHttp Monitor Profile Id - ID of the resource.
- request
Body String - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<Property Map> - Array of HTTP request headers.
- request
Method String - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request
Url String - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request
Version String - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response
Body String - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response
Status List<Number>Codes - The HTTP response status code should be a valid HTTP status code.
- rise
Count Number - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- timeout Number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyLbHttpMonitorProfile resource produces the following output properties:
Look up Existing PolicyLbHttpMonitorProfile Resource
Get an existing PolicyLbHttpMonitorProfile 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?: PolicyLbHttpMonitorProfileState, opts?: CustomResourceOptions): PolicyLbHttpMonitorProfile
@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,
monitor_port: Optional[float] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_lb_http_monitor_profile_id: Optional[str] = None,
request_body: Optional[str] = None,
request_headers: Optional[Sequence[PolicyLbHttpMonitorProfileRequestHeaderArgs]] = 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[PolicyLbHttpMonitorProfileTagArgs]] = None,
timeout: Optional[float] = None) -> PolicyLbHttpMonitorProfile
func GetPolicyLbHttpMonitorProfile(ctx *Context, name string, id IDInput, state *PolicyLbHttpMonitorProfileState, opts ...ResourceOption) (*PolicyLbHttpMonitorProfile, error)
public static PolicyLbHttpMonitorProfile Get(string name, Input<string> id, PolicyLbHttpMonitorProfileState? state, CustomResourceOptions? opts = null)
public static PolicyLbHttpMonitorProfile get(String name, Output<String> id, PolicyLbHttpMonitorProfileState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyLbHttpMonitorProfile 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 the resource.
- Display
Name string - Display name of the resource.
- Fall
Count double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Monitor
Port double - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Lb stringHttp Monitor Profile Id - ID of the resource.
- Request
Body string - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers List<PolicyLb Http Monitor Profile Request Header> - Array of HTTP request headers.
- Request
Method string - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - Request
Url string - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- Request
Version string - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - Response
Body string - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- Response
Status List<double>Codes - The 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 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Http Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- Timeout double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Fall
Count float64 - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- Interval float64
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- Monitor
Port float64 - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Lb stringHttp Monitor Profile Id - ID of the resource.
- Request
Body string - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- Request
Headers []PolicyLb Http Monitor Profile Request Header Args - Array of HTTP request headers.
- Request
Method string - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - Request
Url string - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- Request
Version string - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - Response
Body string - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- Response
Status []float64Codes - The 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 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- []Policy
Lb Http Monitor Profile Tag Args - A list of scope + tag pairs to associate with this resource.
- Timeout float64
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- fall
Count Double - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Double
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor
Port Double - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Lb StringHttp Monitor Profile Id - ID of the resource.
- request
Body String - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<PolicyLb Http Monitor Profile Request Header> - Array of HTTP request headers.
- request
Method String - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request
Url String - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request
Version String - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response
Body String - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response
Status List<Double>Codes - The 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 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Policy
Lb Http Monitor Profile Tag> - A list of scope + tag pairs to associate with this resource.
- timeout Double
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- fall
Count number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor
Port number - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Lb stringHttp Monitor Profile Id - ID of the resource.
- request
Body string - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers PolicyLb Http Monitor Profile Request Header[] - Array of HTTP request headers.
- request
Method string - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request
Url string - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request
Version string - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response
Body string - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response
Status number[]Codes - The 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 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Policy
Lb Http Monitor Profile Tag[] - A list of scope + tag pairs to associate with this resource.
- timeout number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- fall_
count float - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval float
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor_
port float - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX path of the policy resource.
- policy_
lb_ strhttp_ monitor_ profile_ id - ID of the resource.
- request_
body str - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request_
headers Sequence[PolicyLb Http Monitor Profile Request Header Args] - Array of HTTP request headers.
- request_
method str - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request_
url str - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request_
version str - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response_
body str - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response_
status_ Sequence[float]codes - The 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 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- Sequence[Policy
Lb Http Monitor Profile Tag Args] - A list of scope + tag pairs to associate with this resource.
- timeout float
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- fall
Count Number - Mark member status DOWN if the healtcheck fails consecutively for fall_count times.
- interval Number
- Active healthchecks are initiated periodically, at a configurable interval (in seconds), to each member of the Group.
- monitor
Port Number - Typically, monitors perform healthchecks to Group members using the member IP address and pool_port. However, in some cases, customers prefer to run healthchecks against a different port than the pool member port which handles actual application traffic. In such cases, the port to run healthchecks against can be specified in the monitor_port value.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Lb StringHttp Monitor Profile Id - ID of the resource.
- request
Body String - String to send as part of HTTP health check request body. Valid only for certain HTTP methods like POST.
- request
Headers List<Property Map> - Array of HTTP request headers.
- request
Method String - Possible values are:
GET
,OPTIONS
,POST
,HEAD
,PUT
. - request
Url String - For HTTP active healthchecks, the HTTP request url sent can be customized and can include query parameters.
- request
Version String - Possible values are:
HTTP_VERSION_1_0
,HTTP_VERSION_1_1
, HTTP request version. - response
Body String - If HTTP response body match string (regular expressions not supported) is specified then the healthcheck HTTP response body is matched against the specified string and server is considered healthy only if there is a match. If the response body string is not specified, HTTP healthcheck is considered successful if the HTTP response status code is 2xx, but it can be configured to accept other status codes as successful.
- response
Status List<Number>Codes - The 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 - Bring a DOWN member UP if rise_count successive healthchecks succeed.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- timeout Number
- Timeout specified in seconds. After a healthcheck is initiated, if it does not complete within a certain period, then also the healthcheck is considered to be unsuccessful. Completing a healthcheck within timeout means establishing a connection (TCP or SSL), if applicable, sending the request and receiving the response, all within the configured timeout.
Supporting Types
PolicyLbHttpMonitorProfileRequestHeader, PolicyLbHttpMonitorProfileRequestHeaderArgs
PolicyLbHttpMonitorProfileTag, PolicyLbHttpMonitorProfileTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.