yandex.AlbLoadBalancer
Explore with Pulumi AI
Creates an Application Load Balancer in the specified folder. For more information, see the official documentation .
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var test_balancer = new Yandex.AlbLoadBalancer("test-balancer", new Yandex.AlbLoadBalancerArgs
{
NetworkId = yandex_vpc_network.Test_network.Id,
AllocationPolicy = new Yandex.Inputs.AlbLoadBalancerAllocationPolicyArgs
{
Locations =
{
new Yandex.Inputs.AlbLoadBalancerAllocationPolicyLocationArgs
{
ZoneId = "ru-central1-a",
SubnetId = yandex_vpc_subnet.Test_subnet.Id,
},
},
},
Listeners =
{
new Yandex.Inputs.AlbLoadBalancerListenerArgs
{
Name = "my-listener",
Endpoints =
{
new Yandex.Inputs.AlbLoadBalancerListenerEndpointArgs
{
Addresses =
{
new Yandex.Inputs.AlbLoadBalancerListenerEndpointAddressArgs
{
ExternalIpv4Address = ,
},
},
Ports =
{
8080,
},
},
},
Http = new Yandex.Inputs.AlbLoadBalancerListenerHttpArgs
{
Handler = new Yandex.Inputs.AlbLoadBalancerListenerHttpHandlerArgs
{
HttpRouterId = yandex_alb_http_router.Test_router.Id,
},
},
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := yandex.NewAlbLoadBalancer(ctx, "test-balancer", &yandex.AlbLoadBalancerArgs{
NetworkId: pulumi.Any(yandex_vpc_network.Test - network.Id),
AllocationPolicy: &AlbLoadBalancerAllocationPolicyArgs{
Locations: AlbLoadBalancerAllocationPolicyLocationArray{
&AlbLoadBalancerAllocationPolicyLocationArgs{
ZoneId: pulumi.String("ru-central1-a"),
SubnetId: pulumi.Any(yandex_vpc_subnet.Test - subnet.Id),
},
},
},
Listeners: AlbLoadBalancerListenerArray{
&AlbLoadBalancerListenerArgs{
Name: pulumi.String("my-listener"),
Endpoints: AlbLoadBalancerListenerEndpointArray{
&AlbLoadBalancerListenerEndpointArgs{
Addresses: AlbLoadBalancerListenerEndpointAddressArray{
&AlbLoadBalancerListenerEndpointAddressArgs{
ExternalIpv4Address: nil,
},
},
Ports: pulumi.IntArray{
pulumi.Int(8080),
},
},
},
Http: &AlbLoadBalancerListenerHttpArgs{
Handler: &AlbLoadBalancerListenerHttpHandlerArgs{
HttpRouterId: pulumi.Any(yandex_alb_http_router.Test - router.Id),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_yandex as yandex
test_balancer = yandex.AlbLoadBalancer("test-balancer",
network_id=yandex_vpc_network["test-network"]["id"],
allocation_policy=yandex.AlbLoadBalancerAllocationPolicyArgs(
locations=[yandex.AlbLoadBalancerAllocationPolicyLocationArgs(
zone_id="ru-central1-a",
subnet_id=yandex_vpc_subnet["test-subnet"]["id"],
)],
),
listeners=[yandex.AlbLoadBalancerListenerArgs(
name="my-listener",
endpoints=[yandex.AlbLoadBalancerListenerEndpointArgs(
addresses=[yandex.AlbLoadBalancerListenerEndpointAddressArgs(
external_ipv4_address=yandex.AlbLoadBalancerListenerEndpointAddressExternalIpv4AddressArgs(),
)],
ports=[8080],
)],
http=yandex.AlbLoadBalancerListenerHttpArgs(
handler=yandex.AlbLoadBalancerListenerHttpHandlerArgs(
http_router_id=yandex_alb_http_router["test-router"]["id"],
),
),
)])
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const test_balancer = new yandex.AlbLoadBalancer("test-balancer", {
networkId: yandex_vpc_network["test-network"].id,
allocationPolicy: {
locations: [{
zoneId: "ru-central1-a",
subnetId: yandex_vpc_subnet["test-subnet"].id,
}],
},
listeners: [{
name: "my-listener",
endpoints: [{
addresses: [{
externalIpv4Address: {},
}],
ports: [8080],
}],
http: {
handler: {
httpRouterId: yandex_alb_http_router["test-router"].id,
},
},
}],
});
Coming soon!
Create AlbLoadBalancer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlbLoadBalancer(name: string, args: AlbLoadBalancerArgs, opts?: CustomResourceOptions);
@overload
def AlbLoadBalancer(resource_name: str,
args: AlbLoadBalancerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlbLoadBalancer(resource_name: str,
opts: Optional[ResourceOptions] = None,
allocation_policy: Optional[AlbLoadBalancerAllocationPolicyArgs] = None,
network_id: Optional[str] = None,
description: Optional[str] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
listeners: Optional[Sequence[AlbLoadBalancerListenerArgs]] = None,
name: Optional[str] = None,
region_id: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None)
func NewAlbLoadBalancer(ctx *Context, name string, args AlbLoadBalancerArgs, opts ...ResourceOption) (*AlbLoadBalancer, error)
public AlbLoadBalancer(string name, AlbLoadBalancerArgs args, CustomResourceOptions? opts = null)
public AlbLoadBalancer(String name, AlbLoadBalancerArgs args)
public AlbLoadBalancer(String name, AlbLoadBalancerArgs args, CustomResourceOptions options)
type: yandex:AlbLoadBalancer
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 AlbLoadBalancerArgs
- 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 AlbLoadBalancerArgs
- 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 AlbLoadBalancerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlbLoadBalancerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlbLoadBalancerArgs
- 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 albLoadBalancerResource = new Yandex.AlbLoadBalancer("albLoadBalancerResource", new()
{
AllocationPolicy = new Yandex.Inputs.AlbLoadBalancerAllocationPolicyArgs
{
Locations = new[]
{
new Yandex.Inputs.AlbLoadBalancerAllocationPolicyLocationArgs
{
SubnetId = "string",
ZoneId = "string",
DisableTraffic = false,
},
},
},
NetworkId = "string",
Description = "string",
FolderId = "string",
Labels =
{
{ "string", "string" },
},
Listeners = new[]
{
new Yandex.Inputs.AlbLoadBalancerListenerArgs
{
Name = "string",
Endpoints = new[]
{
new Yandex.Inputs.AlbLoadBalancerListenerEndpointArgs
{
Addresses = new[]
{
new Yandex.Inputs.AlbLoadBalancerListenerEndpointAddressArgs
{
ExternalIpv4Address = new Yandex.Inputs.AlbLoadBalancerListenerEndpointAddressExternalIpv4AddressArgs
{
Address = "string",
},
ExternalIpv6Address = new Yandex.Inputs.AlbLoadBalancerListenerEndpointAddressExternalIpv6AddressArgs
{
Address = "string",
},
InternalIpv4Address = new Yandex.Inputs.AlbLoadBalancerListenerEndpointAddressInternalIpv4AddressArgs
{
Address = "string",
SubnetId = "string",
},
},
},
Ports = new[]
{
0,
},
},
},
Http = new Yandex.Inputs.AlbLoadBalancerListenerHttpArgs
{
Handler = new Yandex.Inputs.AlbLoadBalancerListenerHttpHandlerArgs
{
AllowHttp10 = false,
Http2Options = new Yandex.Inputs.AlbLoadBalancerListenerHttpHandlerHttp2OptionsArgs
{
MaxConcurrentStreams = 0,
},
HttpRouterId = "string",
},
Redirects = new Yandex.Inputs.AlbLoadBalancerListenerHttpRedirectsArgs
{
HttpToHttps = false,
},
},
Stream = new Yandex.Inputs.AlbLoadBalancerListenerStreamArgs
{
Handler = new Yandex.Inputs.AlbLoadBalancerListenerStreamHandlerArgs
{
BackendGroupId = "string",
},
},
Tls = new Yandex.Inputs.AlbLoadBalancerListenerTlsArgs
{
DefaultHandler = new Yandex.Inputs.AlbLoadBalancerListenerTlsDefaultHandlerArgs
{
CertificateIds = new[]
{
"string",
},
HttpHandler = new Yandex.Inputs.AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerArgs
{
AllowHttp10 = false,
Http2Options = new Yandex.Inputs.AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2OptionsArgs
{
MaxConcurrentStreams = 0,
},
HttpRouterId = "string",
},
StreamHandler = new Yandex.Inputs.AlbLoadBalancerListenerTlsDefaultHandlerStreamHandlerArgs
{
BackendGroupId = "string",
},
},
SniHandlers = new[]
{
new Yandex.Inputs.AlbLoadBalancerListenerTlsSniHandlerArgs
{
Handler = new Yandex.Inputs.AlbLoadBalancerListenerTlsSniHandlerHandlerArgs
{
CertificateIds = new[]
{
"string",
},
HttpHandler = new Yandex.Inputs.AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerArgs
{
AllowHttp10 = false,
Http2Options = new Yandex.Inputs.AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2OptionsArgs
{
MaxConcurrentStreams = 0,
},
HttpRouterId = "string",
},
StreamHandler = new Yandex.Inputs.AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandlerArgs
{
BackendGroupId = "string",
},
},
Name = "string",
ServerNames = new[]
{
"string",
},
},
},
},
},
},
Name = "string",
RegionId = "string",
SecurityGroupIds = new[]
{
"string",
},
});
example, err := yandex.NewAlbLoadBalancer(ctx, "albLoadBalancerResource", &yandex.AlbLoadBalancerArgs{
AllocationPolicy: &yandex.AlbLoadBalancerAllocationPolicyArgs{
Locations: yandex.AlbLoadBalancerAllocationPolicyLocationArray{
&yandex.AlbLoadBalancerAllocationPolicyLocationArgs{
SubnetId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
DisableTraffic: pulumi.Bool(false),
},
},
},
NetworkId: pulumi.String("string"),
Description: pulumi.String("string"),
FolderId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Listeners: yandex.AlbLoadBalancerListenerArray{
&yandex.AlbLoadBalancerListenerArgs{
Name: pulumi.String("string"),
Endpoints: yandex.AlbLoadBalancerListenerEndpointArray{
&yandex.AlbLoadBalancerListenerEndpointArgs{
Addresses: yandex.AlbLoadBalancerListenerEndpointAddressArray{
&yandex.AlbLoadBalancerListenerEndpointAddressArgs{
ExternalIpv4Address: &yandex.AlbLoadBalancerListenerEndpointAddressExternalIpv4AddressArgs{
Address: pulumi.String("string"),
},
ExternalIpv6Address: &yandex.AlbLoadBalancerListenerEndpointAddressExternalIpv6AddressArgs{
Address: pulumi.String("string"),
},
InternalIpv4Address: &yandex.AlbLoadBalancerListenerEndpointAddressInternalIpv4AddressArgs{
Address: pulumi.String("string"),
SubnetId: pulumi.String("string"),
},
},
},
Ports: pulumi.IntArray{
pulumi.Int(0),
},
},
},
Http: &yandex.AlbLoadBalancerListenerHttpArgs{
Handler: &yandex.AlbLoadBalancerListenerHttpHandlerArgs{
AllowHttp10: pulumi.Bool(false),
Http2Options: &yandex.AlbLoadBalancerListenerHttpHandlerHttp2OptionsArgs{
MaxConcurrentStreams: pulumi.Int(0),
},
HttpRouterId: pulumi.String("string"),
},
Redirects: &yandex.AlbLoadBalancerListenerHttpRedirectsArgs{
HttpToHttps: pulumi.Bool(false),
},
},
Stream: &yandex.AlbLoadBalancerListenerStreamArgs{
Handler: &yandex.AlbLoadBalancerListenerStreamHandlerArgs{
BackendGroupId: pulumi.String("string"),
},
},
Tls: &yandex.AlbLoadBalancerListenerTlsArgs{
DefaultHandler: &yandex.AlbLoadBalancerListenerTlsDefaultHandlerArgs{
CertificateIds: pulumi.StringArray{
pulumi.String("string"),
},
HttpHandler: &yandex.AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerArgs{
AllowHttp10: pulumi.Bool(false),
Http2Options: &yandex.AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2OptionsArgs{
MaxConcurrentStreams: pulumi.Int(0),
},
HttpRouterId: pulumi.String("string"),
},
StreamHandler: &yandex.AlbLoadBalancerListenerTlsDefaultHandlerStreamHandlerArgs{
BackendGroupId: pulumi.String("string"),
},
},
SniHandlers: yandex.AlbLoadBalancerListenerTlsSniHandlerArray{
&yandex.AlbLoadBalancerListenerTlsSniHandlerArgs{
Handler: &yandex.AlbLoadBalancerListenerTlsSniHandlerHandlerArgs{
CertificateIds: pulumi.StringArray{
pulumi.String("string"),
},
HttpHandler: &yandex.AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerArgs{
AllowHttp10: pulumi.Bool(false),
Http2Options: &yandex.AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2OptionsArgs{
MaxConcurrentStreams: pulumi.Int(0),
},
HttpRouterId: pulumi.String("string"),
},
StreamHandler: &yandex.AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandlerArgs{
BackendGroupId: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
ServerNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
Name: pulumi.String("string"),
RegionId: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var albLoadBalancerResource = new AlbLoadBalancer("albLoadBalancerResource", AlbLoadBalancerArgs.builder()
.allocationPolicy(AlbLoadBalancerAllocationPolicyArgs.builder()
.locations(AlbLoadBalancerAllocationPolicyLocationArgs.builder()
.subnetId("string")
.zoneId("string")
.disableTraffic(false)
.build())
.build())
.networkId("string")
.description("string")
.folderId("string")
.labels(Map.of("string", "string"))
.listeners(AlbLoadBalancerListenerArgs.builder()
.name("string")
.endpoints(AlbLoadBalancerListenerEndpointArgs.builder()
.addresses(AlbLoadBalancerListenerEndpointAddressArgs.builder()
.externalIpv4Address(AlbLoadBalancerListenerEndpointAddressExternalIpv4AddressArgs.builder()
.address("string")
.build())
.externalIpv6Address(AlbLoadBalancerListenerEndpointAddressExternalIpv6AddressArgs.builder()
.address("string")
.build())
.internalIpv4Address(AlbLoadBalancerListenerEndpointAddressInternalIpv4AddressArgs.builder()
.address("string")
.subnetId("string")
.build())
.build())
.ports(0)
.build())
.http(AlbLoadBalancerListenerHttpArgs.builder()
.handler(AlbLoadBalancerListenerHttpHandlerArgs.builder()
.allowHttp10(false)
.http2Options(AlbLoadBalancerListenerHttpHandlerHttp2OptionsArgs.builder()
.maxConcurrentStreams(0)
.build())
.httpRouterId("string")
.build())
.redirects(AlbLoadBalancerListenerHttpRedirectsArgs.builder()
.httpToHttps(false)
.build())
.build())
.stream(AlbLoadBalancerListenerStreamArgs.builder()
.handler(AlbLoadBalancerListenerStreamHandlerArgs.builder()
.backendGroupId("string")
.build())
.build())
.tls(AlbLoadBalancerListenerTlsArgs.builder()
.defaultHandler(AlbLoadBalancerListenerTlsDefaultHandlerArgs.builder()
.certificateIds("string")
.httpHandler(AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerArgs.builder()
.allowHttp10(false)
.http2Options(AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2OptionsArgs.builder()
.maxConcurrentStreams(0)
.build())
.httpRouterId("string")
.build())
.streamHandler(AlbLoadBalancerListenerTlsDefaultHandlerStreamHandlerArgs.builder()
.backendGroupId("string")
.build())
.build())
.sniHandlers(AlbLoadBalancerListenerTlsSniHandlerArgs.builder()
.handler(AlbLoadBalancerListenerTlsSniHandlerHandlerArgs.builder()
.certificateIds("string")
.httpHandler(AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerArgs.builder()
.allowHttp10(false)
.http2Options(AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2OptionsArgs.builder()
.maxConcurrentStreams(0)
.build())
.httpRouterId("string")
.build())
.streamHandler(AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandlerArgs.builder()
.backendGroupId("string")
.build())
.build())
.name("string")
.serverNames("string")
.build())
.build())
.build())
.name("string")
.regionId("string")
.securityGroupIds("string")
.build());
alb_load_balancer_resource = yandex.AlbLoadBalancer("albLoadBalancerResource",
allocation_policy={
"locations": [{
"subnet_id": "string",
"zone_id": "string",
"disable_traffic": False,
}],
},
network_id="string",
description="string",
folder_id="string",
labels={
"string": "string",
},
listeners=[{
"name": "string",
"endpoints": [{
"addresses": [{
"external_ipv4_address": {
"address": "string",
},
"external_ipv6_address": {
"address": "string",
},
"internal_ipv4_address": {
"address": "string",
"subnet_id": "string",
},
}],
"ports": [0],
}],
"http": {
"handler": {
"allow_http10": False,
"http2_options": {
"max_concurrent_streams": 0,
},
"http_router_id": "string",
},
"redirects": {
"http_to_https": False,
},
},
"stream": {
"handler": {
"backend_group_id": "string",
},
},
"tls": {
"default_handler": {
"certificate_ids": ["string"],
"http_handler": {
"allow_http10": False,
"http2_options": {
"max_concurrent_streams": 0,
},
"http_router_id": "string",
},
"stream_handler": {
"backend_group_id": "string",
},
},
"sni_handlers": [{
"handler": {
"certificate_ids": ["string"],
"http_handler": {
"allow_http10": False,
"http2_options": {
"max_concurrent_streams": 0,
},
"http_router_id": "string",
},
"stream_handler": {
"backend_group_id": "string",
},
},
"name": "string",
"server_names": ["string"],
}],
},
}],
name="string",
region_id="string",
security_group_ids=["string"])
const albLoadBalancerResource = new yandex.AlbLoadBalancer("albLoadBalancerResource", {
allocationPolicy: {
locations: [{
subnetId: "string",
zoneId: "string",
disableTraffic: false,
}],
},
networkId: "string",
description: "string",
folderId: "string",
labels: {
string: "string",
},
listeners: [{
name: "string",
endpoints: [{
addresses: [{
externalIpv4Address: {
address: "string",
},
externalIpv6Address: {
address: "string",
},
internalIpv4Address: {
address: "string",
subnetId: "string",
},
}],
ports: [0],
}],
http: {
handler: {
allowHttp10: false,
http2Options: {
maxConcurrentStreams: 0,
},
httpRouterId: "string",
},
redirects: {
httpToHttps: false,
},
},
stream: {
handler: {
backendGroupId: "string",
},
},
tls: {
defaultHandler: {
certificateIds: ["string"],
httpHandler: {
allowHttp10: false,
http2Options: {
maxConcurrentStreams: 0,
},
httpRouterId: "string",
},
streamHandler: {
backendGroupId: "string",
},
},
sniHandlers: [{
handler: {
certificateIds: ["string"],
httpHandler: {
allowHttp10: false,
http2Options: {
maxConcurrentStreams: 0,
},
httpRouterId: "string",
},
streamHandler: {
backendGroupId: "string",
},
},
name: "string",
serverNames: ["string"],
}],
},
}],
name: "string",
regionId: "string",
securityGroupIds: ["string"],
});
type: yandex:AlbLoadBalancer
properties:
allocationPolicy:
locations:
- disableTraffic: false
subnetId: string
zoneId: string
description: string
folderId: string
labels:
string: string
listeners:
- endpoints:
- addresses:
- externalIpv4Address:
address: string
externalIpv6Address:
address: string
internalIpv4Address:
address: string
subnetId: string
ports:
- 0
http:
handler:
allowHttp10: false
http2Options:
maxConcurrentStreams: 0
httpRouterId: string
redirects:
httpToHttps: false
name: string
stream:
handler:
backendGroupId: string
tls:
defaultHandler:
certificateIds:
- string
httpHandler:
allowHttp10: false
http2Options:
maxConcurrentStreams: 0
httpRouterId: string
streamHandler:
backendGroupId: string
sniHandlers:
- handler:
certificateIds:
- string
httpHandler:
allowHttp10: false
http2Options:
maxConcurrentStreams: 0
httpRouterId: string
streamHandler:
backendGroupId: string
name: string
serverNames:
- string
name: string
networkId: string
regionId: string
securityGroupIds:
- string
AlbLoadBalancer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AlbLoadBalancer resource accepts the following input properties:
- Allocation
Policy AlbLoad Balancer Allocation Policy - Allocation zones for the Load Balancer instance. The structure is documented below.
- Network
Id string - ID of the network that the Load Balancer is located at.
- Description string
- An optional description of the Load Balancer.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels Dictionary<string, string>
- Labels to assign to this Load Balancer. A list of key/value pairs.
- Listeners
List<Alb
Load Balancer Listener> - List of listeners for the Load Balancer. The structure is documented below.
- Name string
- name of SNI match.
- Region
Id string - ID of the region that the Load Balancer is located at.
- Security
Group List<string>Ids - A list of ID's of security groups attached to the Load Balancer.
- Allocation
Policy AlbLoad Balancer Allocation Policy Args - Allocation zones for the Load Balancer instance. The structure is documented below.
- Network
Id string - ID of the network that the Load Balancer is located at.
- Description string
- An optional description of the Load Balancer.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels map[string]string
- Labels to assign to this Load Balancer. A list of key/value pairs.
- Listeners
[]Alb
Load Balancer Listener Args - List of listeners for the Load Balancer. The structure is documented below.
- Name string
- name of SNI match.
- Region
Id string - ID of the region that the Load Balancer is located at.
- Security
Group []stringIds - A list of ID's of security groups attached to the Load Balancer.
- allocation
Policy AlbLoad Balancer Allocation Policy - Allocation zones for the Load Balancer instance. The structure is documented below.
- network
Id String - ID of the network that the Load Balancer is located at.
- description String
- An optional description of the Load Balancer.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String,String>
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners
List<Alb
Load Balancer Listener> - List of listeners for the Load Balancer. The structure is documented below.
- name String
- name of SNI match.
- region
Id String - ID of the region that the Load Balancer is located at.
- security
Group List<String>Ids - A list of ID's of security groups attached to the Load Balancer.
- allocation
Policy AlbLoad Balancer Allocation Policy - Allocation zones for the Load Balancer instance. The structure is documented below.
- network
Id string - ID of the network that the Load Balancer is located at.
- description string
- An optional description of the Load Balancer.
- folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels {[key: string]: string}
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners
Alb
Load Balancer Listener[] - List of listeners for the Load Balancer. The structure is documented below.
- name string
- name of SNI match.
- region
Id string - ID of the region that the Load Balancer is located at.
- security
Group string[]Ids - A list of ID's of security groups attached to the Load Balancer.
- allocation_
policy AlbLoad Balancer Allocation Policy Args - Allocation zones for the Load Balancer instance. The structure is documented below.
- network_
id str - ID of the network that the Load Balancer is located at.
- description str
- An optional description of the Load Balancer.
- folder_
id str - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Mapping[str, str]
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners
Sequence[Alb
Load Balancer Listener Args] - List of listeners for the Load Balancer. The structure is documented below.
- name str
- name of SNI match.
- region_
id str - ID of the region that the Load Balancer is located at.
- security_
group_ Sequence[str]ids - A list of ID's of security groups attached to the Load Balancer.
- allocation
Policy Property Map - Allocation zones for the Load Balancer instance. The structure is documented below.
- network
Id String - ID of the network that the Load Balancer is located at.
- description String
- An optional description of the Load Balancer.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String>
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners List<Property Map>
- List of listeners for the Load Balancer. The structure is documented below.
- name String
- name of SNI match.
- region
Id String - ID of the region that the Load Balancer is located at.
- security
Group List<String>Ids - A list of ID's of security groups attached to the Load Balancer.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlbLoadBalancer resource produces the following output properties:
- Created
At string - The Load Balancer creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Group stringId - Cloud log group used by the Load Balancer to store access logs.
- Status string
- Status of the Load Balancer.
- Created
At string - The Load Balancer creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Group stringId - Cloud log group used by the Load Balancer to store access logs.
- Status string
- Status of the Load Balancer.
- created
At String - The Load Balancer creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Group StringId - Cloud log group used by the Load Balancer to store access logs.
- status String
- Status of the Load Balancer.
- created
At string - The Load Balancer creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- log
Group stringId - Cloud log group used by the Load Balancer to store access logs.
- status string
- Status of the Load Balancer.
- created_
at str - The Load Balancer creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- log_
group_ strid - Cloud log group used by the Load Balancer to store access logs.
- status str
- Status of the Load Balancer.
- created
At String - The Load Balancer creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Group StringId - Cloud log group used by the Load Balancer to store access logs.
- status String
- Status of the Load Balancer.
Look up Existing AlbLoadBalancer Resource
Get an existing AlbLoadBalancer 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?: AlbLoadBalancerState, opts?: CustomResourceOptions): AlbLoadBalancer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allocation_policy: Optional[AlbLoadBalancerAllocationPolicyArgs] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
listeners: Optional[Sequence[AlbLoadBalancerListenerArgs]] = None,
log_group_id: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
region_id: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
status: Optional[str] = None) -> AlbLoadBalancer
func GetAlbLoadBalancer(ctx *Context, name string, id IDInput, state *AlbLoadBalancerState, opts ...ResourceOption) (*AlbLoadBalancer, error)
public static AlbLoadBalancer Get(string name, Input<string> id, AlbLoadBalancerState? state, CustomResourceOptions? opts = null)
public static AlbLoadBalancer get(String name, Output<String> id, AlbLoadBalancerState 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.
- Allocation
Policy AlbLoad Balancer Allocation Policy - Allocation zones for the Load Balancer instance. The structure is documented below.
- Created
At string - The Load Balancer creation timestamp.
- Description string
- An optional description of the Load Balancer.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels Dictionary<string, string>
- Labels to assign to this Load Balancer. A list of key/value pairs.
- Listeners
List<Alb
Load Balancer Listener> - List of listeners for the Load Balancer. The structure is documented below.
- Log
Group stringId - Cloud log group used by the Load Balancer to store access logs.
- Name string
- name of SNI match.
- Network
Id string - ID of the network that the Load Balancer is located at.
- Region
Id string - ID of the region that the Load Balancer is located at.
- Security
Group List<string>Ids - A list of ID's of security groups attached to the Load Balancer.
- Status string
- Status of the Load Balancer.
- Allocation
Policy AlbLoad Balancer Allocation Policy Args - Allocation zones for the Load Balancer instance. The structure is documented below.
- Created
At string - The Load Balancer creation timestamp.
- Description string
- An optional description of the Load Balancer.
- Folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- Labels map[string]string
- Labels to assign to this Load Balancer. A list of key/value pairs.
- Listeners
[]Alb
Load Balancer Listener Args - List of listeners for the Load Balancer. The structure is documented below.
- Log
Group stringId - Cloud log group used by the Load Balancer to store access logs.
- Name string
- name of SNI match.
- Network
Id string - ID of the network that the Load Balancer is located at.
- Region
Id string - ID of the region that the Load Balancer is located at.
- Security
Group []stringIds - A list of ID's of security groups attached to the Load Balancer.
- Status string
- Status of the Load Balancer.
- allocation
Policy AlbLoad Balancer Allocation Policy - Allocation zones for the Load Balancer instance. The structure is documented below.
- created
At String - The Load Balancer creation timestamp.
- description String
- An optional description of the Load Balancer.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String,String>
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners
List<Alb
Load Balancer Listener> - List of listeners for the Load Balancer. The structure is documented below.
- log
Group StringId - Cloud log group used by the Load Balancer to store access logs.
- name String
- name of SNI match.
- network
Id String - ID of the network that the Load Balancer is located at.
- region
Id String - ID of the region that the Load Balancer is located at.
- security
Group List<String>Ids - A list of ID's of security groups attached to the Load Balancer.
- status String
- Status of the Load Balancer.
- allocation
Policy AlbLoad Balancer Allocation Policy - Allocation zones for the Load Balancer instance. The structure is documented below.
- created
At string - The Load Balancer creation timestamp.
- description string
- An optional description of the Load Balancer.
- folder
Id string - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels {[key: string]: string}
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners
Alb
Load Balancer Listener[] - List of listeners for the Load Balancer. The structure is documented below.
- log
Group stringId - Cloud log group used by the Load Balancer to store access logs.
- name string
- name of SNI match.
- network
Id string - ID of the network that the Load Balancer is located at.
- region
Id string - ID of the region that the Load Balancer is located at.
- security
Group string[]Ids - A list of ID's of security groups attached to the Load Balancer.
- status string
- Status of the Load Balancer.
- allocation_
policy AlbLoad Balancer Allocation Policy Args - Allocation zones for the Load Balancer instance. The structure is documented below.
- created_
at str - The Load Balancer creation timestamp.
- description str
- An optional description of the Load Balancer.
- folder_
id str - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Mapping[str, str]
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners
Sequence[Alb
Load Balancer Listener Args] - List of listeners for the Load Balancer. The structure is documented below.
- log_
group_ strid - Cloud log group used by the Load Balancer to store access logs.
- name str
- name of SNI match.
- network_
id str - ID of the network that the Load Balancer is located at.
- region_
id str - ID of the region that the Load Balancer is located at.
- security_
group_ Sequence[str]ids - A list of ID's of security groups attached to the Load Balancer.
- status str
- Status of the Load Balancer.
- allocation
Policy Property Map - Allocation zones for the Load Balancer instance. The structure is documented below.
- created
At String - The Load Balancer creation timestamp.
- description String
- An optional description of the Load Balancer.
- folder
Id String - The ID of the folder to which the resource belongs. If omitted, the provider folder is used.
- labels Map<String>
- Labels to assign to this Load Balancer. A list of key/value pairs.
- listeners List<Property Map>
- List of listeners for the Load Balancer. The structure is documented below.
- log
Group StringId - Cloud log group used by the Load Balancer to store access logs.
- name String
- name of SNI match.
- network
Id String - ID of the network that the Load Balancer is located at.
- region
Id String - ID of the region that the Load Balancer is located at.
- security
Group List<String>Ids - A list of ID's of security groups attached to the Load Balancer.
- status String
- Status of the Load Balancer.
Supporting Types
AlbLoadBalancerAllocationPolicy, AlbLoadBalancerAllocationPolicyArgs
- Locations
List<Alb
Load Balancer Allocation Policy Location> - Unique set of locations. The structure is documented below.
- Locations
[]Alb
Load Balancer Allocation Policy Location - Unique set of locations. The structure is documented below.
- locations
List<Alb
Load Balancer Allocation Policy Location> - Unique set of locations. The structure is documented below.
- locations
Alb
Load Balancer Allocation Policy Location[] - Unique set of locations. The structure is documented below.
- locations
Sequence[Alb
Load Balancer Allocation Policy Location] - Unique set of locations. The structure is documented below.
- locations List<Property Map>
- Unique set of locations. The structure is documented below.
AlbLoadBalancerAllocationPolicyLocation, AlbLoadBalancerAllocationPolicyLocationArgs
- Subnet
Id string - Provided by the client or computed automatically.
- Zone
Id string - ID of the zone that location is located at.
- Disable
Traffic bool - If set, will disable all L7 instances in the zone for request handling.
- Subnet
Id string - Provided by the client or computed automatically.
- Zone
Id string - ID of the zone that location is located at.
- Disable
Traffic bool - If set, will disable all L7 instances in the zone for request handling.
- subnet
Id String - Provided by the client or computed automatically.
- zone
Id String - ID of the zone that location is located at.
- disable
Traffic Boolean - If set, will disable all L7 instances in the zone for request handling.
- subnet
Id string - Provided by the client or computed automatically.
- zone
Id string - ID of the zone that location is located at.
- disable
Traffic boolean - If set, will disable all L7 instances in the zone for request handling.
- subnet_
id str - Provided by the client or computed automatically.
- zone_
id str - ID of the zone that location is located at.
- disable_
traffic bool - If set, will disable all L7 instances in the zone for request handling.
- subnet
Id String - Provided by the client or computed automatically.
- zone
Id String - ID of the zone that location is located at.
- disable
Traffic Boolean - If set, will disable all L7 instances in the zone for request handling.
AlbLoadBalancerListener, AlbLoadBalancerListenerArgs
- Name string
- name of SNI match.
- Endpoints
List<Alb
Load Balancer Listener Endpoint> - Network endpoints (addresses and ports) of the listener. The structure is documented below.
- Http
Alb
Load Balancer Listener Http - HTTP listener resource. The structure is documented below.
- Stream
Alb
Load Balancer Listener Stream - Stream listener resource. The structure is documented below.
- Tls
Alb
Load Balancer Listener Tls - TLS listener resource. The structure is documented below.
- Name string
- name of SNI match.
- Endpoints
[]Alb
Load Balancer Listener Endpoint - Network endpoints (addresses and ports) of the listener. The structure is documented below.
- Http
Alb
Load Balancer Listener Http - HTTP listener resource. The structure is documented below.
- Stream
Alb
Load Balancer Listener Stream - Stream listener resource. The structure is documented below.
- Tls
Alb
Load Balancer Listener Tls - TLS listener resource. The structure is documented below.
- name String
- name of SNI match.
- endpoints
List<Alb
Load Balancer Listener Endpoint> - Network endpoints (addresses and ports) of the listener. The structure is documented below.
- http
Alb
Load Balancer Listener Http - HTTP listener resource. The structure is documented below.
- stream
Alb
Load Balancer Listener Stream - Stream listener resource. The structure is documented below.
- tls
Alb
Load Balancer Listener Tls - TLS listener resource. The structure is documented below.
- name string
- name of SNI match.
- endpoints
Alb
Load Balancer Listener Endpoint[] - Network endpoints (addresses and ports) of the listener. The structure is documented below.
- http
Alb
Load Balancer Listener Http - HTTP listener resource. The structure is documented below.
- stream
Alb
Load Balancer Listener Stream - Stream listener resource. The structure is documented below.
- tls
Alb
Load Balancer Listener Tls - TLS listener resource. The structure is documented below.
- name str
- name of SNI match.
- endpoints
Sequence[Alb
Load Balancer Listener Endpoint] - Network endpoints (addresses and ports) of the listener. The structure is documented below.
- http
Alb
Load Balancer Listener Http - HTTP listener resource. The structure is documented below.
- stream
Alb
Load Balancer Listener Stream - Stream listener resource. The structure is documented below.
- tls
Alb
Load Balancer Listener Tls - TLS listener resource. The structure is documented below.
- name String
- name of SNI match.
- endpoints List<Property Map>
- Network endpoints (addresses and ports) of the listener. The structure is documented below.
- http Property Map
- HTTP listener resource. The structure is documented below.
- stream Property Map
- Stream listener resource. The structure is documented below.
- tls Property Map
- TLS listener resource. The structure is documented below.
AlbLoadBalancerListenerEndpoint, AlbLoadBalancerListenerEndpointArgs
- Addresses
List<Alb
Load Balancer Listener Endpoint Address> - Provided by the client or computed automatically.
- Ports List<int>
- One or more ports to listen on.
- Addresses
[]Alb
Load Balancer Listener Endpoint Address - Provided by the client or computed automatically.
- Ports []int
- One or more ports to listen on.
- addresses
List<Alb
Load Balancer Listener Endpoint Address> - Provided by the client or computed automatically.
- ports List<Integer>
- One or more ports to listen on.
- addresses
Alb
Load Balancer Listener Endpoint Address[] - Provided by the client or computed automatically.
- ports number[]
- One or more ports to listen on.
- addresses
Sequence[Alb
Load Balancer Listener Endpoint Address] - Provided by the client or computed automatically.
- ports Sequence[int]
- One or more ports to listen on.
- addresses List<Property Map>
- Provided by the client or computed automatically.
- ports List<Number>
- One or more ports to listen on.
AlbLoadBalancerListenerEndpointAddress, AlbLoadBalancerListenerEndpointAddressArgs
- External
Ipv4Address AlbLoad Balancer Listener Endpoint Address External Ipv4Address - External IPv4 address. The structure is documented below.
- External
Ipv6Address AlbLoad Balancer Listener Endpoint Address External Ipv6Address - External IPv6 address. The structure is documented below.
- Internal
Ipv4Address AlbLoad Balancer Listener Endpoint Address Internal Ipv4Address - Internal IPv4 address. The structure is documented below.
- External
Ipv4Address AlbLoad Balancer Listener Endpoint Address External Ipv4Address - External IPv4 address. The structure is documented below.
- External
Ipv6Address AlbLoad Balancer Listener Endpoint Address External Ipv6Address - External IPv6 address. The structure is documented below.
- Internal
Ipv4Address AlbLoad Balancer Listener Endpoint Address Internal Ipv4Address - Internal IPv4 address. The structure is documented below.
- external
Ipv4Address AlbLoad Balancer Listener Endpoint Address External Ipv4Address - External IPv4 address. The structure is documented below.
- external
Ipv6Address AlbLoad Balancer Listener Endpoint Address External Ipv6Address - External IPv6 address. The structure is documented below.
- internal
Ipv4Address AlbLoad Balancer Listener Endpoint Address Internal Ipv4Address - Internal IPv4 address. The structure is documented below.
- external
Ipv4Address AlbLoad Balancer Listener Endpoint Address External Ipv4Address - External IPv4 address. The structure is documented below.
- external
Ipv6Address AlbLoad Balancer Listener Endpoint Address External Ipv6Address - External IPv6 address. The structure is documented below.
- internal
Ipv4Address AlbLoad Balancer Listener Endpoint Address Internal Ipv4Address - Internal IPv4 address. The structure is documented below.
- external_
ipv4_ Albaddress Load Balancer Listener Endpoint Address External Ipv4Address - External IPv4 address. The structure is documented below.
- external_
ipv6_ Albaddress Load Balancer Listener Endpoint Address External Ipv6Address - External IPv6 address. The structure is documented below.
- internal_
ipv4_ Albaddress Load Balancer Listener Endpoint Address Internal Ipv4Address - Internal IPv4 address. The structure is documented below.
- external
Ipv4Address Property Map - External IPv4 address. The structure is documented below.
- external
Ipv6Address Property Map - External IPv6 address. The structure is documented below.
- internal
Ipv4Address Property Map - Internal IPv4 address. The structure is documented below.
AlbLoadBalancerListenerEndpointAddressExternalIpv4Address, AlbLoadBalancerListenerEndpointAddressExternalIpv4AddressArgs
- Address string
- Provided by the client or computed automatically.
- Address string
- Provided by the client or computed automatically.
- address String
- Provided by the client or computed automatically.
- address string
- Provided by the client or computed automatically.
- address str
- Provided by the client or computed automatically.
- address String
- Provided by the client or computed automatically.
AlbLoadBalancerListenerEndpointAddressExternalIpv6Address, AlbLoadBalancerListenerEndpointAddressExternalIpv6AddressArgs
- Address string
- Provided by the client or computed automatically.
- Address string
- Provided by the client or computed automatically.
- address String
- Provided by the client or computed automatically.
- address string
- Provided by the client or computed automatically.
- address str
- Provided by the client or computed automatically.
- address String
- Provided by the client or computed automatically.
AlbLoadBalancerListenerEndpointAddressInternalIpv4Address, AlbLoadBalancerListenerEndpointAddressInternalIpv4AddressArgs
AlbLoadBalancerListenerHttp, AlbLoadBalancerListenerHttpArgs
- Handler
Alb
Load Balancer Listener Http Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- Redirects
Alb
Load Balancer Listener Http Redirects - Shortcut for adding http > https redirects. The structure is documented below.
- Handler
Alb
Load Balancer Listener Http Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- Redirects
Alb
Load Balancer Listener Http Redirects - Shortcut for adding http > https redirects. The structure is documented below.
- handler
Alb
Load Balancer Listener Http Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- redirects
Alb
Load Balancer Listener Http Redirects - Shortcut for adding http > https redirects. The structure is documented below.
- handler
Alb
Load Balancer Listener Http Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- redirects
Alb
Load Balancer Listener Http Redirects - Shortcut for adding http > https redirects. The structure is documented below.
- handler
Alb
Load Balancer Listener Http Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- redirects
Alb
Load Balancer Listener Http Redirects - Shortcut for adding http > https redirects. The structure is documented below.
- handler Property Map
- HTTP handler that sets plaintext HTTP router. The structure is documented below.
- redirects Property Map
- Shortcut for adding http > https redirects. The structure is documented below.
AlbLoadBalancerListenerHttpHandler, AlbLoadBalancerListenerHttpHandlerArgs
- Allow
Http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- Http2Options
Alb
Load Balancer Listener Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- Http
Router stringId - HTTP router id.
- Allow
Http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- Http2Options
Alb
Load Balancer Listener Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- Http
Router stringId - HTTP router id.
- allow
Http10 Boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options
Alb
Load Balancer Listener Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router StringId - HTTP router id.
- allow
Http10 boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options
Alb
Load Balancer Listener Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router stringId - HTTP router id.
- allow_
http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2_
options AlbLoad Balancer Listener Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http_
router_ strid - HTTP router id.
- allow
Http10 Boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options Property Map
- If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router StringId - HTTP router id.
AlbLoadBalancerListenerHttpHandlerHttp2Options, AlbLoadBalancerListenerHttpHandlerHttp2OptionsArgs
- Max
Concurrent intStreams - Maximum number of concurrent streams.
- Max
Concurrent intStreams - Maximum number of concurrent streams.
- max
Concurrent IntegerStreams - Maximum number of concurrent streams.
- max
Concurrent numberStreams - Maximum number of concurrent streams.
- max_
concurrent_ intstreams - Maximum number of concurrent streams.
- max
Concurrent NumberStreams - Maximum number of concurrent streams.
AlbLoadBalancerListenerHttpRedirects, AlbLoadBalancerListenerHttpRedirectsArgs
- Http
To boolHttps
- Http
To boolHttps
- http
To BooleanHttps
- http
To booleanHttps
- http_
to_ boolhttps
- http
To BooleanHttps
AlbLoadBalancerListenerStream, AlbLoadBalancerListenerStreamArgs
- Handler
Alb
Load Balancer Listener Stream Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- Handler
Alb
Load Balancer Listener Stream Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- handler
Alb
Load Balancer Listener Stream Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- handler
Alb
Load Balancer Listener Stream Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- handler
Alb
Load Balancer Listener Stream Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- handler Property Map
- HTTP handler that sets plaintext HTTP router. The structure is documented below.
AlbLoadBalancerListenerStreamHandler, AlbLoadBalancerListenerStreamHandlerArgs
- Backend
Group stringId - Backend group id.
- Backend
Group stringId - Backend group id.
- backend
Group StringId - Backend group id.
- backend
Group stringId - Backend group id.
- backend_
group_ strid - Backend group id.
- backend
Group StringId - Backend group id.
AlbLoadBalancerListenerTls, AlbLoadBalancerListenerTlsArgs
- Default
Handler AlbLoad Balancer Listener Tls Default Handler - TLS handler resource. The structure is documented below.
- Sni
Handlers List<AlbLoad Balancer Listener Tls Sni Handler> - SNI match resource. The structure is documented below.
- Default
Handler AlbLoad Balancer Listener Tls Default Handler - TLS handler resource. The structure is documented below.
- Sni
Handlers []AlbLoad Balancer Listener Tls Sni Handler - SNI match resource. The structure is documented below.
- default
Handler AlbLoad Balancer Listener Tls Default Handler - TLS handler resource. The structure is documented below.
- sni
Handlers List<AlbLoad Balancer Listener Tls Sni Handler> - SNI match resource. The structure is documented below.
- default
Handler AlbLoad Balancer Listener Tls Default Handler - TLS handler resource. The structure is documented below.
- sni
Handlers AlbLoad Balancer Listener Tls Sni Handler[] - SNI match resource. The structure is documented below.
- default_
handler AlbLoad Balancer Listener Tls Default Handler - TLS handler resource. The structure is documented below.
- sni_
handlers Sequence[AlbLoad Balancer Listener Tls Sni Handler] - SNI match resource. The structure is documented below.
- default
Handler Property Map - TLS handler resource. The structure is documented below.
- sni
Handlers List<Property Map> - SNI match resource. The structure is documented below.
AlbLoadBalancerListenerTlsDefaultHandler, AlbLoadBalancerListenerTlsDefaultHandlerArgs
- Certificate
Ids List<string> - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- Http
Handler AlbLoad Balancer Listener Tls Default Handler Http Handler - HTTP handler resource. The structure is documented below.
- Stream
Handler AlbLoad Balancer Listener Tls Default Handler Stream Handler - Stream handler resource. The structure is documented below.
- Certificate
Ids []string - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- Http
Handler AlbLoad Balancer Listener Tls Default Handler Http Handler - HTTP handler resource. The structure is documented below.
- Stream
Handler AlbLoad Balancer Listener Tls Default Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate
Ids List<String> - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http
Handler AlbLoad Balancer Listener Tls Default Handler Http Handler - HTTP handler resource. The structure is documented below.
- stream
Handler AlbLoad Balancer Listener Tls Default Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate
Ids string[] - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http
Handler AlbLoad Balancer Listener Tls Default Handler Http Handler - HTTP handler resource. The structure is documented below.
- stream
Handler AlbLoad Balancer Listener Tls Default Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate_
ids Sequence[str] - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http_
handler AlbLoad Balancer Listener Tls Default Handler Http Handler - HTTP handler resource. The structure is documented below.
- stream_
handler AlbLoad Balancer Listener Tls Default Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate
Ids List<String> - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http
Handler Property Map - HTTP handler resource. The structure is documented below.
- stream
Handler Property Map - Stream handler resource. The structure is documented below.
AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler, AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerArgs
- Allow
Http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- Http2Options
Alb
Load Balancer Listener Tls Default Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- Http
Router stringId - HTTP router id.
- Allow
Http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- Http2Options
Alb
Load Balancer Listener Tls Default Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- Http
Router stringId - HTTP router id.
- allow
Http10 Boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options
Alb
Load Balancer Listener Tls Default Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router StringId - HTTP router id.
- allow
Http10 boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options
Alb
Load Balancer Listener Tls Default Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router stringId - HTTP router id.
- allow_
http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2_
options AlbLoad Balancer Listener Tls Default Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http_
router_ strid - HTTP router id.
- allow
Http10 Boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options Property Map
- If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router StringId - HTTP router id.
AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options, AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2OptionsArgs
- Max
Concurrent intStreams - Maximum number of concurrent streams.
- Max
Concurrent intStreams - Maximum number of concurrent streams.
- max
Concurrent IntegerStreams - Maximum number of concurrent streams.
- max
Concurrent numberStreams - Maximum number of concurrent streams.
- max_
concurrent_ intstreams - Maximum number of concurrent streams.
- max
Concurrent NumberStreams - Maximum number of concurrent streams.
AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler, AlbLoadBalancerListenerTlsDefaultHandlerStreamHandlerArgs
- Backend
Group stringId - Backend group id.
- Backend
Group stringId - Backend group id.
- backend
Group StringId - Backend group id.
- backend
Group stringId - Backend group id.
- backend_
group_ strid - Backend group id.
- backend
Group StringId - Backend group id.
AlbLoadBalancerListenerTlsSniHandler, AlbLoadBalancerListenerTlsSniHandlerArgs
- Handler
Alb
Load Balancer Listener Tls Sni Handler Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- Name string
- name of SNI match.
- Server
Names List<string> - A set of server names.
- Handler
Alb
Load Balancer Listener Tls Sni Handler Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- Name string
- name of SNI match.
- Server
Names []string - A set of server names.
- handler
Alb
Load Balancer Listener Tls Sni Handler Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- name String
- name of SNI match.
- server
Names List<String> - A set of server names.
- handler
Alb
Load Balancer Listener Tls Sni Handler Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- name string
- name of SNI match.
- server
Names string[] - A set of server names.
- handler
Alb
Load Balancer Listener Tls Sni Handler Handler - HTTP handler that sets plaintext HTTP router. The structure is documented below.
- name str
- name of SNI match.
- server_
names Sequence[str] - A set of server names.
- handler Property Map
- HTTP handler that sets plaintext HTTP router. The structure is documented below.
- name String
- name of SNI match.
- server
Names List<String> - A set of server names.
AlbLoadBalancerListenerTlsSniHandlerHandler, AlbLoadBalancerListenerTlsSniHandlerHandlerArgs
- Certificate
Ids List<string> - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- Http
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Http Handler - HTTP handler resource. The structure is documented below.
- Stream
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Stream Handler - Stream handler resource. The structure is documented below.
- Certificate
Ids []string - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- Http
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Http Handler - HTTP handler resource. The structure is documented below.
- Stream
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate
Ids List<String> - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Http Handler - HTTP handler resource. The structure is documented below.
- stream
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate
Ids string[] - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Http Handler - HTTP handler resource. The structure is documented below.
- stream
Handler AlbLoad Balancer Listener Tls Sni Handler Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate_
ids Sequence[str] - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http_
handler AlbLoad Balancer Listener Tls Sni Handler Handler Http Handler - HTTP handler resource. The structure is documented below.
- stream_
handler AlbLoad Balancer Listener Tls Sni Handler Handler Stream Handler - Stream handler resource. The structure is documented below.
- certificate
Ids List<String> - Certificate IDs in the Certificate Manager. Multiple TLS certificates can be associated with the same context to allow both RSA and ECDSA certificates. Only the first certificate of each type will be used.
- http
Handler Property Map - HTTP handler resource. The structure is documented below.
- stream
Handler Property Map - Stream handler resource. The structure is documented below.
AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler, AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerArgs
- Allow
Http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- Http2Options
Alb
Load Balancer Listener Tls Sni Handler Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- Http
Router stringId - HTTP router id.
- Allow
Http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- Http2Options
Alb
Load Balancer Listener Tls Sni Handler Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- Http
Router stringId - HTTP router id.
- allow
Http10 Boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options
Alb
Load Balancer Listener Tls Sni Handler Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router StringId - HTTP router id.
- allow
Http10 boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options
Alb
Load Balancer Listener Tls Sni Handler Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router stringId - HTTP router id.
- allow_
http10 bool - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2_
options AlbLoad Balancer Listener Tls Sni Handler Handler Http Handler Http2Options - If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http_
router_ strid - HTTP router id.
- allow
Http10 Boolean - If set, will enable only HTTP1 protocol with HTTP1.0 support.
- http2Options Property Map
- If set, will enable HTTP2 protocol for the handler. The structure is documented below.
- http
Router StringId - HTTP router id.
AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options, AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2OptionsArgs
- Max
Concurrent intStreams - Maximum number of concurrent streams.
- Max
Concurrent intStreams - Maximum number of concurrent streams.
- max
Concurrent IntegerStreams - Maximum number of concurrent streams.
- max
Concurrent numberStreams - Maximum number of concurrent streams.
- max_
concurrent_ intstreams - Maximum number of concurrent streams.
- max
Concurrent NumberStreams - Maximum number of concurrent streams.
AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler, AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandlerArgs
- Backend
Group stringId - Backend group id.
- Backend
Group stringId - Backend group id.
- backend
Group StringId - Backend group id.
- backend
Group stringId - Backend group id.
- backend_
group_ strid - Backend group id.
- backend
Group StringId - Backend group id.
Import
An Application Load Balancer can be imported using the id
of the resource, e.g.
$ pulumi import yandex:index/albLoadBalancer:AlbLoadBalancer default load_balancer_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.