opentelekomcloud.LbMonitorV2
Explore with Pulumi AI
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.
- 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.
- 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - Admin
State boolUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - Domain
Name string - The
domain_name
of the HTTP request during the health check. - Expected
Codes 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"
. - Http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- Lb
Monitor stringV2Id - The unique ID for the monitor.
- Monitor
Port 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
- Tenant
Id 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
Lb
Monitor V2Timeouts - Url
Path 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.
- 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.
- 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - Admin
State boolUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - Domain
Name string - The
domain_name
of the HTTP request during the health check. - Expected
Codes 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"
. - Http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- Lb
Monitor stringV2Id - The unique ID for the monitor.
- Monitor
Port 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
- Tenant
Id 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
Lb
Monitor V2Timeouts Args - Url
Path 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.
- 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.
- 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - admin
State BooleanUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - domain
Name String - The
domain_name
of the HTTP request during the health check. - expected
Codes 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"
. - http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- lb
Monitor StringV2Id - The unique ID for the monitor.
- monitor
Port 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
- tenant
Id 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
Lb
Monitor V2Timeouts - url
Path 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.
- 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.
- 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - admin
State booleanUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - domain
Name string - The
domain_name
of the HTTP request during the health check. - expected
Codes 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"
. - http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- lb
Monitor stringV2Id - The unique ID for the monitor.
- monitor
Port 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
- tenant
Id 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
Lb
Monitor V2Timeouts - url
Path 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - admin_
state_ boolup - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- lb_
monitor_ strv2_ id - 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
Lb
Monitor V2Timeouts Args - 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.
- 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.
- 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - admin
State BooleanUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - domain
Name String - The
domain_name
of the HTTP request during the health check. - expected
Codes 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"
. - http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- lb
Monitor StringV2Id - The unique ID for the monitor.
- monitor
Port 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
- tenant
Id 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
- url
Path 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.
- Admin
State boolUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - Delay double
- The time, in seconds, between sending probes to members.
- Domain
Name string - The
domain_name
of the HTTP request during the health check. - Expected
Codes 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"
. - Http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- 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.
- Monitor
Port 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.
- Pool
Id string - The id of the pool that this monitor will be assigned to.
- Region string
- Tenant
Id 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
Lb
Monitor V2Timeouts - Type string
- The type of probe, which is
TCP
,UDP_CONNECT
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - Url
Path string - Required for HTTP types. URI path that will be
accessed if monitor type is
HTTP
.
- Admin
State boolUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - Delay float64
- The time, in seconds, between sending probes to members.
- Domain
Name string - The
domain_name
of the HTTP request during the health check. - Expected
Codes 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"
. - Http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- 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.
- Monitor
Port 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.
- Pool
Id string - The id of the pool that this monitor will be assigned to.
- Region string
- Tenant
Id 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
Lb
Monitor V2Timeouts Args - Type string
- The type of probe, which is
TCP
,UDP_CONNECT
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - Url
Path string - Required for HTTP types. URI path that will be
accessed if monitor type is
HTTP
.
- admin
State BooleanUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - delay Double
- The time, in seconds, between sending probes to members.
- domain
Name String - The
domain_name
of the HTTP request during the health check. - expected
Codes 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"
. - http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- 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.
- monitor
Port 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.
- pool
Id String - The id of the pool that this monitor will be assigned to.
- region String
- tenant
Id 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
Lb
Monitor V2Timeouts - type String
- The type of probe, which is
TCP
,UDP_CONNECT
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - url
Path String - Required for HTTP types. URI path that will be
accessed if monitor type is
HTTP
.
- admin
State booleanUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - delay number
- The time, in seconds, between sending probes to members.
- domain
Name string - The
domain_name
of the HTTP request during the health check. - expected
Codes 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"
. - http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- 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.
- monitor
Port 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.
- pool
Id string - The id of the pool that this monitor will be assigned to.
- region string
- tenant
Id 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
Lb
Monitor V2Timeouts - type string
- The type of probe, which is
TCP
,UDP_CONNECT
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - url
Path string - Required for HTTP types. URI path that will be
accessed if monitor type is
HTTP
.
- admin_
state_ boolup - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- 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.
- 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
Lb
Monitor V2Timeouts Args - type str
- The type of probe, which is
TCP
,UDP_CONNECT
, orHTTP
, 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
.
- admin
State BooleanUp - The administrative state of the monitor.
A valid value is
true
(UP
) orfalse
(DOWN
). - delay Number
- The time, in seconds, between sending probes to members.
- domain
Name String - The
domain_name
of the HTTP request during the health check. - expected
Codes 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"
. - http
Method 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 beGET
,HEAD
,POST
,PUT
,DELETE
,TRACE
,OPTIONS
,CONNECT
, andPATCH
.These parameters
domain_name
,url_path
,expected_codes
andmonitor_port
are valid when the value oftype
is set toHTTP
.- 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.
- monitor
Port 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.
- pool
Id String - The id of the pool that this monitor will be assigned to.
- region String
- tenant
Id 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
, orHTTP
, that is sent by the load balancer to verify the member state. Changing this creates a new monitor. - url
Path String - Required for HTTP types. URI path that will be
accessed if monitor type is
HTTP
.
Supporting Types
LbMonitorV2Timeouts, LbMonitorV2TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.