Class MonitorState
Inherited Members
Namespace: Pulumi.OpenStack.LoadBalancer
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class MonitorState : ResourceArgs
Constructors
View SourceMonitorState()
Declaration
public MonitorState()
Properties
View SourceAdminStateUp
The administrative state of the monitor. A valid value is true (UP) or false (DOWN).
Declaration
public Input<bool> AdminStateUp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Delay
The time, in seconds, between sending probes to members.
Declaration
public Input<int> Delay { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ExpectedCodes
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".
Declaration
public Input<string> ExpectedCodes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HttpMethod
Required for HTTP(S) types. The HTTP method used for requests by the monitor. If this attribute is not specified, it defaults to "GET".
Declaration
public Input<string> HttpMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxRetries
Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10.
Declaration
public Input<int> MaxRetries { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MaxRetriesDown
Number of permissible ping failures befor changing the member's status to ERROR. Must be a number between 1 and 10 (supported only in Octavia). Changing this updates the max_retries_down of the existing monitor.
Declaration
public Input<int> MaxRetriesDown { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The Name of the Monitor.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PoolId
The id of the pool that this monitor will be assigned to.
Declaration
public Input<string> PoolId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to obtain the V2 Networking client.
A Networking client is needed to create an . If omitted, the
region argument of the provider is used. Changing this creates a new
monitor.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TenantId
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.
Declaration
public Input<string> TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Timeout
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.
Declaration
public Input<int> Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Type
The type of probe, which is PING, TCP, HTTP, HTTPS, TLS-HELLO or UDP-CONNECT (supported only in Octavia), that is sent by the load balancer to verify the member state. Changing this creates a new monitor.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UrlPath
Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS.
Declaration
public Input<string> UrlPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |