1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. Lbmember
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.Lbmember

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    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.
    PoolId string
    The uuid for the load balancer pool.
    ProtocolPort double
    The port on which the member listens for requests.
    InstanceId string
    The uuid of the instance (amphora) associated with the pool member.
    LastUpdated string
    The timestamp of the last update (use with update context).
    LbmemberId string
    The ID of this resource.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SubnetId string
    The uuid of the subnet in which the pool member is located.
    Timeouts LbmemberTimeouts
    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.
    PoolId string
    The uuid for the load balancer pool.
    ProtocolPort float64
    The port on which the member listens for requests.
    InstanceId string
    The uuid of the instance (amphora) associated with the pool member.
    LastUpdated string
    The timestamp of the last update (use with update context).
    LbmemberId string
    The ID of this resource.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SubnetId string
    The uuid of the subnet in which the pool member is located.
    Timeouts LbmemberTimeoutsArgs
    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.
    poolId String
    The uuid for the load balancer pool.
    protocolPort Double
    The port on which the member listens for requests.
    instanceId String
    The uuid of the instance (amphora) associated with the pool member.
    lastUpdated String
    The timestamp of the last update (use with update context).
    lbmemberId String
    The ID of this resource.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    subnetId String
    The uuid of the subnet in which the pool member is located.
    timeouts LbmemberTimeouts
    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.
    poolId string
    The uuid for the load balancer pool.
    protocolPort number
    The port on which the member listens for requests.
    instanceId string
    The uuid of the instance (amphora) associated with the pool member.
    lastUpdated string
    The timestamp of the last update (use with update context).
    lbmemberId string
    The ID of this resource.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    subnetId string
    The uuid of the subnet in which the pool member is located.
    timeouts LbmemberTimeouts
    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 LbmemberTimeoutsArgs
    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.
    poolId String
    The uuid for the load balancer pool.
    protocolPort Number
    The port on which the member listens for requests.
    instanceId String
    The uuid of the instance (amphora) associated with the pool member.
    lastUpdated String
    The timestamp of the last update (use with update context).
    lbmemberId String
    The ID of this resource.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    subnetId 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.
    OperatingStatus string
    The current operating status of the pool member.
    Id string
    The provider-assigned unique ID for this managed resource.
    OperatingStatus string
    The current operating status of the pool member.
    id String
    The provider-assigned unique ID for this managed resource.
    operatingStatus String
    The current operating status of the pool member.
    id string
    The provider-assigned unique ID for this managed resource.
    operatingStatus 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.
    operatingStatus 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.
    The following state arguments are supported:
    Address string
    The IP address of the load balancer pool member.
    InstanceId string
    The uuid of the instance (amphora) associated with the pool member.
    LastUpdated string
    The timestamp of the last update (use with update context).
    LbmemberId string
    The ID of this resource.
    OperatingStatus string
    The current operating status of the pool member.
    PoolId string
    The uuid for the load balancer pool.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    ProtocolPort double
    The port on which the member listens for requests.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SubnetId string
    The uuid of the subnet in which the pool member is located.
    Timeouts LbmemberTimeouts
    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.
    InstanceId string
    The uuid of the instance (amphora) associated with the pool member.
    LastUpdated string
    The timestamp of the last update (use with update context).
    LbmemberId string
    The ID of this resource.
    OperatingStatus string
    The current operating status of the pool member.
    PoolId string
    The uuid for the load balancer pool.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    ProtocolPort float64
    The port on which the member listens for requests.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    SubnetId string
    The uuid of the subnet in which the pool member is located.
    Timeouts LbmemberTimeoutsArgs
    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.
    instanceId String
    The uuid of the instance (amphora) associated with the pool member.
    lastUpdated String
    The timestamp of the last update (use with update context).
    lbmemberId String
    The ID of this resource.
    operatingStatus String
    The current operating status of the pool member.
    poolId String
    The uuid for the load balancer pool.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocolPort Double
    The port on which the member listens for requests.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    subnetId String
    The uuid of the subnet in which the pool member is located.
    timeouts LbmemberTimeouts
    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.
    instanceId string
    The uuid of the instance (amphora) associated with the pool member.
    lastUpdated string
    The timestamp of the last update (use with update context).
    lbmemberId string
    The ID of this resource.
    operatingStatus string
    The current operating status of the pool member.
    poolId string
    The uuid for the load balancer pool.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocolPort number
    The port on which the member listens for requests.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    subnetId string
    The uuid of the subnet in which the pool member is located.
    timeouts LbmemberTimeouts
    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 LbmemberTimeoutsArgs
    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.
    instanceId String
    The uuid of the instance (amphora) associated with the pool member.
    lastUpdated String
    The timestamp of the last update (use with update context).
    lbmemberId String
    The ID of this resource.
    operatingStatus String
    The current operating status of the pool member.
    poolId String
    The uuid for the load balancer pool.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    protocolPort Number
    The port on which the member listens for requests.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    subnetId 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

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    import using <project_id>:<region_id>::<pool_id> format

    $ 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.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center