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",
},
});
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",
})
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
})
}
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" },
},
});
});
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());
}
}
resources:
lb1:
type: flexibleengine:LbLoadbalancerV2
properties:
vipSubnetId: ${flexibleengine_vpc_subnet_v1.example_subnet.ipv4_subnet_id}
tags:
key: value
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 string
- The unique name of the resource.
- args LbLoadbalancerV2Args
- 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 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 string
- The unique name of the resource.
- args LbLoadbalancerV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbLoadbalancerV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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: &flexibleengine.LbLoadbalancerV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VipAddress: pulumi.String("string"),
Description: pulumi.String("string"),
})
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());
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")
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",
});
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
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:
- Vip
Subnet stringId - The
ipv4_subnet_id
oripv6_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 boolUp - Description string
- Human-readable description for the loadbalancer.
- Flavor string
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider 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. - Security
Group List<string>Ids - 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).
- Dictionary<string, string>
- The key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Timeouts
Lb
Loadbalancer V2Timeouts - Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Subnet stringId - The
ipv4_subnet_id
oripv6_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 boolUp - Description string
- Human-readable description for the loadbalancer.
- Flavor string
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider 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. - Security
Group []stringIds - 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).
- map[string]string
- The key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Timeouts
Lb
Loadbalancer V2Timeouts Args - Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Subnet StringId - The
ipv4_subnet_id
oripv6_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 BooleanUp - description String
- Human-readable description for the loadbalancer.
- flavor String
- lb
Loadbalancer StringV2Id - loadbalancer
Provider 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. - security
Group List<String>Ids - 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).
- Map<String,String>
- The key/value pairs to associate with the loadbalancer.
- tenant
Id String - timeouts
Lb
Loadbalancer V2Timeouts - vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Subnet stringId - The
ipv4_subnet_id
oripv6_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 booleanUp - description string
- Human-readable description for the loadbalancer.
- flavor string
- lb
Loadbalancer stringV2Id - loadbalancer
Provider 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. - security
Group string[]Ids - 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).
- {[key: string]: string}
- The key/value pairs to associate with the loadbalancer.
- tenant
Id string - timeouts
Lb
Loadbalancer V2Timeouts - vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
subnet_ strid - The
ipv4_subnet_id
oripv6_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_ boolup - description str
- Human-readable description for the loadbalancer.
- flavor str
- lb_
loadbalancer_ strv2_ id - 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_ Sequence[str]ids - 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).
- Mapping[str, str]
- The key/value pairs to associate with the loadbalancer.
- tenant_
id str - timeouts
Lb
Loadbalancer V2Timeouts Args - vip_
address str - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Subnet StringId - The
ipv4_subnet_id
oripv6_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 BooleanUp - description String
- Human-readable description for the loadbalancer.
- flavor String
- lb
Loadbalancer StringV2Id - loadbalancer
Provider 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. - security
Group List<String>Ids - 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).
- Map<String>
- The key/value pairs to associate with the loadbalancer.
- tenant
Id String - timeouts Property Map
- vip
Address 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 str
- The provider-assigned unique ID for this managed resource.
- vip_
port_ strid - 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
- 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.
- Admin
State boolUp - Description string
- Human-readable description for the loadbalancer.
- Flavor string
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider 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. - Security
Group List<string>Ids - 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).
- Dictionary<string, string>
- The key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Timeouts
Lb
Loadbalancer V2Timeouts - Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Port stringId - The Port ID of the Load Balancer IP.
- Vip
Subnet stringId - The
ipv4_subnet_id
oripv6_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 boolUp - Description string
- Human-readable description for the loadbalancer.
- Flavor string
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider 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. - Security
Group []stringIds - 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).
- map[string]string
- The key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Timeouts
Lb
Loadbalancer V2Timeouts Args - Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Port stringId - The Port ID of the Load Balancer IP.
- Vip
Subnet stringId - The
ipv4_subnet_id
oripv6_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 BooleanUp - description String
- Human-readable description for the loadbalancer.
- flavor String
- lb
Loadbalancer StringV2Id - loadbalancer
Provider 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. - security
Group List<String>Ids - 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).
- Map<String,String>
- The key/value pairs to associate with the loadbalancer.
- tenant
Id String - timeouts
Lb
Loadbalancer V2Timeouts - vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Port StringId - The Port ID of the Load Balancer IP.
- vip
Subnet StringId - The
ipv4_subnet_id
oripv6_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 booleanUp - description string
- Human-readable description for the loadbalancer.
- flavor string
- lb
Loadbalancer stringV2Id - loadbalancer
Provider 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. - security
Group string[]Ids - 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).
- {[key: string]: string}
- The key/value pairs to associate with the loadbalancer.
- tenant
Id string - timeouts
Lb
Loadbalancer V2Timeouts - vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Port stringId - The Port ID of the Load Balancer IP.
- vip
Subnet stringId - The
ipv4_subnet_id
oripv6_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_ boolup - description str
- Human-readable description for the loadbalancer.
- flavor str
- lb_
loadbalancer_ strv2_ id - 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_ Sequence[str]ids - 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).
- Mapping[str, str]
- The key/value pairs to associate with the loadbalancer.
- tenant_
id str - timeouts
Lb
Loadbalancer V2Timeouts Args - vip_
address str - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
port_ strid - The Port ID of the Load Balancer IP.
- vip_
subnet_ strid - The
ipv4_subnet_id
oripv6_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 BooleanUp - description String
- Human-readable description for the loadbalancer.
- flavor String
- lb
Loadbalancer StringV2Id - loadbalancer
Provider 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. - security
Group List<String>Ids - 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).
- Map<String>
- The key/value pairs to associate with the loadbalancer.
- tenant
Id String - timeouts Property Map
- vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Port StringId - The Port ID of the Load Balancer IP.
- vip
Subnet StringId - The
ipv4_subnet_id
oripv6_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
Import
Loadbalancers can be imported using the id
, e.g.
$ pulumi import flexibleengine:index/lbLoadbalancerV2:LbLoadbalancerV2 loadbalancer_1 3e3632db-36c6-4b28-a92e-e72e6562daa6
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.