1. Packages
  2. Openstack Provider
  3. API Docs
  4. loadbalancer
  5. Member
OpenStack v5.0.0 published on Friday, Sep 27, 2024 by Pulumi

openstack.loadbalancer.Member

Explore with Pulumi AI

openstack logo
OpenStack v5.0.0 published on Friday, Sep 27, 2024 by Pulumi

    Manages a V2 member resource within OpenStack.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as openstack from "@pulumi/openstack";
    
    const member1 = new openstack.loadbalancer.Member("member_1", {
        poolId: "935685fb-a896-40f9-9ff4-ae531a3a00fe",
        address: "192.168.199.23",
        protocolPort: 8080,
    });
    
    import pulumi
    import pulumi_openstack as openstack
    
    member1 = openstack.loadbalancer.Member("member_1",
        pool_id="935685fb-a896-40f9-9ff4-ae531a3a00fe",
        address="192.168.199.23",
        protocol_port=8080)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack/loadbalancer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := loadbalancer.NewMember(ctx, "member_1", &loadbalancer.MemberArgs{
    			PoolId:       pulumi.String("935685fb-a896-40f9-9ff4-ae531a3a00fe"),
    			Address:      pulumi.String("192.168.199.23"),
    			ProtocolPort: pulumi.Int(8080),
    		})
    		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 member1 = new OpenStack.LoadBalancer.Member("member_1", new()
        {
            PoolId = "935685fb-a896-40f9-9ff4-ae531a3a00fe",
            Address = "192.168.199.23",
            ProtocolPort = 8080,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.openstack.loadbalancer.Member;
    import com.pulumi.openstack.loadbalancer.MemberArgs;
    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 member1 = new Member("member1", MemberArgs.builder()
                .poolId("935685fb-a896-40f9-9ff4-ae531a3a00fe")
                .address("192.168.199.23")
                .protocolPort(8080)
                .build());
    
        }
    }
    
    resources:
      member1:
        type: openstack:loadbalancer:Member
        name: member_1
        properties:
          poolId: 935685fb-a896-40f9-9ff4-ae531a3a00fe
          address: 192.168.199.23
          protocolPort: 8080
    

    Create Member Resource

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

    Constructor syntax

    new Member(name: string, args: MemberArgs, opts?: CustomResourceOptions);
    @overload
    def Member(resource_name: str,
               args: MemberArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Member(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               address: Optional[str] = None,
               protocol_port: Optional[int] = None,
               pool_id: Optional[str] = None,
               monitor_address: Optional[str] = None,
               monitor_port: Optional[int] = None,
               name: Optional[str] = None,
               backup: Optional[bool] = None,
               admin_state_up: Optional[bool] = None,
               region: Optional[str] = None,
               subnet_id: Optional[str] = None,
               tags: Optional[Sequence[str]] = None,
               tenant_id: Optional[str] = None,
               weight: Optional[int] = None)
    func NewMember(ctx *Context, name string, args MemberArgs, opts ...ResourceOption) (*Member, error)
    public Member(string name, MemberArgs args, CustomResourceOptions? opts = null)
    public Member(String name, MemberArgs args)
    public Member(String name, MemberArgs args, CustomResourceOptions options)
    
    type: openstack:loadbalancer:Member
    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 MemberArgs
    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 MemberArgs
    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 MemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MemberArgs
    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 memberResource = new OpenStack.LoadBalancer.Member("memberResource", new()
    {
        Address = "string",
        ProtocolPort = 0,
        PoolId = "string",
        MonitorAddress = "string",
        MonitorPort = 0,
        Name = "string",
        Backup = false,
        AdminStateUp = false,
        Region = "string",
        SubnetId = "string",
        Tags = new[]
        {
            "string",
        },
        TenantId = "string",
        Weight = 0,
    });
    
    example, err := loadbalancer.NewMember(ctx, "memberResource", &loadbalancer.MemberArgs{
    	Address:        pulumi.String("string"),
    	ProtocolPort:   pulumi.Int(0),
    	PoolId:         pulumi.String("string"),
    	MonitorAddress: pulumi.String("string"),
    	MonitorPort:    pulumi.Int(0),
    	Name:           pulumi.String("string"),
    	Backup:         pulumi.Bool(false),
    	AdminStateUp:   pulumi.Bool(false),
    	Region:         pulumi.String("string"),
    	SubnetId:       pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TenantId: pulumi.String("string"),
    	Weight:   pulumi.Int(0),
    })
    
    var memberResource = new Member("memberResource", MemberArgs.builder()
        .address("string")
        .protocolPort(0)
        .poolId("string")
        .monitorAddress("string")
        .monitorPort(0)
        .name("string")
        .backup(false)
        .adminStateUp(false)
        .region("string")
        .subnetId("string")
        .tags("string")
        .tenantId("string")
        .weight(0)
        .build());
    
    member_resource = openstack.loadbalancer.Member("memberResource",
        address="string",
        protocol_port=0,
        pool_id="string",
        monitor_address="string",
        monitor_port=0,
        name="string",
        backup=False,
        admin_state_up=False,
        region="string",
        subnet_id="string",
        tags=["string"],
        tenant_id="string",
        weight=0)
    
    const memberResource = new openstack.loadbalancer.Member("memberResource", {
        address: "string",
        protocolPort: 0,
        poolId: "string",
        monitorAddress: "string",
        monitorPort: 0,
        name: "string",
        backup: false,
        adminStateUp: false,
        region: "string",
        subnetId: "string",
        tags: ["string"],
        tenantId: "string",
        weight: 0,
    });
    
    type: openstack:loadbalancer:Member
    properties:
        address: string
        adminStateUp: false
        backup: false
        monitorAddress: string
        monitorPort: 0
        name: string
        poolId: string
        protocolPort: 0
        region: string
        subnetId: string
        tags:
            - string
        tenantId: string
        weight: 0
    

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

    Address string
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    PoolId string
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new member.
    AdminStateUp bool
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    Backup bool
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    MonitorAddress string
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    MonitorPort int
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    Name string
    Human-readable name for the member.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    SubnetId string
    The subnet in which to access the member. Changing this creates a new member.
    Tags List<string>
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    TenantId string
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    Weight int
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    Address string
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    PoolId string
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new member.
    AdminStateUp bool
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    Backup bool
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    MonitorAddress string
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    MonitorPort int
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    Name string
    Human-readable name for the member.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    SubnetId string
    The subnet in which to access the member. Changing this creates a new member.
    Tags []string
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    TenantId string
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    Weight int
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address String
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    poolId String
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocolPort Integer
    The port on which to listen for client traffic. Changing this creates a new member.
    adminStateUp Boolean
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup Boolean
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitorAddress String
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitorPort Integer
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name String
    Human-readable name for the member.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnetId String
    The subnet in which to access the member. Changing this creates a new member.
    tags List<String>
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenantId String
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight Integer
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address string
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    poolId string
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocolPort number
    The port on which to listen for client traffic. Changing this creates a new member.
    adminStateUp boolean
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup boolean
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitorAddress string
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitorPort number
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name string
    Human-readable name for the member.
    region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnetId string
    The subnet in which to access the member. Changing this creates a new member.
    tags string[]
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenantId string
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight number
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address str
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    pool_id str
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocol_port int
    The port on which to listen for client traffic. Changing this creates a new member.
    admin_state_up bool
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup bool
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitor_address str
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitor_port int
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name str
    Human-readable name for the member.
    region str
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnet_id str
    The subnet in which to access the member. Changing this creates a new member.
    tags Sequence[str]
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenant_id str
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight int
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address String
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    poolId String
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocolPort Number
    The port on which to listen for client traffic. Changing this creates a new member.
    adminStateUp Boolean
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup Boolean
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitorAddress String
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitorPort Number
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name String
    Human-readable name for the member.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnetId String
    The subnet in which to access the member. Changing this creates a new member.
    tags List<String>
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenantId String
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight Number
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.

    Outputs

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

    Get an existing Member 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?: MemberState, opts?: CustomResourceOptions): Member
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            admin_state_up: Optional[bool] = None,
            backup: Optional[bool] = None,
            monitor_address: Optional[str] = None,
            monitor_port: Optional[int] = None,
            name: Optional[str] = None,
            pool_id: Optional[str] = None,
            protocol_port: Optional[int] = None,
            region: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            tenant_id: Optional[str] = None,
            weight: Optional[int] = None) -> Member
    func GetMember(ctx *Context, name string, id IDInput, state *MemberState, opts ...ResourceOption) (*Member, error)
    public static Member Get(string name, Input<string> id, MemberState? state, CustomResourceOptions? opts = null)
    public static Member get(String name, Output<String> id, MemberState 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:
    Address string
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    AdminStateUp bool
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    Backup bool
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    MonitorAddress string
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    MonitorPort int
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    Name string
    Human-readable name for the member.
    PoolId string
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new member.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    SubnetId string
    The subnet in which to access the member. Changing this creates a new member.
    Tags List<string>
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    TenantId string
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    Weight int
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    Address string
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    AdminStateUp bool
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    Backup bool
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    MonitorAddress string
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    MonitorPort int
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    Name string
    Human-readable name for the member.
    PoolId string
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    ProtocolPort int
    The port on which to listen for client traffic. Changing this creates a new member.
    Region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    SubnetId string
    The subnet in which to access the member. Changing this creates a new member.
    Tags []string
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    TenantId string
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    Weight int
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address String
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    adminStateUp Boolean
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup Boolean
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitorAddress String
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitorPort Integer
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name String
    Human-readable name for the member.
    poolId String
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocolPort Integer
    The port on which to listen for client traffic. Changing this creates a new member.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnetId String
    The subnet in which to access the member. Changing this creates a new member.
    tags List<String>
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenantId String
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight Integer
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address string
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    adminStateUp boolean
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup boolean
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitorAddress string
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitorPort number
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name string
    Human-readable name for the member.
    poolId string
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocolPort number
    The port on which to listen for client traffic. Changing this creates a new member.
    region string
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnetId string
    The subnet in which to access the member. Changing this creates a new member.
    tags string[]
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenantId string
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight number
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address str
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    admin_state_up bool
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup bool
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitor_address str
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitor_port int
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name str
    Human-readable name for the member.
    pool_id str
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocol_port int
    The port on which to listen for client traffic. Changing this creates a new member.
    region str
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnet_id str
    The subnet in which to access the member. Changing this creates a new member.
    tags Sequence[str]
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenant_id str
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight int
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.
    address String
    The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.
    adminStateUp Boolean
    The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.
    backup Boolean
    Boolean that indicates whether that member works as a backup or not. Available only for Octavia >= 2.1.
    monitorAddress String
    An alternate IP address used for health monitoring a backend member. Available only for Octavia
    monitorPort Number
    An alternate protocol port used for health monitoring a backend member. Available only for Octavia
    name String
    Human-readable name for the member.
    poolId String
    The id of the pool that this member will be assigned to. Changing this creates a new member.
    protocolPort Number
    The port on which to listen for client traffic. Changing this creates a new member.
    region String
    The region in which to obtain the V2 Networking client. A Networking client is needed to create a member. If omitted, the region argument of the provider is used. Changing this creates a new member.
    subnetId String
    The subnet in which to access the member. Changing this creates a new member.
    tags List<String>
    A list of simple strings assigned to the member. Available only for Octavia >= 2.5.
    tenantId String
    Required for admins. The UUID of the tenant who owns the member. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new member.
    weight Number
    A positive integer value that indicates the relative portion of traffic that this member should receive from the pool. For example, a member with a weight of 10 receives five times as much traffic as a member with a weight of 2. Defaults to 1.

    Import

    Load Balancer Pool Member can be imported using the Pool ID and Member ID separated by a slash, e.g.:

    $ pulumi import openstack:loadbalancer/member:Member member_1 c22974d2-4c95-4bcb-9819-0afc5ed303d5/9563b79c-8460-47da-8a95-2711b746510f
    

    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 v5.0.0 published on Friday, Sep 27, 2024 by Pulumi