1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. Loadbalancerv2
edgecenter 0.7.35 published on Friday, Apr 25, 2025 by edge-center

edgecenter.Loadbalancerv2

Explore with Pulumi AI

edgecenter logo
edgecenter 0.7.35 published on Friday, Apr 25, 2025 by edge-center

    Represent load balancer without nested listener

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const lb = new edgecenter.Loadbalancerv2("lb", {
        flavor: "lb1-1-2",
        metadataMap: {
            tag1: "tag1_value",
        },
        projectId: 1,
        regionId: 1,
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    lb = edgecenter.Loadbalancerv2("lb",
        flavor="lb1-1-2",
        metadata_map={
            "tag1": "tag1_value",
        },
        project_id=1,
        region_id=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := edgecenter.NewLoadbalancerv2(ctx, "lb", &edgecenter.Loadbalancerv2Args{
    			Flavor: pulumi.String("lb1-1-2"),
    			MetadataMap: pulumi.StringMap{
    				"tag1": pulumi.String("tag1_value"),
    			},
    			ProjectId: pulumi.Float64(1),
    			RegionId:  pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var lb = new Edgecenter.Loadbalancerv2("lb", new()
        {
            Flavor = "lb1-1-2",
            MetadataMap = 
            {
                { "tag1", "tag1_value" },
            },
            ProjectId = 1,
            RegionId = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.Loadbalancerv2;
    import com.pulumi.edgecenter.Loadbalancerv2Args;
    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 lb = new Loadbalancerv2("lb", Loadbalancerv2Args.builder()
                .flavor("lb1-1-2")
                .metadataMap(Map.of("tag1", "tag1_value"))
                .projectId(1)
                .regionId(1)
                .build());
    
        }
    }
    
    resources:
      lb:
        type: edgecenter:Loadbalancerv2
        properties:
          flavor: lb1-1-2
          metadataMap:
            tag1: tag1_value
          projectId: 1
          regionId: 1
    

    Create Loadbalancerv2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Loadbalancerv2(name: string, args?: Loadbalancerv2Args, opts?: CustomResourceOptions);
    @overload
    def Loadbalancerv2(resource_name: str,
                       args: Optional[Loadbalancerv2Args] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def Loadbalancerv2(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       flavor: Optional[str] = None,
                       last_updated: Optional[str] = None,
                       loadbalancerv2_id: Optional[str] = None,
                       metadata_map: Optional[Mapping[str, str]] = None,
                       name: Optional[str] = None,
                       project_id: Optional[float] = None,
                       project_name: Optional[str] = None,
                       region_id: Optional[float] = None,
                       region_name: Optional[str] = None,
                       timeouts: Optional[Loadbalancerv2TimeoutsArgs] = None,
                       vip_network_id: Optional[str] = None,
                       vip_port_id: Optional[str] = None,
                       vip_subnet_id: Optional[str] = None)
    func NewLoadbalancerv2(ctx *Context, name string, args *Loadbalancerv2Args, opts ...ResourceOption) (*Loadbalancerv2, error)
    public Loadbalancerv2(string name, Loadbalancerv2Args? args = null, CustomResourceOptions? opts = null)
    public Loadbalancerv2(String name, Loadbalancerv2Args args)
    public Loadbalancerv2(String name, Loadbalancerv2Args args, CustomResourceOptions options)
    
    type: edgecenter:Loadbalancerv2
    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 Loadbalancerv2Args
    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 Loadbalancerv2Args
    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 Loadbalancerv2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Loadbalancerv2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Loadbalancerv2Args
    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 loadbalancerv2Resource = new Edgecenter.Loadbalancerv2("loadbalancerv2Resource", new()
    {
        Flavor = "string",
        LastUpdated = "string",
        Loadbalancerv2Id = "string",
        MetadataMap = 
        {
            { "string", "string" },
        },
        Name = "string",
        ProjectId = 0,
        ProjectName = "string",
        RegionId = 0,
        RegionName = "string",
        Timeouts = new Edgecenter.Inputs.Loadbalancerv2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        VipNetworkId = "string",
        VipPortId = "string",
        VipSubnetId = "string",
    });
    
    example, err := edgecenter.NewLoadbalancerv2(ctx, "loadbalancerv2Resource", &edgecenter.Loadbalancerv2Args{
    	Flavor:           pulumi.String("string"),
    	LastUpdated:      pulumi.String("string"),
    	Loadbalancerv2Id: pulumi.String("string"),
    	MetadataMap: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:        pulumi.String("string"),
    	ProjectId:   pulumi.Float64(0),
    	ProjectName: pulumi.String("string"),
    	RegionId:    pulumi.Float64(0),
    	RegionName:  pulumi.String("string"),
    	Timeouts: &edgecenter.Loadbalancerv2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	VipNetworkId: pulumi.String("string"),
    	VipPortId:    pulumi.String("string"),
    	VipSubnetId:  pulumi.String("string"),
    })
    
    var loadbalancerv2Resource = new Loadbalancerv2("loadbalancerv2Resource", Loadbalancerv2Args.builder()
        .flavor("string")
        .lastUpdated("string")
        .loadbalancerv2Id("string")
        .metadataMap(Map.of("string", "string"))
        .name("string")
        .projectId(0)
        .projectName("string")
        .regionId(0)
        .regionName("string")
        .timeouts(Loadbalancerv2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .vipNetworkId("string")
        .vipPortId("string")
        .vipSubnetId("string")
        .build());
    
    loadbalancerv2_resource = edgecenter.Loadbalancerv2("loadbalancerv2Resource",
        flavor="string",
        last_updated="string",
        loadbalancerv2_id="string",
        metadata_map={
            "string": "string",
        },
        name="string",
        project_id=0,
        project_name="string",
        region_id=0,
        region_name="string",
        timeouts={
            "create": "string",
            "delete": "string",
        },
        vip_network_id="string",
        vip_port_id="string",
        vip_subnet_id="string")
    
    const loadbalancerv2Resource = new edgecenter.Loadbalancerv2("loadbalancerv2Resource", {
        flavor: "string",
        lastUpdated: "string",
        loadbalancerv2Id: "string",
        metadataMap: {
            string: "string",
        },
        name: "string",
        projectId: 0,
        projectName: "string",
        regionId: 0,
        regionName: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
        vipNetworkId: "string",
        vipPortId: "string",
        vipSubnetId: "string",
    });
    
    type: edgecenter:Loadbalancerv2
    properties:
        flavor: string
        lastUpdated: string
        loadbalancerv2Id: string
        metadataMap:
            string: string
        name: string
        projectId: 0
        projectName: string
        regionId: 0
        regionName: string
        timeouts:
            create: string
            delete: string
        vipNetworkId: string
        vipPortId: string
        vipSubnetId: string
    

    Loadbalancerv2 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 Loadbalancerv2 resource accepts the following input properties:

    Flavor string
    The flavor or specification of the load balancer to be created.
    LastUpdated string
    The timestamp of the last update (use with update context).
    Loadbalancerv2Id string
    The ID of this resource.
    MetadataMap Dictionary<string, string>
    A map containing metadata, for example tags.
    Name string
    The name of the load balancer.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Timeouts Loadbalancerv2Timeouts
    VipNetworkId string
    Attaches the created network.
    VipPortId string
    Attaches the created reserved IP.
    VipSubnetId string
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    Flavor string
    The flavor or specification of the load balancer to be created.
    LastUpdated string
    The timestamp of the last update (use with update context).
    Loadbalancerv2Id string
    The ID of this resource.
    MetadataMap map[string]string
    A map containing metadata, for example tags.
    Name string
    The name of the load balancer.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Timeouts Loadbalancerv2TimeoutsArgs
    VipNetworkId string
    Attaches the created network.
    VipPortId string
    Attaches the created reserved IP.
    VipSubnetId string
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor String
    The flavor or specification of the load balancer to be created.
    lastUpdated String
    The timestamp of the last update (use with update context).
    loadbalancerv2Id String
    The ID of this resource.
    metadataMap Map<String,String>
    A map containing metadata, for example tags.
    name String
    The name of the load balancer.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Loadbalancerv2Timeouts
    vipNetworkId String
    Attaches the created network.
    vipPortId String
    Attaches the created reserved IP.
    vipSubnetId String
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor string
    The flavor or specification of the load balancer to be created.
    lastUpdated string
    The timestamp of the last update (use with update context).
    loadbalancerv2Id string
    The ID of this resource.
    metadataMap {[key: string]: string}
    A map containing metadata, for example tags.
    name string
    The name of the load balancer.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Loadbalancerv2Timeouts
    vipNetworkId string
    Attaches the created network.
    vipPortId string
    Attaches the created reserved IP.
    vipSubnetId string
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor str
    The flavor or specification of the load balancer to be created.
    last_updated str
    The timestamp of the last update (use with update context).
    loadbalancerv2_id str
    The ID of this resource.
    metadata_map Mapping[str, str]
    A map containing metadata, for example tags.
    name str
    The name of the load balancer.
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Loadbalancerv2TimeoutsArgs
    vip_network_id str
    Attaches the created network.
    vip_port_id str
    Attaches the created reserved IP.
    vip_subnet_id str
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor String
    The flavor or specification of the load balancer to be created.
    lastUpdated String
    The timestamp of the last update (use with update context).
    loadbalancerv2Id String
    The ID of this resource.
    metadataMap Map<String>
    A map containing metadata, for example tags.
    name String
    The name of the load balancer.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Property Map
    vipNetworkId String
    Attaches the created network.
    vipPortId String
    Attaches the created reserved IP.
    vipSubnetId String
    The ID of the subnet in which to allocate the VIP address for the load balancer.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Loadbalancerv2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    MetadataReadOnlies List<Loadbalancerv2MetadataReadOnly>
    A list of read-only metadata items, e.g. tags.
    VipAddress string
    Load balancer IP address
    Id string
    The provider-assigned unique ID for this managed resource.
    MetadataReadOnlies []Loadbalancerv2MetadataReadOnly
    A list of read-only metadata items, e.g. tags.
    VipAddress string
    Load balancer IP address
    id String
    The provider-assigned unique ID for this managed resource.
    metadataReadOnlies List<Loadbalancerv2MetadataReadOnly>
    A list of read-only metadata items, e.g. tags.
    vipAddress String
    Load balancer IP address
    id string
    The provider-assigned unique ID for this managed resource.
    metadataReadOnlies Loadbalancerv2MetadataReadOnly[]
    A list of read-only metadata items, e.g. tags.
    vipAddress string
    Load balancer IP address
    id str
    The provider-assigned unique ID for this managed resource.
    metadata_read_onlies Sequence[Loadbalancerv2MetadataReadOnly]
    A list of read-only metadata items, e.g. tags.
    vip_address str
    Load balancer IP address
    id String
    The provider-assigned unique ID for this managed resource.
    metadataReadOnlies List<Property Map>
    A list of read-only metadata items, e.g. tags.
    vipAddress String
    Load balancer IP address

    Look up Existing Loadbalancerv2 Resource

    Get an existing Loadbalancerv2 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?: Loadbalancerv2State, opts?: CustomResourceOptions): Loadbalancerv2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            flavor: Optional[str] = None,
            last_updated: Optional[str] = None,
            loadbalancerv2_id: Optional[str] = None,
            metadata_map: Optional[Mapping[str, str]] = None,
            metadata_read_onlies: Optional[Sequence[Loadbalancerv2MetadataReadOnlyArgs]] = None,
            name: Optional[str] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            timeouts: Optional[Loadbalancerv2TimeoutsArgs] = None,
            vip_address: Optional[str] = None,
            vip_network_id: Optional[str] = None,
            vip_port_id: Optional[str] = None,
            vip_subnet_id: Optional[str] = None) -> Loadbalancerv2
    func GetLoadbalancerv2(ctx *Context, name string, id IDInput, state *Loadbalancerv2State, opts ...ResourceOption) (*Loadbalancerv2, error)
    public static Loadbalancerv2 Get(string name, Input<string> id, Loadbalancerv2State? state, CustomResourceOptions? opts = null)
    public static Loadbalancerv2 get(String name, Output<String> id, Loadbalancerv2State state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:Loadbalancerv2    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.
    The following state arguments are supported:
    Flavor string
    The flavor or specification of the load balancer to be created.
    LastUpdated string
    The timestamp of the last update (use with update context).
    Loadbalancerv2Id string
    The ID of this resource.
    MetadataMap Dictionary<string, string>
    A map containing metadata, for example tags.
    MetadataReadOnlies List<Loadbalancerv2MetadataReadOnly>
    A list of read-only metadata items, e.g. tags.
    Name string
    The name of the load balancer.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Timeouts Loadbalancerv2Timeouts
    VipAddress string
    Load balancer IP address
    VipNetworkId string
    Attaches the created network.
    VipPortId string
    Attaches the created reserved IP.
    VipSubnetId string
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    Flavor string
    The flavor or specification of the load balancer to be created.
    LastUpdated string
    The timestamp of the last update (use with update context).
    Loadbalancerv2Id string
    The ID of this resource.
    MetadataMap map[string]string
    A map containing metadata, for example tags.
    MetadataReadOnlies []Loadbalancerv2MetadataReadOnlyArgs
    A list of read-only metadata items, e.g. tags.
    Name string
    The name of the load balancer.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    Timeouts Loadbalancerv2TimeoutsArgs
    VipAddress string
    Load balancer IP address
    VipNetworkId string
    Attaches the created network.
    VipPortId string
    Attaches the created reserved IP.
    VipSubnetId string
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor String
    The flavor or specification of the load balancer to be created.
    lastUpdated String
    The timestamp of the last update (use with update context).
    loadbalancerv2Id String
    The ID of this resource.
    metadataMap Map<String,String>
    A map containing metadata, for example tags.
    metadataReadOnlies List<Loadbalancerv2MetadataReadOnly>
    A list of read-only metadata items, e.g. tags.
    name String
    The name of the load balancer.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Loadbalancerv2Timeouts
    vipAddress String
    Load balancer IP address
    vipNetworkId String
    Attaches the created network.
    vipPortId String
    Attaches the created reserved IP.
    vipSubnetId String
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor string
    The flavor or specification of the load balancer to be created.
    lastUpdated string
    The timestamp of the last update (use with update context).
    loadbalancerv2Id string
    The ID of this resource.
    metadataMap {[key: string]: string}
    A map containing metadata, for example tags.
    metadataReadOnlies Loadbalancerv2MetadataReadOnly[]
    A list of read-only metadata items, e.g. tags.
    name string
    The name of the load balancer.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Loadbalancerv2Timeouts
    vipAddress string
    Load balancer IP address
    vipNetworkId string
    Attaches the created network.
    vipPortId string
    Attaches the created reserved IP.
    vipSubnetId string
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor str
    The flavor or specification of the load balancer to be created.
    last_updated str
    The timestamp of the last update (use with update context).
    loadbalancerv2_id str
    The ID of this resource.
    metadata_map Mapping[str, str]
    A map containing metadata, for example tags.
    metadata_read_onlies Sequence[Loadbalancerv2MetadataReadOnlyArgs]
    A list of read-only metadata items, e.g. tags.
    name str
    The name of the load balancer.
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Loadbalancerv2TimeoutsArgs
    vip_address str
    Load balancer IP address
    vip_network_id str
    Attaches the created network.
    vip_port_id str
    Attaches the created reserved IP.
    vip_subnet_id str
    The ID of the subnet in which to allocate the VIP address for the load balancer.
    flavor String
    The flavor or specification of the load balancer to be created.
    lastUpdated String
    The timestamp of the last update (use with update context).
    loadbalancerv2Id String
    The ID of this resource.
    metadataMap Map<String>
    A map containing metadata, for example tags.
    metadataReadOnlies List<Property Map>
    A list of read-only metadata items, e.g. tags.
    name String
    The name of the load balancer.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    timeouts Property Map
    vipAddress String
    Load balancer IP address
    vipNetworkId String
    Attaches the created network.
    vipPortId String
    Attaches the created reserved IP.
    vipSubnetId String
    The ID of the subnet in which to allocate the VIP address for the load balancer.

    Supporting Types

    Loadbalancerv2MetadataReadOnly, Loadbalancerv2MetadataReadOnlyArgs

    Key string
    ReadOnly bool
    Value string
    Key string
    ReadOnly bool
    Value string
    key String
    readOnly Boolean
    value String
    key string
    readOnly boolean
    value string
    key str
    read_only bool
    value str
    key String
    readOnly Boolean
    value String

    Loadbalancerv2Timeouts, Loadbalancerv2TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    import using <project_id>:<region_id>:<loadbalancer_id> format

    $ pulumi import edgecenter:index/loadbalancerv2:Loadbalancerv2 loadbalancer1 1:6:447d2959-8ae0-4ca0-8d47-9f050a3637d7
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.7.35 published on Friday, Apr 25, 2025 by edge-center