Show / Hide Table of Contents

Class Member

Manages a V2 member resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var member1 = new OpenStack.LoadBalancer.Member("member1", new OpenStack.LoadBalancer.MemberArgs
    {
        Address = "192.168.199.23",
        PoolId = "935685fb-a896-40f9-9ff4-ae531a3a00fe",
        ProtocolPort = 8080,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Member
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.LoadBalancer
Assembly: Pulumi.OpenStack.dll
Syntax
public class Member : CustomResource

Constructors

View Source

Member(String, MemberArgs, CustomResourceOptions)

Create a Member resource with the given unique name, arguments, and options.

Declaration
public Member(string name, MemberArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

MemberArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Address

The IP address of the member to receive traffic from the load balancer. Changing this creates a new member.

Declaration
public Output<string> Address { get; }
Property Value
Type Description
Output<System.String>
View Source

AdminStateUp

The administrative state of the member. A valid value is true (UP) or false (DOWN). Defaults to true.

Declaration
public Output<bool?> AdminStateUp { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Name

Human-readable name for the member.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PoolId

The id of the pool that this member will be assigned to. Changing this creates a new member.

Declaration
public Output<string> PoolId { get; }
Property Value
Type Description
Output<System.String>
View Source

ProtocolPort

The port on which to listen for client traffic. Changing this creates a new member.

Declaration
public Output<int> ProtocolPort { get; }
Property Value
Type Description
Output<System.Int32>
View Source

Region

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.

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>
View Source

SubnetId

The subnet in which to access the member. Changing this creates a new member.

Declaration
public Output<string> SubnetId { get; }
Property Value
Type Description
Output<System.String>
View Source

TenantId

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.

Declaration
public Output<string> TenantId { get; }
Property Value
Type Description
Output<System.String>
View Source

Weight

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.

Declaration
public Output<int> Weight { get; }
Property Value
Type Description
Output<System.Int32>

Methods

View Source

Get(String, Input<String>, MemberState, CustomResourceOptions)

Get an existing Member resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Member Get(string name, Input<string> id, MemberState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

MemberState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Member
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.