1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getLbFlavorV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getLbFlavorV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for ELBv3 flavor you can get at documentation portal

    Use this data source to get the info about an existing ELBv3 flavor.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const l7S2Small = opentelekomcloud.getLbFlavorV3({
        name: "L7_flavor.elb.s2.small",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    l7_s2_small = opentelekomcloud.get_lb_flavor_v3(name="L7_flavor.elb.s2.small")
    
    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.GetLbFlavorV3(ctx, &opentelekomcloud.GetLbFlavorV3Args{
    			Name: pulumi.StringRef("L7_flavor.elb.s2.small"),
    		}, 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 l7S2Small = Opentelekomcloud.GetLbFlavorV3.Invoke(new()
        {
            Name = "L7_flavor.elb.s2.small",
        });
    
    });
    
    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.GetLbFlavorV3Args;
    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 l7S2Small = OpentelekomcloudFunctions.getLbFlavorV3(GetLbFlavorV3Args.builder()
                .name("L7_flavor.elb.s2.small")
                .build());
    
        }
    }
    
    variables:
      l7S2Small:
        fn::invoke:
          function: opentelekomcloud:getLbFlavorV3
          arguments:
            name: L7_flavor.elb.s2.small
    

    Using getLbFlavorV3

    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 getLbFlavorV3(args: GetLbFlavorV3Args, opts?: InvokeOptions): Promise<GetLbFlavorV3Result>
    function getLbFlavorV3Output(args: GetLbFlavorV3OutputArgs, opts?: InvokeOptions): Output<GetLbFlavorV3Result>
    def get_lb_flavor_v3(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetLbFlavorV3Result
    def get_lb_flavor_v3_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetLbFlavorV3Result]
    func GetLbFlavorV3(ctx *Context, args *GetLbFlavorV3Args, opts ...InvokeOption) (*GetLbFlavorV3Result, error)
    func GetLbFlavorV3Output(ctx *Context, args *GetLbFlavorV3OutputArgs, opts ...InvokeOption) GetLbFlavorV3ResultOutput

    > Note: This function is named GetLbFlavorV3 in the Go SDK.

    public static class GetLbFlavorV3 
    {
        public static Task<GetLbFlavorV3Result> InvokeAsync(GetLbFlavorV3Args args, InvokeOptions? opts = null)
        public static Output<GetLbFlavorV3Result> Invoke(GetLbFlavorV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLbFlavorV3Result> getLbFlavorV3(GetLbFlavorV3Args args, InvokeOptions options)
    public static Output<GetLbFlavorV3Result> getLbFlavorV3(GetLbFlavorV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getLbFlavorV3:getLbFlavorV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Specifies the flavor ID.
    Name string
    Specifies the flavor name.
    Id string
    Specifies the flavor ID.
    Name string
    Specifies the flavor name.
    id String
    Specifies the flavor ID.
    name String
    Specifies the flavor name.
    id string
    Specifies the flavor ID.
    name string
    Specifies the flavor name.
    id str
    Specifies the flavor ID.
    name str
    Specifies the flavor name.
    id String
    Specifies the flavor ID.
    name String
    Specifies the flavor name.

    getLbFlavorV3 Result

    The following output properties are available:

    Bandwidth double
    Specifies the inbound and outbound bandwidth in the unit of Kbit/s.
    Cps double
    Specifies the number of new connections per second.
    Id string
    MaxConnections double
    Specifies the maximum concurrent connections.
    Name string
    Qps double
    Specifies the number of requests per second at Layer 7.
    Shared bool
    Specifies whether the flavor is available to all users.
    Type string
    Specifies the flavor type.
    Bandwidth float64
    Specifies the inbound and outbound bandwidth in the unit of Kbit/s.
    Cps float64
    Specifies the number of new connections per second.
    Id string
    MaxConnections float64
    Specifies the maximum concurrent connections.
    Name string
    Qps float64
    Specifies the number of requests per second at Layer 7.
    Shared bool
    Specifies whether the flavor is available to all users.
    Type string
    Specifies the flavor type.
    bandwidth Double
    Specifies the inbound and outbound bandwidth in the unit of Kbit/s.
    cps Double
    Specifies the number of new connections per second.
    id String
    maxConnections Double
    Specifies the maximum concurrent connections.
    name String
    qps Double
    Specifies the number of requests per second at Layer 7.
    shared Boolean
    Specifies whether the flavor is available to all users.
    type String
    Specifies the flavor type.
    bandwidth number
    Specifies the inbound and outbound bandwidth in the unit of Kbit/s.
    cps number
    Specifies the number of new connections per second.
    id string
    maxConnections number
    Specifies the maximum concurrent connections.
    name string
    qps number
    Specifies the number of requests per second at Layer 7.
    shared boolean
    Specifies whether the flavor is available to all users.
    type string
    Specifies the flavor type.
    bandwidth float
    Specifies the inbound and outbound bandwidth in the unit of Kbit/s.
    cps float
    Specifies the number of new connections per second.
    id str
    max_connections float
    Specifies the maximum concurrent connections.
    name str
    qps float
    Specifies the number of requests per second at Layer 7.
    shared bool
    Specifies whether the flavor is available to all users.
    type str
    Specifies the flavor type.
    bandwidth Number
    Specifies the inbound and outbound bandwidth in the unit of Kbit/s.
    cps Number
    Specifies the number of new connections per second.
    id String
    maxConnections Number
    Specifies the maximum concurrent connections.
    name String
    qps Number
    Specifies the number of requests per second at Layer 7.
    shared Boolean
    Specifies whether the flavor is available to all users.
    type String
    Specifies the flavor type.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud