opentelekomcloud.LbLoadbalancerV2
Explore with Pulumi AI
Up-to-date reference of API arguments for ELB load balancer you can get at documentation portal
Manages an Enhanced loadbalancer resource within OpenTelekomCloud.
Example Usage
Basic usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const lb1 = new opentelekomcloud.LbLoadbalancerV2("lb1", {
tags: {
muh: "kuh",
},
vipSubnetId: "d9415786-5f1a-428b-b35f-2f1523e146d2",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
lb1 = opentelekomcloud.LbLoadbalancerV2("lb1",
tags={
"muh": "kuh",
},
vip_subnet_id="d9415786-5f1a-428b-b35f-2f1523e146d2")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewLbLoadbalancerV2(ctx, "lb1", &opentelekomcloud.LbLoadbalancerV2Args{
Tags: pulumi.StringMap{
"muh": pulumi.String("kuh"),
},
VipSubnetId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var lb1 = new Opentelekomcloud.LbLoadbalancerV2("lb1", new()
{
Tags =
{
{ "muh", "kuh" },
},
VipSubnetId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LbLoadbalancerV2;
import com.pulumi.opentelekomcloud.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()
.tags(Map.of("muh", "kuh"))
.vipSubnetId("d9415786-5f1a-428b-b35f-2f1523e146d2")
.build());
}
}
resources:
lb1:
type: opentelekomcloud:LbLoadbalancerV2
properties:
tags:
muh: kuh
vipSubnetId: d9415786-5f1a-428b-b35f-2f1523e146d2
Public load balancer (with floating IP)
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const lb1 = new opentelekomcloud.LbLoadbalancerV2("lb1", {vipSubnetId: "d9415786-5f1a-428b-b35f-2f1523e146d2"});
const associate = new opentelekomcloud.NetworkingFloatingipAssociateV2("associate", {
floatingIp: _var.floating_ip_address,
portId: lb1.vipPortId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
lb1 = opentelekomcloud.LbLoadbalancerV2("lb1", vip_subnet_id="d9415786-5f1a-428b-b35f-2f1523e146d2")
associate = opentelekomcloud.NetworkingFloatingipAssociateV2("associate",
floating_ip=var["floating_ip_address"],
port_id=lb1.vip_port_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
lb1, err := opentelekomcloud.NewLbLoadbalancerV2(ctx, "lb1", &opentelekomcloud.LbLoadbalancerV2Args{
VipSubnetId: pulumi.String("d9415786-5f1a-428b-b35f-2f1523e146d2"),
})
if err != nil {
return err
}
_, err = opentelekomcloud.NewNetworkingFloatingipAssociateV2(ctx, "associate", &opentelekomcloud.NetworkingFloatingipAssociateV2Args{
FloatingIp: pulumi.Any(_var.Floating_ip_address),
PortId: lb1.VipPortId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var lb1 = new Opentelekomcloud.LbLoadbalancerV2("lb1", new()
{
VipSubnetId = "d9415786-5f1a-428b-b35f-2f1523e146d2",
});
var associate = new Opentelekomcloud.NetworkingFloatingipAssociateV2("associate", new()
{
FloatingIp = @var.Floating_ip_address,
PortId = lb1.VipPortId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LbLoadbalancerV2;
import com.pulumi.opentelekomcloud.LbLoadbalancerV2Args;
import com.pulumi.opentelekomcloud.NetworkingFloatingipAssociateV2;
import com.pulumi.opentelekomcloud.NetworkingFloatingipAssociateV2Args;
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("d9415786-5f1a-428b-b35f-2f1523e146d2")
.build());
var associate = new NetworkingFloatingipAssociateV2("associate", NetworkingFloatingipAssociateV2Args.builder()
.floatingIp(var_.floating_ip_address())
.portId(lb1.vipPortId())
.build());
}
}
resources:
lb1:
type: opentelekomcloud:LbLoadbalancerV2
properties:
vipSubnetId: d9415786-5f1a-428b-b35f-2f1523e146d2
associate:
type: opentelekomcloud:NetworkingFloatingipAssociateV2
properties:
floatingIp: ${var.floating_ip_address}
portId: ${lb1.vipPortId}
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,
admin_state_up: Optional[bool] = None,
description: Optional[str] = None,
lb_loadbalancer_v2_id: Optional[str] = None,
loadbalancer_provider: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tenant_id: Optional[str] = None,
timeouts: Optional[LbLoadbalancerV2TimeoutsArgs] = None,
vip_address: 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: opentelekomcloud: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 Opentelekomcloud.LbLoadbalancerV2("lbLoadbalancerV2Resource", new()
{
VipSubnetId = "string",
AdminStateUp = false,
Description = "string",
LbLoadbalancerV2Id = "string",
LoadbalancerProvider = "string",
Name = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
TenantId = "string",
Timeouts = new Opentelekomcloud.Inputs.LbLoadbalancerV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VipAddress = "string",
});
example, err := opentelekomcloud.NewLbLoadbalancerV2(ctx, "lbLoadbalancerV2Resource", &opentelekomcloud.LbLoadbalancerV2Args{
VipSubnetId: pulumi.String("string"),
AdminStateUp: pulumi.Bool(false),
Description: pulumi.String("string"),
LbLoadbalancerV2Id: pulumi.String("string"),
LoadbalancerProvider: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TenantId: pulumi.String("string"),
Timeouts: &opentelekomcloud.LbLoadbalancerV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VipAddress: pulumi.String("string"),
})
var lbLoadbalancerV2Resource = new LbLoadbalancerV2("lbLoadbalancerV2Resource", LbLoadbalancerV2Args.builder()
.vipSubnetId("string")
.adminStateUp(false)
.description("string")
.lbLoadbalancerV2Id("string")
.loadbalancerProvider("string")
.name("string")
.region("string")
.tags(Map.of("string", "string"))
.tenantId("string")
.timeouts(LbLoadbalancerV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.vipAddress("string")
.build());
lb_loadbalancer_v2_resource = opentelekomcloud.LbLoadbalancerV2("lbLoadbalancerV2Resource",
vip_subnet_id="string",
admin_state_up=False,
description="string",
lb_loadbalancer_v2_id="string",
loadbalancer_provider="string",
name="string",
region="string",
tags={
"string": "string",
},
tenant_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
vip_address="string")
const lbLoadbalancerV2Resource = new opentelekomcloud.LbLoadbalancerV2("lbLoadbalancerV2Resource", {
vipSubnetId: "string",
adminStateUp: false,
description: "string",
lbLoadbalancerV2Id: "string",
loadbalancerProvider: "string",
name: "string",
region: "string",
tags: {
string: "string",
},
tenantId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
vipAddress: "string",
});
type: opentelekomcloud:LbLoadbalancerV2
properties:
adminStateUp: false
description: string
lbLoadbalancerV2Id: string
loadbalancerProvider: string
name: string
region: string
tags:
string: string
tenantId: 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used- Admin
State boolUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- Description string
- Human-readable description for the loadbalancer.
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the loadbalancer. Does not have to be unique.
- Region string
- Dictionary<string, string>
- Tags key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- Timeouts
Lb
Loadbalancer V2Timeouts - Vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- Vip
Subnet stringId The network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used- Admin
State boolUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- Description string
- Human-readable description for the loadbalancer.
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the loadbalancer. Does not have to be unique.
- Region string
- map[string]string
- Tags key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used- admin
State BooleanUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- description String
- Human-readable description for the loadbalancer.
- lb
Loadbalancer StringV2Id - loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the loadbalancer. Does not have to be unique.
- region String
- Map<String,String>
- Tags key/value pairs to associate with the loadbalancer.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- timeouts
Lb
Loadbalancer V2Timeouts - vip
Address String - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip
Subnet stringId The network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used- admin
State booleanUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- description string
- Human-readable description for the loadbalancer.
- lb
Loadbalancer stringV2Id - loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- name string
- Human-readable name for the loadbalancer. Does not have to be unique.
- region string
- {[key: string]: string}
- Tags key/value pairs to associate with the loadbalancer.
- tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- timeouts
Lb
Loadbalancer V2Timeouts - vip
Address string - The ip address of the load balancer. Changing this creates a new loadbalancer.
- vip_
subnet_ strid The network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used- admin_
state_ boolup - The administrative state of the loadbalancer. A valid value is only true (UP).
- description str
- Human-readable description for the loadbalancer.
- lb_
loadbalancer_ strv2_ id - loadbalancer_
provider str - The name of the provider. Changing this creates a new loadbalancer.
- name str
- Human-readable name for the loadbalancer. Does not have to be unique.
- region str
- Mapping[str, str]
- Tags key/value pairs to associate with the loadbalancer.
- tenant_
id str - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used- admin
State BooleanUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- description String
- Human-readable description for the loadbalancer.
- lb
Loadbalancer StringV2Id - loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the loadbalancer. Does not have to be unique.
- region String
- Map<String>
- Tags key/value pairs to associate with the loadbalancer.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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,
lb_loadbalancer_v2_id: Optional[str] = None,
loadbalancer_provider: Optional[str] = None,
name: Optional[str] = None,
region: Optional[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: opentelekomcloud: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 - The administrative state of the loadbalancer. A valid value is only true (UP).
- Description string
- Human-readable description for the loadbalancer.
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the loadbalancer. Does not have to be unique.
- Region string
- Dictionary<string, string>
- Tags key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used
- Admin
State boolUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- Description string
- Human-readable description for the loadbalancer.
- Lb
Loadbalancer stringV2Id - Loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- Name string
- Human-readable name for the loadbalancer. Does not have to be unique.
- Region string
- map[string]string
- Tags key/value pairs to associate with the loadbalancer.
- Tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used
- admin
State BooleanUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- description String
- Human-readable description for the loadbalancer.
- lb
Loadbalancer StringV2Id - loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the loadbalancer. Does not have to be unique.
- region String
- Map<String,String>
- Tags key/value pairs to associate with the loadbalancer.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used
- admin
State booleanUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- description string
- Human-readable description for the loadbalancer.
- lb
Loadbalancer stringV2Id - loadbalancer
Provider string - The name of the provider. Changing this creates a new loadbalancer.
- name string
- Human-readable name for the loadbalancer. Does not have to be unique.
- region string
- {[key: string]: string}
- Tags key/value pairs to associate with the loadbalancer.
- tenant
Id string - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used
- admin_
state_ boolup - The administrative state of the loadbalancer. A valid value is only true (UP).
- description str
- Human-readable description for the loadbalancer.
- lb_
loadbalancer_ strv2_ id - loadbalancer_
provider str - The name of the provider. Changing this creates a new loadbalancer.
- name str
- Human-readable name for the loadbalancer. Does not have to be unique.
- region str
- Mapping[str, str]
- Tags key/value pairs to associate with the loadbalancer.
- tenant_
id str - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used
- admin
State BooleanUp - The administrative state of the loadbalancer. A valid value is only true (UP).
- description String
- Human-readable description for the loadbalancer.
- lb
Loadbalancer StringV2Id - loadbalancer
Provider String - The name of the provider. Changing this creates a new loadbalancer.
- name String
- Human-readable name for the loadbalancer. Does not have to be unique.
- region String
- Map<String>
- Tags key/value pairs to associate with the loadbalancer.
- tenant
Id String - Required for admins. The UUID of the tenant who owns the Loadbalancer. Only administrative users can specify a tenant UUID other than their own. Changing this creates a new loadbalancer.
- 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 network on which to allocate the loadbalancer's address. A tenant can only create loadalancers on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new loadbalancer.
When used with
opentelekomcloud.VpcSubnetV1
, notid
butsubnet_id
needs to be used
Supporting Types
LbLoadbalancerV2Timeouts, LbLoadbalancerV2TimeoutsArgs
Import
Load balancers can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/lbLoadbalancerV2:LbLoadbalancerV2 lb_1 ec2e6489-8415-4ec0-9934-540f98b0d594
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.