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,
});
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)
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
})
}
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,
});
});
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());
}
}
resources:
monitor1:
type: flexibleengine:LbMonitorV2
properties:
poolId: ${flexibleengine_lb_pool_v2.pool_1.id}
type: PING
delay: 20
timeout: 10
maxRetries: 5
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 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 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",
});
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: &flexibleengine.LbMonitorV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
ExpectedCodes: pulumi.String("string"),
UrlPath: pulumi.String("string"),
})
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());
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")
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",
});
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
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.
- Max
Retries double - Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
- Pool
Id string - The id of the pool that this monitor will be assigned to. 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.
- 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.
- Admin
State boolUp - Expected
Codes 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 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 stringV2Id - 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. - Tenant
Id string - Timeouts
Lb
Monitor V2Timeouts - Url
Path string - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- Delay float64
- The time, in seconds, between sending probes to members.
- Max
Retries float64 - Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
- Pool
Id string - The id of the pool that this monitor will be assigned to. 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.
- 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.
- Admin
State boolUp - Expected
Codes 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 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 stringV2Id - 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. - Tenant
Id string - Timeouts
Lb
Monitor V2Timeouts Args - Url
Path string - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- delay Double
- The time, in seconds, between sending probes to members.
- max
Retries Double - Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
- pool
Id String - The id of the pool that this monitor will be assigned to. 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.
- 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.
- admin
State BooleanUp - expected
Codes 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 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 StringV2Id - 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. - tenant
Id String - timeouts
Lb
Monitor V2Timeouts - url
Path String - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- delay number
- The time, in seconds, between sending probes to members.
- max
Retries number - Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
- pool
Id string - The id of the pool that this monitor will be assigned to. 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.
- 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.
- admin
State booleanUp - expected
Codes 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 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 stringV2Id - 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. - tenant
Id string - timeouts
Lb
Monitor V2Timeouts - url
Path string - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- 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. 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.
- 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.
- admin_
state_ boolup - 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_ strv2_ id - 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 - timeouts
Lb
Monitor V2Timeouts Args - url_
path str - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- delay Number
- The time, in seconds, between sending probes to members.
- max
Retries Number - Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
- pool
Id String - The id of the pool that this monitor will be assigned to. 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.
- 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.
- admin
State BooleanUp - expected
Codes 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 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 StringV2Id - 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. - tenant
Id String - timeouts Property Map
- url
Path 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
- 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.
- Admin
State boolUp - Delay double
- The time, in seconds, between sending probes to members.
- Expected
Codes 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 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 stringV2Id - The unique ID for the monitor.
- Max
Retries 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.
- Pool
Id 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. - Tenant
Id string - 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
Lb
Monitor V2Timeouts - 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.
- Url
Path string - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- Admin
State boolUp - Delay float64
- The time, in seconds, between sending probes to members.
- Expected
Codes 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 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 stringV2Id - The unique ID for the monitor.
- Max
Retries 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.
- Pool
Id 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. - Tenant
Id string - 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
Lb
Monitor V2Timeouts Args - 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.
- Url
Path string - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- admin
State BooleanUp - delay Double
- The time, in seconds, between sending probes to members.
- expected
Codes 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 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 StringV2Id - The unique ID for the monitor.
- max
Retries 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.
- pool
Id 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. - tenant
Id String - 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
Lb
Monitor V2Timeouts - 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.
- url
Path String - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- admin
State booleanUp - delay number
- The time, in seconds, between sending probes to members.
- expected
Codes 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 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 stringV2Id - The unique ID for the monitor.
- max
Retries 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.
- pool
Id 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. - tenant
Id string - 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
Lb
Monitor V2Timeouts - 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.
- url
Path string - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
- admin_
state_ boolup - 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_ strv2_ id - 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 - 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
Lb
Monitor V2Timeouts Args - 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.
- admin
State BooleanUp - delay Number
- The time, in seconds, between sending probes to members.
- expected
Codes 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 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 StringV2Id - The unique ID for the monitor.
- max
Retries 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.
- pool
Id 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. - tenant
Id String - 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.
- url
Path String - Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
Supporting Types
LbMonitorV2Timeouts, LbMonitorV2TimeoutsArgs
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.