1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. LbLoadbalancerV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.LbLoadbalancerV2

Explore with Pulumi AI

Manages an enhanced load balancer resource within FlexibleEngine.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const lb1 = new flexibleengine.LbLoadbalancerV2("lb1", {
    vipSubnetId: flexibleengine_vpc_subnet_v1.example_subnet.ipv4_subnet_id,
    tags: {
        key: "value",
    },
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

lb1 = flexibleengine.LbLoadbalancerV2("lb1",
    vip_subnet_id=flexibleengine_vpc_subnet_v1["example_subnet"]["ipv4_subnet_id"],
    tags={
        "key": "value",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := flexibleengine.NewLbLoadbalancerV2(ctx, "lb1", &flexibleengine.LbLoadbalancerV2Args{
			VipSubnetId: pulumi.Any(flexibleengine_vpc_subnet_v1.Example_subnet.Ipv4_subnet_id),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var lb1 = new Flexibleengine.LbLoadbalancerV2("lb1", new()
    {
        VipSubnetId = flexibleengine_vpc_subnet_v1.Example_subnet.Ipv4_subnet_id,
        Tags = 
        {
            { "key", "value" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.LbLoadbalancerV2;
import com.pulumi.flexibleengine.LbLoadbalancerV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var lb1 = new LbLoadbalancerV2("lb1", LbLoadbalancerV2Args.builder()
            .vipSubnetId(flexibleengine_vpc_subnet_v1.example_subnet().ipv4_subnet_id())
            .tags(Map.of("key", "value"))
            .build());

    }
}
Copy
resources:
  lb1:
    type: flexibleengine:LbLoadbalancerV2
    properties:
      vipSubnetId: ${flexibleengine_vpc_subnet_v1.example_subnet.ipv4_subnet_id}
      tags:
        key: value
Copy

Create LbLoadbalancerV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LbLoadbalancerV2(name: string, args: LbLoadbalancerV2Args, opts?: CustomResourceOptions);
@overload
def LbLoadbalancerV2(resource_name: str,
                     args: LbLoadbalancerV2Args,
                     opts: Optional[ResourceOptions] = None)

@overload
def LbLoadbalancerV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     vip_subnet_id: Optional[str] = None,
                     region: Optional[str] = None,
                     flavor: Optional[str] = None,
                     lb_loadbalancer_v2_id: Optional[str] = None,
                     loadbalancer_provider: Optional[str] = None,
                     name: Optional[str] = None,
                     admin_state_up: Optional[bool] = None,
                     security_group_ids: Optional[Sequence[str]] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     tenant_id: Optional[str] = None,
                     timeouts: Optional[LbLoadbalancerV2TimeoutsArgs] = None,
                     vip_address: Optional[str] = None,
                     description: Optional[str] = None)
func NewLbLoadbalancerV2(ctx *Context, name string, args LbLoadbalancerV2Args, opts ...ResourceOption) (*LbLoadbalancerV2, error)
public LbLoadbalancerV2(string name, LbLoadbalancerV2Args args, CustomResourceOptions? opts = null)
public LbLoadbalancerV2(String name, LbLoadbalancerV2Args args)
public LbLoadbalancerV2(String name, LbLoadbalancerV2Args args, CustomResourceOptions options)
type: flexibleengine:LbLoadbalancerV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LbLoadbalancerV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LbLoadbalancerV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LbLoadbalancerV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LbLoadbalancerV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LbLoadbalancerV2Args
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 lbLoadbalancerV2Resource = new Flexibleengine.LbLoadbalancerV2("lbLoadbalancerV2Resource", new()
{
    VipSubnetId = "string",
    Region = "string",
    LbLoadbalancerV2Id = "string",
    LoadbalancerProvider = "string",
    Name = "string",
    SecurityGroupIds = new[]
    {
        "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Flexibleengine.Inputs.LbLoadbalancerV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    VipAddress = "string",
    Description = "string",
});
Copy
example, err := flexibleengine.NewLbLoadbalancerV2(ctx, "lbLoadbalancerV2Resource", &flexibleengine.LbLoadbalancerV2Args{
VipSubnetId: pulumi.String("string"),
Region: pulumi.String("string"),
LbLoadbalancerV2Id: pulumi.String("string"),
LoadbalancerProvider: pulumi.String("string"),
Name: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &.LbLoadbalancerV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VipAddress: pulumi.String("string"),
Description: pulumi.String("string"),
})
Copy
var lbLoadbalancerV2Resource = new LbLoadbalancerV2("lbLoadbalancerV2Resource", LbLoadbalancerV2Args.builder()
    .vipSubnetId("string")
    .region("string")
    .lbLoadbalancerV2Id("string")
    .loadbalancerProvider("string")
    .name("string")
    .securityGroupIds("string")
    .tags(Map.of("string", "string"))
    .timeouts(LbLoadbalancerV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .vipAddress("string")
    .description("string")
    .build());
Copy
lb_loadbalancer_v2_resource = flexibleengine.LbLoadbalancerV2("lbLoadbalancerV2Resource",
    vip_subnet_id="string",
    region="string",
    lb_loadbalancer_v2_id="string",
    loadbalancer_provider="string",
    name="string",
    security_group_ids=["string"],
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    vip_address="string",
    description="string")
Copy
const lbLoadbalancerV2Resource = new flexibleengine.LbLoadbalancerV2("lbLoadbalancerV2Resource", {
    vipSubnetId: "string",
    region: "string",
    lbLoadbalancerV2Id: "string",
    loadbalancerProvider: "string",
    name: "string",
    securityGroupIds: ["string"],
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    vipAddress: "string",
    description: "string",
});
Copy
type: flexibleengine:LbLoadbalancerV2
properties:
    description: string
    lbLoadbalancerV2Id: string
    loadbalancerProvider: string
    name: string
    region: string
    securityGroupIds:
        - string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
    vipAddress: string
    vipSubnetId: string
Copy

LbLoadbalancerV2 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 LbLoadbalancerV2 resource accepts the following input properties:

VipSubnetId This property is required. string
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
AdminStateUp bool

Deprecated: Deprecated

Description string
Human-readable description for the loadbalancer.
Flavor string

Deprecated: Deprecated

LbLoadbalancerV2Id string
LoadbalancerProvider string
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
Name string
Human-readable name for the loadbalancer. Does not have to be unique.
Region string
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
SecurityGroupIds List<string>
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
Tags Dictionary<string, string>
The key/value pairs to associate with the loadbalancer.
TenantId string

Deprecated: Deprecated

Timeouts LbLoadbalancerV2Timeouts
VipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
VipSubnetId This property is required. string
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
AdminStateUp bool

Deprecated: Deprecated

Description string
Human-readable description for the loadbalancer.
Flavor string

Deprecated: Deprecated

LbLoadbalancerV2Id string
LoadbalancerProvider string
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
Name string
Human-readable name for the loadbalancer. Does not have to be unique.
Region string
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
SecurityGroupIds []string
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
Tags map[string]string
The key/value pairs to associate with the loadbalancer.
TenantId string

Deprecated: Deprecated

Timeouts LbLoadbalancerV2TimeoutsArgs
VipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipSubnetId This property is required. String
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
adminStateUp Boolean

Deprecated: Deprecated

description String
Human-readable description for the loadbalancer.
flavor String

Deprecated: Deprecated

lbLoadbalancerV2Id String
loadbalancerProvider String
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name String
Human-readable name for the loadbalancer. Does not have to be unique.
region String
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
securityGroupIds List<String>
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags Map<String,String>
The key/value pairs to associate with the loadbalancer.
tenantId String

Deprecated: Deprecated

timeouts LbLoadbalancerV2Timeouts
vipAddress String
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipSubnetId This property is required. string
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
adminStateUp boolean

Deprecated: Deprecated

description string
Human-readable description for the loadbalancer.
flavor string

Deprecated: Deprecated

lbLoadbalancerV2Id string
loadbalancerProvider string
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name string
Human-readable name for the loadbalancer. Does not have to be unique.
region string
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
securityGroupIds string[]
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags {[key: string]: string}
The key/value pairs to associate with the loadbalancer.
tenantId string

Deprecated: Deprecated

timeouts LbLoadbalancerV2Timeouts
vipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
vip_subnet_id This property is required. str
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
admin_state_up bool

Deprecated: Deprecated

description str
Human-readable description for the loadbalancer.
flavor str

Deprecated: Deprecated

lb_loadbalancer_v2_id str
loadbalancer_provider str
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name str
Human-readable name for the loadbalancer. Does not have to be unique.
region str
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
security_group_ids Sequence[str]
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags Mapping[str, str]
The key/value pairs to associate with the loadbalancer.
tenant_id str

Deprecated: Deprecated

timeouts LbLoadbalancerV2TimeoutsArgs
vip_address str
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipSubnetId This property is required. String
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
adminStateUp Boolean

Deprecated: Deprecated

description String
Human-readable description for the loadbalancer.
flavor String

Deprecated: Deprecated

lbLoadbalancerV2Id String
loadbalancerProvider String
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name String
Human-readable name for the loadbalancer. Does not have to be unique.
region String
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
securityGroupIds List<String>
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags Map<String>
The key/value pairs to associate with the loadbalancer.
tenantId String

Deprecated: Deprecated

timeouts Property Map
vipAddress String
The ip address of the load balancer. Changing this creates a new loadbalancer.

Outputs

All input properties are implicitly available as output properties. Additionally, the LbLoadbalancerV2 resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
VipPortId string
The Port ID of the Load Balancer IP.
Id string
The provider-assigned unique ID for this managed resource.
VipPortId string
The Port ID of the Load Balancer IP.
id String
The provider-assigned unique ID for this managed resource.
vipPortId String
The Port ID of the Load Balancer IP.
id string
The provider-assigned unique ID for this managed resource.
vipPortId string
The Port ID of the Load Balancer IP.
id str
The provider-assigned unique ID for this managed resource.
vip_port_id str
The Port ID of the Load Balancer IP.
id String
The provider-assigned unique ID for this managed resource.
vipPortId String
The Port ID of the Load Balancer IP.

Look up Existing LbLoadbalancerV2 Resource

Get an existing LbLoadbalancerV2 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?: LbLoadbalancerV2State, opts?: CustomResourceOptions): LbLoadbalancerV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_state_up: Optional[bool] = None,
        description: Optional[str] = None,
        flavor: Optional[str] = None,
        lb_loadbalancer_v2_id: Optional[str] = None,
        loadbalancer_provider: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        security_group_ids: Optional[Sequence[str]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tenant_id: Optional[str] = None,
        timeouts: Optional[LbLoadbalancerV2TimeoutsArgs] = None,
        vip_address: Optional[str] = None,
        vip_port_id: Optional[str] = None,
        vip_subnet_id: Optional[str] = None) -> LbLoadbalancerV2
func GetLbLoadbalancerV2(ctx *Context, name string, id IDInput, state *LbLoadbalancerV2State, opts ...ResourceOption) (*LbLoadbalancerV2, error)
public static LbLoadbalancerV2 Get(string name, Input<string> id, LbLoadbalancerV2State? state, CustomResourceOptions? opts = null)
public static LbLoadbalancerV2 get(String name, Output<String> id, LbLoadbalancerV2State state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:LbLoadbalancerV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AdminStateUp bool

Deprecated: Deprecated

Description string
Human-readable description for the loadbalancer.
Flavor string

Deprecated: Deprecated

LbLoadbalancerV2Id string
LoadbalancerProvider string
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
Name string
Human-readable name for the loadbalancer. Does not have to be unique.
Region string
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
SecurityGroupIds List<string>
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
Tags Dictionary<string, string>
The key/value pairs to associate with the loadbalancer.
TenantId string

Deprecated: Deprecated

Timeouts LbLoadbalancerV2Timeouts
VipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
VipPortId string
The Port ID of the Load Balancer IP.
VipSubnetId string
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
AdminStateUp bool

Deprecated: Deprecated

Description string
Human-readable description for the loadbalancer.
Flavor string

Deprecated: Deprecated

LbLoadbalancerV2Id string
LoadbalancerProvider string
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
Name string
Human-readable name for the loadbalancer. Does not have to be unique.
Region string
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
SecurityGroupIds []string
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
Tags map[string]string
The key/value pairs to associate with the loadbalancer.
TenantId string

Deprecated: Deprecated

Timeouts LbLoadbalancerV2TimeoutsArgs
VipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
VipPortId string
The Port ID of the Load Balancer IP.
VipSubnetId string
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
adminStateUp Boolean

Deprecated: Deprecated

description String
Human-readable description for the loadbalancer.
flavor String

Deprecated: Deprecated

lbLoadbalancerV2Id String
loadbalancerProvider String
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name String
Human-readable name for the loadbalancer. Does not have to be unique.
region String
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
securityGroupIds List<String>
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags Map<String,String>
The key/value pairs to associate with the loadbalancer.
tenantId String

Deprecated: Deprecated

timeouts LbLoadbalancerV2Timeouts
vipAddress String
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipPortId String
The Port ID of the Load Balancer IP.
vipSubnetId String
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
adminStateUp boolean

Deprecated: Deprecated

description string
Human-readable description for the loadbalancer.
flavor string

Deprecated: Deprecated

lbLoadbalancerV2Id string
loadbalancerProvider string
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name string
Human-readable name for the loadbalancer. Does not have to be unique.
region string
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
securityGroupIds string[]
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags {[key: string]: string}
The key/value pairs to associate with the loadbalancer.
tenantId string

Deprecated: Deprecated

timeouts LbLoadbalancerV2Timeouts
vipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipPortId string
The Port ID of the Load Balancer IP.
vipSubnetId string
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
admin_state_up bool

Deprecated: Deprecated

description str
Human-readable description for the loadbalancer.
flavor str

Deprecated: Deprecated

lb_loadbalancer_v2_id str
loadbalancer_provider str
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name str
Human-readable name for the loadbalancer. Does not have to be unique.
region str
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
security_group_ids Sequence[str]
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags Mapping[str, str]
The key/value pairs to associate with the loadbalancer.
tenant_id str

Deprecated: Deprecated

timeouts LbLoadbalancerV2TimeoutsArgs
vip_address str
The ip address of the load balancer. Changing this creates a new loadbalancer.
vip_port_id str
The Port ID of the Load Balancer IP.
vip_subnet_id str
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
adminStateUp Boolean

Deprecated: Deprecated

description String
Human-readable description for the loadbalancer.
flavor String

Deprecated: Deprecated

lbLoadbalancerV2Id String
loadbalancerProvider String
The name of the provider. Currently, only vlb is supported. Changing this creates a new loadbalancer.
name String
Human-readable name for the loadbalancer. Does not have to be unique.
region String
The region in which to create the loadbalancer resource. If omitted, the region argument of the provider is used. Changing this creates a new loadbalancer.
securityGroupIds List<String>
A list of security group IDs to apply to the loadbalancer. The security groups must be specified by ID and not name (as opposed to how they are configured with the Compute Instance).
tags Map<String>
The key/value pairs to associate with the loadbalancer.
tenantId String

Deprecated: Deprecated

timeouts Property Map
vipAddress String
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipPortId String
The Port ID of the Load Balancer IP.
vipSubnetId String
The ipv4_subnet_id or ipv6_subnet_id of the VPC Subnet on which to allocate the loadbalancer's address. A tenant can only create Loadbalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.

Supporting Types

LbLoadbalancerV2Timeouts
, LbLoadbalancerV2TimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Import

Loadbalancers can be imported using the id, e.g.

$ pulumi import flexibleengine:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 3e3632db-36c6-4b28-a92e-e72e6562daa6
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.