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,
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.LoadBalancer
Assembly: Pulumi.OpenStack.dll
Syntax
public class MemberV1 : CustomResource
Constructors
View SourceMemberV1(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 SourceAddress
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> |
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> |
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> |
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> |
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> |
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> |
Weight
Declaration
public Output<int> Weight { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(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 |