Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.alb.Albs
Explore with Pulumi AI
Use this data source to query detailed information of albs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooZones = volcengine.alb.Zones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
const subnet1 = new volcengine.vpc.Subnet("subnet1", {
subnetName: "acc-test-subnet-1",
cidrBlock: "172.16.1.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const subnet2 = new volcengine.vpc.Subnet("subnet2", {
subnetName: "acc-test-subnet-2",
cidrBlock: "172.16.2.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[1]?.id),
vpcId: fooVpc.id,
});
const fooAlb: volcengine.alb.Alb[] = [];
for (const range = {value: 0}; range.value < 3; range.value++) {
fooAlb.push(new volcengine.alb.Alb(`fooAlb-${range.value}`, {
addressIpVersion: "IPv4",
type: "private",
loadBalancerName: `acc-test-alb-private-${range.value}`,
description: "acc-test",
subnetIds: [
subnet1.id,
subnet2.id,
],
projectName: "default",
deleteProtection: "off",
tags: [{
key: "k1",
value: "v1",
}],
}));
}
const fooAlbs = volcengine.alb.AlbsOutput({
ids: fooAlb.map(__item => __item.id),
});
import pulumi
import pulumi_volcengine as volcengine
foo_zones = volcengine.alb.zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
subnet1 = volcengine.vpc.Subnet("subnet1",
subnet_name="acc-test-subnet-1",
cidr_block="172.16.1.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
subnet2 = volcengine.vpc.Subnet("subnet2",
subnet_name="acc-test-subnet-2",
cidr_block="172.16.2.0/24",
zone_id=foo_zones.zones[1].id,
vpc_id=foo_vpc.id)
foo_alb = []
for range in [{"value": i} for i in range(0, 3)]:
foo_alb.append(volcengine.alb.Alb(f"fooAlb-{range['value']}",
address_ip_version="IPv4",
type="private",
load_balancer_name=f"acc-test-alb-private-{range['value']}",
description="acc-test",
subnet_ids=[
subnet1.id,
subnet2.id,
],
project_name="default",
delete_protection="off",
tags=[volcengine.alb.AlbTagArgs(
key="k1",
value="v1",
)]))
foo_albs = volcengine.alb.albs_output(ids=[__item.id for __item in foo_alb])
package main
import (
"fmt"
"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 {
fooZones, err := alb.Zones(ctx, nil, nil);
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
subnet1, err := vpc.NewSubnet(ctx, "subnet1", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet-1"),
CidrBlock: pulumi.String("172.16.1.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
subnet2, err := vpc.NewSubnet(ctx, "subnet2", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet-2"),
CidrBlock: pulumi.String("172.16.2.0/24"),
ZoneId: pulumi.String(fooZones.Zones[1].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
var fooAlb []*alb.Alb
for index := 0; index < 3; index++ {
key0 := index
val0 := index
__res, err := alb.NewAlb(ctx, fmt.Sprintf("fooAlb-%v", key0), &alb.AlbArgs{
AddressIpVersion: pulumi.String("IPv4"),
Type: pulumi.String("private"),
LoadBalancerName: pulumi.String(fmt.Sprintf("acc-test-alb-private-%v", val0)),
Description: pulumi.String("acc-test"),
SubnetIds: pulumi.StringArray{
subnet1.ID(),
subnet2.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
}
fooAlb = append(fooAlb, __res)
}
_ = alb.AlbsOutput(ctx, alb.AlbsOutputArgs{
Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:alb-albs:Albs.pp:36,9-21),
}, nil);
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooZones = Volcengine.Alb.Zones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
var subnet1 = new Volcengine.Vpc.Subnet("subnet1", new()
{
SubnetName = "acc-test-subnet-1",
CidrBlock = "172.16.1.0/24",
ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var subnet2 = new Volcengine.Vpc.Subnet("subnet2", new()
{
SubnetName = "acc-test-subnet-2",
CidrBlock = "172.16.2.0/24",
ZoneId = fooZones.Apply(zonesResult => zonesResult.Zones[1]?.Id),
VpcId = fooVpc.Id,
});
var fooAlb = new List<Volcengine.Alb.Alb>();
for (var rangeIndex = 0; rangeIndex < 3; rangeIndex++)
{
var range = new { Value = rangeIndex };
fooAlb.Add(new Volcengine.Alb.Alb($"fooAlb-{range.Value}", new()
{
AddressIpVersion = "IPv4",
Type = "private",
LoadBalancerName = $"acc-test-alb-private-{range.Value}",
Description = "acc-test",
SubnetIds = new[]
{
subnet1.Id,
subnet2.Id,
},
ProjectName = "default",
DeleteProtection = "off",
Tags = new[]
{
new Volcengine.Alb.Inputs.AlbTagArgs
{
Key = "k1",
Value = "v1",
},
},
}));
}
var fooAlbs = Volcengine.Alb.Albs.Invoke(new()
{
Ids = fooAlb.Select(__item => __item.Id).ToList(),
});
});
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.alb.Alb;
import com.pulumi.volcengine.alb.AlbArgs;
import com.pulumi.volcengine.alb.inputs.AlbTagArgs;
import com.pulumi.volcengine.alb.inputs.AlbsArgs;
import com.pulumi.codegen.internal.KeyedValue;
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 fooZones = AlbFunctions.Zones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
var subnet1 = new Subnet("subnet1", SubnetArgs.builder()
.subnetName("acc-test-subnet-1")
.cidrBlock("172.16.1.0/24")
.zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var subnet2 = new Subnet("subnet2", SubnetArgs.builder()
.subnetName("acc-test-subnet-2")
.cidrBlock("172.16.2.0/24")
.zoneId(fooZones.applyValue(zonesResult -> zonesResult.zones()[1].id()))
.vpcId(fooVpc.id())
.build());
for (var i = 0; i < 3; i++) {
new Alb("fooAlb-" + i, AlbArgs.builder()
.addressIpVersion("IPv4")
.type("private")
.loadBalancerName(String.format("acc-test-alb-private-%s", range.value()))
.description("acc-test")
.subnetIds(
subnet1.id(),
subnet2.id())
.projectName("default")
.deleteProtection("off")
.tags(AlbTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
}
final var fooAlbs = AlbFunctions.Albs(AlbsArgs.builder()
.ids(fooAlb.stream().map(element -> element.id()).collect(toList()))
.build());
}
}
Coming soon!
Using Albs
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 albs(args: AlbsArgs, opts?: InvokeOptions): Promise<AlbsResult>
function albsOutput(args: AlbsOutputArgs, opts?: InvokeOptions): Output<AlbsResult>
def albs(eni_address: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
load_balancer_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project: Optional[str] = None,
tags: Optional[Sequence[AlbsTag]] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AlbsResult
def albs_output(eni_address: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
load_balancer_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[AlbsTagArgs]]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AlbsResult]
func Albs(ctx *Context, args *AlbsArgs, opts ...InvokeOption) (*AlbsResult, error)
func AlbsOutput(ctx *Context, args *AlbsOutputArgs, opts ...InvokeOption) AlbsResultOutput
public static class Albs
{
public static Task<AlbsResult> InvokeAsync(AlbsArgs args, InvokeOptions? opts = null)
public static Output<AlbsResult> Invoke(AlbsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AlbsResult> albs(AlbsArgs args, InvokeOptions options)
public static Output<AlbsResult> albs(AlbsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:alb:Albs
arguments:
# arguments dictionary
The following arguments are supported:
- Eni
Address string - The private ip address of the Alb.
- Ids List<string>
- A list of Alb IDs.
- Load
Balancer stringName - The name of the Alb.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project string
- The project of the Alb.
- List<Albs
Tag> - Tags.
- Vpc
Id string - The vpc id which Alb belongs to.
- Eni
Address string - The private ip address of the Alb.
- Ids []string
- A list of Alb IDs.
- Load
Balancer stringName - The name of the Alb.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project string
- The project of the Alb.
- []Albs
Tag - Tags.
- Vpc
Id string - The vpc id which Alb belongs to.
- eni
Address String - The private ip address of the Alb.
- ids List<String>
- A list of Alb IDs.
- load
Balancer StringName - The name of the Alb.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project String
- The project of the Alb.
- List<Albs
Tag> - Tags.
- vpc
Id String - The vpc id which Alb belongs to.
- eni
Address string - The private ip address of the Alb.
- ids string[]
- A list of Alb IDs.
- load
Balancer stringName - The name of the Alb.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project string
- The project of the Alb.
- Albs
Tag[] - Tags.
- vpc
Id string - The vpc id which Alb belongs to.
- eni_
address str - The private ip address of the Alb.
- ids Sequence[str]
- A list of Alb IDs.
- load_
balancer_ strname - The name of the Alb.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project str
- The project of the Alb.
- Sequence[Albs
Tag] - Tags.
- vpc_
id str - The vpc id which Alb belongs to.
- eni
Address String - The private ip address of the Alb.
- ids List<String>
- A list of Alb IDs.
- load
Balancer StringName - The name of the Alb.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project String
- The project of the Alb.
- List<Property Map>
- Tags.
- vpc
Id String - The vpc id which Alb belongs to.
Albs Result
The following output properties are available:
- Albs
List<Albs
Alb> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Eni
Address string - The Eni address of the Alb in this availability zone.
- Ids List<string>
- Load
Balancer stringName - The name of the Alb.
- Name
Regex string - Output
File string - Project string
- List<Albs
Tag> - Tags.
- Vpc
Id string - The vpc id of the Alb.
- Albs
[]Albs
Alb - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Eni
Address string - The Eni address of the Alb in this availability zone.
- Ids []string
- Load
Balancer stringName - The name of the Alb.
- Name
Regex string - Output
File string - Project string
- []Albs
Tag - Tags.
- Vpc
Id string - The vpc id of the Alb.
- albs
List<Albs
Alb> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- eni
Address String - The Eni address of the Alb in this availability zone.
- ids List<String>
- load
Balancer StringName - The name of the Alb.
- name
Regex String - output
File String - project String
- List<Albs
Tag> - Tags.
- vpc
Id String - The vpc id of the Alb.
- albs
Albs
Alb[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- eni
Address string - The Eni address of the Alb in this availability zone.
- ids string[]
- load
Balancer stringName - The name of the Alb.
- name
Regex string - output
File string - project string
- Albs
Tag[] - Tags.
- vpc
Id string - The vpc id of the Alb.
- albs
Sequence[Albs
Alb] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- eni_
address str - The Eni address of the Alb in this availability zone.
- ids Sequence[str]
- load_
balancer_ strname - The name of the Alb.
- name_
regex str - output_
file str - project str
- Sequence[Albs
Tag] - Tags.
- vpc_
id str - The vpc id of the Alb.
- albs List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- eni
Address String - The Eni address of the Alb in this availability zone.
- ids List<String>
- load
Balancer StringName - The name of the Alb.
- name
Regex String - output
File String - project String
- List<Property Map>
- Tags.
- vpc
Id String - The vpc id of the Alb.
Supporting Types
AlbsAlb
- Access
Logs This property is required. List<AlbsAlb Access Log> - The access log information of the Alb.
- Address
Ip Version This property is required. string - The address ip version of the Alb, valid value:
IPv4
,DualStack
. - Business
Status This property is required. string - The business status of the Alb, valid value:
Normal
,FinancialLocked
. - Create
Time This property is required. string - The create time of the Alb.
- Delete
Protection This property is required. string - The deletion protection function of the Alb instance is turned on or off.
- Deleted
Time This property is required. string - The expected deleted time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - Description
This property is required. string - The description of the Alb.
- Dns
Name This property is required. string - The DNS name.
- Health
Logs This property is required. List<AlbsAlb Health Log> - The health log information of the Alb.
- Id
This property is required. string - The ID of the Alb.
- Listeners
This property is required. List<AlbsAlb Listener> - The listener information of the Alb.
- Load
Balancer Billing Type This property is required. int - The billing type of the Alb.
- Load
Balancer Id This property is required. string - The ID of the Alb.
- Load
Balancer Name This property is required. string - The name of the Alb.
- Local
Addresses This property is required. List<string> - The local addresses of the Alb.
- Lock
Reason This property is required. string - The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - Overdue
Time This property is required. string - The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - Project
Name This property is required. string - The project name of the Alb.
- Status
This property is required. string - The status of the Alb.
This property is required. List<AlbsAlb Tag> - Tags.
- Tls
Access Logs This property is required. List<AlbsAlb Tls Access Log> - The tls access log information of the Alb.
- Type
This property is required. string - The type of the Alb, valid value:
public
,private
. - Update
Time This property is required. string - The update time of the Alb.
- Vpc
Id This property is required. string - The vpc id which Alb belongs to.
- Zone
Mappings This property is required. List<AlbsAlb Zone Mapping> - Configuration information of the Alb instance in different Availability Zones.
- Access
Logs This property is required. []AlbsAlb Access Log - The access log information of the Alb.
- Address
Ip Version This property is required. string - The address ip version of the Alb, valid value:
IPv4
,DualStack
. - Business
Status This property is required. string - The business status of the Alb, valid value:
Normal
,FinancialLocked
. - Create
Time This property is required. string - The create time of the Alb.
- Delete
Protection This property is required. string - The deletion protection function of the Alb instance is turned on or off.
- Deleted
Time This property is required. string - The expected deleted time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - Description
This property is required. string - The description of the Alb.
- Dns
Name This property is required. string - The DNS name.
- Health
Logs This property is required. []AlbsAlb Health Log - The health log information of the Alb.
- Id
This property is required. string - The ID of the Alb.
- Listeners
This property is required. []AlbsAlb Listener - The listener information of the Alb.
- Load
Balancer Billing Type This property is required. int - The billing type of the Alb.
- Load
Balancer Id This property is required. string - The ID of the Alb.
- Load
Balancer Name This property is required. string - The name of the Alb.
- Local
Addresses This property is required. []string - The local addresses of the Alb.
- Lock
Reason This property is required. string - The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - Overdue
Time This property is required. string - The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - Project
Name This property is required. string - The project name of the Alb.
- Status
This property is required. string - The status of the Alb.
This property is required. []AlbsAlb Tag - Tags.
- Tls
Access Logs This property is required. []AlbsAlb Tls Access Log - The tls access log information of the Alb.
- Type
This property is required. string - The type of the Alb, valid value:
public
,private
. - Update
Time This property is required. string - The update time of the Alb.
- Vpc
Id This property is required. string - The vpc id which Alb belongs to.
- Zone
Mappings This property is required. []AlbsAlb Zone Mapping - Configuration information of the Alb instance in different Availability Zones.
- access
Logs This property is required. List<AlbsAlb Access Log> - The access log information of the Alb.
- address
Ip Version This property is required. String - The address ip version of the Alb, valid value:
IPv4
,DualStack
. - business
Status This property is required. String - The business status of the Alb, valid value:
Normal
,FinancialLocked
. - create
Time This property is required. String - The create time of the Alb.
- delete
Protection This property is required. String - The deletion protection function of the Alb instance is turned on or off.
- deleted
Time This property is required. String - The expected deleted time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - description
This property is required. String - The description of the Alb.
- dns
Name This property is required. String - The DNS name.
- health
Logs This property is required. List<AlbsAlb Health Log> - The health log information of the Alb.
- id
This property is required. String - The ID of the Alb.
- listeners
This property is required. List<AlbsAlb Listener> - The listener information of the Alb.
- load
Balancer Billing Type This property is required. Integer - The billing type of the Alb.
- load
Balancer Id This property is required. String - The ID of the Alb.
- load
Balancer Name This property is required. String - The name of the Alb.
- local
Addresses This property is required. List<String> - The local addresses of the Alb.
- lock
Reason This property is required. String - The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - overdue
Time This property is required. String - The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - project
Name This property is required. String - The project name of the Alb.
- status
This property is required. String - The status of the Alb.
This property is required. List<AlbsAlb Tag> - Tags.
- tls
Access Logs This property is required. List<AlbsAlb Tls Access Log> - The tls access log information of the Alb.
- type
This property is required. String - The type of the Alb, valid value:
public
,private
. - update
Time This property is required. String - The update time of the Alb.
- vpc
Id This property is required. String - The vpc id which Alb belongs to.
- zone
Mappings This property is required. List<AlbsAlb Zone Mapping> - Configuration information of the Alb instance in different Availability Zones.
- access
Logs This property is required. AlbsAlb Access Log[] - The access log information of the Alb.
- address
Ip Version This property is required. string - The address ip version of the Alb, valid value:
IPv4
,DualStack
. - business
Status This property is required. string - The business status of the Alb, valid value:
Normal
,FinancialLocked
. - create
Time This property is required. string - The create time of the Alb.
- delete
Protection This property is required. string - The deletion protection function of the Alb instance is turned on or off.
- deleted
Time This property is required. string - The expected deleted time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - description
This property is required. string - The description of the Alb.
- dns
Name This property is required. string - The DNS name.
- health
Logs This property is required. AlbsAlb Health Log[] - The health log information of the Alb.
- id
This property is required. string - The ID of the Alb.
- listeners
This property is required. AlbsAlb Listener[] - The listener information of the Alb.
- load
Balancer Billing Type This property is required. number - The billing type of the Alb.
- load
Balancer Id This property is required. string - The ID of the Alb.
- load
Balancer Name This property is required. string - The name of the Alb.
- local
Addresses This property is required. string[] - The local addresses of the Alb.
- lock
Reason This property is required. string - The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - overdue
Time This property is required. string - The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - project
Name This property is required. string - The project name of the Alb.
- status
This property is required. string - The status of the Alb.
This property is required. AlbsAlb Tag[] - Tags.
- tls
Access Logs This property is required. AlbsAlb Tls Access Log[] - The tls access log information of the Alb.
- type
This property is required. string - The type of the Alb, valid value:
public
,private
. - update
Time This property is required. string - The update time of the Alb.
- vpc
Id This property is required. string - The vpc id which Alb belongs to.
- zone
Mappings This property is required. AlbsAlb Zone Mapping[] - Configuration information of the Alb instance in different Availability Zones.
- access_
logs This property is required. Sequence[AlbsAlb Access Log] - The access log information of the Alb.
- address_
ip_ version This property is required. str - The address ip version of the Alb, valid value:
IPv4
,DualStack
. - business_
status This property is required. str - The business status of the Alb, valid value:
Normal
,FinancialLocked
. - create_
time This property is required. str - The create time of the Alb.
- delete_
protection This property is required. str - The deletion protection function of the Alb instance is turned on or off.
- deleted_
time This property is required. str - The expected deleted time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - description
This property is required. str - The description of the Alb.
- dns_
name This property is required. str - The DNS name.
- health_
logs This property is required. Sequence[AlbsAlb Health Log] - The health log information of the Alb.
- id
This property is required. str - The ID of the Alb.
- listeners
This property is required. Sequence[AlbsAlb Listener] - The listener information of the Alb.
- load_
balancer_ billing_ type This property is required. int - The billing type of the Alb.
- load_
balancer_ id This property is required. str - The ID of the Alb.
- load_
balancer_ name This property is required. str - The name of the Alb.
- local_
addresses This property is required. Sequence[str] - The local addresses of the Alb.
- lock_
reason This property is required. str - The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - overdue_
time This property is required. str - The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - project_
name This property is required. str - The project name of the Alb.
- status
This property is required. str - The status of the Alb.
This property is required. Sequence[AlbsAlb Tag] - Tags.
- tls_
access_ logs This property is required. Sequence[AlbsAlb Tls Access Log] - The tls access log information of the Alb.
- type
This property is required. str - The type of the Alb, valid value:
public
,private
. - update_
time This property is required. str - The update time of the Alb.
- vpc_
id This property is required. str - The vpc id which Alb belongs to.
- zone_
mappings This property is required. Sequence[AlbsAlb Zone Mapping] - Configuration information of the Alb instance in different Availability Zones.
- access
Logs This property is required. List<Property Map> - The access log information of the Alb.
- address
Ip Version This property is required. String - The address ip version of the Alb, valid value:
IPv4
,DualStack
. - business
Status This property is required. String - The business status of the Alb, valid value:
Normal
,FinancialLocked
. - create
Time This property is required. String - The create time of the Alb.
- delete
Protection This property is required. String - The deletion protection function of the Alb instance is turned on or off.
- deleted
Time This property is required. String - The expected deleted time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - description
This property is required. String - The description of the Alb.
- dns
Name This property is required. String - The DNS name.
- health
Logs This property is required. List<Property Map> - The health log information of the Alb.
- id
This property is required. String - The ID of the Alb.
- listeners
This property is required. List<Property Map> - The listener information of the Alb.
- load
Balancer Billing Type This property is required. Number - The billing type of the Alb.
- load
Balancer Id This property is required. String - The ID of the Alb.
- load
Balancer Name This property is required. String - The name of the Alb.
- local
Addresses This property is required. List<String> - The local addresses of the Alb.
- lock
Reason This property is required. String - The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - overdue
Time This property is required. String - The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is
FinancialLocked
. - project
Name This property is required. String - The project name of the Alb.
- status
This property is required. String - The status of the Alb.
This property is required. List<Property Map>- Tags.
- tls
Access Logs This property is required. List<Property Map> - The tls access log information of the Alb.
- type
This property is required. String - The type of the Alb, valid value:
public
,private
. - update
Time This property is required. String - The update time of the Alb.
- vpc
Id This property is required. String - The vpc id which Alb belongs to.
- zone
Mappings This property is required. List<Property Map> - Configuration information of the Alb instance in different Availability Zones.
AlbsAlbAccessLog
- Bucket
Name This property is required. string - The bucket name where the logs are stored.
- Enabled
This property is required. bool - Whether the tls access log function is enabled.
- Bucket
Name This property is required. string - The bucket name where the logs are stored.
- Enabled
This property is required. bool - Whether the tls access log function is enabled.
- bucket
Name This property is required. String - The bucket name where the logs are stored.
- enabled
This property is required. Boolean - Whether the tls access log function is enabled.
- bucket
Name This property is required. string - The bucket name where the logs are stored.
- enabled
This property is required. boolean - Whether the tls access log function is enabled.
- bucket_
name This property is required. str - The bucket name where the logs are stored.
- enabled
This property is required. bool - Whether the tls access log function is enabled.
- bucket
Name This property is required. String - The bucket name where the logs are stored.
- enabled
This property is required. Boolean - Whether the tls access log function is enabled.
AlbsAlbHealthLog
- enabled
This property is required. bool - Whether the tls access log function is enabled.
- project_
id This property is required. str - The TLS project id bound to the access log.
- topic_
id This property is required. str - The TLS topic id bound to the access log.
AlbsAlbListener
- Listener
Id This property is required. string - The listener id of the Alb.
- Listener
Name This property is required. string - The listener name of the Alb.
- Listener
Id This property is required. string - The listener id of the Alb.
- Listener
Name This property is required. string - The listener name of the Alb.
- listener
Id This property is required. String - The listener id of the Alb.
- listener
Name This property is required. String - The listener name of the Alb.
- listener
Id This property is required. string - The listener id of the Alb.
- listener
Name This property is required. string - The listener name of the Alb.
- listener_
id This property is required. str - The listener id of the Alb.
- listener_
name This property is required. str - The listener name of the Alb.
- listener
Id This property is required. String - The listener id of the Alb.
- listener
Name This property is required. String - The listener name of the Alb.
AlbsAlbTag
AlbsAlbTlsAccessLog
- enabled
This property is required. bool - Whether the tls access log function is enabled.
- project_
id This property is required. str - The TLS project id bound to the access log.
- topic_
id This property is required. str - The TLS topic id bound to the access log.
AlbsAlbZoneMapping
- Load
Balancer Addresses This property is required. List<AlbsAlb Zone Mapping Load Balancer Address> - The IP address information of the Alb in this availability zone.
- Subnet
Id This property is required. string - The subnet id of the Alb in this availability zone.
- Zone
Id This property is required. string - The availability zone id of the Alb.
- Load
Balancer Addresses This property is required. []AlbsAlb Zone Mapping Load Balancer Address - The IP address information of the Alb in this availability zone.
- Subnet
Id This property is required. string - The subnet id of the Alb in this availability zone.
- Zone
Id This property is required. string - The availability zone id of the Alb.
- load
Balancer Addresses This property is required. List<AlbsAlb Zone Mapping Load Balancer Address> - The IP address information of the Alb in this availability zone.
- subnet
Id This property is required. String - The subnet id of the Alb in this availability zone.
- zone
Id This property is required. String - The availability zone id of the Alb.
- load
Balancer Addresses This property is required. AlbsAlb Zone Mapping Load Balancer Address[] - The IP address information of the Alb in this availability zone.
- subnet
Id This property is required. string - The subnet id of the Alb in this availability zone.
- zone
Id This property is required. string - The availability zone id of the Alb.
- load_
balancer_ addresses This property is required. Sequence[AlbsAlb Zone Mapping Load Balancer Address] - The IP address information of the Alb in this availability zone.
- subnet_
id This property is required. str - The subnet id of the Alb in this availability zone.
- zone_
id This property is required. str - The availability zone id of the Alb.
- load
Balancer Addresses This property is required. List<Property Map> - The IP address information of the Alb in this availability zone.
- subnet
Id This property is required. String - The subnet id of the Alb in this availability zone.
- zone
Id This property is required. String - The availability zone id of the Alb.
AlbsAlbZoneMappingLoadBalancerAddress
- Eip
Address This property is required. string - The Eip address of the Alb.
- Eip
Id This property is required. string - The Eip id of alb instance in this availability zone.
- Eips
This property is required. List<AlbsAlb Zone Mapping Load Balancer Address Eip> - The Eip information of the Alb in this availability zone.
- Eni
Address This property is required. string - The private ip address of the Alb.
- Eni
Id This property is required. string - The Eni id of the Alb in this availability zone.
- Eni
Ipv6Address This property is required. string - The Eni Ipv6 address of the Alb in this availability zone.
- Ipv6Eip
Id This property is required. string - The Ipv6 Eip id of alb instance in this availability zone.
- Ipv6Eips
This property is required. List<AlbsAlb Zone Mapping Load Balancer Address Ipv6Eip> - The Ipv6 Eip information of the Alb in this availability zone.
- Eip
Address This property is required. string - The Eip address of the Alb.
- Eip
Id This property is required. string - The Eip id of alb instance in this availability zone.
- Eips
This property is required. []AlbsAlb Zone Mapping Load Balancer Address Eip - The Eip information of the Alb in this availability zone.
- Eni
Address This property is required. string - The private ip address of the Alb.
- Eni
Id This property is required. string - The Eni id of the Alb in this availability zone.
- Eni
Ipv6Address This property is required. string - The Eni Ipv6 address of the Alb in this availability zone.
- Ipv6Eip
Id This property is required. string - The Ipv6 Eip id of alb instance in this availability zone.
- Ipv6Eips
This property is required. []AlbsAlb Zone Mapping Load Balancer Address Ipv6Eip - The Ipv6 Eip information of the Alb in this availability zone.
- eip
Address This property is required. String - The Eip address of the Alb.
- eip
Id This property is required. String - The Eip id of alb instance in this availability zone.
- eips
This property is required. List<AlbsAlb Zone Mapping Load Balancer Address Eip> - The Eip information of the Alb in this availability zone.
- eni
Address This property is required. String - The private ip address of the Alb.
- eni
Id This property is required. String - The Eni id of the Alb in this availability zone.
- eni
Ipv6Address This property is required. String - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6Eip
Id This property is required. String - The Ipv6 Eip id of alb instance in this availability zone.
- ipv6Eips
This property is required. List<AlbsAlb Zone Mapping Load Balancer Address Ipv6Eip> - The Ipv6 Eip information of the Alb in this availability zone.
- eip
Address This property is required. string - The Eip address of the Alb.
- eip
Id This property is required. string - The Eip id of alb instance in this availability zone.
- eips
This property is required. AlbsAlb Zone Mapping Load Balancer Address Eip[] - The Eip information of the Alb in this availability zone.
- eni
Address This property is required. string - The private ip address of the Alb.
- eni
Id This property is required. string - The Eni id of the Alb in this availability zone.
- eni
Ipv6Address This property is required. string - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6Eip
Id This property is required. string - The Ipv6 Eip id of alb instance in this availability zone.
- ipv6Eips
This property is required. AlbsAlb Zone Mapping Load Balancer Address Ipv6Eip[] - The Ipv6 Eip information of the Alb in this availability zone.
- eip_
address This property is required. str - The Eip address of the Alb.
- eip_
id This property is required. str - The Eip id of alb instance in this availability zone.
- eips
This property is required. Sequence[AlbsAlb Zone Mapping Load Balancer Address Eip] - The Eip information of the Alb in this availability zone.
- eni_
address This property is required. str - The private ip address of the Alb.
- eni_
id This property is required. str - The Eni id of the Alb in this availability zone.
- eni_
ipv6_ address This property is required. str - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6_
eip_ id This property is required. str - The Ipv6 Eip id of alb instance in this availability zone.
- ipv6_
eips This property is required. Sequence[AlbsAlb Zone Mapping Load Balancer Address Ipv6Eip] - The Ipv6 Eip information of the Alb in this availability zone.
- eip
Address This property is required. String - The Eip address of the Alb.
- eip
Id This property is required. String - The Eip id of alb instance in this availability zone.
- eips
This property is required. List<Property Map> - The Eip information of the Alb in this availability zone.
- eni
Address This property is required. String - The private ip address of the Alb.
- eni
Id This property is required. String - The Eni id of the Alb in this availability zone.
- eni
Ipv6Address This property is required. String - The Eni Ipv6 address of the Alb in this availability zone.
- ipv6Eip
Id This property is required. String - The Ipv6 Eip id of alb instance in this availability zone.
- ipv6Eips
This property is required. List<Property Map> - The Ipv6 Eip information of the Alb in this availability zone.
AlbsAlbZoneMappingLoadBalancerAddressEip
- Association
Mode This property is required. string - The association mode of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - Bandwidth
This property is required. int - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- Eip
Address This property is required. string - The Eip address of the Alb.
- Eip
Billing Type This property is required. string - The billing type of the Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - Eip
Type This property is required. string - The Eip type of the Alb.
- Isp
This property is required. string - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
. - Pop
Locations This property is required. List<AlbsAlb Zone Mapping Load Balancer Address Eip Pop Location> - The pop locations of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - Security
Protection Types This property is required. List<string> - The security protection types of the Alb.
- Association
Mode This property is required. string - The association mode of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - Bandwidth
This property is required. int - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- Eip
Address This property is required. string - The Eip address of the Alb.
- Eip
Billing Type This property is required. string - The billing type of the Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - Eip
Type This property is required. string - The Eip type of the Alb.
- Isp
This property is required. string - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
. - Pop
Locations This property is required. []AlbsAlb Zone Mapping Load Balancer Address Eip Pop Location - The pop locations of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - Security
Protection Types This property is required. []string - The security protection types of the Alb.
- association
Mode This property is required. String - The association mode of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - bandwidth
This property is required. Integer - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- eip
Address This property is required. String - The Eip address of the Alb.
- eip
Billing Type This property is required. String - The billing type of the Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - eip
Type This property is required. String - The Eip type of the Alb.
- isp
This property is required. String - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
. - pop
Locations This property is required. List<AlbsAlb Zone Mapping Load Balancer Address Eip Pop Location> - The pop locations of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - security
Protection Types This property is required. List<String> - The security protection types of the Alb.
- association
Mode This property is required. string - The association mode of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - bandwidth
This property is required. number - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- eip
Address This property is required. string - The Eip address of the Alb.
- eip
Billing Type This property is required. string - The billing type of the Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - eip
Type This property is required. string - The Eip type of the Alb.
- isp
This property is required. string - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
. - pop
Locations This property is required. AlbsAlb Zone Mapping Load Balancer Address Eip Pop Location[] - The pop locations of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - security
Protection Types This property is required. string[] - The security protection types of the Alb.
- association_
mode This property is required. str - The association mode of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - bandwidth
This property is required. int - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- eip_
address This property is required. str - The Eip address of the Alb.
- eip_
billing_ type This property is required. str - The billing type of the Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - eip_
type This property is required. str - The Eip type of the Alb.
- isp
This property is required. str - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
. - pop_
locations This property is required. Sequence[AlbsAlb Zone Mapping Load Balancer Address Eip Pop Location] - The pop locations of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - security_
protection_ types This property is required. Sequence[str] - The security protection types of the Alb.
- association
Mode This property is required. String - The association mode of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - bandwidth
This property is required. Number - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- eip
Address This property is required. String - The Eip address of the Alb.
- eip
Billing Type This property is required. String - The billing type of the Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - eip
Type This property is required. String - The Eip type of the Alb.
- isp
This property is required. String - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
. - pop
Locations This property is required. List<Property Map> - The pop locations of the Alb. This parameter has a query value only when the type of the Eip is
anycast
. - security
Protection Types This property is required. List<String> - The security protection types of the Alb.
AlbsAlbZoneMappingLoadBalancerAddressEipPopLocation
AlbsAlbZoneMappingLoadBalancerAddressIpv6Eip
- Bandwidth
This property is required. int - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- Billing
Type This property is required. string - The billing type of the Ipv6 Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - Isp
This property is required. string - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
.
- Bandwidth
This property is required. int - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- Billing
Type This property is required. string - The billing type of the Ipv6 Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - Isp
This property is required. string - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
.
- bandwidth
This property is required. Integer - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- billing
Type This property is required. String - The billing type of the Ipv6 Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. String - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
.
- bandwidth
This property is required. number - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- billing
Type This property is required. string - The billing type of the Ipv6 Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. string - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
.
- bandwidth
This property is required. int - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- billing_
type This property is required. str - The billing type of the Ipv6 Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. str - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
.
- bandwidth
This property is required. Number - The peek bandwidth of the Ipv6 Eip assigned to Alb. Units: Mbps.
- billing
Type This property is required. String - The billing type of the Ipv6 Eip assigned to Alb. And optional choice contains
PostPaidByBandwidth
orPostPaidByTraffic
. - isp
This property is required. String - The ISP of the Ipv6 Eip assigned to Alb, the value can be
BGP
.
AlbsTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.