Show / Hide Table of Contents

Class MemberV1

Manages a V1 load balancer member resource within OpenStack.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var member1 = new OpenStack.LoadBalancer.MemberV1("member1", new OpenStack.LoadBalancer.MemberV1Args
    {
        Address = "192.168.0.10",
        PoolId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
        Port = 80,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
MemberV1
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 MemberV1 : CustomResource

Constructors

View Source

MemberV1(String, MemberV1Args, CustomResourceOptions)

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

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

The unique name of the resource

MemberV1Args 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. 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. Acceptable values are 'true' and 'false'. Changing this value updates the state of the existing member.

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

PoolId

The ID of the LB pool. Changing this creates a new member.

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

Port

An integer representing the port on which the member is hosted. Changing this creates a new member.

Declaration
public Output<int> Port { 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 an LB member. If omitted, the region argument of the provider is used. Changing this creates a new LB member.

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

TenantId

The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.

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

Weight

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

Methods

View Source

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

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

Declaration
public static MemberV1 Get(string name, Input<string> id, MemberV1State 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.

MemberV1State state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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