1. Packages
  2. Vkcs Provider
  3. API Docs
  4. LbMonitor
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.LbMonitor

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a monitor resource within VKCS.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const workerPingLifeChecker = new vkcs.LbMonitor("workerPingLifeChecker", {
        poolId: vkcs_lb_pool.http.id,
        type: "PING",
        delay: 20,
        timeout: 10,
        maxRetries: 5,
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    worker_ping_life_checker = vkcs.LbMonitor("workerPingLifeChecker",
        pool_id=vkcs_lb_pool["http"]["id"],
        type="PING",
        delay=20,
        timeout=10,
        max_retries=5)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewLbMonitor(ctx, "workerPingLifeChecker", &vkcs.LbMonitorArgs{
    			PoolId:     pulumi.Any(vkcs_lb_pool.Http.Id),
    			Type:       pulumi.String("PING"),
    			Delay:      pulumi.Float64(20),
    			Timeout:    pulumi.Float64(10),
    			MaxRetries: pulumi.Float64(5),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var workerPingLifeChecker = new Vkcs.LbMonitor("workerPingLifeChecker", new()
        {
            PoolId = vkcs_lb_pool.Http.Id,
            Type = "PING",
            Delay = 20,
            Timeout = 10,
            MaxRetries = 5,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.LbMonitor;
    import com.pulumi.vkcs.LbMonitorArgs;
    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 workerPingLifeChecker = new LbMonitor("workerPingLifeChecker", LbMonitorArgs.builder()
                .poolId(vkcs_lb_pool.http().id())
                .type("PING")
                .delay(20)
                .timeout(10)
                .maxRetries(5)
                .build());
    
        }
    }
    
    resources:
      workerPingLifeChecker:
        type: vkcs:LbMonitor
        properties:
          poolId: ${vkcs_lb_pool.http.id}
          type: PING
          delay: 20
          timeout: 10
          maxRetries: 5
    

    Create LbMonitor Resource

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

    Constructor syntax

    new LbMonitor(name: string, args: LbMonitorArgs, opts?: CustomResourceOptions);
    @overload
    def LbMonitor(resource_name: str,
                  args: LbMonitorArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def LbMonitor(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,
                  max_retries_down: Optional[float] = None,
                  admin_state_up: Optional[bool] = None,
                  name: Optional[str] = None,
                  lb_monitor_id: Optional[str] = None,
                  region: Optional[str] = None,
                  http_method: Optional[str] = None,
                  timeouts: Optional[LbMonitorTimeoutsArgs] = None,
                  expected_codes: Optional[str] = None,
                  url_path: Optional[str] = None)
    func NewLbMonitor(ctx *Context, name string, args LbMonitorArgs, opts ...ResourceOption) (*LbMonitor, error)
    public LbMonitor(string name, LbMonitorArgs args, CustomResourceOptions? opts = null)
    public LbMonitor(String name, LbMonitorArgs args)
    public LbMonitor(String name, LbMonitorArgs args, CustomResourceOptions options)
    
    type: vkcs:LbMonitor
    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 LbMonitorArgs
    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 LbMonitorArgs
    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 LbMonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LbMonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LbMonitorArgs
    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 lbMonitorResource = new Vkcs.LbMonitor("lbMonitorResource", new()
    {
        MaxRetries = 0,
        Delay = 0,
        Type = "string",
        Timeout = 0,
        PoolId = "string",
        MaxRetriesDown = 0,
        AdminStateUp = false,
        Name = "string",
        LbMonitorId = "string",
        Region = "string",
        HttpMethod = "string",
        Timeouts = new Vkcs.Inputs.LbMonitorTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        ExpectedCodes = "string",
        UrlPath = "string",
    });
    
    example, err := vkcs.NewLbMonitor(ctx, "lbMonitorResource", &vkcs.LbMonitorArgs{
    	MaxRetries:     pulumi.Float64(0),
    	Delay:          pulumi.Float64(0),
    	Type:           pulumi.String("string"),
    	Timeout:        pulumi.Float64(0),
    	PoolId:         pulumi.String("string"),
    	MaxRetriesDown: pulumi.Float64(0),
    	AdminStateUp:   pulumi.Bool(false),
    	Name:           pulumi.String("string"),
    	LbMonitorId:    pulumi.String("string"),
    	Region:         pulumi.String("string"),
    	HttpMethod:     pulumi.String("string"),
    	Timeouts: &vkcs.LbMonitorTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	ExpectedCodes: pulumi.String("string"),
    	UrlPath:       pulumi.String("string"),
    })
    
    var lbMonitorResource = new LbMonitor("lbMonitorResource", LbMonitorArgs.builder()
        .maxRetries(0)
        .delay(0)
        .type("string")
        .timeout(0)
        .poolId("string")
        .maxRetriesDown(0)
        .adminStateUp(false)
        .name("string")
        .lbMonitorId("string")
        .region("string")
        .httpMethod("string")
        .timeouts(LbMonitorTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .expectedCodes("string")
        .urlPath("string")
        .build());
    
    lb_monitor_resource = vkcs.LbMonitor("lbMonitorResource",
        max_retries=0,
        delay=0,
        type="string",
        timeout=0,
        pool_id="string",
        max_retries_down=0,
        admin_state_up=False,
        name="string",
        lb_monitor_id="string",
        region="string",
        http_method="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        expected_codes="string",
        url_path="string")
    
    const lbMonitorResource = new vkcs.LbMonitor("lbMonitorResource", {
        maxRetries: 0,
        delay: 0,
        type: "string",
        timeout: 0,
        poolId: "string",
        maxRetriesDown: 0,
        adminStateUp: false,
        name: "string",
        lbMonitorId: "string",
        region: "string",
        httpMethod: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        expectedCodes: "string",
        urlPath: "string",
    });
    
    type: vkcs:LbMonitor
    properties:
        adminStateUp: false
        delay: 0
        expectedCodes: string
        httpMethod: string
        lbMonitorId: string
        maxRetries: 0
        maxRetriesDown: 0
        name: string
        poolId: string
        region: string
        timeout: 0
        timeouts:
            create: string
            delete: string
            update: string
        type: string
        urlPath: string
    

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

    Delay double
    required number → The time, in seconds, between sending probes to members.
    MaxRetries double
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    PoolId string
    required string → The id of the pool that this monitor will be assigned to.
    Timeout double
    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 string
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    AdminStateUp bool
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    ExpectedCodes string
    optional 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
    optional 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".
    LbMonitorId string
    string → ID of the resource.
    MaxRetriesDown double
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    Name string
    optional string → The Name of the Monitor.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    Timeouts LbMonitorTimeouts
    UrlPath string
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    Delay float64
    required number → The time, in seconds, between sending probes to members.
    MaxRetries float64
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    PoolId string
    required string → The id of the pool that this monitor will be assigned to.
    Timeout float64
    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 string
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    AdminStateUp bool
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    ExpectedCodes string
    optional 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
    optional 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".
    LbMonitorId string
    string → ID of the resource.
    MaxRetriesDown float64
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    Name string
    optional string → The Name of the Monitor.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    Timeouts LbMonitorTimeoutsArgs
    UrlPath string
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    delay Double
    required number → The time, in seconds, between sending probes to members.
    maxRetries Double
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    poolId String
    required string → The id of the pool that this monitor will be assigned to.
    timeout Double
    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 String
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    adminStateUp Boolean
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    expectedCodes String
    optional 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
    optional 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".
    lbMonitorId String
    string → ID of the resource.
    maxRetriesDown Double
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name String
    optional string → The Name of the Monitor.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeouts LbMonitorTimeouts
    urlPath String
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    delay number
    required number → The time, in seconds, between sending probes to members.
    maxRetries number
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    poolId string
    required string → The id of the pool that this monitor will be assigned to.
    timeout number
    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 string
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    adminStateUp boolean
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    expectedCodes string
    optional 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
    optional 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".
    lbMonitorId string
    string → ID of the resource.
    maxRetriesDown number
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name string
    optional string → The Name of the Monitor.
    region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeouts LbMonitorTimeouts
    urlPath string
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    delay float
    required number → The time, in seconds, between sending probes to members.
    max_retries float
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    pool_id str
    required string → The id of the pool that this monitor will be assigned to.
    timeout float
    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 str
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    admin_state_up bool
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    expected_codes str
    optional 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".
    http_method str
    optional 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".
    lb_monitor_id str
    string → ID of the resource.
    max_retries_down float
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name str
    optional string → The Name of the Monitor.
    region str
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeouts LbMonitorTimeoutsArgs
    url_path str
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    delay Number
    required number → The time, in seconds, between sending probes to members.
    maxRetries Number
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    poolId String
    required string → The id of the pool that this monitor will be assigned to.
    timeout Number
    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 String
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    adminStateUp Boolean
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    expectedCodes String
    optional 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
    optional 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".
    lbMonitorId String
    string → ID of the resource.
    maxRetriesDown Number
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name String
    optional string → The Name of the Monitor.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeouts Property Map
    urlPath String
    optional 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 LbMonitor 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 LbMonitor Resource

    Get an existing LbMonitor 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?: LbMonitorState, opts?: CustomResourceOptions): LbMonitor
    @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_id: Optional[str] = None,
            max_retries: Optional[float] = None,
            max_retries_down: Optional[float] = None,
            name: Optional[str] = None,
            pool_id: Optional[str] = None,
            region: Optional[str] = None,
            timeout: Optional[float] = None,
            timeouts: Optional[LbMonitorTimeoutsArgs] = None,
            type: Optional[str] = None,
            url_path: Optional[str] = None) -> LbMonitor
    func GetLbMonitor(ctx *Context, name string, id IDInput, state *LbMonitorState, opts ...ResourceOption) (*LbMonitor, error)
    public static LbMonitor Get(string name, Input<string> id, LbMonitorState? state, CustomResourceOptions? opts = null)
    public static LbMonitor get(String name, Output<String> id, LbMonitorState state, CustomResourceOptions options)
    resources:  _:    type: vkcs:LbMonitor    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
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    Delay double
    required number → The time, in seconds, between sending probes to members.
    ExpectedCodes string
    optional 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
    optional 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".
    LbMonitorId string
    string → ID of the resource.
    MaxRetries double
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    MaxRetriesDown double
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    Name string
    optional string → The Name of the Monitor.
    PoolId string
    required string → The id of the pool that this monitor will be assigned to.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    Timeout double
    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.
    Timeouts LbMonitorTimeouts
    Type string
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    UrlPath string
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    AdminStateUp bool
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    Delay float64
    required number → The time, in seconds, between sending probes to members.
    ExpectedCodes string
    optional 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
    optional 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".
    LbMonitorId string
    string → ID of the resource.
    MaxRetries float64
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    MaxRetriesDown float64
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    Name string
    optional string → The Name of the Monitor.
    PoolId string
    required string → The id of the pool that this monitor will be assigned to.
    Region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    Timeout float64
    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.
    Timeouts LbMonitorTimeoutsArgs
    Type string
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    UrlPath string
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    adminStateUp Boolean
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay Double
    required number → The time, in seconds, between sending probes to members.
    expectedCodes String
    optional 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
    optional 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".
    lbMonitorId String
    string → ID of the resource.
    maxRetries Double
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    maxRetriesDown Double
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name String
    optional string → The Name of the Monitor.
    poolId String
    required string → The id of the pool that this monitor will be assigned to.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeout Double
    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.
    timeouts LbMonitorTimeouts
    type String
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    urlPath String
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    adminStateUp boolean
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay number
    required number → The time, in seconds, between sending probes to members.
    expectedCodes string
    optional 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
    optional 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".
    lbMonitorId string
    string → ID of the resource.
    maxRetries number
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    maxRetriesDown number
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name string
    optional string → The Name of the Monitor.
    poolId string
    required string → The id of the pool that this monitor will be assigned to.
    region string
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeout number
    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.
    timeouts LbMonitorTimeouts
    type string
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    urlPath string
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    admin_state_up bool
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay float
    required number → The time, in seconds, between sending probes to members.
    expected_codes str
    optional 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".
    http_method str
    optional 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".
    lb_monitor_id str
    string → ID of the resource.
    max_retries float
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    max_retries_down float
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name str
    optional string → The Name of the Monitor.
    pool_id str
    required string → The id of the pool that this monitor will be assigned to.
    region str
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeout float
    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.
    timeouts LbMonitorTimeoutsArgs
    type str
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    url_path str
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
    adminStateUp Boolean
    optional boolean → The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
    delay Number
    required number → The time, in seconds, between sending probes to members.
    expectedCodes String
    optional 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
    optional 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".
    lbMonitorId String
    string → ID of the resource.
    maxRetries Number
    required number → Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
    maxRetriesDown Number
    optional number → Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10. Changing this updates the max_retries_down of the existing monitor.
    name String
    optional string → The Name of the Monitor.
    poolId String
    required string → The id of the pool that this monitor will be assigned to.
    region String
    optional string → The region in which to obtain the Loadbalancer client. If omitted, the region argument of the provider is used. Changing this creates a new monitor.
    timeout Number
    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.
    timeouts Property Map
    type String
    required string → The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT, that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
    urlPath String
    optional string → Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.

    Supporting Types

    LbMonitorTimeouts, LbMonitorTimeoutsArgs

    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

    Import

    Load Balancer Pool Monitor can be imported using the Monitor ID, e.g.:

    $ pulumi import vkcs:index/lbMonitor:LbMonitor monitor_1 47c26fc3-2403-427a-8c79-1589bd0533c2
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs