volcengine.alb.Alb
Explore with Pulumi AI
Provides a resource to manage alb
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Alb.Zones.Invoke();
var vpcIpv6 = new Volcengine.Vpc.Vpc("vpcIpv6", new()
{
VpcName = "acc-test-vpc-ipv6",
CidrBlock = "172.16.0.0/16",
EnableIpv6 = true,
});
var subnetIpv61 = new Volcengine.Vpc.Subnet("subnetIpv61", new()
{
SubnetName = "acc-test-subnet-ipv6-1",
CidrBlock = "172.16.1.0/24",
ZoneId = foo.Apply(zonesResult => zonesResult.Zones[0]?.Id),
VpcId = vpcIpv6.Id,
Ipv6CidrBlock = 1,
});
var subnetIpv62 = new Volcengine.Vpc.Subnet("subnetIpv62", new()
{
SubnetName = "acc-test-subnet-ipv6-2",
CidrBlock = "172.16.2.0/24",
ZoneId = foo.Apply(zonesResult => zonesResult.Zones[1]?.Id),
VpcId = vpcIpv6.Id,
Ipv6CidrBlock = 2,
});
var ipv6Gateway = new Volcengine.Vpc.Ipv6Gateway("ipv6Gateway", new()
{
VpcId = vpcIpv6.Id,
});
var alb_private = new Volcengine.Alb.Alb("alb-private", new()
{
AddressIpVersion = "IPv4",
Type = "private",
LoadBalancerName = "acc-test-alb-private",
Description = "acc-test",
SubnetIds = new[]
{
subnetIpv61.Id,
subnetIpv62.Id,
},
ProjectName = "default",
DeleteProtection = "off",
Tags = new[]
{
new Volcengine.Alb.Inputs.AlbTagArgs
{
Key = "k1",
Value = "v1",
},
},
});
var alb_public = new Volcengine.Alb.Alb("alb-public", new()
{
AddressIpVersion = "DualStack",
Type = "public",
LoadBalancerName = "acc-test-alb-public",
Description = "acc-test",
SubnetIds = new[]
{
subnetIpv61.Id,
subnetIpv62.Id,
},
ProjectName = "default",
DeleteProtection = "off",
EipBillingConfig = new Volcengine.Alb.Inputs.AlbEipBillingConfigArgs
{
Isp = "BGP",
EipBillingType = "PostPaidByBandwidth",
Bandwidth = 1,
},
Ipv6EipBillingConfig = new Volcengine.Alb.Inputs.AlbIpv6EipBillingConfigArgs
{
Isp = "BGP",
BillingType = "PostPaidByBandwidth",
Bandwidth = 1,
},
Tags = new[]
{
new Volcengine.Alb.Inputs.AlbTagArgs
{
Key = "k1",
Value = "v1",
},
},
}, new CustomResourceOptions
{
DependsOn = new[]
{
ipv6Gateway,
},
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := alb.Zones(ctx, nil, nil)
if err != nil {
return err
}
vpcIpv6, err := vpc.NewVpc(ctx, "vpcIpv6", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc-ipv6"),
CidrBlock: pulumi.String("172.16.0.0/16"),
EnableIpv6: pulumi.Bool(true),
})
if err != nil {
return err
}
subnetIpv61, err := vpc.NewSubnet(ctx, "subnetIpv61", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet-ipv6-1"),
CidrBlock: pulumi.String("172.16.1.0/24"),
ZoneId: *pulumi.String(foo.Zones[0].Id),
VpcId: vpcIpv6.ID(),
Ipv6CidrBlock: pulumi.Int(1),
})
if err != nil {
return err
}
subnetIpv62, err := vpc.NewSubnet(ctx, "subnetIpv62", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet-ipv6-2"),
CidrBlock: pulumi.String("172.16.2.0/24"),
ZoneId: *pulumi.String(foo.Zones[1].Id),
VpcId: vpcIpv6.ID(),
Ipv6CidrBlock: pulumi.Int(2),
})
if err != nil {
return err
}
ipv6Gateway, err := vpc.NewIpv6Gateway(ctx, "ipv6Gateway", &vpc.Ipv6GatewayArgs{
VpcId: vpcIpv6.ID(),
})
if err != nil {
return err
}
_, err = alb.NewAlb(ctx, "alb-private", &alb.AlbArgs{
AddressIpVersion: pulumi.String("IPv4"),
Type: pulumi.String("private"),
LoadBalancerName: pulumi.String("acc-test-alb-private"),
Description: pulumi.String("acc-test"),
SubnetIds: pulumi.StringArray{
subnetIpv61.ID(),
subnetIpv62.ID(),
},
ProjectName: pulumi.String("default"),
DeleteProtection: pulumi.String("off"),
Tags: alb.AlbTagArray{
&alb.AlbTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
if err != nil {
return err
}
_, err = alb.NewAlb(ctx, "alb-public", &alb.AlbArgs{
AddressIpVersion: pulumi.String("DualStack"),
Type: pulumi.String("public"),
LoadBalancerName: pulumi.String("acc-test-alb-public"),
Description: pulumi.String("acc-test"),
SubnetIds: pulumi.StringArray{
subnetIpv61.ID(),
subnetIpv62.ID(),
},
ProjectName: pulumi.String("default"),
DeleteProtection: pulumi.String("off"),
EipBillingConfig: &alb.AlbEipBillingConfigArgs{
Isp: pulumi.String("BGP"),
EipBillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
Ipv6EipBillingConfig: &alb.AlbIpv6EipBillingConfigArgs{
Isp: pulumi.String("BGP"),
BillingType: pulumi.String("PostPaidByBandwidth"),
Bandwidth: pulumi.Int(1),
},
Tags: alb.AlbTagArray{
&alb.AlbTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
ipv6Gateway,
}))
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.alb.AlbFunctions;
import com.pulumi.volcengine.alb.inputs.ZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpc.Ipv6Gateway;
import com.pulumi.volcengine.vpc.Ipv6GatewayArgs;
import com.pulumi.volcengine.alb.Alb;
import com.pulumi.volcengine.alb.AlbArgs;
import com.pulumi.volcengine.alb.inputs.AlbTagArgs;
import com.pulumi.volcengine.alb.inputs.AlbEipBillingConfigArgs;
import com.pulumi.volcengine.alb.inputs.AlbIpv6EipBillingConfigArgs;
import com.pulumi.resources.CustomResourceOptions;
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 foo = AlbFunctions.Zones();
var vpcIpv6 = new Vpc("vpcIpv6", VpcArgs.builder()
.vpcName("acc-test-vpc-ipv6")
.cidrBlock("172.16.0.0/16")
.enableIpv6(true)
.build());
var subnetIpv61 = new Subnet("subnetIpv61", SubnetArgs.builder()
.subnetName("acc-test-subnet-ipv6-1")
.cidrBlock("172.16.1.0/24")
.zoneId(foo.applyValue(zonesResult -> zonesResult.zones()[0].id()))
.vpcId(vpcIpv6.id())
.ipv6CidrBlock(1)
.build());
var subnetIpv62 = new Subnet("subnetIpv62", SubnetArgs.builder()
.subnetName("acc-test-subnet-ipv6-2")
.cidrBlock("172.16.2.0/24")
.zoneId(foo.applyValue(zonesResult -> zonesResult.zones()[1].id()))
.vpcId(vpcIpv6.id())
.ipv6CidrBlock(2)
.build());
var ipv6Gateway = new Ipv6Gateway("ipv6Gateway", Ipv6GatewayArgs.builder()
.vpcId(vpcIpv6.id())
.build());
var alb_private = new Alb("alb-private", AlbArgs.builder()
.addressIpVersion("IPv4")
.type("private")
.loadBalancerName("acc-test-alb-private")
.description("acc-test")
.subnetIds(
subnetIpv61.id(),
subnetIpv62.id())
.projectName("default")
.deleteProtection("off")
.tags(AlbTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
var alb_public = new Alb("alb-public", AlbArgs.builder()
.addressIpVersion("DualStack")
.type("public")
.loadBalancerName("acc-test-alb-public")
.description("acc-test")
.subnetIds(
subnetIpv61.id(),
subnetIpv62.id())
.projectName("default")
.deleteProtection("off")
.eipBillingConfig(AlbEipBillingConfigArgs.builder()
.isp("BGP")
.eipBillingType("PostPaidByBandwidth")
.bandwidth(1)
.build())
.ipv6EipBillingConfig(AlbIpv6EipBillingConfigArgs.builder()
.isp("BGP")
.billingType("PostPaidByBandwidth")
.bandwidth(1)
.build())
.tags(AlbTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(ipv6Gateway)
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.alb.zones()
vpc_ipv6 = volcengine.vpc.Vpc("vpcIpv6",
vpc_name="acc-test-vpc-ipv6",
cidr_block="172.16.0.0/16",
enable_ipv6=True)
subnet_ipv61 = volcengine.vpc.Subnet("subnetIpv61",
subnet_name="acc-test-subnet-ipv6-1",
cidr_block="172.16.1.0/24",
zone_id=foo.zones[0].id,
vpc_id=vpc_ipv6.id,
ipv6_cidr_block=1)
subnet_ipv62 = volcengine.vpc.Subnet("subnetIpv62",
subnet_name="acc-test-subnet-ipv6-2",
cidr_block="172.16.2.0/24",
zone_id=foo.zones[1].id,
vpc_id=vpc_ipv6.id,
ipv6_cidr_block=2)
ipv6_gateway = volcengine.vpc.Ipv6Gateway("ipv6Gateway", vpc_id=vpc_ipv6.id)
alb_private = volcengine.alb.Alb("alb-private",
address_ip_version="IPv4",
type="private",
load_balancer_name="acc-test-alb-private",
description="acc-test",
subnet_ids=[
subnet_ipv61.id,
subnet_ipv62.id,
],
project_name="default",
delete_protection="off",
tags=[volcengine.alb.AlbTagArgs(
key="k1",
value="v1",
)])
alb_public = volcengine.alb.Alb("alb-public",
address_ip_version="DualStack",
type="public",
load_balancer_name="acc-test-alb-public",
description="acc-test",
subnet_ids=[
subnet_ipv61.id,
subnet_ipv62.id,
],
project_name="default",
delete_protection="off",
eip_billing_config=volcengine.alb.AlbEipBillingConfigArgs(
isp="BGP",
eip_billing_type="PostPaidByBandwidth",
bandwidth=1,
),
ipv6_eip_billing_config=volcengine.alb.AlbIpv6EipBillingConfigArgs(
isp="BGP",
billing_type="PostPaidByBandwidth",
bandwidth=1,
),
tags=[volcengine.alb.AlbTagArgs(
key="k1",
value="v1",
)],
opts=pulumi.ResourceOptions(depends_on=[ipv6_gateway]))
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const foo = volcengine.alb.Zones({});
const vpcIpv6 = new volcengine.vpc.Vpc("vpcIpv6", {
vpcName: "acc-test-vpc-ipv6",
cidrBlock: "172.16.0.0/16",
enableIpv6: true,
});
const subnetIpv61 = new volcengine.vpc.Subnet("subnetIpv61", {
subnetName: "acc-test-subnet-ipv6-1",
cidrBlock: "172.16.1.0/24",
zoneId: foo.then(foo => foo.zones?.[0]?.id),
vpcId: vpcIpv6.id,
ipv6CidrBlock: 1,
});
const subnetIpv62 = new volcengine.vpc.Subnet("subnetIpv62", {
subnetName: "acc-test-subnet-ipv6-2",
cidrBlock: "172.16.2.0/24",
zoneId: foo.then(foo => foo.zones?.[1]?.id),
vpcId: vpcIpv6.id,
ipv6CidrBlock: 2,
});
const ipv6Gateway = new volcengine.vpc.Ipv6Gateway("ipv6Gateway", {vpcId: vpcIpv6.id});
const alb_private = new volcengine.alb.Alb("alb-private", {
addressIpVersion: "IPv4",
type: "private",
loadBalancerName: "acc-test-alb-private",
description: "acc-test",
subnetIds: [
subnetIpv61.id,
subnetIpv62.id,
],
projectName: "default",
deleteProtection: "off",
tags: [{
key: "k1",
value: "v1",
}],
});
const alb_public = new volcengine.alb.Alb("alb-public", {
addressIpVersion: "DualStack",
type: "public",
loadBalancerName: "acc-test-alb-public",
description: "acc-test",
subnetIds: [
subnetIpv61.id,
subnetIpv62.id,
],
projectName: "default",
deleteProtection: "off",
eipBillingConfig: {
isp: "BGP",
eipBillingType: "PostPaidByBandwidth",
bandwidth: 1,
},
ipv6EipBillingConfig: {
isp: "BGP",
billingType: "PostPaidByBandwidth",
bandwidth: 1,
},
tags: [{
key: "k1",
value: "v1",
}],
}, {
dependsOn: [ipv6Gateway],
});
resources:
vpcIpv6:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc-ipv6
cidrBlock: 172.16.0.0/16
enableIpv6: true
subnetIpv61:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet-ipv6-1
cidrBlock: 172.16.1.0/24
zoneId: ${foo.zones[0].id}
vpcId: ${vpcIpv6.id}
ipv6CidrBlock: 1
subnetIpv62:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet-ipv6-2
cidrBlock: 172.16.2.0/24
zoneId: ${foo.zones[1].id}
vpcId: ${vpcIpv6.id}
ipv6CidrBlock: 2
ipv6Gateway:
type: volcengine:vpc:Ipv6Gateway
properties:
vpcId: ${vpcIpv6.id}
alb-private:
type: volcengine:alb:Alb
properties:
addressIpVersion: IPv4
type: private
loadBalancerName: acc-test-alb-private
description: acc-test
subnetIds:
- ${subnetIpv61.id}
- ${subnetIpv62.id}
projectName: default
deleteProtection: off
tags:
- key: k1
value: v1
alb-public:
type: volcengine:alb:Alb
properties:
addressIpVersion: DualStack
type: public
loadBalancerName: acc-test-alb-public
description: acc-test
subnetIds:
- ${subnetIpv61.id}
- ${subnetIpv62.id}
projectName: default
deleteProtection: off
eipBillingConfig:
isp: BGP
eipBillingType: PostPaidByBandwidth
bandwidth: 1
ipv6EipBillingConfig:
isp: BGP
billingType: PostPaidByBandwidth
bandwidth: 1
tags:
- key: k1
value: v1
options:
dependson:
- ${ipv6Gateway}
variables:
foo:
fn::invoke:
Function: volcengine:alb:Zones
Arguments: {}
Create Alb Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Alb(name: string, args: AlbArgs, opts?: CustomResourceOptions);
@overload
def Alb(resource_name: str,
args: AlbArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Alb(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_ids: Optional[Sequence[str]] = None,
type: Optional[str] = None,
address_ip_version: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
eip_billing_config: Optional[AlbEipBillingConfigArgs] = None,
ipv6_eip_billing_config: Optional[AlbIpv6EipBillingConfigArgs] = None,
load_balancer_name: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[AlbTagArgs]] = None)
func NewAlb(ctx *Context, name string, args AlbArgs, opts ...ResourceOption) (*Alb, error)
public Alb(string name, AlbArgs args, CustomResourceOptions? opts = null)
type: volcengine:alb:Alb
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 AlbArgs
- 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 AlbArgs
- 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 AlbArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlbArgs
- 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 albResource = new Volcengine.Alb.Alb("albResource", new()
{
SubnetIds = new[]
{
"string",
},
Type = "string",
AddressIpVersion = "string",
DeleteProtection = "string",
Description = "string",
EipBillingConfig = new Volcengine.Alb.Inputs.AlbEipBillingConfigArgs
{
Bandwidth = 0,
EipBillingType = "string",
Isp = "string",
},
Ipv6EipBillingConfig = new Volcengine.Alb.Inputs.AlbIpv6EipBillingConfigArgs
{
Bandwidth = 0,
BillingType = "string",
Isp = "string",
},
LoadBalancerName = "string",
ProjectName = "string",
Tags = new[]
{
new Volcengine.Alb.Inputs.AlbTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := alb.NewAlb(ctx, "albResource", &alb.AlbArgs{
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
AddressIpVersion: pulumi.String("string"),
DeleteProtection: pulumi.String("string"),
Description: pulumi.String("string"),
EipBillingConfig: &alb.AlbEipBillingConfigArgs{
Bandwidth: pulumi.Int(0),
EipBillingType: pulumi.String("string"),
Isp: pulumi.String("string"),
},
Ipv6EipBillingConfig: &alb.AlbIpv6EipBillingConfigArgs{
Bandwidth: pulumi.Int(0),
BillingType: pulumi.String("string"),
Isp: pulumi.String("string"),
},
LoadBalancerName: pulumi.String("string"),
ProjectName: pulumi.String("string"),
Tags: alb.AlbTagArray{
&alb.AlbTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var albResource = new Alb("albResource", AlbArgs.builder()
.subnetIds("string")
.type("string")
.addressIpVersion("string")
.deleteProtection("string")
.description("string")
.eipBillingConfig(AlbEipBillingConfigArgs.builder()
.bandwidth(0)
.eipBillingType("string")
.isp("string")
.build())
.ipv6EipBillingConfig(AlbIpv6EipBillingConfigArgs.builder()
.bandwidth(0)
.billingType("string")
.isp("string")
.build())
.loadBalancerName("string")
.projectName("string")
.tags(AlbTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
alb_resource = volcengine.alb.Alb("albResource",
subnet_ids=["string"],
type="string",
address_ip_version="string",
delete_protection="string",
description="string",
eip_billing_config=volcengine.alb.AlbEipBillingConfigArgs(
bandwidth=0,
eip_billing_type="string",
isp="string",
),
ipv6_eip_billing_config=volcengine.alb.AlbIpv6EipBillingConfigArgs(
bandwidth=0,
billing_type="string",
isp="string",
),
load_balancer_name="string",
project_name="string",
tags=[volcengine.alb.AlbTagArgs(
key="string",
value="string",
)])
const albResource = new volcengine.alb.Alb("albResource", {
subnetIds: ["string"],
type: "string",
addressIpVersion: "string",
deleteProtection: "string",
description: "string",
eipBillingConfig: {
bandwidth: 0,
eipBillingType: "string",
isp: "string",
},
ipv6EipBillingConfig: {
bandwidth: 0,
billingType: "string",
isp: "string",
},
loadBalancerName: "string",
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcengine:alb:Alb
properties:
addressIpVersion: string
deleteProtection: string
description: string
eipBillingConfig:
bandwidth: 0
eipBillingType: string
isp: string
ipv6EipBillingConfig:
bandwidth: 0
billingType: string
isp: string
loadBalancerName: string
projectName: string
subnetIds:
- string
tags:
- key: string
value: string
type: string
Alb Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Alb resource accepts the following input properties:
- Subnet
Ids List<string> - The id of the Subnet.
- Type string
- The type of the Alb. Valid values:
public
,private
. - Address
Ip stringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - Delete
Protection string - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - Description string
- The description of the Alb.
- Eip
Billing AlbConfig Eip Billing Config - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - Ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - Load
Balancer stringName - The name of the Alb.
- Project
Name string - The ProjectName of the Alb.
- List<Alb
Tag> - Tags.
- Subnet
Ids []string - The id of the Subnet.
- Type string
- The type of the Alb. Valid values:
public
,private
. - Address
Ip stringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - Delete
Protection string - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - Description string
- The description of the Alb.
- Eip
Billing AlbConfig Eip Billing Config Args - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - Ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config Args - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - Load
Balancer stringName - The name of the Alb.
- Project
Name string - The ProjectName of the Alb.
- []Alb
Tag Args - Tags.
- subnet
Ids List<String> - The id of the Subnet.
- type String
- The type of the Alb. Valid values:
public
,private
. - address
Ip StringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete
Protection String - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description String
- The description of the Alb.
- eip
Billing AlbConfig Eip Billing Config - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load
Balancer StringName - The name of the Alb.
- project
Name String - The ProjectName of the Alb.
- List<Alb
Tag> - Tags.
- subnet
Ids string[] - The id of the Subnet.
- type string
- The type of the Alb. Valid values:
public
,private
. - address
Ip stringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete
Protection string - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description string
- The description of the Alb.
- eip
Billing AlbConfig Eip Billing Config - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load
Balancer stringName - The name of the Alb.
- project
Name string - The ProjectName of the Alb.
- Alb
Tag[] - Tags.
- subnet_
ids Sequence[str] - The id of the Subnet.
- type str
- The type of the Alb. Valid values:
public
,private
. - address_
ip_ strversion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete_
protection str - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description str
- The description of the Alb.
- eip_
billing_ Albconfig Eip Billing Config Args - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6_
eip_ Albbilling_ config Ipv6Eip Billing Config Args - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load_
balancer_ strname - The name of the Alb.
- project_
name str - The ProjectName of the Alb.
- Sequence[Alb
Tag Args] - Tags.
- subnet
Ids List<String> - The id of the Subnet.
- type String
- The type of the Alb. Valid values:
public
,private
. - address
Ip StringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete
Protection String - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description String
- The description of the Alb.
- eip
Billing Property MapConfig - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6Eip
Billing Property MapConfig - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load
Balancer StringName - The name of the Alb.
- project
Name String - The ProjectName of the Alb.
- List<Property Map>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Alb resource produces the following output properties:
- Dns
Name string - The DNS name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Addresses List<string> - The local addresses of the Alb.
- Status string
- The status of the Alb.
- Vpc
Id string - The vpc id of the Alb.
- Zone
Mappings List<AlbZone Mapping> - Configuration information of the Alb instance in different Availability Zones.
- Dns
Name string - The DNS name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Addresses []string - The local addresses of the Alb.
- Status string
- The status of the Alb.
- Vpc
Id string - The vpc id of the Alb.
- Zone
Mappings []AlbZone Mapping - Configuration information of the Alb instance in different Availability Zones.
- dns
Name String - The DNS name.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Addresses List<String> - The local addresses of the Alb.
- status String
- The status of the Alb.
- vpc
Id String - The vpc id of the Alb.
- zone
Mappings List<AlbZone Mapping> - Configuration information of the Alb instance in different Availability Zones.
- dns
Name string - The DNS name.
- id string
- The provider-assigned unique ID for this managed resource.
- local
Addresses string[] - The local addresses of the Alb.
- status string
- The status of the Alb.
- vpc
Id string - The vpc id of the Alb.
- zone
Mappings AlbZone Mapping[] - Configuration information of the Alb instance in different Availability Zones.
- dns_
name str - The DNS name.
- id str
- The provider-assigned unique ID for this managed resource.
- local_
addresses Sequence[str] - The local addresses of the Alb.
- status str
- The status of the Alb.
- vpc_
id str - The vpc id of the Alb.
- zone_
mappings Sequence[AlbZone Mapping] - Configuration information of the Alb instance in different Availability Zones.
- dns
Name String - The DNS name.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Addresses List<String> - The local addresses of the Alb.
- status String
- The status of the Alb.
- vpc
Id String - The vpc id of the Alb.
- zone
Mappings List<Property Map> - Configuration information of the Alb instance in different Availability Zones.
Look up Existing Alb Resource
Get an existing Alb 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?: AlbState, opts?: CustomResourceOptions): Alb
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_ip_version: Optional[str] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
dns_name: Optional[str] = None,
eip_billing_config: Optional[AlbEipBillingConfigArgs] = None,
ipv6_eip_billing_config: Optional[AlbIpv6EipBillingConfigArgs] = None,
load_balancer_name: Optional[str] = None,
local_addresses: Optional[Sequence[str]] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[AlbTagArgs]] = None,
type: Optional[str] = None,
vpc_id: Optional[str] = None,
zone_mappings: Optional[Sequence[AlbZoneMappingArgs]] = None) -> Alb
func GetAlb(ctx *Context, name string, id IDInput, state *AlbState, opts ...ResourceOption) (*Alb, error)
public static Alb Get(string name, Input<string> id, AlbState? state, CustomResourceOptions? opts = null)
public static Alb get(String name, Output<String> id, AlbState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Address
Ip stringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - Delete
Protection string - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - Description string
- The description of the Alb.
- Dns
Name string - The DNS name.
- Eip
Billing AlbConfig Eip Billing Config - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - Ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - Load
Balancer stringName - The name of the Alb.
- Local
Addresses List<string> - The local addresses of the Alb.
- Project
Name string - The ProjectName of the Alb.
- Status string
- The status of the Alb.
- Subnet
Ids List<string> - The id of the Subnet.
- List<Alb
Tag> - Tags.
- Type string
- The type of the Alb. Valid values:
public
,private
. - Vpc
Id string - The vpc id of the Alb.
- Zone
Mappings List<AlbZone Mapping> - Configuration information of the Alb instance in different Availability Zones.
- Address
Ip stringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - Delete
Protection string - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - Description string
- The description of the Alb.
- Dns
Name string - The DNS name.
- Eip
Billing AlbConfig Eip Billing Config Args - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - Ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config Args - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - Load
Balancer stringName - The name of the Alb.
- Local
Addresses []string - The local addresses of the Alb.
- Project
Name string - The ProjectName of the Alb.
- Status string
- The status of the Alb.
- Subnet
Ids []string - The id of the Subnet.
- []Alb
Tag Args - Tags.
- Type string
- The type of the Alb. Valid values:
public
,private
. - Vpc
Id string - The vpc id of the Alb.
- Zone
Mappings []AlbZone Mapping Args - Configuration information of the Alb instance in different Availability Zones.
- address
Ip StringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete
Protection String - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description String
- The description of the Alb.
- dns
Name String - The DNS name.
- eip
Billing AlbConfig Eip Billing Config - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load
Balancer StringName - The name of the Alb.
- local
Addresses List<String> - The local addresses of the Alb.
- project
Name String - The ProjectName of the Alb.
- status String
- The status of the Alb.
- subnet
Ids List<String> - The id of the Subnet.
- List<Alb
Tag> - Tags.
- type String
- The type of the Alb. Valid values:
public
,private
. - vpc
Id String - The vpc id of the Alb.
- zone
Mappings List<AlbZone Mapping> - Configuration information of the Alb instance in different Availability Zones.
- address
Ip stringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete
Protection string - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description string
- The description of the Alb.
- dns
Name string - The DNS name.
- eip
Billing AlbConfig Eip Billing Config - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6Eip
Billing AlbConfig Ipv6Eip Billing Config - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load
Balancer stringName - The name of the Alb.
- local
Addresses string[] - The local addresses of the Alb.
- project
Name string - The ProjectName of the Alb.
- status string
- The status of the Alb.
- subnet
Ids string[] - The id of the Subnet.
- Alb
Tag[] - Tags.
- type string
- The type of the Alb. Valid values:
public
,private
. - vpc
Id string - The vpc id of the Alb.
- zone
Mappings AlbZone Mapping[] - Configuration information of the Alb instance in different Availability Zones.
- address_
ip_ strversion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete_
protection str - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description str
- The description of the Alb.
- dns_
name str - The DNS name.
- eip_
billing_ Albconfig Eip Billing Config Args - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6_
eip_ Albbilling_ config Ipv6Eip Billing Config Args - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load_
balancer_ strname - The name of the Alb.
- local_
addresses Sequence[str] - The local addresses of the Alb.
- project_
name str - The ProjectName of the Alb.
- status str
- The status of the Alb.
- subnet_
ids Sequence[str] - The id of the Subnet.
- Sequence[Alb
Tag Args] - Tags.
- type str
- The type of the Alb. Valid values:
public
,private
. - vpc_
id str - The vpc id of the Alb.
- zone_
mappings Sequence[AlbZone Mapping Args] - Configuration information of the Alb instance in different Availability Zones.
- address
Ip StringVersion - The address ip version of the Alb. Valid values:
IPv4
,DualStack
. Default isipv4
. - delete
Protection String - Whether to enable the delete protection function of the Alb. Valid values:
on
,off
. Default isoff
. - description String
- The description of the Alb.
- dns
Name String - The DNS name.
- eip
Billing Property MapConfig - The billing configuration of the EIP which automatically associated to the Alb. This field is valid when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.eip.Address
andvolcengine.eip.Associate
to achieve public network access function. - ipv6Eip
Billing Property MapConfig - The billing configuration of the Ipv6 EIP which automatically associated to the Alb. This field is required when the type of the Alb is
public
.When the type of the Alb isprivate
, suggest using a combination of resourcevolcengine.vpc.Ipv6Gateway
andvolcengine.vpc.Ipv6AddressBandwidth
to achieve ipv6 public network access function. - load
Balancer StringName - The name of the Alb.
- local
Addresses List<String> - The local addresses of the Alb.
- project
Name String - The ProjectName of the Alb.
- status String
- The status of the Alb.
- subnet
Ids List<String> - The id of the Subnet.
- List<Property Map>
- Tags.
- type String
- The type of the Alb. Valid values:
public
,private
. - vpc
Id String - The vpc id of the Alb.
- zone
Mappings List<Property Map> - Configuration information of the Alb instance in different Availability Zones.
Supporting Types
AlbEipBillingConfig, AlbEipBillingConfigArgs
- Bandwidth int
- The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
- Eip
Billing stringType - The billing type of the EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - Isp string
- The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be
BGP
.
- Bandwidth int
- The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
- Eip
Billing stringType - The billing type of the EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - Isp string
- The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be
BGP
.
- bandwidth Integer
- The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
- eip
Billing StringType - The billing type of the EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp String
- The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be
BGP
.
- bandwidth number
- The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
- eip
Billing stringType - The billing type of the EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp string
- The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be
BGP
.
- bandwidth int
- The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
- eip_
billing_ strtype - The billing type of the EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp str
- The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be
BGP
.
- bandwidth Number
- The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
- eip
Billing StringType - The billing type of the EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp String
- The ISP of the Ipv6 EIP which automatically associated to the Alb, the value can be
BGP
.
AlbIpv6EipBillingConfig, AlbIpv6EipBillingConfigArgs
- Bandwidth int
- The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
- Billing
Type string - The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - Isp string
The ISP of the EIP which automatically associated to the Alb, the value can be
BGP
.The
ipv6_eip_billing_config
object supports the following:
- Bandwidth int
- The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
- Billing
Type string - The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - Isp string
The ISP of the EIP which automatically associated to the Alb, the value can be
BGP
.The
ipv6_eip_billing_config
object supports the following:
- bandwidth Integer
- The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
- billing
Type String - The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp String
The ISP of the EIP which automatically associated to the Alb, the value can be
BGP
.The
ipv6_eip_billing_config
object supports the following:
- bandwidth number
- The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
- billing
Type string - The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp string
The ISP of the EIP which automatically associated to the Alb, the value can be
BGP
.The
ipv6_eip_billing_config
object supports the following:
- bandwidth int
- The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
- billing_
type str - The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp str
The ISP of the EIP which automatically associated to the Alb, the value can be
BGP
.The
ipv6_eip_billing_config
object supports the following:
- bandwidth Number
- The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
- billing
Type String - The billing type of the Tpv6 EIP which automatically assigned to the Alb. Valid values:
PostPaidByBandwidth
,PostPaidByTraffic
. - isp String
The ISP of the EIP which automatically associated to the Alb, the value can be
BGP
.The
ipv6_eip_billing_config
object supports the following:
AlbTag, AlbTagArgs
AlbZoneMapping, AlbZoneMappingArgs
- Load
Balancer List<AlbAddresses Zone Mapping Load Balancer Address> - The IP address information of the Alb in this availability zone.
- Subnet
Id string - The subnet id of the Alb in this availability zone.
- Zone
Id string - The availability zone id of the Alb.
- Load
Balancer []AlbAddresses Zone Mapping Load Balancer Address - The IP address information of the Alb in this availability zone.
- Subnet
Id string - The subnet id of the Alb in this availability zone.
- Zone
Id string - The availability zone id of the Alb.
- load
Balancer List<AlbAddresses Zone Mapping Load Balancer Address> - The IP address information of the Alb in this availability zone.
- subnet
Id String - The subnet id of the Alb in this availability zone.
- zone
Id String - The availability zone id of the Alb.
- load
Balancer AlbAddresses Zone Mapping Load Balancer Address[] - The IP address information of the Alb in this availability zone.
- subnet
Id string - The subnet id of the Alb in this availability zone.
- zone
Id string - The availability zone id of the Alb.
- load_
balancer_ Sequence[Albaddresses Zone Mapping Load Balancer Address] - The IP address information of the Alb in this availability zone.
- subnet_
id str - The subnet id of the Alb in this availability zone.
- zone_
id str - The availability zone id of the Alb.
- load
Balancer List<Property Map>Addresses - The IP address information of the Alb in this availability zone.
- subnet
Id String - The subnet id of the Alb in this availability zone.
- zone
Id String - The availability zone id of the Alb.
AlbZoneMappingLoadBalancerAddress, AlbZoneMappingLoadBalancerAddressArgs
- Eip
Address string - The Eip address of the Alb in this availability zone.
- Eip
Id string - The Eip id of alb instance in this availability zone.
- Eni
Address string - The Eni address of the Alb in this availability zone.
- Eni
Id string - The Eni id of the Alb in this availability zone.
- Eni
Ipv6Address string - The Eni Ipv6 address of the Alb in this availability zone.
- Ipv6Eip
Id string - The Ipv6 Eip id of alb instance in this availability zone.
- Eip
Address string - The Eip address of the Alb in this availability zone.
- Eip
Id string - The Eip id of alb instance in this availability zone.
- Eni
Address string - The Eni address of the Alb in this availability zone.
- Eni
Id string - The Eni id of the Alb in this availability zone.
- Eni
Ipv6Address string - The Eni Ipv6 address of the Alb in this availability zone.
- Ipv6Eip
Id string - The Ipv6 Eip id of alb instance in this availability zone.
- eip
Address String - The Eip address of the Alb in this availability zone.
- eip
Id String - The Eip id of alb instance in this availability zone.
- eni
Address String - The Eni address of the Alb in this availability zone.
- eni
Id String - The Eni id of the Alb in this availability zone.
- eni
Ipv6Address String - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6Eip
Id String - The Ipv6 Eip id of alb instance in this availability zone.
- eip
Address string - The Eip address of the Alb in this availability zone.
- eip
Id string - The Eip id of alb instance in this availability zone.
- eni
Address string - The Eni address of the Alb in this availability zone.
- eni
Id string - The Eni id of the Alb in this availability zone.
- eni
Ipv6Address string - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6Eip
Id string - The Ipv6 Eip id of alb instance in this availability zone.
- eip_
address str - The Eip address of the Alb in this availability zone.
- eip_
id str - The Eip id of alb instance in this availability zone.
- eni_
address str - The Eni address of the Alb in this availability zone.
- eni_
id str - The Eni id of the Alb in this availability zone.
- eni_
ipv6_ straddress - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6_
eip_ strid - The Ipv6 Eip id of alb instance in this availability zone.
- eip
Address String - The Eip address of the Alb in this availability zone.
- eip
Id String - The Eip id of alb instance in this availability zone.
- eni
Address String - The Eni address of the Alb in this availability zone.
- eni
Id String - The Eni id of the Alb in this availability zone.
- eni
Ipv6Address String - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6Eip
Id String - The Ipv6 Eip id of alb instance in this availability zone.
Import
Alb can be imported using the id, e.g.
$ pulumi import volcengine:alb/alb:Alb default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.