Yandex

v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

AlbLoadBalancer

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 a AlbLoadBalancer Resource

new AlbLoadBalancer(name: string, args: AlbLoadBalancerArgs, opts?: CustomResourceOptions);
@overload
def AlbLoadBalancer(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    allocation_policy: Optional[AlbLoadBalancerAllocationPolicyArgs] = 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,
                    network_id: Optional[str] = None,
                    region_id: Optional[str] = None,
                    security_group_ids: Optional[Sequence[str]] = None)
@overload
def AlbLoadBalancer(resource_name: str,
                    args: AlbLoadBalancerArgs,
                    opts: Optional[ResourceOptions] = 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.

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.

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

The AlbLoadBalancer resource accepts the following input properties:

AllocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

NetworkId string

ID of the network that the Load Balancer is located at.

Description string

An optional description of the Load Balancer.

FolderId 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<AlbLoadBalancerListenerArgs>

List of listeners for the Load Balancer. The structure is documented below.

Name string

name of SNI match.

RegionId string

ID of the region that the Load Balancer is located at.

SecurityGroupIds List<string>

A list of ID's of security groups attached to the Load Balancer.

AllocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

NetworkId string

ID of the network that the Load Balancer is located at.

Description string

An optional description of the Load Balancer.

FolderId 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 []AlbLoadBalancerListenerArgs

List of listeners for the Load Balancer. The structure is documented below.

Name string

name of SNI match.

RegionId string

ID of the region that the Load Balancer is located at.

SecurityGroupIds []string

A list of ID's of security groups attached to the Load Balancer.

allocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

networkId String

ID of the network that the Load Balancer is located at.

description String

An optional description of the Load Balancer.

folderId 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<AlbLoadBalancerListenerArgs>

List of listeners for the Load Balancer. The structure is documented below.

name String

name of SNI match.

regionId String

ID of the region that the Load Balancer is located at.

securityGroupIds List<String>

A list of ID's of security groups attached to the Load Balancer.

allocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

networkId string

ID of the network that the Load Balancer is located at.

description string

An optional description of the Load Balancer.

folderId 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 AlbLoadBalancerListenerArgs[]

List of listeners for the Load Balancer. The structure is documented below.

name string

name of SNI match.

regionId string

ID of the region that the Load Balancer is located at.

securityGroupIds string[]

A list of ID's of security groups attached to the Load Balancer.

allocation_policy AlbLoadBalancerAllocationPolicyArgs

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[AlbLoadBalancerListenerArgs]

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_ids Sequence[str]

A list of ID's of security groups attached to the Load Balancer.

allocationPolicy Property Map

Allocation zones for the Load Balancer instance. The structure is documented below.

networkId String

ID of the network that the Load Balancer is located at.

description String

An optional description of the Load Balancer.

folderId 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.

regionId String

ID of the region that the Load Balancer is located at.

securityGroupIds List<String>

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:

CreatedAt string

The Load Balancer creation timestamp.

Id string

The provider-assigned unique ID for this managed resource.

LogGroupId string

Cloud log group used by the Load Balancer to store access logs.

Status string

Status of the Load Balancer.

CreatedAt string

The Load Balancer creation timestamp.

Id string

The provider-assigned unique ID for this managed resource.

LogGroupId string

Cloud log group used by the Load Balancer to store access logs.

Status string

Status of the Load Balancer.

createdAt String

The Load Balancer creation timestamp.

id String

The provider-assigned unique ID for this managed resource.

logGroupId String

Cloud log group used by the Load Balancer to store access logs.

status String

Status of the Load Balancer.

createdAt string

The Load Balancer creation timestamp.

id string

The provider-assigned unique ID for this managed resource.

logGroupId string

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_id str

Cloud log group used by the Load Balancer to store access logs.

status str

Status of the Load Balancer.

createdAt String

The Load Balancer creation timestamp.

id String

The provider-assigned unique ID for this managed resource.

logGroupId String

Cloud log group used by the Load Balancer to store access logs.

status String

Status of the Load Balancer.

Look up an 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.
The following state arguments are supported:
AllocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

CreatedAt string

The Load Balancer creation timestamp.

Description string

An optional description of the Load Balancer.

FolderId 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<AlbLoadBalancerListenerArgs>

List of listeners for the Load Balancer. The structure is documented below.

LogGroupId string

Cloud log group used by the Load Balancer to store access logs.

Name string

name of SNI match.

NetworkId string

ID of the network that the Load Balancer is located at.

RegionId string

ID of the region that the Load Balancer is located at.

SecurityGroupIds List<string>

A list of ID's of security groups attached to the Load Balancer.

Status string

Status of the Load Balancer.

AllocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

CreatedAt string

The Load Balancer creation timestamp.

Description string

An optional description of the Load Balancer.

FolderId 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 []AlbLoadBalancerListenerArgs

List of listeners for the Load Balancer. The structure is documented below.

LogGroupId string

Cloud log group used by the Load Balancer to store access logs.

Name string

name of SNI match.

NetworkId string

ID of the network that the Load Balancer is located at.

RegionId string

ID of the region that the Load Balancer is located at.

SecurityGroupIds []string

A list of ID's of security groups attached to the Load Balancer.

Status string

Status of the Load Balancer.

allocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

createdAt String

The Load Balancer creation timestamp.

description String

An optional description of the Load Balancer.

folderId 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<AlbLoadBalancerListenerArgs>

List of listeners for the Load Balancer. The structure is documented below.

logGroupId String

Cloud log group used by the Load Balancer to store access logs.

name String

name of SNI match.

networkId String

ID of the network that the Load Balancer is located at.

regionId String

ID of the region that the Load Balancer is located at.

securityGroupIds List<String>

A list of ID's of security groups attached to the Load Balancer.

status String

Status of the Load Balancer.

allocationPolicy AlbLoadBalancerAllocationPolicyArgs

Allocation zones for the Load Balancer instance. The structure is documented below.

createdAt string

The Load Balancer creation timestamp.

description string

An optional description of the Load Balancer.

folderId 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 AlbLoadBalancerListenerArgs[]

List of listeners for the Load Balancer. The structure is documented below.

logGroupId string

Cloud log group used by the Load Balancer to store access logs.

name string

name of SNI match.

networkId string

ID of the network that the Load Balancer is located at.

regionId string

ID of the region that the Load Balancer is located at.

securityGroupIds string[]

A list of ID's of security groups attached to the Load Balancer.

status string

Status of the Load Balancer.

allocation_policy AlbLoadBalancerAllocationPolicyArgs

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[AlbLoadBalancerListenerArgs]

List of listeners for the Load Balancer. The structure is documented below.

log_group_id str

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_ids Sequence[str]

A list of ID's of security groups attached to the Load Balancer.

status str

Status of the Load Balancer.

allocationPolicy Property Map

Allocation zones for the Load Balancer instance. The structure is documented below.

createdAt String

The Load Balancer creation timestamp.

description String

An optional description of the Load Balancer.

folderId 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.

logGroupId String

Cloud log group used by the Load Balancer to store access logs.

name String

name of SNI match.

networkId String

ID of the network that the Load Balancer is located at.

regionId String

ID of the region that the Load Balancer is located at.

securityGroupIds List<String>

A list of ID's of security groups attached to the Load Balancer.

status String

Status of the Load Balancer.

Supporting Types

AlbLoadBalancerAllocationPolicy

Locations List<AlbLoadBalancerAllocationPolicyLocation>

Unique set of locations. The structure is documented below.

Locations []AlbLoadBalancerAllocationPolicyLocation

Unique set of locations. The structure is documented below.

locations List<AlbLoadBalancerAllocationPolicyLocation>

Unique set of locations. The structure is documented below.

locations AlbLoadBalancerAllocationPolicyLocation[]

Unique set of locations. The structure is documented below.

locations Sequence[AlbLoadBalancerAllocationPolicyLocation]

Unique set of locations. The structure is documented below.

locations List<Property Map>

Unique set of locations. The structure is documented below.

AlbLoadBalancerAllocationPolicyLocation

SubnetId string

Provided by the client or computed automatically.

ZoneId string

ID of the zone that location is located at.

DisableTraffic bool

If set, will disable all L7 instances in the zone for request handling.

SubnetId string

Provided by the client or computed automatically.

ZoneId string

ID of the zone that location is located at.

DisableTraffic bool

If set, will disable all L7 instances in the zone for request handling.

subnetId String

Provided by the client or computed automatically.

zoneId String

ID of the zone that location is located at.

disableTraffic Boolean

If set, will disable all L7 instances in the zone for request handling.

subnetId string

Provided by the client or computed automatically.

zoneId string

ID of the zone that location is located at.

disableTraffic 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.

subnetId String

Provided by the client or computed automatically.

zoneId String

ID of the zone that location is located at.

disableTraffic Boolean

If set, will disable all L7 instances in the zone for request handling.

AlbLoadBalancerListener

Name string

name of SNI match.

Endpoints List<AlbLoadBalancerListenerEndpoint>

Network endpoints (addresses and ports) of the listener. The structure is documented below.

Http AlbLoadBalancerListenerHttp

HTTP listener resource. The structure is documented below.

Stream AlbLoadBalancerListenerStream

Stream listener resource. The structure is documented below.

Tls AlbLoadBalancerListenerTls

TLS listener resource. The structure is documented below.

Name string

name of SNI match.

Endpoints []AlbLoadBalancerListenerEndpoint

Network endpoints (addresses and ports) of the listener. The structure is documented below.

Http AlbLoadBalancerListenerHttp

HTTP listener resource. The structure is documented below.

Stream AlbLoadBalancerListenerStream

Stream listener resource. The structure is documented below.

Tls AlbLoadBalancerListenerTls

TLS listener resource. The structure is documented below.

name String

name of SNI match.

endpoints List<AlbLoadBalancerListenerEndpoint>

Network endpoints (addresses and ports) of the listener. The structure is documented below.

http AlbLoadBalancerListenerHttp

HTTP listener resource. The structure is documented below.

stream AlbLoadBalancerListenerStream

Stream listener resource. The structure is documented below.

tls AlbLoadBalancerListenerTls

TLS listener resource. The structure is documented below.

name string

name of SNI match.

endpoints AlbLoadBalancerListenerEndpoint[]

Network endpoints (addresses and ports) of the listener. The structure is documented below.

http AlbLoadBalancerListenerHttp

HTTP listener resource. The structure is documented below.

stream AlbLoadBalancerListenerStream

Stream listener resource. The structure is documented below.

tls AlbLoadBalancerListenerTls

TLS listener resource. The structure is documented below.

name str

name of SNI match.

endpoints Sequence[AlbLoadBalancerListenerEndpoint]

Network endpoints (addresses and ports) of the listener. The structure is documented below.

http AlbLoadBalancerListenerHttp

HTTP listener resource. The structure is documented below.

stream AlbLoadBalancerListenerStream

Stream listener resource. The structure is documented below.

tls AlbLoadBalancerListenerTls

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

Addresses List<AlbLoadBalancerListenerEndpointAddress>

Provided by the client or computed automatically.

Ports List<int>

One or more ports to listen on.

Addresses []AlbLoadBalancerListenerEndpointAddress

Provided by the client or computed automatically.

Ports []int

One or more ports to listen on.

addresses List<AlbLoadBalancerListenerEndpointAddress>

Provided by the client or computed automatically.

ports List<Integer>

One or more ports to listen on.

addresses AlbLoadBalancerListenerEndpointAddress[]

Provided by the client or computed automatically.

ports number[]

One or more ports to listen on.

addresses Sequence[AlbLoadBalancerListenerEndpointAddress]

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

ExternalIpv4Address AlbLoadBalancerListenerEndpointAddressExternalIpv4Address

External IPv4 address. The structure is documented below.

ExternalIpv6Address AlbLoadBalancerListenerEndpointAddressExternalIpv6Address

External IPv6 address. The structure is documented below.

InternalIpv4Address AlbLoadBalancerListenerEndpointAddressInternalIpv4Address

Internal IPv4 address. The structure is documented below.

ExternalIpv4Address AlbLoadBalancerListenerEndpointAddressExternalIpv4Address

External IPv4 address. The structure is documented below.

ExternalIpv6Address AlbLoadBalancerListenerEndpointAddressExternalIpv6Address

External IPv6 address. The structure is documented below.

InternalIpv4Address AlbLoadBalancerListenerEndpointAddressInternalIpv4Address

Internal IPv4 address. The structure is documented below.

externalIpv4Address AlbLoadBalancerListenerEndpointAddressExternalIpv4Address

External IPv4 address. The structure is documented below.

externalIpv6Address AlbLoadBalancerListenerEndpointAddressExternalIpv6Address

External IPv6 address. The structure is documented below.

internalIpv4Address AlbLoadBalancerListenerEndpointAddressInternalIpv4Address

Internal IPv4 address. The structure is documented below.

externalIpv4Address AlbLoadBalancerListenerEndpointAddressExternalIpv4Address

External IPv4 address. The structure is documented below.

externalIpv6Address AlbLoadBalancerListenerEndpointAddressExternalIpv6Address

External IPv6 address. The structure is documented below.

internalIpv4Address AlbLoadBalancerListenerEndpointAddressInternalIpv4Address

Internal IPv4 address. The structure is documented below.

external_ipv4_address AlbLoadBalancerListenerEndpointAddressExternalIpv4Address

External IPv4 address. The structure is documented below.

external_ipv6_address AlbLoadBalancerListenerEndpointAddressExternalIpv6Address

External IPv6 address. The structure is documented below.

internal_ipv4_address AlbLoadBalancerListenerEndpointAddressInternalIpv4Address

Internal IPv4 address. The structure is documented below.

externalIpv4Address Property Map

External IPv4 address. The structure is documented below.

externalIpv6Address Property Map

External IPv6 address. The structure is documented below.

internalIpv4Address Property Map

Internal IPv4 address. The structure is documented below.

AlbLoadBalancerListenerEndpointAddressExternalIpv4Address

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

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

Address string

Provided by the client or computed automatically.

SubnetId string

Provided by the client or computed automatically.

Address string

Provided by the client or computed automatically.

SubnetId string

Provided by the client or computed automatically.

address String

Provided by the client or computed automatically.

subnetId String

Provided by the client or computed automatically.

address string

Provided by the client or computed automatically.

subnetId string

Provided by the client or computed automatically.

address str

Provided by the client or computed automatically.

subnet_id str

Provided by the client or computed automatically.

address String

Provided by the client or computed automatically.

subnetId String

Provided by the client or computed automatically.

AlbLoadBalancerListenerHttp

Handler AlbLoadBalancerListenerHttpHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

Redirects AlbLoadBalancerListenerHttpRedirects

Shortcut for adding http > https redirects. The structure is documented below.

Handler AlbLoadBalancerListenerHttpHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

Redirects AlbLoadBalancerListenerHttpRedirects

Shortcut for adding http > https redirects. The structure is documented below.

handler AlbLoadBalancerListenerHttpHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

redirects AlbLoadBalancerListenerHttpRedirects

Shortcut for adding http > https redirects. The structure is documented below.

handler AlbLoadBalancerListenerHttpHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

redirects AlbLoadBalancerListenerHttpRedirects

Shortcut for adding http > https redirects. The structure is documented below.

handler AlbLoadBalancerListenerHttpHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

redirects AlbLoadBalancerListenerHttpRedirects

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

AllowHttp10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

Http2Options AlbLoadBalancerListenerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

HttpRouterId string

HTTP router id.

AllowHttp10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

Http2Options AlbLoadBalancerListenerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

HttpRouterId string

HTTP router id.

allowHttp10 Boolean

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2Options AlbLoadBalancerListenerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

httpRouterId String

HTTP router id.

allowHttp10 boolean

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2Options AlbLoadBalancerListenerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

httpRouterId string

HTTP router id.

allow_http10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2_options AlbLoadBalancerListenerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

http_router_id str

HTTP router id.

allowHttp10 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.

httpRouterId String

HTTP router id.

AlbLoadBalancerListenerHttpHandlerHttp2Options

MaxConcurrentStreams int

Maximum number of concurrent streams.

MaxConcurrentStreams int

Maximum number of concurrent streams.

maxConcurrentStreams Integer

Maximum number of concurrent streams.

maxConcurrentStreams number

Maximum number of concurrent streams.

max_concurrent_streams int

Maximum number of concurrent streams.

maxConcurrentStreams Number

Maximum number of concurrent streams.

AlbLoadBalancerListenerHttpRedirects

httpToHttps Boolean
httpToHttps boolean
httpToHttps Boolean

AlbLoadBalancerListenerStream

Handler AlbLoadBalancerListenerStreamHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

Handler AlbLoadBalancerListenerStreamHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

handler AlbLoadBalancerListenerStreamHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

handler AlbLoadBalancerListenerStreamHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

handler AlbLoadBalancerListenerStreamHandler

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

BackendGroupId string

Backend group id.

BackendGroupId string

Backend group id.

backendGroupId String

Backend group id.

backendGroupId string

Backend group id.

backend_group_id str

Backend group id.

backendGroupId String

Backend group id.

AlbLoadBalancerListenerTls

DefaultHandler AlbLoadBalancerListenerTlsDefaultHandler

TLS handler resource. The structure is documented below.

SniHandlers List<AlbLoadBalancerListenerTlsSniHandler>

SNI match resource. The structure is documented below.

DefaultHandler AlbLoadBalancerListenerTlsDefaultHandler

TLS handler resource. The structure is documented below.

SniHandlers []AlbLoadBalancerListenerTlsSniHandler

SNI match resource. The structure is documented below.

defaultHandler AlbLoadBalancerListenerTlsDefaultHandler

TLS handler resource. The structure is documented below.

sniHandlers List<AlbLoadBalancerListenerTlsSniHandler>

SNI match resource. The structure is documented below.

defaultHandler AlbLoadBalancerListenerTlsDefaultHandler

TLS handler resource. The structure is documented below.

sniHandlers AlbLoadBalancerListenerTlsSniHandler[]

SNI match resource. The structure is documented below.

default_handler AlbLoadBalancerListenerTlsDefaultHandler

TLS handler resource. The structure is documented below.

sni_handlers Sequence[AlbLoadBalancerListenerTlsSniHandler]

SNI match resource. The structure is documented below.

defaultHandler Property Map

TLS handler resource. The structure is documented below.

sniHandlers List<Property Map>

SNI match resource. The structure is documented below.

AlbLoadBalancerListenerTlsDefaultHandler

CertificateIds 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.

HttpHandler AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler

HTTP handler resource. The structure is documented below.

StreamHandler AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler

Stream handler resource. The structure is documented below.

CertificateIds []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.

HttpHandler AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler

HTTP handler resource. The structure is documented below.

StreamHandler AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler

Stream handler resource. The structure is documented below.

certificateIds 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.

httpHandler AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler

HTTP handler resource. The structure is documented below.

streamHandler AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler

Stream handler resource. The structure is documented below.

certificateIds 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.

httpHandler AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler

HTTP handler resource. The structure is documented below.

streamHandler AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler

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 AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler

HTTP handler resource. The structure is documented below.

stream_handler AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler

Stream handler resource. The structure is documented below.

certificateIds 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.

httpHandler Property Map

HTTP handler resource. The structure is documented below.

streamHandler Property Map

Stream handler resource. The structure is documented below.

AlbLoadBalancerListenerTlsDefaultHandlerHttpHandler

AllowHttp10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

Http2Options AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

HttpRouterId string

HTTP router id.

AllowHttp10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

Http2Options AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

HttpRouterId string

HTTP router id.

allowHttp10 Boolean

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2Options AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

httpRouterId String

HTTP router id.

allowHttp10 boolean

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2Options AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

httpRouterId string

HTTP router id.

allow_http10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2_options AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

http_router_id str

HTTP router id.

allowHttp10 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.

httpRouterId String

HTTP router id.

AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2Options

MaxConcurrentStreams int

Maximum number of concurrent streams.

MaxConcurrentStreams int

Maximum number of concurrent streams.

maxConcurrentStreams Integer

Maximum number of concurrent streams.

maxConcurrentStreams number

Maximum number of concurrent streams.

max_concurrent_streams int

Maximum number of concurrent streams.

maxConcurrentStreams Number

Maximum number of concurrent streams.

AlbLoadBalancerListenerTlsDefaultHandlerStreamHandler

BackendGroupId string

Backend group id.

BackendGroupId string

Backend group id.

backendGroupId String

Backend group id.

backendGroupId string

Backend group id.

backend_group_id str

Backend group id.

backendGroupId String

Backend group id.

AlbLoadBalancerListenerTlsSniHandler

Handler AlbLoadBalancerListenerTlsSniHandlerHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

Name string

name of SNI match.

ServerNames List<string>

A set of server names.

Handler AlbLoadBalancerListenerTlsSniHandlerHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

Name string

name of SNI match.

ServerNames []string

A set of server names.

handler AlbLoadBalancerListenerTlsSniHandlerHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

name String

name of SNI match.

serverNames List<String>

A set of server names.

handler AlbLoadBalancerListenerTlsSniHandlerHandler

HTTP handler that sets plaintext HTTP router. The structure is documented below.

name string

name of SNI match.

serverNames string[]

A set of server names.

handler AlbLoadBalancerListenerTlsSniHandlerHandler

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.

serverNames List<String>

A set of server names.

AlbLoadBalancerListenerTlsSniHandlerHandler

CertificateIds 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.

HttpHandler AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler

HTTP handler resource. The structure is documented below.

StreamHandler AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler

Stream handler resource. The structure is documented below.

CertificateIds []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.

HttpHandler AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler

HTTP handler resource. The structure is documented below.

StreamHandler AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler

Stream handler resource. The structure is documented below.

certificateIds 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.

httpHandler AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler

HTTP handler resource. The structure is documented below.

streamHandler AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler

Stream handler resource. The structure is documented below.

certificateIds 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.

httpHandler AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler

HTTP handler resource. The structure is documented below.

streamHandler AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler

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 AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler

HTTP handler resource. The structure is documented below.

stream_handler AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler

Stream handler resource. The structure is documented below.

certificateIds 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.

httpHandler Property Map

HTTP handler resource. The structure is documented below.

streamHandler Property Map

Stream handler resource. The structure is documented below.

AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandler

AllowHttp10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

Http2Options AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

HttpRouterId string

HTTP router id.

AllowHttp10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

Http2Options AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

HttpRouterId string

HTTP router id.

allowHttp10 Boolean

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2Options AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

httpRouterId String

HTTP router id.

allowHttp10 boolean

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2Options AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

httpRouterId string

HTTP router id.

allow_http10 bool

If set, will enable only HTTP1 protocol with HTTP1.0 support.

http2_options AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options

If set, will enable HTTP2 protocol for the handler. The structure is documented below.

http_router_id str

HTTP router id.

allowHttp10 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.

httpRouterId String

HTTP router id.

AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2Options

MaxConcurrentStreams int

Maximum number of concurrent streams.

MaxConcurrentStreams int

Maximum number of concurrent streams.

maxConcurrentStreams Integer

Maximum number of concurrent streams.

maxConcurrentStreams number

Maximum number of concurrent streams.

max_concurrent_streams int

Maximum number of concurrent streams.

maxConcurrentStreams Number

Maximum number of concurrent streams.

AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandler

BackendGroupId string

Backend group id.

BackendGroupId string

Backend group id.

backendGroupId String

Backend group id.

backendGroupId string

Backend group id.

backend_group_id str

Backend group id.

backendGroupId String

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

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes

This Pulumi package is based on the yandex Terraform Provider.