1. Packages
  2. Nsxt Provider
  3. API Docs
  4. LbHttpMonitor
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.LbHttpMonitor

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    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.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    FallCount 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).
    LbHttpMonitorId string
    ID of the lb_http_monitor.
    MonitorPort string
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    RequestBody string
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    RequestHeaders List<LbHttpMonitorRequestHeader>
    HTTP request headers.
    RequestMethod string
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    RequestUrl string
    URL used for HTTP monitor.
    RequestVersion string
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    ResponseBody 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.
    ResponseStatusCodes List<double>
    HTTP response status code should be a valid HTTP status code.
    RiseCount double
    Number of consecutive checks that must pass before marking it up.
    Tags List<LbHttpMonitorTag>
    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.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    FallCount 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).
    LbHttpMonitorId string
    ID of the lb_http_monitor.
    MonitorPort string
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    RequestBody string
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    RequestHeaders []LbHttpMonitorRequestHeaderArgs
    HTTP request headers.
    RequestMethod string
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    RequestUrl string
    URL used for HTTP monitor.
    RequestVersion string
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    ResponseBody 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.
    ResponseStatusCodes []float64
    HTTP response status code should be a valid HTTP status code.
    RiseCount float64
    Number of consecutive checks that must pass before marking it up.
    Tags []LbHttpMonitorTagArgs
    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.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    fallCount 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).
    lbHttpMonitorId String
    ID of the lb_http_monitor.
    monitorPort String
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    requestBody String
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    requestHeaders List<LbHttpMonitorRequestHeader>
    HTTP request headers.
    requestMethod String
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    requestUrl String
    URL used for HTTP monitor.
    requestVersion String
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    responseBody 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.
    responseStatusCodes List<Double>
    HTTP response status code should be a valid HTTP status code.
    riseCount Double
    Number of consecutive checks that must pass before marking it up.
    tags List<LbHttpMonitorTag>
    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.
    displayName string
    The display name of this resource. Defaults to ID if not set.
    fallCount 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).
    lbHttpMonitorId string
    ID of the lb_http_monitor.
    monitorPort string
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    requestBody string
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    requestHeaders LbHttpMonitorRequestHeader[]
    HTTP request headers.
    requestMethod string
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    requestUrl string
    URL used for HTTP monitor.
    requestVersion string
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    responseBody 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.
    responseStatusCodes number[]
    HTTP response status code should be a valid HTTP status code.
    riseCount number
    Number of consecutive checks that must pass before marking it up.
    tags LbHttpMonitorTag[]
    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_monitor_id str
    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[LbHttpMonitorRequestHeaderArgs]
    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_codes Sequence[float]
    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.
    tags Sequence[LbHttpMonitorTagArgs]
    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.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    fallCount 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).
    lbHttpMonitorId String
    ID of the lb_http_monitor.
    monitorPort String
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    requestBody String
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    requestHeaders List<Property Map>
    HTTP request headers.
    requestMethod String
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    requestUrl String
    URL used for HTTP monitor.
    requestVersion String
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    responseBody 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.
    responseStatusCodes List<Number>
    HTTP response status code should be a valid HTTP status code.
    riseCount Number
    Number of consecutive checks that must pass before marking it up.
    tags 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id string
    The provider-assigned unique ID for this managed resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id str
    The provider-assigned unique ID for this managed resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    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.
    The following state arguments are supported:
    Description string
    Description of this resource.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    FallCount 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).
    LbHttpMonitorId string
    ID of the lb_http_monitor.
    MonitorPort string
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    RequestBody string
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    RequestHeaders List<LbHttpMonitorRequestHeader>
    HTTP request headers.
    RequestMethod string
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    RequestUrl string
    URL used for HTTP monitor.
    RequestVersion string
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    ResponseBody 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.
    ResponseStatusCodes List<double>
    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.
    RiseCount double
    Number of consecutive checks that must pass before marking it up.
    Tags List<LbHttpMonitorTag>
    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.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    FallCount 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).
    LbHttpMonitorId string
    ID of the lb_http_monitor.
    MonitorPort string
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    RequestBody string
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    RequestHeaders []LbHttpMonitorRequestHeaderArgs
    HTTP request headers.
    RequestMethod string
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    RequestUrl string
    URL used for HTTP monitor.
    RequestVersion string
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    ResponseBody 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.
    ResponseStatusCodes []float64
    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.
    RiseCount float64
    Number of consecutive checks that must pass before marking it up.
    Tags []LbHttpMonitorTagArgs
    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.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    fallCount 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).
    lbHttpMonitorId String
    ID of the lb_http_monitor.
    monitorPort String
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    requestBody String
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    requestHeaders List<LbHttpMonitorRequestHeader>
    HTTP request headers.
    requestMethod String
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    requestUrl String
    URL used for HTTP monitor.
    requestVersion String
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    responseBody 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.
    responseStatusCodes List<Double>
    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.
    riseCount Double
    Number of consecutive checks that must pass before marking it up.
    tags List<LbHttpMonitorTag>
    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.
    displayName string
    The display name of this resource. Defaults to ID if not set.
    fallCount 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).
    lbHttpMonitorId string
    ID of the lb_http_monitor.
    monitorPort string
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    requestBody string
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    requestHeaders LbHttpMonitorRequestHeader[]
    HTTP request headers.
    requestMethod string
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    requestUrl string
    URL used for HTTP monitor.
    requestVersion string
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    responseBody 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.
    responseStatusCodes number[]
    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.
    riseCount number
    Number of consecutive checks that must pass before marking it up.
    tags LbHttpMonitorTag[]
    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_monitor_id str
    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[LbHttpMonitorRequestHeaderArgs]
    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_codes Sequence[float]
    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.
    tags Sequence[LbHttpMonitorTagArgs]
    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.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    fallCount 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).
    lbHttpMonitorId String
    ID of the lb_http_monitor.
    monitorPort String
    If the monitor port is specified, it would override pool member port setting for healthcheck. A port range is not supported.
    requestBody String
    String to send as HTTP health check request body. Valid only for certain HTTP methods like POST.
    requestHeaders List<Property Map>
    HTTP request headers.
    requestMethod String
    Health check method for HTTP monitor type. Valid values are GET, HEAD, PUT, POST and OPTIONS.
    requestUrl String
    URL used for HTTP monitor.
    requestVersion String
    HTTP request version. Valid values are HTTP_VERSION_1_0 and HTTP_VERSION_1_1.
    responseBody 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.
    responseStatusCodes List<Number>
    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.
    riseCount Number
    Number of consecutive checks that must pass before marking it up.
    tags 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

    Name string
    Header name
    Value string
    Header value
    Name string
    Header name
    Value string
    Header value
    name String
    Header name
    value String
    Header value
    name string
    Header name
    value string
    Header value
    name str
    Header name
    value str
    Header value
    name String
    Header name
    value String
    Header value

    LbHttpMonitorTag, LbHttpMonitorTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this lb http monitor.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this lb http monitor.
    scope String
    tag String
    A list of scope + tag pairs to associate with this lb http monitor.
    scope string
    tag string
    A list of scope + tag pairs to associate with this lb http monitor.
    scope str
    tag str
    A list of scope + tag pairs to associate with this lb http monitor.
    scope String
    tag String
    A list of scope + tag pairs to associate with this lb http monitor.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware