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,
});
}
}
Coming soon!
import pulumi
import pulumi_openstack as openstack
member1 = openstack.loadbalancer.MemberV1("member1",
address="192.168.0.10",
pool_id="d9415786-5f1a-428b-b35f-2f1523e146d2",
port=80)import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const member1 = new openstack.loadbalancer.MemberV1("member_1", {
address: "192.168.0.10",
poolId: "d9415786-5f1a-428b-b35f-2f1523e146d2",
port: 80,
});Create a MemberV1 Resource
new MemberV1(name: string, args: MemberV1Args, opts?: CustomResourceOptions);def MemberV1(resource_name, opts=None, address=None, admin_state_up=None, pool_id=None, port=None, region=None, tenant_id=None, weight=None, __props__=None);func NewMemberV1(ctx *Context, name string, args MemberV1Args, opts ...ResourceOption) (*MemberV1, error)public MemberV1(string name, MemberV1Args args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args MemberV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MemberV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MemberV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
MemberV1 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The MemberV1 resource accepts the following input properties:
- Address string
The IP address of the member. Changing this creates a new member.
- Pool
Id string The ID of the LB pool. Changing this creates a new member.
- Port int
An integer representing the port on which the member is hosted. Changing this creates a new member.
- Admin
State boolUp The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- Tenant
Id string The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- Weight int
- Address string
The IP address of the member. Changing this creates a new member.
- Pool
Id string The ID of the LB pool. Changing this creates a new member.
- Port int
An integer representing the port on which the member is hosted. Changing this creates a new member.
- Admin
State boolUp The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- Tenant
Id string The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- Weight int
- address string
The IP address of the member. Changing this creates a new member.
- pool
Id string The ID of the LB pool. Changing this creates a new member.
- port number
An integer representing the port on which the member is hosted. Changing this creates a new member.
- admin
State booleanUp The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- tenant
Id string The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- weight number
- address str
The IP address of the member. Changing this creates a new member.
- pool_
id str The ID of the LB pool. Changing this creates a new member.
- port float
An integer representing the port on which the member is hosted. Changing this creates a new member.
- admin_
state_ boolup The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- tenant_
id str The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- weight float
Outputs
All input properties are implicitly available as output properties. Additionally, the MemberV1 resource produces the following output properties:
Look up an Existing MemberV1 Resource
Get an existing MemberV1 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?: MemberV1State, opts?: CustomResourceOptions): MemberV1static get(resource_name, id, opts=None, address=None, admin_state_up=None, pool_id=None, port=None, region=None, tenant_id=None, weight=None, __props__=None);func GetMemberV1(ctx *Context, name string, id IDInput, state *MemberV1State, opts ...ResourceOption) (*MemberV1, error)public static MemberV1 Get(string name, Input<string> id, MemberV1State? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Address string
The IP address of the member. Changing this creates a new member.
- Admin
State boolUp The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- Pool
Id string The ID of the LB pool. Changing this creates a new member.
- Port int
An integer representing the port on which the member is hosted. 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 an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- Tenant
Id string The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- Weight int
- Address string
The IP address of the member. Changing this creates a new member.
- Admin
State boolUp The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- Pool
Id string The ID of the LB pool. Changing this creates a new member.
- Port int
An integer representing the port on which the member is hosted. 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 an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- Tenant
Id string The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- Weight int
- address string
The IP address of the member. Changing this creates a new member.
- admin
State booleanUp The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- pool
Id string The ID of the LB pool. Changing this creates a new member.
- port number
An integer representing the port on which the member is hosted. 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 an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- tenant
Id string The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- weight number
- address str
The IP address of the member. Changing this creates a new member.
- admin_
state_ boolup The administrative state of the member. Acceptable values are ‘true’ and ‘false’. Changing this value updates the state of the existing member.
- pool_
id str The ID of the LB pool. Changing this creates a new member.
- port float
An integer representing the port on which the member is hosted. 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 an LB member. If omitted, the
regionargument of the provider is used. Changing this creates a new LB member.- tenant_
id str The owner of the member. Required if admin wants to create a member for another tenant. Changing this creates a new member.
- weight float
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.