opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getLbLoadbalancerV3
Explore with Pulumi AI
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
Up-to-date reference of API arguments for ELBv3 loadbalancer you can get at documentation portal
Use this data source to get the info about an existing ELBv3 load balancer.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const loadbalancer1 = opentelekomcloud.getLbLoadbalancerV3({
id: _var.lb_id,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
loadbalancer1 = opentelekomcloud.get_lb_loadbalancer_v3(id=var["lb_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 {
_, err := opentelekomcloud.LookupLbLoadbalancerV3(ctx, &opentelekomcloud.LookupLbLoadbalancerV3Args{
Id: pulumi.StringRef(_var.Lb_id),
}, nil)
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 loadbalancer1 = Opentelekomcloud.GetLbLoadbalancerV3.Invoke(new()
{
Id = @var.Lb_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetLbLoadbalancerV3Args;
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) {
final var loadbalancer1 = OpentelekomcloudFunctions.getLbLoadbalancerV3(GetLbLoadbalancerV3Args.builder()
.id(var_.lb_id())
.build());
}
}
variables:
loadbalancer1:
fn::invoke:
function: opentelekomcloud:getLbLoadbalancerV3
arguments:
id: ${var.lb_id}
Using getLbLoadbalancerV3
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLbLoadbalancerV3(args: GetLbLoadbalancerV3Args, opts?: InvokeOptions): Promise<GetLbLoadbalancerV3Result>
function getLbLoadbalancerV3Output(args: GetLbLoadbalancerV3OutputArgs, opts?: InvokeOptions): Output<GetLbLoadbalancerV3Result>
def get_lb_loadbalancer_v3(id: Optional[str] = None,
l4_flavor: Optional[str] = None,
l7_flavor: Optional[str] = None,
name: Optional[str] = None,
router_id: Optional[str] = None,
subnet_id: Optional[str] = None,
vip_address: Optional[str] = None,
vip_port_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLbLoadbalancerV3Result
def get_lb_loadbalancer_v3_output(id: Optional[pulumi.Input[str]] = None,
l4_flavor: Optional[pulumi.Input[str]] = None,
l7_flavor: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
router_id: Optional[pulumi.Input[str]] = None,
subnet_id: Optional[pulumi.Input[str]] = None,
vip_address: Optional[pulumi.Input[str]] = None,
vip_port_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLbLoadbalancerV3Result]
func LookupLbLoadbalancerV3(ctx *Context, args *LookupLbLoadbalancerV3Args, opts ...InvokeOption) (*LookupLbLoadbalancerV3Result, error)
func LookupLbLoadbalancerV3Output(ctx *Context, args *LookupLbLoadbalancerV3OutputArgs, opts ...InvokeOption) LookupLbLoadbalancerV3ResultOutput
> Note: This function is named LookupLbLoadbalancerV3
in the Go SDK.
public static class GetLbLoadbalancerV3
{
public static Task<GetLbLoadbalancerV3Result> InvokeAsync(GetLbLoadbalancerV3Args args, InvokeOptions? opts = null)
public static Output<GetLbLoadbalancerV3Result> Invoke(GetLbLoadbalancerV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLbLoadbalancerV3Result> getLbLoadbalancerV3(GetLbLoadbalancerV3Args args, InvokeOptions options)
public static Output<GetLbLoadbalancerV3Result> getLbLoadbalancerV3(GetLbLoadbalancerV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getLbLoadbalancerV3:getLbLoadbalancerV3
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Specifies the LoadBalancer ID.
- L4Flavor string
- L7Flavor string
- Name string
- Specifies the LoadBalancer name.
- Router
Id string - The ID of the router (or VPC) this LoadBalancer belongs.
- Subnet
Id string - The ID of the subnet to which the LoadBalancer belongs.
- Vip
Address string - The IP address of the LoadBalancer.
- Vip
Port stringId - The Port ID of the Load Balancer IP.
- Id string
- Specifies the LoadBalancer ID.
- L4Flavor string
- L7Flavor string
- Name string
- Specifies the LoadBalancer name.
- Router
Id string - The ID of the router (or VPC) this LoadBalancer belongs.
- Subnet
Id string - The ID of the subnet to which the LoadBalancer belongs.
- Vip
Address string - The IP address of the LoadBalancer.
- Vip
Port stringId - The Port ID of the Load Balancer IP.
- id String
- Specifies the LoadBalancer ID.
- l4Flavor String
- l7Flavor String
- name String
- Specifies the LoadBalancer name.
- router
Id String - The ID of the router (or VPC) this LoadBalancer belongs.
- subnet
Id String - The ID of the subnet to which the LoadBalancer belongs.
- vip
Address String - The IP address of the LoadBalancer.
- vip
Port StringId - The Port ID of the Load Balancer IP.
- id string
- Specifies the LoadBalancer ID.
- l4Flavor string
- l7Flavor string
- name string
- Specifies the LoadBalancer name.
- router
Id string - The ID of the router (or VPC) this LoadBalancer belongs.
- subnet
Id string - The ID of the subnet to which the LoadBalancer belongs.
- vip
Address string - The IP address of the LoadBalancer.
- vip
Port stringId - The Port ID of the Load Balancer IP.
- id str
- Specifies the LoadBalancer ID.
- l4_
flavor str - l7_
flavor str - name str
- Specifies the LoadBalancer name.
- router_
id str - The ID of the router (or VPC) this LoadBalancer belongs.
- subnet_
id str - The ID of the subnet to which the LoadBalancer belongs.
- vip_
address str - The IP address of the LoadBalancer.
- vip_
port_ strid - The Port ID of the Load Balancer IP.
- id String
- Specifies the LoadBalancer ID.
- l4Flavor String
- l7Flavor String
- name String
- Specifies the LoadBalancer name.
- router
Id String - The ID of the router (or VPC) this LoadBalancer belongs.
- subnet
Id String - The ID of the subnet to which the LoadBalancer belongs.
- vip
Address String - The IP address of the LoadBalancer.
- vip
Port StringId - The Port ID of the Load Balancer IP.
getLbLoadbalancerV3 Result
The following output properties are available:
- Admin
State boolUp - The administrative state of the LoadBalancer.
- Availability
Zones List<string> - Specifies the availability zones where the LoadBalancer will be located.
- Created
At string - The time the LoadBalancer was created.
- Deletion
Protection bool - Specifies whether to enable deletion protection for the load balancer.
- Description string
- Specifies supplementary information about the load balancer.
- Id string
- Elastic IP ID.
- Ip
Target boolEnable - The value can be
true
(enabled) orfalse
(disabled). - L4Flavor string
- L7Flavor string
- Name string
- Network
Ids List<string> - Specifies the subnet Network ID.
- Public
Ips List<GetLb Loadbalancer V3Public Ip> - The elastic IP address of the instance.
- Router
Id string - Subnet
Id string - Dictionary<string, string>
- Updated
At string - The time the LoadBalancer was last updated.
- Vip
Address string - Vip
Port stringId
- Admin
State boolUp - The administrative state of the LoadBalancer.
- Availability
Zones []string - Specifies the availability zones where the LoadBalancer will be located.
- Created
At string - The time the LoadBalancer was created.
- Deletion
Protection bool - Specifies whether to enable deletion protection for the load balancer.
- Description string
- Specifies supplementary information about the load balancer.
- Id string
- Elastic IP ID.
- Ip
Target boolEnable - The value can be
true
(enabled) orfalse
(disabled). - L4Flavor string
- L7Flavor string
- Name string
- Network
Ids []string - Specifies the subnet Network ID.
- Public
Ips []GetLb Loadbalancer V3Public Ip - The elastic IP address of the instance.
- Router
Id string - Subnet
Id string - map[string]string
- Updated
At string - The time the LoadBalancer was last updated.
- Vip
Address string - Vip
Port stringId
- admin
State BooleanUp - The administrative state of the LoadBalancer.
- availability
Zones List<String> - Specifies the availability zones where the LoadBalancer will be located.
- created
At String - The time the LoadBalancer was created.
- deletion
Protection Boolean - Specifies whether to enable deletion protection for the load balancer.
- description String
- Specifies supplementary information about the load balancer.
- id String
- Elastic IP ID.
- ip
Target BooleanEnable - The value can be
true
(enabled) orfalse
(disabled). - l4Flavor String
- l7Flavor String
- name String
- network
Ids List<String> - Specifies the subnet Network ID.
- public
Ips List<GetLb Loadbalancer V3Public Ip> - The elastic IP address of the instance.
- router
Id String - subnet
Id String - Map<String,String>
- updated
At String - The time the LoadBalancer was last updated.
- vip
Address String - vip
Port StringId
- admin
State booleanUp - The administrative state of the LoadBalancer.
- availability
Zones string[] - Specifies the availability zones where the LoadBalancer will be located.
- created
At string - The time the LoadBalancer was created.
- deletion
Protection boolean - Specifies whether to enable deletion protection for the load balancer.
- description string
- Specifies supplementary information about the load balancer.
- id string
- Elastic IP ID.
- ip
Target booleanEnable - The value can be
true
(enabled) orfalse
(disabled). - l4Flavor string
- l7Flavor string
- name string
- network
Ids string[] - Specifies the subnet Network ID.
- public
Ips GetLb Loadbalancer V3Public Ip[] - The elastic IP address of the instance.
- router
Id string - subnet
Id string - {[key: string]: string}
- updated
At string - The time the LoadBalancer was last updated.
- vip
Address string - vip
Port stringId
- admin_
state_ boolup - The administrative state of the LoadBalancer.
- availability_
zones Sequence[str] - Specifies the availability zones where the LoadBalancer will be located.
- created_
at str - The time the LoadBalancer was created.
- deletion_
protection bool - Specifies whether to enable deletion protection for the load balancer.
- description str
- Specifies supplementary information about the load balancer.
- id str
- Elastic IP ID.
- ip_
target_ boolenable - The value can be
true
(enabled) orfalse
(disabled). - l4_
flavor str - l7_
flavor str - name str
- network_
ids Sequence[str] - Specifies the subnet Network ID.
- public_
ips Sequence[GetLb Loadbalancer V3Public Ip] - The elastic IP address of the instance.
- router_
id str - subnet_
id str - Mapping[str, str]
- updated_
at str - The time the LoadBalancer was last updated.
- vip_
address str - vip_
port_ strid
- admin
State BooleanUp - The administrative state of the LoadBalancer.
- availability
Zones List<String> - Specifies the availability zones where the LoadBalancer will be located.
- created
At String - The time the LoadBalancer was created.
- deletion
Protection Boolean - Specifies whether to enable deletion protection for the load balancer.
- description String
- Specifies supplementary information about the load balancer.
- id String
- Elastic IP ID.
- ip
Target BooleanEnable - The value can be
true
(enabled) orfalse
(disabled). - l4Flavor String
- l7Flavor String
- name String
- network
Ids List<String> - Specifies the subnet Network ID.
- public
Ips List<Property Map> - The elastic IP address of the instance.
- router
Id String - subnet
Id String - Map<String>
- updated
At String - The time the LoadBalancer was last updated.
- vip
Address String - vip
Port StringId
Supporting Types
GetLbLoadbalancerV3PublicIp
- Address string
- Elastic IP address.
- Bandwidth
Charge stringMode - Bandwidth billing type.
- Bandwidth
Name string - Bandwidth name.
- string
- Bandwidth sharing type.
- Bandwidth
Size double - Bandwidth size.
- Id string
- Specifies the LoadBalancer ID.
- Ip
Type string - Elastic IP type.
- Address string
- Elastic IP address.
- Bandwidth
Charge stringMode - Bandwidth billing type.
- Bandwidth
Name string - Bandwidth name.
- string
- Bandwidth sharing type.
- Bandwidth
Size float64 - Bandwidth size.
- Id string
- Specifies the LoadBalancer ID.
- Ip
Type string - Elastic IP type.
- address String
- Elastic IP address.
- bandwidth
Charge StringMode - Bandwidth billing type.
- bandwidth
Name String - Bandwidth name.
- String
- Bandwidth sharing type.
- bandwidth
Size Double - Bandwidth size.
- id String
- Specifies the LoadBalancer ID.
- ip
Type String - Elastic IP type.
- address string
- Elastic IP address.
- bandwidth
Charge stringMode - Bandwidth billing type.
- bandwidth
Name string - Bandwidth name.
- string
- Bandwidth sharing type.
- bandwidth
Size number - Bandwidth size.
- id string
- Specifies the LoadBalancer ID.
- ip
Type string - Elastic IP type.
- address str
- Elastic IP address.
- bandwidth_
charge_ strmode - Bandwidth billing type.
- bandwidth_
name str - Bandwidth name.
- str
- Bandwidth sharing type.
- bandwidth_
size float - Bandwidth size.
- id str
- Specifies the LoadBalancer ID.
- ip_
type str - Elastic IP type.
- address String
- Elastic IP address.
- bandwidth
Charge StringMode - Bandwidth billing type.
- bandwidth
Name String - Bandwidth name.
- String
- Bandwidth sharing type.
- bandwidth
Size Number - Bandwidth size.
- id String
- Specifies the LoadBalancer ID.
- ip
Type String - Elastic IP type.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud