1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LbMonitorV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.LbMonitorV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for ELB monitor you can get at documentation portal

    Manages an Enhanced LB monitor resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const monitor1 = new opentelekomcloud.LbMonitorV2("monitor1", {
        poolId: opentelekomcloud_lb_pool_v2.pool_1.id,
        type: "HTTP",
        delay: 20,
        timeout: 10,
        maxRetries: 5,
        urlPath: "/",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    monitor1 = opentelekomcloud.LbMonitorV2("monitor1",
        pool_id=opentelekomcloud_lb_pool_v2["pool_1"]["id"],
        type="HTTP",
        delay=20,
        timeout=10,
        max_retries=5,
        url_path="/")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewLbMonitorV2(ctx, "monitor1", &opentelekomcloud.LbMonitorV2Args{
    			PoolId:     pulumi.Any(opentelekomcloud_lb_pool_v2.Pool_1.Id),
    			Type:       pulumi.String("HTTP"),
    			Delay:      pulumi.Float64(20),
    			Timeout:    pulumi.Float64(10),
    			MaxRetries: pulumi.Float64(5),
    			UrlPath:    pulumi.String("/"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var monitor1 = new Opentelekomcloud.LbMonitorV2("monitor1", new()
        {
            PoolId = opentelekomcloud_lb_pool_v2.Pool_1.Id,
            Type = "HTTP",
            Delay = 20,
            Timeout = 10,
            MaxRetries = 5,
            UrlPath = "/",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.LbMonitorV2;
    import com.pulumi.opentelekomcloud.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(opentelekomcloud_lb_pool_v2.pool_1().id())
                .type("HTTP")
                .delay(20)
                .timeout(10)
                .maxRetries(5)
                .urlPath("/")
                .build());
    
        }
    }
    
    resources:
      monitor1:
        type: opentelekomcloud:LbMonitorV2
        properties:
          poolId: ${opentelekomcloud_lb_pool_v2.pool_1.id}
          type: HTTP
          delay: 20
          timeout: 10
          maxRetries: 5
          urlPath: /
    

    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,
                    http_method: Optional[str] = None,
                    lb_monitor_v2_id: Optional[str] = None,
                    monitor_port: Optional[float] = None,
                    name: Optional[str] = None,
                    admin_state_up: Optional[bool] = None,
                    region: Optional[str] = None,
                    tenant_id: Optional[str] = None,
                    expected_codes: Optional[str] = None,
                    timeouts: Optional[LbMonitorV2TimeoutsArgs] = None,
                    domain_name: 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: opentelekomcloud:LbMonitorV2
    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 LbMonitorV2Args
    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 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 string
    The unique name of the resource.
    args LbMonitorV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbMonitorV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 Opentelekomcloud.LbMonitorV2("lbMonitorV2Resource", new()
    {
        MaxRetries = 0,
        Delay = 0,
        Type = "string",
        Timeout = 0,
        PoolId = "string",
        HttpMethod = "string",
        LbMonitorV2Id = "string",
        MonitorPort = 0,
        Name = "string",
        AdminStateUp = false,
        Region = "string",
        TenantId = "string",
        ExpectedCodes = "string",
        Timeouts = new Opentelekomcloud.Inputs.LbMonitorV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        DomainName = "string",
        UrlPath = "string",
    });
    
    example, err := opentelekomcloud.NewLbMonitorV2(ctx, "lbMonitorV2Resource", &opentelekomcloud.LbMonitorV2Args{
    	MaxRetries:    pulumi.Float64(0),
    	Delay:         pulumi.Float64(0),
    	Type:          pulumi.String("string"),
    	Timeout:       pulumi.Float64(0),
    	PoolId:        pulumi.String("string"),
    	HttpMethod:    pulumi.String("string"),
    	LbMonitorV2Id: pulumi.String("string"),
    	MonitorPort:   pulumi.Float64(0),
    	Name:          pulumi.String("string"),
    	AdminStateUp:  pulumi.Bool(false),
    	Region:        pulumi.String("string"),
    	TenantId:      pulumi.String("string"),
    	ExpectedCodes: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.LbMonitorV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	DomainName: pulumi.String("string"),
    	UrlPath:    pulumi.String("string"),
    })
    
    var lbMonitorV2Resource = new LbMonitorV2("lbMonitorV2Resource", LbMonitorV2Args.builder()
        .maxRetries(0)
        .delay(0)
        .type("string")
        .timeout(0)
        .poolId("string")
        .httpMethod("string")
        .lbMonitorV2Id("string")
        .monitorPort(0)
        .name("string")
        .adminStateUp(false)
        .region("string")
        .tenantId("string")
        .expectedCodes("string")
        .timeouts(LbMonitorV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .domainName("string")
        .urlPath("string")
        .build());
    
    lb_monitor_v2_resource = opentelekomcloud.LbMonitorV2("lbMonitorV2Resource",
        max_retries=0,
        delay=0,
        type="string",
        timeout=0,
        pool_id="string",
        http_method="string",
        lb_monitor_v2_id="string",
        monitor_port=0,
        name="string",
        admin_state_up=False,
        region="string",
        tenant_id="string",
        expected_codes="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        domain_name="string",
        url_path="string")
    
    const lbMonitorV2Resource = new opentelekomcloud.LbMonitorV2("lbMonitorV2Resource", {
        maxRetries: 0,
        delay: 0,
        type: "string",
        timeout: 0,
        poolId: "string",
        httpMethod: "string",
        lbMonitorV2Id: "string",
        monitorPort: 0,
        name: "string",
        adminStateUp: false,
        region: "string",
        tenantId: "string",
        expectedCodes: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        domainName: "string",
        urlPath: "string",
    });
    
    type: opentelekomcloud:LbMonitorV2
    properties:
        adminStateUp: false
        delay: 0
        domainName: string
        expectedCodes: string
        httpMethod: string
        lbMonitorV2Id: string
        maxRetries: 0
        monitorPort: 0
        name: string
        poolId: string
        region: string
        tenantId: string
        timeout: 0
        timeouts:
            create: string
            delete: string
            update: string
        type: string
        urlPath: string
    

    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 double
    The time, in seconds, between sending probes to members.
    MaxRetries double
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    PoolId string
    The id of the pool that this monitor will be assigned to.
    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.
    Type string
    The type of probe, which is TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    AdminStateUp bool
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    DomainName string
    The domain_name of the HTTP request during the health check.
    ExpectedCodes string
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    HttpMethod string

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    LbMonitorV2Id string
    The unique ID for the monitor.
    MonitorPort double
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    Name string
    The Name of the Monitor.
    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    Timeouts LbMonitorV2Timeouts
    UrlPath string
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    Delay float64
    The time, in seconds, between sending probes to members.
    MaxRetries float64
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    PoolId string
    The id of the pool that this monitor will be assigned to.
    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.
    Type string
    The type of probe, which is TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    AdminStateUp bool
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    DomainName string
    The domain_name of the HTTP request during the health check.
    ExpectedCodes string
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    HttpMethod string

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    LbMonitorV2Id string
    The unique ID for the monitor.
    MonitorPort float64
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    Name string
    The Name of the Monitor.
    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    Timeouts LbMonitorV2TimeoutsArgs
    UrlPath string
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    delay Double
    The time, in seconds, between sending probes to members.
    maxRetries Double
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    poolId String
    The id of the pool that this monitor will be assigned to.
    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.
    type String
    The type of probe, which is TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    adminStateUp Boolean
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    domainName String
    The domain_name of the HTTP request during the health check.
    expectedCodes String
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    httpMethod String

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    lbMonitorV2Id String
    The unique ID for the monitor.
    monitorPort Double
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name String
    The Name of the Monitor.
    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    timeouts LbMonitorV2Timeouts
    urlPath String
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    delay number
    The time, in seconds, between sending probes to members.
    maxRetries number
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    poolId string
    The id of the pool that this monitor will be assigned to.
    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.
    type string
    The type of probe, which is TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    adminStateUp boolean
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    domainName string
    The domain_name of the HTTP request during the health check.
    expectedCodes string
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    httpMethod string

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    lbMonitorV2Id string
    The unique ID for the monitor.
    monitorPort number
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name string
    The Name of the Monitor.
    region string
    tenantId string
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    timeouts LbMonitorV2Timeouts
    urlPath string
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    delay float
    The time, in seconds, between sending probes to members.
    max_retries float
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    pool_id str
    The id of the pool that this monitor will be assigned to.
    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.
    type str
    The type of probe, which is TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    admin_state_up bool
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    domain_name str
    The domain_name of the HTTP request during the health check.
    expected_codes str
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    http_method str

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    lb_monitor_v2_id str
    The unique ID for the monitor.
    monitor_port float
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name str
    The Name of the Monitor.
    region str
    tenant_id str
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    timeouts LbMonitorV2TimeoutsArgs
    url_path str
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    delay Number
    The time, in seconds, between sending probes to members.
    maxRetries Number
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    poolId String
    The id of the pool that this monitor will be assigned to.
    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.
    type String
    The type of probe, which is TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    adminStateUp Boolean
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    domainName String
    The domain_name of the HTTP request during the health check.
    expectedCodes String
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    httpMethod String

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    lbMonitorV2Id String
    The unique ID for the monitor.
    monitorPort Number
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name String
    The Name of the Monitor.
    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    timeouts Property Map
    urlPath String
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.

    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,
            domain_name: Optional[str] = None,
            expected_codes: Optional[str] = None,
            http_method: Optional[str] = None,
            lb_monitor_v2_id: Optional[str] = None,
            max_retries: Optional[float] = None,
            monitor_port: Optional[float] = None,
            name: Optional[str] = None,
            pool_id: Optional[str] = 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: opentelekomcloud:LbMonitorV2    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:
    AdminStateUp bool
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    Delay double
    The time, in seconds, between sending probes to members.
    DomainName string
    The domain_name of the HTTP request during the health check.
    ExpectedCodes string
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    HttpMethod string

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    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.
    MonitorPort double
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    Name string
    The Name of the Monitor.
    PoolId string
    The id of the pool that this monitor will be assigned to.
    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    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 TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    UrlPath string
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    AdminStateUp bool
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    Delay float64
    The time, in seconds, between sending probes to members.
    DomainName string
    The domain_name of the HTTP request during the health check.
    ExpectedCodes string
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    HttpMethod string

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    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.
    MonitorPort float64
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    Name string
    The Name of the Monitor.
    PoolId string
    The id of the pool that this monitor will be assigned to.
    Region string
    TenantId string
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    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 TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    UrlPath string
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    adminStateUp Boolean
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay Double
    The time, in seconds, between sending probes to members.
    domainName String
    The domain_name of the HTTP request during the health check.
    expectedCodes String
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    httpMethod String

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    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.
    monitorPort Double
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name String
    The Name of the Monitor.
    poolId String
    The id of the pool that this monitor will be assigned to.
    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    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 TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    urlPath String
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    adminStateUp boolean
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay number
    The time, in seconds, between sending probes to members.
    domainName string
    The domain_name of the HTTP request during the health check.
    expectedCodes string
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    httpMethod string

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    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.
    monitorPort number
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name string
    The Name of the Monitor.
    poolId string
    The id of the pool that this monitor will be assigned to.
    region string
    tenantId string
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    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 TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    urlPath string
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    admin_state_up bool
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay float
    The time, in seconds, between sending probes to members.
    domain_name str
    The domain_name of the HTTP request during the health check.
    expected_codes str
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    http_method str

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    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.
    monitor_port float
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name str
    The Name of the Monitor.
    pool_id str
    The id of the pool that this monitor will be assigned to.
    region str
    tenant_id str
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    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 TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    url_path str
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.
    adminStateUp Boolean
    The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay Number
    The time, in seconds, between sending probes to members.
    domainName String
    The domain_name of the HTTP request during the health check.
    expectedCodes String
    Required for HTTP types. Expected HTTP codes for a passing HTTP monitor. You can either specify a single status like "200", or a list like "200,202".
    httpMethod String

    Required for HTTP types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to GET. The value can be GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, and PATCH.

    These parameters domain_name, url_path, expected_codes and monitor_port are valid when the value of type is set to HTTP.

    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.
    monitorPort Number
    Specifies the health check port. The port number ranges from 1 to 65535. The value is left blank by default, indicating that the port of the backend server is used as the health check port.
    name String
    The Name of the Monitor.
    poolId String
    The id of the pool that this monitor will be assigned to.
    region String
    tenantId String
    Required for admins. The UUID of the tenant who owns the monitor. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new monitor.
    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 TCP, UDP_CONNECT, or HTTP, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    urlPath String
    Required for HTTP types. URI path that will be accessed if monitor type is HTTP.

    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
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud