Class Members
Manages a V2 members resource within OpenStack (batch members update).
Note: This resource works only within Octavia API. For legacy Neutron LBaaS v2 extension please use openstack.loadbalancer.Member resource.
Example Usage
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var members1 = new OpenStack.LoadBalancer.Members("members1", new OpenStack.LoadBalancer.MembersArgs
{
Members =
{
new OpenStack.LoadBalancer.Inputs.MembersMemberArgs
{
Address = "192.168.199.23",
ProtocolPort = 8080,
},
new OpenStack.LoadBalancer.Inputs.MembersMemberArgs
{
Address = "192.168.199.24",
ProtocolPort = 8080,
},
},
PoolId = "935685fb-a896-40f9-9ff4-ae531a3a00fe",
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.LoadBalancer
Assembly: Pulumi.OpenStack.dll
Syntax
public class Members : CustomResource
Constructors
View SourceMembers(String, MembersArgs, CustomResourceOptions)
Create a Members resource with the given unique name, arguments, and options.
Declaration
public Members(string name, MembersArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| MembersArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceMemberList
A set of dictionaries containing member parameters. The structure is described below.
Declaration
public Output<ImmutableArray<MembersMember>> MemberList { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<MembersMember>> |
PoolId
The id of the pool that members will be assigned to. Changing this creates a new members resource.
Declaration
public Output<string> PoolId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region in which to obtain the V2 Networking client.
A Networking client is needed to create pool members. If omitted, the
region argument of the provider is used. Changing this creates a new
members resource.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, MembersState, CustomResourceOptions)
Get an existing Members resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Members Get(string name, Input<string> id, MembersState 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. |
| MembersState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Members |