1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. LbMonitorV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.LbMonitorV2

Explore with Pulumi AI

Manages an enhanced load balancer monitor resource within FlexibleEngine.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const monitor1 = new flexibleengine.LbMonitorV2("monitor1", {
    poolId: flexibleengine_lb_pool_v2.pool_1.id,
    type: "PING",
    delay: 20,
    timeout: 10,
    maxRetries: 5,
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

monitor1 = flexibleengine.LbMonitorV2("monitor1",
    pool_id=flexibleengine_lb_pool_v2["pool_1"]["id"],
    type="PING",
    delay=20,
    timeout=10,
    max_retries=5)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewLbMonitorV2(ctx, "monitor1", &flexibleengine.LbMonitorV2Args{
			PoolId:     pulumi.Any(flexibleengine_lb_pool_v2.Pool_1.Id),
			Type:       pulumi.String("PING"),
			Delay:      pulumi.Float64(20),
			Timeout:    pulumi.Float64(10),
			MaxRetries: pulumi.Float64(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var monitor1 = new Flexibleengine.LbMonitorV2("monitor1", new()
    {
        PoolId = flexibleengine_lb_pool_v2.Pool_1.Id,
        Type = "PING",
        Delay = 20,
        Timeout = 10,
        MaxRetries = 5,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.LbMonitorV2;
import com.pulumi.flexibleengine.LbMonitorV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var monitor1 = new LbMonitorV2("monitor1", LbMonitorV2Args.builder()
            .poolId(flexibleengine_lb_pool_v2.pool_1().id())
            .type("PING")
            .delay(20)
            .timeout(10)
            .maxRetries(5)
            .build());

    }
}
Copy
resources:
  monitor1:
    type: flexibleengine:LbMonitorV2
    properties:
      poolId: ${flexibleengine_lb_pool_v2.pool_1.id}
      type: PING
      delay: 20
      timeout: 10
      maxRetries: 5
Copy

Create LbMonitorV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LbMonitorV2(name: string, args: LbMonitorV2Args, opts?: CustomResourceOptions);
@overload
def LbMonitorV2(resource_name: str,
                args: LbMonitorV2Args,
                opts: Optional[ResourceOptions] = None)

@overload
def LbMonitorV2(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                max_retries: Optional[float] = None,
                delay: Optional[float] = None,
                type: Optional[str] = None,
                timeout: Optional[float] = None,
                pool_id: Optional[str] = None,
                name: Optional[str] = None,
                admin_state_up: Optional[bool] = None,
                lb_monitor_v2_id: Optional[str] = None,
                port: Optional[float] = None,
                region: Optional[str] = None,
                tenant_id: Optional[str] = None,
                http_method: Optional[str] = None,
                timeouts: Optional[LbMonitorV2TimeoutsArgs] = None,
                expected_codes: Optional[str] = None,
                url_path: Optional[str] = None)
func NewLbMonitorV2(ctx *Context, name string, args LbMonitorV2Args, opts ...ResourceOption) (*LbMonitorV2, error)
public LbMonitorV2(string name, LbMonitorV2Args args, CustomResourceOptions? opts = null)
public LbMonitorV2(String name, LbMonitorV2Args args)
public LbMonitorV2(String name, LbMonitorV2Args args, CustomResourceOptions options)
type: flexibleengine:LbMonitorV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LbMonitorV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LbMonitorV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LbMonitorV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LbMonitorV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LbMonitorV2Args
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 lbMonitorV2Resource = new Flexibleengine.LbMonitorV2("lbMonitorV2Resource", new()
{
    MaxRetries = 0,
    Delay = 0,
    Type = "string",
    Timeout = 0,
    PoolId = "string",
    Name = "string",
    LbMonitorV2Id = "string",
    Port = 0,
    Region = "string",
    HttpMethod = "string",
    Timeouts = new Flexibleengine.Inputs.LbMonitorV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    ExpectedCodes = "string",
    UrlPath = "string",
});
Copy
example, err := flexibleengine.NewLbMonitorV2(ctx, "lbMonitorV2Resource", &flexibleengine.LbMonitorV2Args{
MaxRetries: pulumi.Float64(0),
Delay: pulumi.Float64(0),
Type: pulumi.String("string"),
Timeout: pulumi.Float64(0),
PoolId: pulumi.String("string"),
Name: pulumi.String("string"),
LbMonitorV2Id: pulumi.String("string"),
Port: pulumi.Float64(0),
Region: pulumi.String("string"),
HttpMethod: pulumi.String("string"),
Timeouts: &.LbMonitorV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ExpectedCodes: pulumi.String("string"),
UrlPath: pulumi.String("string"),
})
Copy
var lbMonitorV2Resource = new LbMonitorV2("lbMonitorV2Resource", LbMonitorV2Args.builder()
    .maxRetries(0)
    .delay(0)
    .type("string")
    .timeout(0)
    .poolId("string")
    .name("string")
    .lbMonitorV2Id("string")
    .port(0)
    .region("string")
    .httpMethod("string")
    .timeouts(LbMonitorV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .expectedCodes("string")
    .urlPath("string")
    .build());
Copy
lb_monitor_v2_resource = flexibleengine.LbMonitorV2("lbMonitorV2Resource",
    max_retries=0,
    delay=0,
    type="string",
    timeout=0,
    pool_id="string",
    name="string",
    lb_monitor_v2_id="string",
    port=0,
    region="string",
    http_method="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    expected_codes="string",
    url_path="string")
Copy
const lbMonitorV2Resource = new flexibleengine.LbMonitorV2("lbMonitorV2Resource", {
    maxRetries: 0,
    delay: 0,
    type: "string",
    timeout: 0,
    poolId: "string",
    name: "string",
    lbMonitorV2Id: "string",
    port: 0,
    region: "string",
    httpMethod: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    expectedCodes: "string",
    urlPath: "string",
});
Copy
type: flexibleengine:LbMonitorV2
properties:
    delay: 0
    expectedCodes: string
    httpMethod: string
    lbMonitorV2Id: string
    maxRetries: 0
    name: string
    poolId: string
    port: 0
    region: string
    timeout: 0
    timeouts:
        create: string
        delete: string
        update: string
    type: string
    urlPath: string
Copy

LbMonitorV2 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 LbMonitorV2 resource accepts the following input properties:

Delay This property is required. double
The time, in seconds, between sending probes to members.
MaxRetries This property is required. double
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
PoolId This property is required. string
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
Timeout This property is required. double
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
Type This property is required. string
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
AdminStateUp bool

Deprecated: Deprecated

ExpectedCodes string
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
HttpMethod string
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
LbMonitorV2Id string
The unique ID for the monitor.
Name string
The Name of the Monitor.
Port double
Specifies the health check port. The value ranges from 1 to 65536.
Region string
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeouts LbMonitorV2Timeouts
UrlPath string
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
Delay This property is required. float64
The time, in seconds, between sending probes to members.
MaxRetries This property is required. float64
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
PoolId This property is required. string
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
Timeout This property is required. float64
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
Type This property is required. string
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
AdminStateUp bool

Deprecated: Deprecated

ExpectedCodes string
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
HttpMethod string
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
LbMonitorV2Id string
The unique ID for the monitor.
Name string
The Name of the Monitor.
Port float64
Specifies the health check port. The value ranges from 1 to 65536.
Region string
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeouts LbMonitorV2TimeoutsArgs
UrlPath string
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
delay This property is required. Double
The time, in seconds, between sending probes to members.
maxRetries This property is required. Double
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
poolId This property is required. String
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
timeout This property is required. Double
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
type This property is required. String
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
adminStateUp Boolean

Deprecated: Deprecated

expectedCodes String
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
httpMethod String
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lbMonitorV2Id String
The unique ID for the monitor.
name String
The Name of the Monitor.
port Double
Specifies the health check port. The value ranges from 1 to 65536.
region String
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeouts LbMonitorV2Timeouts
urlPath String
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
delay This property is required. number
The time, in seconds, between sending probes to members.
maxRetries This property is required. number
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
poolId This property is required. string
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
timeout This property is required. number
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
type This property is required. string
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
adminStateUp boolean

Deprecated: Deprecated

expectedCodes string
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
httpMethod string
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lbMonitorV2Id string
The unique ID for the monitor.
name string
The Name of the Monitor.
port number
Specifies the health check port. The value ranges from 1 to 65536.
region string
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenantId string

Deprecated: Deprecated

timeouts LbMonitorV2Timeouts
urlPath string
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
delay This property is required. float
The time, in seconds, between sending probes to members.
max_retries This property is required. float
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
pool_id This property is required. str
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
timeout This property is required. float
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
type This property is required. str
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
admin_state_up bool

Deprecated: Deprecated

expected_codes str
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
http_method str
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lb_monitor_v2_id str
The unique ID for the monitor.
name str
The Name of the Monitor.
port float
Specifies the health check port. The value ranges from 1 to 65536.
region str
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenant_id str

Deprecated: Deprecated

timeouts LbMonitorV2TimeoutsArgs
url_path str
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
delay This property is required. Number
The time, in seconds, between sending probes to members.
maxRetries This property is required. Number
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
poolId This property is required. String
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
timeout This property is required. Number
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
type This property is required. String
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
adminStateUp Boolean

Deprecated: Deprecated

expectedCodes String
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
httpMethod String
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lbMonitorV2Id String
The unique ID for the monitor.
name String
The Name of the Monitor.
port Number
Specifies the health check port. The value ranges from 1 to 65536.
region String
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeouts Property Map
urlPath String
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.

Outputs

All input properties are implicitly available as output properties. Additionally, the LbMonitorV2 resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing LbMonitorV2 Resource

Get an existing LbMonitorV2 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?: LbMonitorV2State, opts?: CustomResourceOptions): LbMonitorV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_state_up: Optional[bool] = None,
        delay: Optional[float] = None,
        expected_codes: Optional[str] = None,
        http_method: Optional[str] = None,
        lb_monitor_v2_id: Optional[str] = None,
        max_retries: Optional[float] = None,
        name: Optional[str] = None,
        pool_id: Optional[str] = None,
        port: Optional[float] = None,
        region: Optional[str] = None,
        tenant_id: Optional[str] = None,
        timeout: Optional[float] = None,
        timeouts: Optional[LbMonitorV2TimeoutsArgs] = None,
        type: Optional[str] = None,
        url_path: Optional[str] = None) -> LbMonitorV2
func GetLbMonitorV2(ctx *Context, name string, id IDInput, state *LbMonitorV2State, opts ...ResourceOption) (*LbMonitorV2, error)
public static LbMonitorV2 Get(string name, Input<string> id, LbMonitorV2State? state, CustomResourceOptions? opts = null)
public static LbMonitorV2 get(String name, Output<String> id, LbMonitorV2State state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:LbMonitorV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AdminStateUp bool

Deprecated: Deprecated

Delay double
The time, in seconds, between sending probes to members.
ExpectedCodes string
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
HttpMethod string
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
LbMonitorV2Id string
The unique ID for the monitor.
MaxRetries double
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
Name string
The Name of the Monitor.
PoolId string
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
Port double
Specifies the health check port. The value ranges from 1 to 65536.
Region string
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeout double
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
Timeouts LbMonitorV2Timeouts
Type string
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
UrlPath string
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
AdminStateUp bool

Deprecated: Deprecated

Delay float64
The time, in seconds, between sending probes to members.
ExpectedCodes string
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
HttpMethod string
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
LbMonitorV2Id string
The unique ID for the monitor.
MaxRetries float64
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
Name string
The Name of the Monitor.
PoolId string
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
Port float64
Specifies the health check port. The value ranges from 1 to 65536.
Region string
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeout float64
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
Timeouts LbMonitorV2TimeoutsArgs
Type string
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
UrlPath string
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
adminStateUp Boolean

Deprecated: Deprecated

delay Double
The time, in seconds, between sending probes to members.
expectedCodes String
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
httpMethod String
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lbMonitorV2Id String
The unique ID for the monitor.
maxRetries Double
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
name String
The Name of the Monitor.
poolId String
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
port Double
Specifies the health check port. The value ranges from 1 to 65536.
region String
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeout Double
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
timeouts LbMonitorV2Timeouts
type String
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
urlPath String
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
adminStateUp boolean

Deprecated: Deprecated

delay number
The time, in seconds, between sending probes to members.
expectedCodes string
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
httpMethod string
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lbMonitorV2Id string
The unique ID for the monitor.
maxRetries number
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
name string
The Name of the Monitor.
poolId string
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
port number
Specifies the health check port. The value ranges from 1 to 65536.
region string
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenantId string

Deprecated: Deprecated

timeout number
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
timeouts LbMonitorV2Timeouts
type string
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
urlPath string
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
admin_state_up bool

Deprecated: Deprecated

delay float
The time, in seconds, between sending probes to members.
expected_codes str
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
http_method str
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lb_monitor_v2_id str
The unique ID for the monitor.
max_retries float
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
name str
The Name of the Monitor.
pool_id str
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
port float
Specifies the health check port. The value ranges from 1 to 65536.
region str
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenant_id str

Deprecated: Deprecated

timeout float
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
timeouts LbMonitorV2TimeoutsArgs
type str
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
url_path str
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
adminStateUp Boolean

Deprecated: Deprecated

delay Number
The time, in seconds, between sending probes to members.
expectedCodes String
Required for HTTP(S) types. Expected HTTP codes for a passing HTTP(S) monitor. You can either specify a single status like "200", or a range like "200-202".
httpMethod String
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
lbMonitorV2Id String
The unique ID for the monitor.
maxRetries Number
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
name String
The Name of the Monitor.
poolId String
The id of the pool that this monitor will be assigned to. Changing this creates a new monitor.
port Number
Specifies the health check port. The value ranges from 1 to 65536.
region String
The region in which to create the resources. If omitted, the region argument of the provider is used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeout Number
Maximum number of seconds for a monitor to wait for a ping reply before it times out. The value must be less than the delay value.
timeouts Property Map
type String
The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
urlPath String
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.

Supporting Types

LbMonitorV2Timeouts
, LbMonitorV2TimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.