1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LbLoadbalancerV2
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

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",
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

lb1 = opentelekomcloud.LbLoadbalancerV2("lb1",
    tags={
        "muh": "kuh",
    },
    vip_subnet_id="d9415786-5f1a-428b-b35f-2f1523e146d2")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  lb1:
    type: opentelekomcloud:LbLoadbalancerV2
    properties:
      tags:
        muh: kuh
      vipSubnetId: d9415786-5f1a-428b-b35f-2f1523e146d2
Copy

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
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}
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,
                     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 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 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",
});
Copy
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: &.LbLoadbalancerV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VipAddress: pulumi.String("string"),
})
Copy
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());
Copy
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")
Copy
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",
});
Copy
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
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 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, not id but subnet_idneeds to be used

AdminStateUp bool
The administrative state of the loadbalancer. A valid value is only true (UP).
Description string
Human-readable description for the loadbalancer.
LbLoadbalancerV2Id string
LoadbalancerProvider 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
Tags Dictionary<string, string>
Tags key/value pairs to associate with the loadbalancer.
TenantId 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 LbLoadbalancerV2Timeouts
VipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
VipSubnetId This property is required. string

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, not id but subnet_idneeds to be used

AdminStateUp bool
The administrative state of the loadbalancer. A valid value is only true (UP).
Description string
Human-readable description for the loadbalancer.
LbLoadbalancerV2Id string
LoadbalancerProvider 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
Tags map[string]string
Tags key/value pairs to associate with the loadbalancer.
TenantId 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 LbLoadbalancerV2TimeoutsArgs
VipAddress string
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipSubnetId This property is required. String

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, not id but subnet_idneeds to be used

adminStateUp Boolean
The administrative state of the loadbalancer. A valid value is only true (UP).
description String
Human-readable description for the loadbalancer.
lbLoadbalancerV2Id String
loadbalancerProvider 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
tags Map<String,String>
Tags key/value pairs to associate with the loadbalancer.
tenantId 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 LbLoadbalancerV2Timeouts
vipAddress String
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipSubnetId This property is required. string

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, not id but subnet_idneeds to be used

adminStateUp boolean
The administrative state of the loadbalancer. A valid value is only true (UP).
description string
Human-readable description for the loadbalancer.
lbLoadbalancerV2Id string
loadbalancerProvider 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
tags {[key: string]: string}
Tags key/value pairs to associate with the loadbalancer.
tenantId 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 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 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, not id but subnet_idneeds to be used

admin_state_up bool
The administrative state of the loadbalancer. A valid value is only true (UP).
description str
Human-readable description for the loadbalancer.
lb_loadbalancer_v2_id str
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
tags 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 LbLoadbalancerV2TimeoutsArgs
vip_address str
The ip address of the load balancer. Changing this creates a new loadbalancer.
vipSubnetId This property is required. String

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, not id but subnet_idneeds to be used

adminStateUp Boolean
The administrative state of the loadbalancer. A valid value is only true (UP).
description String
Human-readable description for the loadbalancer.
lbLoadbalancerV2Id String
loadbalancerProvider 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
tags Map<String>
Tags key/value pairs to associate with the loadbalancer.
tenantId 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
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,
        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 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
The administrative state of the loadbalancer. A valid value is only true (UP).
Description string
Human-readable description for the loadbalancer.
LbLoadbalancerV2Id string
LoadbalancerProvider 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
Tags Dictionary<string, string>
Tags key/value pairs to associate with the loadbalancer.
TenantId 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 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 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, not id but subnet_idneeds to be used

AdminStateUp bool
The administrative state of the loadbalancer. A valid value is only true (UP).
Description string
Human-readable description for the loadbalancer.
LbLoadbalancerV2Id string
LoadbalancerProvider 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
Tags map[string]string
Tags key/value pairs to associate with the loadbalancer.
TenantId 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 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 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, not id but subnet_idneeds to be used

adminStateUp Boolean
The administrative state of the loadbalancer. A valid value is only true (UP).
description String
Human-readable description for the loadbalancer.
lbLoadbalancerV2Id String
loadbalancerProvider 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
tags Map<String,String>
Tags key/value pairs to associate with the loadbalancer.
tenantId 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 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 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, not id but subnet_idneeds to be used

adminStateUp boolean
The administrative state of the loadbalancer. A valid value is only true (UP).
description string
Human-readable description for the loadbalancer.
lbLoadbalancerV2Id string
loadbalancerProvider 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
tags {[key: string]: string}
Tags key/value pairs to associate with the loadbalancer.
tenantId 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 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 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, not id but subnet_idneeds to be used

admin_state_up bool
The administrative state of the loadbalancer. A valid value is only true (UP).
description str
Human-readable description for the loadbalancer.
lb_loadbalancer_v2_id str
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
tags 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 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 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, not id but subnet_idneeds to be used

adminStateUp Boolean
The administrative state of the loadbalancer. A valid value is only true (UP).
description String
Human-readable description for the loadbalancer.
lbLoadbalancerV2Id String
loadbalancerProvider 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
tags Map<String>
Tags key/value pairs to associate with the loadbalancer.
tenantId 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
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 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, not id but subnet_idneeds to be used

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

Load balancers can be imported using the id, e.g.

$ pulumi import opentelekomcloud:index/lbLoadbalancerV2:LbLoadbalancerV2 lb_1 ec2e6489-8415-4ec0-9934-540f98b0d594
Copy

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.