edgecenter.Lbmember
Explore with Pulumi AI
Represent load balancer member
Create Lbmember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Lbmember(name: string, args: LbmemberArgs, opts?: CustomResourceOptions);
@overload
def Lbmember(resource_name: str,
args: LbmemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Lbmember(resource_name: str,
opts: Optional[ResourceOptions] = None,
pool_id: Optional[str] = None,
protocol_port: Optional[float] = None,
address: Optional[str] = None,
project_name: Optional[str] = None,
lbmember_id: Optional[str] = None,
project_id: Optional[float] = None,
last_updated: Optional[str] = None,
instance_id: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
subnet_id: Optional[str] = None,
timeouts: Optional[LbmemberTimeoutsArgs] = None,
weight: Optional[float] = None)
func NewLbmember(ctx *Context, name string, args LbmemberArgs, opts ...ResourceOption) (*Lbmember, error)
public Lbmember(string name, LbmemberArgs args, CustomResourceOptions? opts = null)
public Lbmember(String name, LbmemberArgs args)
public Lbmember(String name, LbmemberArgs args, CustomResourceOptions options)
type: edgecenter:Lbmember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LbmemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LbmemberArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LbmemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbmemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbmemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var lbmemberResource = new Edgecenter.Lbmember("lbmemberResource", new()
{
PoolId = "string",
ProtocolPort = 0,
Address = "string",
ProjectName = "string",
LbmemberId = "string",
ProjectId = 0,
LastUpdated = "string",
InstanceId = "string",
RegionId = 0,
RegionName = "string",
SubnetId = "string",
Timeouts = new Edgecenter.Inputs.LbmemberTimeoutsArgs
{
Create = "string",
Delete = "string",
},
Weight = 0,
});
example, err := edgecenter.NewLbmember(ctx, "lbmemberResource", &edgecenter.LbmemberArgs{
PoolId: pulumi.String("string"),
ProtocolPort: pulumi.Float64(0),
Address: pulumi.String("string"),
ProjectName: pulumi.String("string"),
LbmemberId: pulumi.String("string"),
ProjectId: pulumi.Float64(0),
LastUpdated: pulumi.String("string"),
InstanceId: pulumi.String("string"),
RegionId: pulumi.Float64(0),
RegionName: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Timeouts: &edgecenter.LbmemberTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Weight: pulumi.Float64(0),
})
var lbmemberResource = new Lbmember("lbmemberResource", LbmemberArgs.builder()
.poolId("string")
.protocolPort(0)
.address("string")
.projectName("string")
.lbmemberId("string")
.projectId(0)
.lastUpdated("string")
.instanceId("string")
.regionId(0)
.regionName("string")
.subnetId("string")
.timeouts(LbmemberTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.weight(0)
.build());
lbmember_resource = edgecenter.Lbmember("lbmemberResource",
pool_id="string",
protocol_port=0,
address="string",
project_name="string",
lbmember_id="string",
project_id=0,
last_updated="string",
instance_id="string",
region_id=0,
region_name="string",
subnet_id="string",
timeouts={
"create": "string",
"delete": "string",
},
weight=0)
const lbmemberResource = new edgecenter.Lbmember("lbmemberResource", {
poolId: "string",
protocolPort: 0,
address: "string",
projectName: "string",
lbmemberId: "string",
projectId: 0,
lastUpdated: "string",
instanceId: "string",
regionId: 0,
regionName: "string",
subnetId: "string",
timeouts: {
create: "string",
"delete": "string",
},
weight: 0,
});
type: edgecenter:Lbmember
properties:
address: string
instanceId: string
lastUpdated: string
lbmemberId: string
poolId: string
projectId: 0
projectName: string
protocolPort: 0
regionId: 0
regionName: string
subnetId: string
timeouts:
create: string
delete: string
weight: 0
Lbmember Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Lbmember resource accepts the following input properties:
- Address string
- The IP address of the load balancer pool member.
- Pool
Id string - The uuid for the load balancer pool.
- Protocol
Port double - The port on which the member listens for requests.
- Instance
Id string - The uuid of the instance (amphora) associated with the pool member.
- Last
Updated string - The timestamp of the last update (use with update context).
- Lbmember
Id string - The ID of this resource.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Subnet
Id string - The uuid of the subnet in which the pool member is located.
- Timeouts
Lbmember
Timeouts - Weight double
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- Address string
- The IP address of the load balancer pool member.
- Pool
Id string - The uuid for the load balancer pool.
- Protocol
Port float64 - The port on which the member listens for requests.
- Instance
Id string - The uuid of the instance (amphora) associated with the pool member.
- Last
Updated string - The timestamp of the last update (use with update context).
- Lbmember
Id string - The ID of this resource.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Subnet
Id string - The uuid of the subnet in which the pool member is located.
- Timeouts
Lbmember
Timeouts Args - Weight float64
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address String
- The IP address of the load balancer pool member.
- pool
Id String - The uuid for the load balancer pool.
- protocol
Port Double - The port on which the member listens for requests.
- instance
Id String - The uuid of the instance (amphora) associated with the pool member.
- last
Updated String - The timestamp of the last update (use with update context).
- lbmember
Id String - The ID of this resource.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet
Id String - The uuid of the subnet in which the pool member is located.
- timeouts
Lbmember
Timeouts - weight Double
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address string
- The IP address of the load balancer pool member.
- pool
Id string - The uuid for the load balancer pool.
- protocol
Port number - The port on which the member listens for requests.
- instance
Id string - The uuid of the instance (amphora) associated with the pool member.
- last
Updated string - The timestamp of the last update (use with update context).
- lbmember
Id string - The ID of this resource.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet
Id string - The uuid of the subnet in which the pool member is located.
- timeouts
Lbmember
Timeouts - weight number
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address str
- The IP address of the load balancer pool member.
- pool_
id str - The uuid for the load balancer pool.
- protocol_
port float - The port on which the member listens for requests.
- instance_
id str - The uuid of the instance (amphora) associated with the pool member.
- last_
updated str - The timestamp of the last update (use with update context).
- lbmember_
id str - The ID of this resource.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet_
id str - The uuid of the subnet in which the pool member is located.
- timeouts
Lbmember
Timeouts Args - weight float
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address String
- The IP address of the load balancer pool member.
- pool
Id String - The uuid for the load balancer pool.
- protocol
Port Number - The port on which the member listens for requests.
- instance
Id String - The uuid of the instance (amphora) associated with the pool member.
- last
Updated String - The timestamp of the last update (use with update context).
- lbmember
Id String - The ID of this resource.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet
Id String - The uuid of the subnet in which the pool member is located.
- timeouts Property Map
- weight Number
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
Outputs
All input properties are implicitly available as output properties. Additionally, the Lbmember resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Operating
Status string - The current operating status of the pool member.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operating
Status string - The current operating status of the pool member.
- id String
- The provider-assigned unique ID for this managed resource.
- operating
Status String - The current operating status of the pool member.
- id string
- The provider-assigned unique ID for this managed resource.
- operating
Status string - The current operating status of the pool member.
- id str
- The provider-assigned unique ID for this managed resource.
- operating_
status str - The current operating status of the pool member.
- id String
- The provider-assigned unique ID for this managed resource.
- operating
Status String - The current operating status of the pool member.
Look up Existing Lbmember Resource
Get an existing Lbmember 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?: LbmemberState, opts?: CustomResourceOptions): Lbmember
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
instance_id: Optional[str] = None,
last_updated: Optional[str] = None,
lbmember_id: Optional[str] = None,
operating_status: Optional[str] = None,
pool_id: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
protocol_port: Optional[float] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
subnet_id: Optional[str] = None,
timeouts: Optional[LbmemberTimeoutsArgs] = None,
weight: Optional[float] = None) -> Lbmember
func GetLbmember(ctx *Context, name string, id IDInput, state *LbmemberState, opts ...ResourceOption) (*Lbmember, error)
public static Lbmember Get(string name, Input<string> id, LbmemberState? state, CustomResourceOptions? opts = null)
public static Lbmember get(String name, Output<String> id, LbmemberState state, CustomResourceOptions options)
resources: _: type: edgecenter:Lbmember get: id: ${id}
- 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.
- 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.
- Address string
- The IP address of the load balancer pool member.
- Instance
Id string - The uuid of the instance (amphora) associated with the pool member.
- Last
Updated string - The timestamp of the last update (use with update context).
- Lbmember
Id string - The ID of this resource.
- Operating
Status string - The current operating status of the pool member.
- Pool
Id string - The uuid for the load balancer pool.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Protocol
Port double - The port on which the member listens for requests.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Subnet
Id string - The uuid of the subnet in which the pool member is located.
- Timeouts
Lbmember
Timeouts - Weight double
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- Address string
- The IP address of the load balancer pool member.
- Instance
Id string - The uuid of the instance (amphora) associated with the pool member.
- Last
Updated string - The timestamp of the last update (use with update context).
- Lbmember
Id string - The ID of this resource.
- Operating
Status string - The current operating status of the pool member.
- Pool
Id string - The uuid for the load balancer pool.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Protocol
Port float64 - The port on which the member listens for requests.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Subnet
Id string - The uuid of the subnet in which the pool member is located.
- Timeouts
Lbmember
Timeouts Args - Weight float64
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address String
- The IP address of the load balancer pool member.
- instance
Id String - The uuid of the instance (amphora) associated with the pool member.
- last
Updated String - The timestamp of the last update (use with update context).
- lbmember
Id String - The ID of this resource.
- operating
Status String - The current operating status of the pool member.
- pool
Id String - The uuid for the load balancer pool.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol
Port Double - The port on which the member listens for requests.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet
Id String - The uuid of the subnet in which the pool member is located.
- timeouts
Lbmember
Timeouts - weight Double
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address string
- The IP address of the load balancer pool member.
- instance
Id string - The uuid of the instance (amphora) associated with the pool member.
- last
Updated string - The timestamp of the last update (use with update context).
- lbmember
Id string - The ID of this resource.
- operating
Status string - The current operating status of the pool member.
- pool
Id string - The uuid for the load balancer pool.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol
Port number - The port on which the member listens for requests.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet
Id string - The uuid of the subnet in which the pool member is located.
- timeouts
Lbmember
Timeouts - weight number
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address str
- The IP address of the load balancer pool member.
- instance_
id str - The uuid of the instance (amphora) associated with the pool member.
- last_
updated str - The timestamp of the last update (use with update context).
- lbmember_
id str - The ID of this resource.
- operating_
status str - The current operating status of the pool member.
- pool_
id str - The uuid for the load balancer pool.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol_
port float - The port on which the member listens for requests.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet_
id str - The uuid of the subnet in which the pool member is located.
- timeouts
Lbmember
Timeouts Args - weight float
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
- address String
- The IP address of the load balancer pool member.
- instance
Id String - The uuid of the instance (amphora) associated with the pool member.
- last
Updated String - The timestamp of the last update (use with update context).
- lbmember
Id String - The ID of this resource.
- operating
Status String - The current operating status of the pool member.
- pool
Id String - The uuid for the load balancer pool.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol
Port Number - The port on which the member listens for requests.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- subnet
Id String - The uuid of the subnet in which the pool member is located.
- timeouts Property Map
- weight Number
- A weight value between 0 and 256, determining the distribution of requests among the members of the pool.
Supporting Types
LbmemberTimeouts, LbmemberTimeoutsArgs
Import
import using <project_id>:<region_id>:
$ pulumi import edgecenter:index/lbmember:Lbmember lbmember1 1:6:a775dd94-4e9c-4da7-9f0e-ffc9ae34446b:447d2959-8ae0-4ca0-8d47-9f050a3637d7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.