1. Packages
  2. OpenStack
  3. API Docs
  4. loadbalancer
  5. MonitorV1
OpenStack v3.15.2 published on Friday, Mar 29, 2024 by Pulumi

openstack.loadbalancer.MonitorV1

Explore with Pulumi AI

openstack logo
OpenStack v3.15.2 published on Friday, Mar 29, 2024 by Pulumi

    Manages a V1 load balancer monitor resource within OpenStack.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as openstack from "@pulumi/openstack";
    
    const monitor1 = new openstack.loadbalancer.MonitorV1("monitor1", {
        adminStateUp: "true",
        delay: 30,
        maxRetries: 3,
        timeout: 5,
        type: "PING",
    });
    
    import pulumi
    import pulumi_openstack as openstack
    
    monitor1 = openstack.loadbalancer.MonitorV1("monitor1",
        admin_state_up="true",
        delay=30,
        max_retries=3,
        timeout=5,
        type="PING")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/loadbalancer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := loadbalancer.NewMonitorV1(ctx, "monitor1", &loadbalancer.MonitorV1Args{
    			AdminStateUp: pulumi.String("true"),
    			Delay:        pulumi.Int(30),
    			MaxRetries:   pulumi.Int(3),
    			Timeout:      pulumi.Int(5),
    			Type:         pulumi.String("PING"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using OpenStack = Pulumi.OpenStack;
    
    return await Deployment.RunAsync(() => 
    {
        var monitor1 = new OpenStack.LoadBalancer.MonitorV1("monitor1", new()
        {
            AdminStateUp = "true",
            Delay = 30,
            MaxRetries = 3,
            Timeout = 5,
            Type = "PING",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.openstack.loadbalancer.MonitorV1;
    import com.pulumi.openstack.loadbalancer.MonitorV1Args;
    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 MonitorV1("monitor1", MonitorV1Args.builder()        
                .adminStateUp("true")
                .delay(30)
                .maxRetries(3)
                .timeout(5)
                .type("PING")
                .build());
    
        }
    }
    
    resources:
      monitor1:
        type: openstack:loadbalancer:MonitorV1
        properties:
          adminStateUp: 'true'
          delay: 30
          maxRetries: 3
          timeout: 5
          type: PING
    

    Create MonitorV1 Resource

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

    Constructor syntax

    new MonitorV1(name: string, args: MonitorV1Args, opts?: CustomResourceOptions);
    @overload
    def MonitorV1(resource_name: str,
                  args: MonitorV1Args,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitorV1(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  delay: Optional[int] = None,
                  max_retries: Optional[int] = None,
                  timeout: Optional[int] = None,
                  type: Optional[str] = None,
                  admin_state_up: Optional[str] = None,
                  expected_codes: Optional[str] = None,
                  http_method: Optional[str] = None,
                  region: Optional[str] = None,
                  tenant_id: Optional[str] = None,
                  url_path: Optional[str] = None)
    func NewMonitorV1(ctx *Context, name string, args MonitorV1Args, opts ...ResourceOption) (*MonitorV1, error)
    public MonitorV1(string name, MonitorV1Args args, CustomResourceOptions? opts = null)
    public MonitorV1(String name, MonitorV1Args args)
    public MonitorV1(String name, MonitorV1Args args, CustomResourceOptions options)
    
    type: openstack:loadbalancer:MonitorV1
    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 MonitorV1Args
    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 MonitorV1Args
    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 MonitorV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var monitorV1Resource = new OpenStack.LoadBalancer.MonitorV1("monitorV1Resource", new()
    {
        Delay = 0,
        MaxRetries = 0,
        Timeout = 0,
        Type = "string",
        AdminStateUp = "string",
        ExpectedCodes = "string",
        HttpMethod = "string",
        Region = "string",
        TenantId = "string",
        UrlPath = "string",
    });
    
    example, err := loadbalancer.NewMonitorV1(ctx, "monitorV1Resource", &loadbalancer.MonitorV1Args{
    	Delay:         pulumi.Int(0),
    	MaxRetries:    pulumi.Int(0),
    	Timeout:       pulumi.Int(0),
    	Type:          pulumi.String("string"),
    	AdminStateUp:  pulumi.String("string"),
    	ExpectedCodes: pulumi.String("string"),
    	HttpMethod:    pulumi.String("string"),
    	Region:        pulumi.String("string"),
    	TenantId:      pulumi.String("string"),
    	UrlPath:       pulumi.String("string"),
    })
    
    var monitorV1Resource = new MonitorV1("monitorV1Resource", MonitorV1Args.builder()        
        .delay(0)
        .maxRetries(0)
        .timeout(0)
        .type("string")
        .adminStateUp("string")
        .expectedCodes("string")
        .httpMethod("string")
        .region("string")
        .tenantId("string")
        .urlPath("string")
        .build());
    
    monitor_v1_resource = openstack.loadbalancer.MonitorV1("monitorV1Resource",
        delay=0,
        max_retries=0,
        timeout=0,
        type="string",
        admin_state_up="string",
        expected_codes="string",
        http_method="string",
        region="string",
        tenant_id="string",
        url_path="string")
    
    const monitorV1Resource = new openstack.loadbalancer.MonitorV1("monitorV1Resource", {
        delay: 0,
        maxRetries: 0,
        timeout: 0,
        type: "string",
        adminStateUp: "string",
        expectedCodes: "string",
        httpMethod: "string",
        region: "string",
        tenantId: "string",
        urlPath: "string",
    });
    
    type: openstack:loadbalancer:MonitorV1
    properties:
        adminStateUp: string
        delay: 0
        expectedCodes: string
        httpMethod: string
        maxRetries: 0
        region: string
        tenantId: string
        timeout: 0
        type: string
        urlPath: string
    

    MonitorV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MonitorV1 resource accepts the following input properties:

    Delay int
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    MaxRetries int
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    Timeout int
    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. Changing this updates the timeout of the existing monitor.
    Type string
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    AdminStateUp string
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    ExpectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    HttpMethod 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". Changing this updates the http_method of the existing monitor.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    TenantId string
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    UrlPath string
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    Delay int
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    MaxRetries int
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    Timeout int
    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. Changing this updates the timeout of the existing monitor.
    Type string
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    AdminStateUp string
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    ExpectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    HttpMethod 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". Changing this updates the http_method of the existing monitor.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    TenantId string
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    UrlPath string
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    delay Integer
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    maxRetries Integer
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    timeout Integer
    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. Changing this updates the timeout of the existing monitor.
    type String
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    adminStateUp String
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    expectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    httpMethod 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". Changing this updates the http_method of the existing monitor.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenantId String
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    urlPath String
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    delay number
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    maxRetries number
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing 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. Changing this updates the timeout of the existing monitor.
    type string
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    adminStateUp string
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    expectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    httpMethod 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". Changing this updates the http_method of the existing monitor.
    region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenantId string
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    urlPath string
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    delay int
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    max_retries int
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    timeout int
    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. Changing this updates the timeout of the existing monitor.
    type str
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    admin_state_up str
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    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". Changing this updates the expected_codes of the existing monitor.
    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". Changing this updates the http_method of the existing monitor.
    region str
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenant_id str
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. 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. Changing this updates the url_path of the existing monitor.
    delay Number
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    maxRetries Number
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing 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. Changing this updates the timeout of the existing monitor.
    type String
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    adminStateUp String
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    expectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    httpMethod 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". Changing this updates the http_method of the existing monitor.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenantId String
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    urlPath String
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MonitorV1 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 MonitorV1 Resource

    Get an existing MonitorV1 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?: MonitorV1State, opts?: CustomResourceOptions): MonitorV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state_up: Optional[str] = None,
            delay: Optional[int] = None,
            expected_codes: Optional[str] = None,
            http_method: Optional[str] = None,
            max_retries: Optional[int] = None,
            region: Optional[str] = None,
            tenant_id: Optional[str] = None,
            timeout: Optional[int] = None,
            type: Optional[str] = None,
            url_path: Optional[str] = None) -> MonitorV1
    func GetMonitorV1(ctx *Context, name string, id IDInput, state *MonitorV1State, opts ...ResourceOption) (*MonitorV1, error)
    public static MonitorV1 Get(string name, Input<string> id, MonitorV1State? state, CustomResourceOptions? opts = null)
    public static MonitorV1 get(String name, Output<String> id, MonitorV1State state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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 string
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    Delay int
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    ExpectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    HttpMethod 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". Changing this updates the http_method of the existing monitor.
    MaxRetries int
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    TenantId string
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    Timeout int
    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. Changing this updates the timeout of the existing monitor.
    Type string
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    UrlPath string
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    AdminStateUp string
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    Delay int
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    ExpectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    HttpMethod 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". Changing this updates the http_method of the existing monitor.
    MaxRetries int
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    TenantId string
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    Timeout int
    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. Changing this updates the timeout of the existing monitor.
    Type string
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    UrlPath string
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    adminStateUp String
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    delay Integer
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    expectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    httpMethod 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". Changing this updates the http_method of the existing monitor.
    maxRetries Integer
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenantId String
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    timeout Integer
    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. Changing this updates the timeout of the existing monitor.
    type String
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    urlPath String
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    adminStateUp string
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    delay number
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    expectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    httpMethod 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". Changing this updates the http_method of the existing monitor.
    maxRetries number
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenantId string
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. 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. Changing this updates the timeout of the existing monitor.
    type string
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    urlPath string
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.
    admin_state_up str
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    delay int
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    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". Changing this updates the expected_codes of the existing monitor.
    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". Changing this updates the http_method of the existing monitor.
    max_retries int
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    region str
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenant_id str
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. Changing this creates a new monitor.
    timeout int
    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. Changing this updates the timeout of the existing monitor.
    type str
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor 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. Changing this updates the url_path of the existing monitor.
    adminStateUp String
    The administrative state of the monitor. Acceptable values are "true" and "false". Changing this value updates the state of the existing monitor.
    delay Number
    The time, in seconds, between sending probes to members. Changing this creates a new monitor.
    expectedCodes 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". Changing this updates the expected_codes of the existing monitor.
    httpMethod 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". Changing this updates the http_method of the existing monitor.
    maxRetries Number
    Number of permissible ping failures before changing the member's status to INACTIVE. Must be a number between 1 and 10. Changing this updates the max_retries of the existing monitor.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB monitor. If omitted, the region argument of the provider is used. Changing this creates a new LB monitor.
    tenantId String
    The owner of the monitor. Required if admin wants to create a monitor for another tenant. 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. Changing this updates the timeout of the existing monitor.
    type String
    The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the monitor to verify the member state. Changing this creates a new monitor.
    urlPath String
    Required for HTTP(S) types. URI path that will be accessed if monitor type is HTTP or HTTPS. Changing this updates the url_path of the existing monitor.

    Import

    Load Balancer Members can be imported using the id, e.g.

    $ pulumi import openstack:loadbalancer/monitorV1:MonitorV1 monitor_1 119d7530-72e9-449a-aa97-124a5ef1992c
    

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

    Package Details

    Repository
    OpenStack pulumi/pulumi-openstack
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the openstack Terraform Provider.
    openstack logo
    OpenStack v3.15.2 published on Friday, Mar 29, 2024 by Pulumi