1. Packages
  2. Yandex
  3. API Docs
  4. AlbLoadBalancer
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.AlbLoadBalancer

Explore with Pulumi AI

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

    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:

    AllocationPolicy AlbLoadBalancerAllocationPolicy
    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<AlbLoadBalancerListener>
    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 AlbLoadBalancerAllocationPolicy
    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<AlbLoadBalancerListener>
    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 AlbLoadBalancerAllocationPolicy
    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 AlbLoadBalancerListener[]
    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 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 AlbLoadBalancerAllocationPolicy
    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<AlbLoadBalancerListener>
    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 AlbLoadBalancerAllocationPolicy
    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<AlbLoadBalancerListener>
    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 AlbLoadBalancerAllocationPolicy
    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 AlbLoadBalancerListener[]
    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, AlbLoadBalancerAllocationPolicyArgs

    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, AlbLoadBalancerAllocationPolicyLocationArgs

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

    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, AlbLoadBalancerListenerEndpointArgs

    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, AlbLoadBalancerListenerEndpointAddressArgs

    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, 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

    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, AlbLoadBalancerListenerHttpArgs

    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, AlbLoadBalancerListenerHttpHandlerArgs

    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, AlbLoadBalancerListenerHttpHandlerHttp2OptionsArgs

    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, AlbLoadBalancerListenerHttpRedirectsArgs

    httpToHttps Boolean
    httpToHttps boolean
    httpToHttps Boolean

    AlbLoadBalancerListenerStream, AlbLoadBalancerListenerStreamArgs

    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, AlbLoadBalancerListenerStreamHandlerArgs

    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, AlbLoadBalancerListenerTlsArgs

    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, AlbLoadBalancerListenerTlsDefaultHandlerArgs

    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, AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerArgs

    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, AlbLoadBalancerListenerTlsDefaultHandlerHttpHandlerHttp2OptionsArgs

    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, AlbLoadBalancerListenerTlsDefaultHandlerStreamHandlerArgs

    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, AlbLoadBalancerListenerTlsSniHandlerArgs

    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, AlbLoadBalancerListenerTlsSniHandlerHandlerArgs

    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, AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerArgs

    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, AlbLoadBalancerListenerTlsSniHandlerHandlerHttpHandlerHttp2OptionsArgs

    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, AlbLoadBalancerListenerTlsSniHandlerHandlerStreamHandlerArgs

    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
    

    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.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi