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

opentelekomcloud.getLbFlavorsV3

Explore with Pulumi AI

opentelekomcloud 1.36.35 published on Monday, Apr 14, 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 list of ELBv3 flavors names.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const flavorsNames = opentelekomcloud.getLbFlavorsV3({});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

flavors_names = opentelekomcloud.get_lb_flavors_v3()
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.GetLbFlavorsV3(ctx, &opentelekomcloud.GetLbFlavorsV3Args{}, nil)
		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 flavorsNames = Opentelekomcloud.GetLbFlavorsV3.Invoke();

});
Copy
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.GetLbFlavorsV3Args;
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 flavorsNames = OpentelekomcloudFunctions.getLbFlavorsV3();

    }
}
Copy
variables:
  flavorsNames:
    fn::invoke:
      function: opentelekomcloud:getLbFlavorsV3
      arguments: {}
Copy

Using getLbFlavorsV3

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 getLbFlavorsV3(args: GetLbFlavorsV3Args, opts?: InvokeOptions): Promise<GetLbFlavorsV3Result>
function getLbFlavorsV3Output(args: GetLbFlavorsV3OutputArgs, opts?: InvokeOptions): Output<GetLbFlavorsV3Result>
Copy
def get_lb_flavors_v3(id: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetLbFlavorsV3Result
def get_lb_flavors_v3_output(id: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetLbFlavorsV3Result]
Copy
func GetLbFlavorsV3(ctx *Context, args *GetLbFlavorsV3Args, opts ...InvokeOption) (*GetLbFlavorsV3Result, error)
func GetLbFlavorsV3Output(ctx *Context, args *GetLbFlavorsV3OutputArgs, opts ...InvokeOption) GetLbFlavorsV3ResultOutput
Copy

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

public static class GetLbFlavorsV3 
{
    public static Task<GetLbFlavorsV3Result> InvokeAsync(GetLbFlavorsV3Args args, InvokeOptions? opts = null)
    public static Output<GetLbFlavorsV3Result> Invoke(GetLbFlavorsV3InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLbFlavorsV3Result> getLbFlavorsV3(GetLbFlavorsV3Args args, InvokeOptions options)
public static Output<GetLbFlavorsV3Result> getLbFlavorsV3(GetLbFlavorsV3Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getLbFlavorsV3:getLbFlavorsV3
  arguments:
    # arguments dictionary
Copy

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.

getLbFlavorsV3 Result

The following output properties are available:

Flavors List<string>
A list of all the flavors names found. This data source will fail if none are found.
Id string
Name string
Flavors []string
A list of all the flavors names found. This data source will fail if none are found.
Id string
Name string
flavors List<String>
A list of all the flavors names found. This data source will fail if none are found.
id String
name String
flavors string[]
A list of all the flavors names found. This data source will fail if none are found.
id string
name string
flavors Sequence[str]
A list of all the flavors names found. This data source will fail if none are found.
id str
name str
flavors List<String>
A list of all the flavors names found. This data source will fail if none are found.
id String
name String

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud