1. Packages
  2. Outscale Provider
  3. API Docs
  4. LoadBalancerAttributes
outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale

outscale.LoadBalancerAttributes

Explore with Pulumi AI

Manages load balancer attributes.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

Required resource

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const loadBalancer01 = new outscale.LoadBalancer("loadBalancer01", {
    listeners: [
        {
            backendPort: 80,
            backendProtocol: "HTTP",
            loadBalancerPort: 80,
            loadBalancerProtocol: "HTTP",
        },
        {
            backendPort: 8080,
            backendProtocol: "HTTPS",
            loadBalancerPort: 8080,
            loadBalancerProtocol: "HTTPS",
            serverCertificateId: "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate",
        },
        {
            backendPort: 1024,
            backendProtocol: "TCP",
            loadBalancerPort: 1024,
            loadBalancerProtocol: "TCP",
        },
    ],
    loadBalancerName: "terraform-load-balancer",
    subregionNames: ["eu-west-2a"],
    tags: [
        {
            key: "name",
            value: "terraform-load-balancer",
        },
        {
            key: "platform",
            value: "eu-west-2",
        },
    ],
});
Copy
import pulumi
import pulumi_outscale as outscale

load_balancer01 = outscale.LoadBalancer("loadBalancer01",
    listeners=[
        {
            "backend_port": 80,
            "backend_protocol": "HTTP",
            "load_balancer_port": 80,
            "load_balancer_protocol": "HTTP",
        },
        {
            "backend_port": 8080,
            "backend_protocol": "HTTPS",
            "load_balancer_port": 8080,
            "load_balancer_protocol": "HTTPS",
            "server_certificate_id": "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate",
        },
        {
            "backend_port": 1024,
            "backend_protocol": "TCP",
            "load_balancer_port": 1024,
            "load_balancer_protocol": "TCP",
        },
    ],
    load_balancer_name="terraform-load-balancer",
    subregion_names=["eu-west-2a"],
    tags=[
        {
            "key": "name",
            "value": "terraform-load-balancer",
        },
        {
            "key": "platform",
            "value": "eu-west-2",
        },
    ])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewLoadBalancer(ctx, "loadBalancer01", &outscale.LoadBalancerArgs{
			Listeners: outscale.LoadBalancerListenerArray{
				&outscale.LoadBalancerListenerArgs{
					BackendPort:          pulumi.Float64(80),
					BackendProtocol:      pulumi.String("HTTP"),
					LoadBalancerPort:     pulumi.Float64(80),
					LoadBalancerProtocol: pulumi.String("HTTP"),
				},
				&outscale.LoadBalancerListenerArgs{
					BackendPort:          pulumi.Float64(8080),
					BackendProtocol:      pulumi.String("HTTPS"),
					LoadBalancerPort:     pulumi.Float64(8080),
					LoadBalancerProtocol: pulumi.String("HTTPS"),
					ServerCertificateId:  pulumi.String("arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate"),
				},
				&outscale.LoadBalancerListenerArgs{
					BackendPort:          pulumi.Float64(1024),
					BackendProtocol:      pulumi.String("TCP"),
					LoadBalancerPort:     pulumi.Float64(1024),
					LoadBalancerProtocol: pulumi.String("TCP"),
				},
			},
			LoadBalancerName: pulumi.String("terraform-load-balancer"),
			SubregionNames: pulumi.StringArray{
				pulumi.String("eu-west-2a"),
			},
			Tags: outscale.LoadBalancerTagArray{
				&outscale.LoadBalancerTagArgs{
					Key:   pulumi.String("name"),
					Value: pulumi.String("terraform-load-balancer"),
				},
				&outscale.LoadBalancerTagArgs{
					Key:   pulumi.String("platform"),
					Value: pulumi.String("eu-west-2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var loadBalancer01 = new Outscale.LoadBalancer("loadBalancer01", new()
    {
        Listeners = new[]
        {
            new Outscale.Inputs.LoadBalancerListenerArgs
            {
                BackendPort = 80,
                BackendProtocol = "HTTP",
                LoadBalancerPort = 80,
                LoadBalancerProtocol = "HTTP",
            },
            new Outscale.Inputs.LoadBalancerListenerArgs
            {
                BackendPort = 8080,
                BackendProtocol = "HTTPS",
                LoadBalancerPort = 8080,
                LoadBalancerProtocol = "HTTPS",
                ServerCertificateId = "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate",
            },
            new Outscale.Inputs.LoadBalancerListenerArgs
            {
                BackendPort = 1024,
                BackendProtocol = "TCP",
                LoadBalancerPort = 1024,
                LoadBalancerProtocol = "TCP",
            },
        },
        LoadBalancerName = "terraform-load-balancer",
        SubregionNames = new[]
        {
            "eu-west-2a",
        },
        Tags = new[]
        {
            new Outscale.Inputs.LoadBalancerTagArgs
            {
                Key = "name",
                Value = "terraform-load-balancer",
            },
            new Outscale.Inputs.LoadBalancerTagArgs
            {
                Key = "platform",
                Value = "eu-west-2",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.LoadBalancer;
import com.pulumi.outscale.LoadBalancerArgs;
import com.pulumi.outscale.inputs.LoadBalancerListenerArgs;
import com.pulumi.outscale.inputs.LoadBalancerTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var loadBalancer01 = new LoadBalancer("loadBalancer01", LoadBalancerArgs.builder()
            .listeners(            
                LoadBalancerListenerArgs.builder()
                    .backendPort(80)
                    .backendProtocol("HTTP")
                    .loadBalancerPort(80)
                    .loadBalancerProtocol("HTTP")
                    .build(),
                LoadBalancerListenerArgs.builder()
                    .backendPort(8080)
                    .backendProtocol("HTTPS")
                    .loadBalancerPort(8080)
                    .loadBalancerProtocol("HTTPS")
                    .serverCertificateId("arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate")
                    .build(),
                LoadBalancerListenerArgs.builder()
                    .backendPort(1024)
                    .backendProtocol("TCP")
                    .loadBalancerPort(1024)
                    .loadBalancerProtocol("TCP")
                    .build())
            .loadBalancerName("terraform-load-balancer")
            .subregionNames("eu-west-2a")
            .tags(            
                LoadBalancerTagArgs.builder()
                    .key("name")
                    .value("terraform-load-balancer")
                    .build(),
                LoadBalancerTagArgs.builder()
                    .key("platform")
                    .value("eu-west-2")
                    .build())
            .build());

    }
}
Copy
resources:
  loadBalancer01:
    type: outscale:LoadBalancer
    properties:
      listeners:
        - backendPort: 80
          backendProtocol: HTTP
          loadBalancerPort: 80
          loadBalancerProtocol: HTTP
        - backendPort: 8080
          backendProtocol: HTTPS
          loadBalancerPort: 8080
          loadBalancerProtocol: HTTPS
          serverCertificateId: arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate
        - backendPort: 1024
          backendProtocol: TCP
          loadBalancerPort: 1024
          loadBalancerProtocol: TCP
      loadBalancerName: terraform-load-balancer
      subregionNames:
        - eu-west-2a
      tags:
        - key: name
          value: terraform-load-balancer
        - key: platform
          value: eu-west-2
Copy

Update health check

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const attributes01 = new outscale.LoadBalancerAttributes("attributes01", {
    loadBalancerName: outscale_load_balancer.load_balancer01.id,
    healthCheck: {
        healthyThreshold: 10,
        checkInterval: 30,
        path: "/index.html",
        port: 8080,
        protocol: "HTTPS",
        timeout: 5,
        unhealthyThreshold: 5,
    },
});
Copy
import pulumi
import pulumi_outscale as outscale

attributes01 = outscale.LoadBalancerAttributes("attributes01",
    load_balancer_name=outscale_load_balancer["load_balancer01"]["id"],
    health_check={
        "healthy_threshold": 10,
        "check_interval": 30,
        "path": "/index.html",
        "port": 8080,
        "protocol": "HTTPS",
        "timeout": 5,
        "unhealthy_threshold": 5,
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewLoadBalancerAttributes(ctx, "attributes01", &outscale.LoadBalancerAttributesArgs{
			LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id),
			HealthCheck: &outscale.LoadBalancerAttributesHealthCheckArgs{
				HealthyThreshold:   pulumi.Float64(10),
				CheckInterval:      pulumi.Float64(30),
				Path:               pulumi.String("/index.html"),
				Port:               pulumi.Float64(8080),
				Protocol:           pulumi.String("HTTPS"),
				Timeout:            pulumi.Float64(5),
				UnhealthyThreshold: pulumi.Float64(5),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var attributes01 = new Outscale.LoadBalancerAttributes("attributes01", new()
    {
        LoadBalancerName = outscale_load_balancer.Load_balancer01.Id,
        HealthCheck = new Outscale.Inputs.LoadBalancerAttributesHealthCheckArgs
        {
            HealthyThreshold = 10,
            CheckInterval = 30,
            Path = "/index.html",
            Port = 8080,
            Protocol = "HTTPS",
            Timeout = 5,
            UnhealthyThreshold = 5,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.LoadBalancerAttributes;
import com.pulumi.outscale.LoadBalancerAttributesArgs;
import com.pulumi.outscale.inputs.LoadBalancerAttributesHealthCheckArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var attributes01 = new LoadBalancerAttributes("attributes01", LoadBalancerAttributesArgs.builder()
            .loadBalancerName(outscale_load_balancer.load_balancer01().id())
            .healthCheck(LoadBalancerAttributesHealthCheckArgs.builder()
                .healthyThreshold(10)
                .checkInterval(30)
                .path("/index.html")
                .port(8080)
                .protocol("HTTPS")
                .timeout(5)
                .unhealthyThreshold(5)
                .build())
            .build());

    }
}
Copy
resources:
  attributes01:
    type: outscale:LoadBalancerAttributes
    properties:
      loadBalancerName: ${outscale_load_balancer.load_balancer01.id}
      healthCheck:
        healthyThreshold: 10
        checkInterval: 30
        path: /index.html
        port: 8080
        protocol: HTTPS
        timeout: 5
        unhealthyThreshold: 5
Copy

Update access log

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const attributes02 = new outscale.LoadBalancerAttributes("attributes02", {
    loadBalancerName: outscale_load_balancer.load_balancer01.id,
    accessLog: {
        publicationInterval: 5,
        isEnabled: true,
        osuBucketName: "terraform-access-logs",
        osuBucketPrefix: "access-logs-01234",
    },
});
Copy
import pulumi
import pulumi_outscale as outscale

attributes02 = outscale.LoadBalancerAttributes("attributes02",
    load_balancer_name=outscale_load_balancer["load_balancer01"]["id"],
    access_log={
        "publication_interval": 5,
        "is_enabled": True,
        "osu_bucket_name": "terraform-access-logs",
        "osu_bucket_prefix": "access-logs-01234",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewLoadBalancerAttributes(ctx, "attributes02", &outscale.LoadBalancerAttributesArgs{
			LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id),
			AccessLog: &outscale.LoadBalancerAttributesAccessLogArgs{
				PublicationInterval: pulumi.Float64(5),
				IsEnabled:           pulumi.Bool(true),
				OsuBucketName:       pulumi.String("terraform-access-logs"),
				OsuBucketPrefix:     pulumi.String("access-logs-01234"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var attributes02 = new Outscale.LoadBalancerAttributes("attributes02", new()
    {
        LoadBalancerName = outscale_load_balancer.Load_balancer01.Id,
        AccessLog = new Outscale.Inputs.LoadBalancerAttributesAccessLogArgs
        {
            PublicationInterval = 5,
            IsEnabled = true,
            OsuBucketName = "terraform-access-logs",
            OsuBucketPrefix = "access-logs-01234",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.LoadBalancerAttributes;
import com.pulumi.outscale.LoadBalancerAttributesArgs;
import com.pulumi.outscale.inputs.LoadBalancerAttributesAccessLogArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var attributes02 = new LoadBalancerAttributes("attributes02", LoadBalancerAttributesArgs.builder()
            .loadBalancerName(outscale_load_balancer.load_balancer01().id())
            .accessLog(LoadBalancerAttributesAccessLogArgs.builder()
                .publicationInterval(5)
                .isEnabled(true)
                .osuBucketName("terraform-access-logs")
                .osuBucketPrefix("access-logs-01234")
                .build())
            .build());

    }
}
Copy
resources:
  attributes02:
    type: outscale:LoadBalancerAttributes
    properties:
      loadBalancerName: ${outscale_load_balancer.load_balancer01.id}
      accessLog:
        publicationInterval: 5
        isEnabled: true
        osuBucketName: terraform-access-logs
        osuBucketPrefix: access-logs-01234
Copy

Update policies

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const attributes03 = new outscale.LoadBalancerAttributes("attributes03", {
    loadBalancerName: outscale_load_balancer.load_balancer01.id,
    loadBalancerPort: 80,
    policyNames: ["policy-name-01"],
});
Copy
import pulumi
import pulumi_outscale as outscale

attributes03 = outscale.LoadBalancerAttributes("attributes03",
    load_balancer_name=outscale_load_balancer["load_balancer01"]["id"],
    load_balancer_port=80,
    policy_names=["policy-name-01"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewLoadBalancerAttributes(ctx, "attributes03", &outscale.LoadBalancerAttributesArgs{
			LoadBalancerName: pulumi.Any(outscale_load_balancer.Load_balancer01.Id),
			LoadBalancerPort: pulumi.Float64(80),
			PolicyNames: pulumi.StringArray{
				pulumi.String("policy-name-01"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var attributes03 = new Outscale.LoadBalancerAttributes("attributes03", new()
    {
        LoadBalancerName = outscale_load_balancer.Load_balancer01.Id,
        LoadBalancerPort = 80,
        PolicyNames = new[]
        {
            "policy-name-01",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.LoadBalancerAttributes;
import com.pulumi.outscale.LoadBalancerAttributesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var attributes03 = new LoadBalancerAttributes("attributes03", LoadBalancerAttributesArgs.builder()
            .loadBalancerName(outscale_load_balancer.load_balancer01().id())
            .loadBalancerPort(80)
            .policyNames("policy-name-01")
            .build());

    }
}
Copy
resources:
  attributes03:
    type: outscale:LoadBalancerAttributes
    properties:
      loadBalancerName: ${outscale_load_balancer.load_balancer01.id}
      loadBalancerPort: 80
      policyNames:
        - policy-name-01
Copy

Update SSL certificate

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const attributes04 = new outscale.LoadBalancerAttributes("attributes04", {
    loadBalancerName: outscale_load_balancer.load_balancer01.id,
    loadBalancerPort: 8080,
    serverCertificateId: "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate",
});
Copy
import pulumi
import pulumi_outscale as outscale

attributes04 = outscale.LoadBalancerAttributes("attributes04",
    load_balancer_name=outscale_load_balancer["load_balancer01"]["id"],
    load_balancer_port=8080,
    server_certificate_id="arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewLoadBalancerAttributes(ctx, "attributes04", &outscale.LoadBalancerAttributesArgs{
			LoadBalancerName:    pulumi.Any(outscale_load_balancer.Load_balancer01.Id),
			LoadBalancerPort:    pulumi.Float64(8080),
			ServerCertificateId: pulumi.String("arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var attributes04 = new Outscale.LoadBalancerAttributes("attributes04", new()
    {
        LoadBalancerName = outscale_load_balancer.Load_balancer01.Id,
        LoadBalancerPort = 8080,
        ServerCertificateId = "arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.LoadBalancerAttributes;
import com.pulumi.outscale.LoadBalancerAttributesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var attributes04 = new LoadBalancerAttributes("attributes04", LoadBalancerAttributesArgs.builder()
            .loadBalancerName(outscale_load_balancer.load_balancer01().id())
            .loadBalancerPort(8080)
            .serverCertificateId("arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate")
            .build());

    }
}
Copy
resources:
  attributes04:
    type: outscale:LoadBalancerAttributes
    properties:
      loadBalancerName: ${outscale_load_balancer.load_balancer01.id}
      loadBalancerPort: 8080
      serverCertificateId: arn:aws:iam::012345678910:server-certificate/MyCertificates/Certificate
Copy

Create LoadBalancerAttributes Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LoadBalancerAttributes(name: string, args: LoadBalancerAttributesArgs, opts?: CustomResourceOptions);
@overload
def LoadBalancerAttributes(resource_name: str,
                           args: LoadBalancerAttributesArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def LoadBalancerAttributes(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           load_balancer_name: Optional[str] = None,
                           access_log: Optional[LoadBalancerAttributesAccessLogArgs] = None,
                           health_check: Optional[LoadBalancerAttributesHealthCheckArgs] = None,
                           load_balancer_attributes_id: Optional[str] = None,
                           load_balancer_port: Optional[float] = None,
                           policy_names: Optional[Sequence[str]] = None,
                           server_certificate_id: Optional[str] = None,
                           tags: Optional[Sequence[LoadBalancerAttributesTagArgs]] = None)
func NewLoadBalancerAttributes(ctx *Context, name string, args LoadBalancerAttributesArgs, opts ...ResourceOption) (*LoadBalancerAttributes, error)
public LoadBalancerAttributes(string name, LoadBalancerAttributesArgs args, CustomResourceOptions? opts = null)
public LoadBalancerAttributes(String name, LoadBalancerAttributesArgs args)
public LoadBalancerAttributes(String name, LoadBalancerAttributesArgs args, CustomResourceOptions options)
type: outscale:LoadBalancerAttributes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LoadBalancerAttributesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LoadBalancerAttributesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LoadBalancerAttributesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LoadBalancerAttributesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LoadBalancerAttributesArgs
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 loadBalancerAttributesResource = new Outscale.LoadBalancerAttributes("loadBalancerAttributesResource", new()
{
    LoadBalancerName = "string",
    AccessLog = new Outscale.Inputs.LoadBalancerAttributesAccessLogArgs
    {
        IsEnabled = false,
        OsuBucketName = "string",
        OsuBucketPrefix = "string",
        PublicationInterval = 0,
    },
    HealthCheck = new Outscale.Inputs.LoadBalancerAttributesHealthCheckArgs
    {
        Port = 0,
        Protocol = "string",
        CheckInterval = 0,
        HealthyThreshold = 0,
        Path = "string",
        Timeout = 0,
        UnhealthyThreshold = 0,
    },
    LoadBalancerAttributesId = "string",
    LoadBalancerPort = 0,
    PolicyNames = new[]
    {
        "string",
    },
    ServerCertificateId = "string",
    Tags = new[]
    {
        new Outscale.Inputs.LoadBalancerAttributesTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := outscale.NewLoadBalancerAttributes(ctx, "loadBalancerAttributesResource", &outscale.LoadBalancerAttributesArgs{
LoadBalancerName: pulumi.String("string"),
AccessLog: &.LoadBalancerAttributesAccessLogArgs{
IsEnabled: pulumi.Bool(false),
OsuBucketName: pulumi.String("string"),
OsuBucketPrefix: pulumi.String("string"),
PublicationInterval: pulumi.Float64(0),
},
HealthCheck: &.LoadBalancerAttributesHealthCheckArgs{
Port: pulumi.Float64(0),
Protocol: pulumi.String("string"),
CheckInterval: pulumi.Float64(0),
HealthyThreshold: pulumi.Float64(0),
Path: pulumi.String("string"),
Timeout: pulumi.Float64(0),
UnhealthyThreshold: pulumi.Float64(0),
},
LoadBalancerAttributesId: pulumi.String("string"),
LoadBalancerPort: pulumi.Float64(0),
PolicyNames: pulumi.StringArray{
pulumi.String("string"),
},
ServerCertificateId: pulumi.String("string"),
Tags: .LoadBalancerAttributesTagArray{
&.LoadBalancerAttributesTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
Copy
var loadBalancerAttributesResource = new LoadBalancerAttributes("loadBalancerAttributesResource", LoadBalancerAttributesArgs.builder()
    .loadBalancerName("string")
    .accessLog(LoadBalancerAttributesAccessLogArgs.builder()
        .isEnabled(false)
        .osuBucketName("string")
        .osuBucketPrefix("string")
        .publicationInterval(0)
        .build())
    .healthCheck(LoadBalancerAttributesHealthCheckArgs.builder()
        .port(0)
        .protocol("string")
        .checkInterval(0)
        .healthyThreshold(0)
        .path("string")
        .timeout(0)
        .unhealthyThreshold(0)
        .build())
    .loadBalancerAttributesId("string")
    .loadBalancerPort(0)
    .policyNames("string")
    .serverCertificateId("string")
    .tags(LoadBalancerAttributesTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
load_balancer_attributes_resource = outscale.LoadBalancerAttributes("loadBalancerAttributesResource",
    load_balancer_name="string",
    access_log={
        "is_enabled": False,
        "osu_bucket_name": "string",
        "osu_bucket_prefix": "string",
        "publication_interval": 0,
    },
    health_check={
        "port": 0,
        "protocol": "string",
        "check_interval": 0,
        "healthy_threshold": 0,
        "path": "string",
        "timeout": 0,
        "unhealthy_threshold": 0,
    },
    load_balancer_attributes_id="string",
    load_balancer_port=0,
    policy_names=["string"],
    server_certificate_id="string",
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const loadBalancerAttributesResource = new outscale.LoadBalancerAttributes("loadBalancerAttributesResource", {
    loadBalancerName: "string",
    accessLog: {
        isEnabled: false,
        osuBucketName: "string",
        osuBucketPrefix: "string",
        publicationInterval: 0,
    },
    healthCheck: {
        port: 0,
        protocol: "string",
        checkInterval: 0,
        healthyThreshold: 0,
        path: "string",
        timeout: 0,
        unhealthyThreshold: 0,
    },
    loadBalancerAttributesId: "string",
    loadBalancerPort: 0,
    policyNames: ["string"],
    serverCertificateId: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: outscale:LoadBalancerAttributes
properties:
    accessLog:
        isEnabled: false
        osuBucketName: string
        osuBucketPrefix: string
        publicationInterval: 0
    healthCheck:
        checkInterval: 0
        healthyThreshold: 0
        path: string
        port: 0
        protocol: string
        timeout: 0
        unhealthyThreshold: 0
    loadBalancerAttributesId: string
    loadBalancerName: string
    loadBalancerPort: 0
    policyNames:
        - string
    serverCertificateId: string
    tags:
        - key: string
          value: string
Copy

LoadBalancerAttributes 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 LoadBalancerAttributes resource accepts the following input properties:

LoadBalancerName This property is required. string
The name of the load balancer.
AccessLog LoadBalancerAttributesAccessLog
Information about access logs.
HealthCheck LoadBalancerAttributesHealthCheck
Information about the health check configuration.
LoadBalancerAttributesId string
LoadBalancerPort double
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
PolicyNames List<string>
The name of the policy you want to enable for the listener.
ServerCertificateId string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
Tags List<LoadBalancerAttributesTag>
One or more tags associated with the load balancer.
LoadBalancerName This property is required. string
The name of the load balancer.
AccessLog LoadBalancerAttributesAccessLogArgs
Information about access logs.
HealthCheck LoadBalancerAttributesHealthCheckArgs
Information about the health check configuration.
LoadBalancerAttributesId string
LoadBalancerPort float64
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
PolicyNames []string
The name of the policy you want to enable for the listener.
ServerCertificateId string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
Tags []LoadBalancerAttributesTagArgs
One or more tags associated with the load balancer.
loadBalancerName This property is required. String
The name of the load balancer.
accessLog LoadBalancerAttributesAccessLog
Information about access logs.
healthCheck LoadBalancerAttributesHealthCheck
Information about the health check configuration.
loadBalancerAttributesId String
loadBalancerPort Double
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
policyNames List<String>
The name of the policy you want to enable for the listener.
serverCertificateId String
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
tags List<LoadBalancerAttributesTag>
One or more tags associated with the load balancer.
loadBalancerName This property is required. string
The name of the load balancer.
accessLog LoadBalancerAttributesAccessLog
Information about access logs.
healthCheck LoadBalancerAttributesHealthCheck
Information about the health check configuration.
loadBalancerAttributesId string
loadBalancerPort number
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
policyNames string[]
The name of the policy you want to enable for the listener.
serverCertificateId string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
tags LoadBalancerAttributesTag[]
One or more tags associated with the load balancer.
load_balancer_name This property is required. str
The name of the load balancer.
access_log LoadBalancerAttributesAccessLogArgs
Information about access logs.
health_check LoadBalancerAttributesHealthCheckArgs
Information about the health check configuration.
load_balancer_attributes_id str
load_balancer_port float
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
policy_names Sequence[str]
The name of the policy you want to enable for the listener.
server_certificate_id str
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
tags Sequence[LoadBalancerAttributesTagArgs]
One or more tags associated with the load balancer.
loadBalancerName This property is required. String
The name of the load balancer.
accessLog Property Map
Information about access logs.
healthCheck Property Map
Information about the health check configuration.
loadBalancerAttributesId String
loadBalancerPort Number
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
policyNames List<String>
The name of the policy you want to enable for the listener.
serverCertificateId String
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
tags List<Property Map>
One or more tags associated with the load balancer.

Outputs

All input properties are implicitly available as output properties. Additionally, the LoadBalancerAttributes resource produces the following output properties:

ApplicationStickyCookiePolicies List<LoadBalancerAttributesApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
BackendVmIds List<string>
One or more IDs of backend VMs for the load balancer.
DnsName string
The DNS name of the load balancer.
Id string
The provider-assigned unique ID for this managed resource.
Listeners List<LoadBalancerAttributesListener>
The listeners for the load balancer.
LoadBalancerStickyCookiePolicies List<LoadBalancerAttributesLoadBalancerStickyCookiePolicy>
The policies defined for the load balancer.
LoadBalancerType string
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
RequestId string
SecurityGroups List<string>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
SourceSecurityGroups List<LoadBalancerAttributesSourceSecurityGroup>
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
Subnets List<string>
The ID of the Subnet in which the load balancer was created.
SubregionNames List<string>
The ID of the Subregion in which the load balancer was created.
ApplicationStickyCookiePolicies []LoadBalancerAttributesApplicationStickyCookiePolicy
The stickiness policies defined for the load balancer.
BackendVmIds []string
One or more IDs of backend VMs for the load balancer.
DnsName string
The DNS name of the load balancer.
Id string
The provider-assigned unique ID for this managed resource.
Listeners []LoadBalancerAttributesListener
The listeners for the load balancer.
LoadBalancerStickyCookiePolicies []LoadBalancerAttributesLoadBalancerStickyCookiePolicy
The policies defined for the load balancer.
LoadBalancerType string
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
RequestId string
SecurityGroups []string
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
SourceSecurityGroups []LoadBalancerAttributesSourceSecurityGroup
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
Subnets []string
The ID of the Subnet in which the load balancer was created.
SubregionNames []string
The ID of the Subregion in which the load balancer was created.
applicationStickyCookiePolicies List<LoadBalancerAttributesApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
dnsName String
The DNS name of the load balancer.
id String
The provider-assigned unique ID for this managed resource.
listeners List<LoadBalancerAttributesListener>
The listeners for the load balancer.
loadBalancerStickyCookiePolicies List<LoadBalancerAttributesLoadBalancerStickyCookiePolicy>
The policies defined for the load balancer.
loadBalancerType String
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
requestId String
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
sourceSecurityGroups List<LoadBalancerAttributesSourceSecurityGroup>
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets List<String>
The ID of the Subnet in which the load balancer was created.
subregionNames List<String>
The ID of the Subregion in which the load balancer was created.
applicationStickyCookiePolicies LoadBalancerAttributesApplicationStickyCookiePolicy[]
The stickiness policies defined for the load balancer.
backendVmIds string[]
One or more IDs of backend VMs for the load balancer.
dnsName string
The DNS name of the load balancer.
id string
The provider-assigned unique ID for this managed resource.
listeners LoadBalancerAttributesListener[]
The listeners for the load balancer.
loadBalancerStickyCookiePolicies LoadBalancerAttributesLoadBalancerStickyCookiePolicy[]
The policies defined for the load balancer.
loadBalancerType string
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
requestId string
securityGroups string[]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
sourceSecurityGroups LoadBalancerAttributesSourceSecurityGroup[]
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets string[]
The ID of the Subnet in which the load balancer was created.
subregionNames string[]
The ID of the Subregion in which the load balancer was created.
application_sticky_cookie_policies Sequence[LoadBalancerAttributesApplicationStickyCookiePolicy]
The stickiness policies defined for the load balancer.
backend_vm_ids Sequence[str]
One or more IDs of backend VMs for the load balancer.
dns_name str
The DNS name of the load balancer.
id str
The provider-assigned unique ID for this managed resource.
listeners Sequence[LoadBalancerAttributesListener]
The listeners for the load balancer.
load_balancer_sticky_cookie_policies Sequence[LoadBalancerAttributesLoadBalancerStickyCookiePolicy]
The policies defined for the load balancer.
load_balancer_type str
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
request_id str
security_groups Sequence[str]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
source_security_groups Sequence[LoadBalancerAttributesSourceSecurityGroup]
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets Sequence[str]
The ID of the Subnet in which the load balancer was created.
subregion_names Sequence[str]
The ID of the Subregion in which the load balancer was created.
applicationStickyCookiePolicies List<Property Map>
The stickiness policies defined for the load balancer.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
dnsName String
The DNS name of the load balancer.
id String
The provider-assigned unique ID for this managed resource.
listeners List<Property Map>
The listeners for the load balancer.
loadBalancerStickyCookiePolicies List<Property Map>
The policies defined for the load balancer.
loadBalancerType String
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
requestId String
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
sourceSecurityGroups List<Property Map>
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets List<String>
The ID of the Subnet in which the load balancer was created.
subregionNames List<String>
The ID of the Subregion in which the load balancer was created.

Look up Existing LoadBalancerAttributes Resource

Get an existing LoadBalancerAttributes 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?: LoadBalancerAttributesState, opts?: CustomResourceOptions): LoadBalancerAttributes
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_log: Optional[LoadBalancerAttributesAccessLogArgs] = None,
        application_sticky_cookie_policies: Optional[Sequence[LoadBalancerAttributesApplicationStickyCookiePolicyArgs]] = None,
        backend_vm_ids: Optional[Sequence[str]] = None,
        dns_name: Optional[str] = None,
        health_check: Optional[LoadBalancerAttributesHealthCheckArgs] = None,
        listeners: Optional[Sequence[LoadBalancerAttributesListenerArgs]] = None,
        load_balancer_attributes_id: Optional[str] = None,
        load_balancer_name: Optional[str] = None,
        load_balancer_port: Optional[float] = None,
        load_balancer_sticky_cookie_policies: Optional[Sequence[LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs]] = None,
        load_balancer_type: Optional[str] = None,
        policy_names: Optional[Sequence[str]] = None,
        request_id: Optional[str] = None,
        security_groups: Optional[Sequence[str]] = None,
        server_certificate_id: Optional[str] = None,
        source_security_groups: Optional[Sequence[LoadBalancerAttributesSourceSecurityGroupArgs]] = None,
        subnets: Optional[Sequence[str]] = None,
        subregion_names: Optional[Sequence[str]] = None,
        tags: Optional[Sequence[LoadBalancerAttributesTagArgs]] = None) -> LoadBalancerAttributes
func GetLoadBalancerAttributes(ctx *Context, name string, id IDInput, state *LoadBalancerAttributesState, opts ...ResourceOption) (*LoadBalancerAttributes, error)
public static LoadBalancerAttributes Get(string name, Input<string> id, LoadBalancerAttributesState? state, CustomResourceOptions? opts = null)
public static LoadBalancerAttributes get(String name, Output<String> id, LoadBalancerAttributesState state, CustomResourceOptions options)
resources:  _:    type: outscale:LoadBalancerAttributes    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessLog LoadBalancerAttributesAccessLog
Information about access logs.
ApplicationStickyCookiePolicies List<LoadBalancerAttributesApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
BackendVmIds List<string>
One or more IDs of backend VMs for the load balancer.
DnsName string
The DNS name of the load balancer.
HealthCheck LoadBalancerAttributesHealthCheck
Information about the health check configuration.
Listeners List<LoadBalancerAttributesListener>
The listeners for the load balancer.
LoadBalancerAttributesId string
LoadBalancerName string
The name of the load balancer.
LoadBalancerPort double
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
LoadBalancerStickyCookiePolicies List<LoadBalancerAttributesLoadBalancerStickyCookiePolicy>
The policies defined for the load balancer.
LoadBalancerType string
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
PolicyNames List<string>
The name of the policy you want to enable for the listener.
RequestId string
SecurityGroups List<string>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
ServerCertificateId string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
SourceSecurityGroups List<LoadBalancerAttributesSourceSecurityGroup>
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
Subnets List<string>
The ID of the Subnet in which the load balancer was created.
SubregionNames List<string>
The ID of the Subregion in which the load balancer was created.
Tags List<LoadBalancerAttributesTag>
One or more tags associated with the load balancer.
AccessLog LoadBalancerAttributesAccessLogArgs
Information about access logs.
ApplicationStickyCookiePolicies []LoadBalancerAttributesApplicationStickyCookiePolicyArgs
The stickiness policies defined for the load balancer.
BackendVmIds []string
One or more IDs of backend VMs for the load balancer.
DnsName string
The DNS name of the load balancer.
HealthCheck LoadBalancerAttributesHealthCheckArgs
Information about the health check configuration.
Listeners []LoadBalancerAttributesListenerArgs
The listeners for the load balancer.
LoadBalancerAttributesId string
LoadBalancerName string
The name of the load balancer.
LoadBalancerPort float64
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
LoadBalancerStickyCookiePolicies []LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs
The policies defined for the load balancer.
LoadBalancerType string
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
PolicyNames []string
The name of the policy you want to enable for the listener.
RequestId string
SecurityGroups []string
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
ServerCertificateId string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
SourceSecurityGroups []LoadBalancerAttributesSourceSecurityGroupArgs
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
Subnets []string
The ID of the Subnet in which the load balancer was created.
SubregionNames []string
The ID of the Subregion in which the load balancer was created.
Tags []LoadBalancerAttributesTagArgs
One or more tags associated with the load balancer.
accessLog LoadBalancerAttributesAccessLog
Information about access logs.
applicationStickyCookiePolicies List<LoadBalancerAttributesApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
dnsName String
The DNS name of the load balancer.
healthCheck LoadBalancerAttributesHealthCheck
Information about the health check configuration.
listeners List<LoadBalancerAttributesListener>
The listeners for the load balancer.
loadBalancerAttributesId String
loadBalancerName String
The name of the load balancer.
loadBalancerPort Double
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
loadBalancerStickyCookiePolicies List<LoadBalancerAttributesLoadBalancerStickyCookiePolicy>
The policies defined for the load balancer.
loadBalancerType String
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
policyNames List<String>
The name of the policy you want to enable for the listener.
requestId String
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
serverCertificateId String
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
sourceSecurityGroups List<LoadBalancerAttributesSourceSecurityGroup>
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets List<String>
The ID of the Subnet in which the load balancer was created.
subregionNames List<String>
The ID of the Subregion in which the load balancer was created.
tags List<LoadBalancerAttributesTag>
One or more tags associated with the load balancer.
accessLog LoadBalancerAttributesAccessLog
Information about access logs.
applicationStickyCookiePolicies LoadBalancerAttributesApplicationStickyCookiePolicy[]
The stickiness policies defined for the load balancer.
backendVmIds string[]
One or more IDs of backend VMs for the load balancer.
dnsName string
The DNS name of the load balancer.
healthCheck LoadBalancerAttributesHealthCheck
Information about the health check configuration.
listeners LoadBalancerAttributesListener[]
The listeners for the load balancer.
loadBalancerAttributesId string
loadBalancerName string
The name of the load balancer.
loadBalancerPort number
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
loadBalancerStickyCookiePolicies LoadBalancerAttributesLoadBalancerStickyCookiePolicy[]
The policies defined for the load balancer.
loadBalancerType string
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
policyNames string[]
The name of the policy you want to enable for the listener.
requestId string
securityGroups string[]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
serverCertificateId string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
sourceSecurityGroups LoadBalancerAttributesSourceSecurityGroup[]
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets string[]
The ID of the Subnet in which the load balancer was created.
subregionNames string[]
The ID of the Subregion in which the load balancer was created.
tags LoadBalancerAttributesTag[]
One or more tags associated with the load balancer.
access_log LoadBalancerAttributesAccessLogArgs
Information about access logs.
application_sticky_cookie_policies Sequence[LoadBalancerAttributesApplicationStickyCookiePolicyArgs]
The stickiness policies defined for the load balancer.
backend_vm_ids Sequence[str]
One or more IDs of backend VMs for the load balancer.
dns_name str
The DNS name of the load balancer.
health_check LoadBalancerAttributesHealthCheckArgs
Information about the health check configuration.
listeners Sequence[LoadBalancerAttributesListenerArgs]
The listeners for the load balancer.
load_balancer_attributes_id str
load_balancer_name str
The name of the load balancer.
load_balancer_port float
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
load_balancer_sticky_cookie_policies Sequence[LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs]
The policies defined for the load balancer.
load_balancer_type str
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
policy_names Sequence[str]
The name of the policy you want to enable for the listener.
request_id str
security_groups Sequence[str]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
server_certificate_id str
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
source_security_groups Sequence[LoadBalancerAttributesSourceSecurityGroupArgs]
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets Sequence[str]
The ID of the Subnet in which the load balancer was created.
subregion_names Sequence[str]
The ID of the Subregion in which the load balancer was created.
tags Sequence[LoadBalancerAttributesTagArgs]
One or more tags associated with the load balancer.
accessLog Property Map
Information about access logs.
applicationStickyCookiePolicies List<Property Map>
The stickiness policies defined for the load balancer.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
dnsName String
The DNS name of the load balancer.
healthCheck Property Map
Information about the health check configuration.
listeners List<Property Map>
The listeners for the load balancer.
loadBalancerAttributesId String
loadBalancerName String
The name of the load balancer.
loadBalancerPort Number
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
loadBalancerStickyCookiePolicies List<Property Map>
The policies defined for the load balancer.
loadBalancerType String
The type of load balancer. Valid only for load balancers in a Net. If load_balancer_type is internet-facing, the load balancer has a public DNS name that resolves to a public IP. If load_balancer_type is internal, the load balancer has a public DNS name that resolves to a private IP.
policyNames List<String>
The name of the policy you want to enable for the listener.
requestId String
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
serverCertificateId String
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
sourceSecurityGroups List<Property Map>
Information about the source security group of the load balancer, which you can use as part of your inbound rules for your registered VMs. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
subnets List<String>
The ID of the Subnet in which the load balancer was created.
subregionNames List<String>
The ID of the Subregion in which the load balancer was created.
tags List<Property Map>
One or more tags associated with the load balancer.

Supporting Types

LoadBalancerAttributesAccessLog
, LoadBalancerAttributesAccessLogArgs

IsEnabled bool
If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the osu_bucket_name parameter is required.
OsuBucketName string
The name of the OOS bucket for the access logs.
OsuBucketPrefix string
The path to the folder of the access logs in your OOS bucket (by default, the root level of your bucket).
PublicationInterval double
The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either 5 or 60 (by default, 60).
IsEnabled bool
If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the osu_bucket_name parameter is required.
OsuBucketName string
The name of the OOS bucket for the access logs.
OsuBucketPrefix string
The path to the folder of the access logs in your OOS bucket (by default, the root level of your bucket).
PublicationInterval float64
The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either 5 or 60 (by default, 60).
isEnabled Boolean
If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the osu_bucket_name parameter is required.
osuBucketName String
The name of the OOS bucket for the access logs.
osuBucketPrefix String
The path to the folder of the access logs in your OOS bucket (by default, the root level of your bucket).
publicationInterval Double
The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either 5 or 60 (by default, 60).
isEnabled boolean
If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the osu_bucket_name parameter is required.
osuBucketName string
The name of the OOS bucket for the access logs.
osuBucketPrefix string
The path to the folder of the access logs in your OOS bucket (by default, the root level of your bucket).
publicationInterval number
The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either 5 or 60 (by default, 60).
is_enabled bool
If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the osu_bucket_name parameter is required.
osu_bucket_name str
The name of the OOS bucket for the access logs.
osu_bucket_prefix str
The path to the folder of the access logs in your OOS bucket (by default, the root level of your bucket).
publication_interval float
The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either 5 or 60 (by default, 60).
isEnabled Boolean
If true, access logs are enabled for your load balancer. If false, they are not. If you set this to true in your request, the osu_bucket_name parameter is required.
osuBucketName String
The name of the OOS bucket for the access logs.
osuBucketPrefix String
The path to the folder of the access logs in your OOS bucket (by default, the root level of your bucket).
publicationInterval Number
The time interval for the publication of access logs in the OOS bucket, in minutes. This value can be either 5 or 60 (by default, 60).

LoadBalancerAttributesApplicationStickyCookiePolicy
, LoadBalancerAttributesApplicationStickyCookiePolicyArgs

CookieName This property is required. string
The name of the application cookie used for stickiness.
PolicyName This property is required. string
The name of the stickiness policy.
CookieName This property is required. string
The name of the application cookie used for stickiness.
PolicyName This property is required. string
The name of the stickiness policy.
cookieName This property is required. String
The name of the application cookie used for stickiness.
policyName This property is required. String
The name of the stickiness policy.
cookieName This property is required. string
The name of the application cookie used for stickiness.
policyName This property is required. string
The name of the stickiness policy.
cookie_name This property is required. str
The name of the application cookie used for stickiness.
policy_name This property is required. str
The name of the stickiness policy.
cookieName This property is required. String
The name of the application cookie used for stickiness.
policyName This property is required. String
The name of the stickiness policy.

LoadBalancerAttributesHealthCheck
, LoadBalancerAttributesHealthCheckArgs

Port This property is required. double
The port number (between 1 and 65535, both included).
Protocol This property is required. string
The protocol for the URL of the VM (HTTP | HTTPS | TCP | SSL).
CheckInterval double
The number of seconds between two requests (between 5 and 600 both included).
HealthyThreshold double
The number of consecutive successful requests before considering the VM as healthy (between 2 and 10 both included).
Path string
If you use the HTTP or HTTPS protocols, the request URL path.
Timeout double
The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2 and 60 both included).
UnhealthyThreshold double
The number of consecutive failed requests before considering the VM as unhealthy (between 2 and 10 both included).
Port This property is required. float64
The port number (between 1 and 65535, both included).
Protocol This property is required. string
The protocol for the URL of the VM (HTTP | HTTPS | TCP | SSL).
CheckInterval float64
The number of seconds between two requests (between 5 and 600 both included).
HealthyThreshold float64
The number of consecutive successful requests before considering the VM as healthy (between 2 and 10 both included).
Path string
If you use the HTTP or HTTPS protocols, the request URL path.
Timeout float64
The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2 and 60 both included).
UnhealthyThreshold float64
The number of consecutive failed requests before considering the VM as unhealthy (between 2 and 10 both included).
port This property is required. Double
The port number (between 1 and 65535, both included).
protocol This property is required. String
The protocol for the URL of the VM (HTTP | HTTPS | TCP | SSL).
checkInterval Double
The number of seconds between two requests (between 5 and 600 both included).
healthyThreshold Double
The number of consecutive successful requests before considering the VM as healthy (between 2 and 10 both included).
path String
If you use the HTTP or HTTPS protocols, the request URL path.
timeout Double
The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2 and 60 both included).
unhealthyThreshold Double
The number of consecutive failed requests before considering the VM as unhealthy (between 2 and 10 both included).
port This property is required. number
The port number (between 1 and 65535, both included).
protocol This property is required. string
The protocol for the URL of the VM (HTTP | HTTPS | TCP | SSL).
checkInterval number
The number of seconds between two requests (between 5 and 600 both included).
healthyThreshold number
The number of consecutive successful requests before considering the VM as healthy (between 2 and 10 both included).
path string
If you use the HTTP or HTTPS protocols, the request URL path.
timeout number
The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2 and 60 both included).
unhealthyThreshold number
The number of consecutive failed requests before considering the VM as unhealthy (between 2 and 10 both included).
port This property is required. float
The port number (between 1 and 65535, both included).
protocol This property is required. str
The protocol for the URL of the VM (HTTP | HTTPS | TCP | SSL).
check_interval float
The number of seconds between two requests (between 5 and 600 both included).
healthy_threshold float
The number of consecutive successful requests before considering the VM as healthy (between 2 and 10 both included).
path str
If you use the HTTP or HTTPS protocols, the request URL path.
timeout float
The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2 and 60 both included).
unhealthy_threshold float
The number of consecutive failed requests before considering the VM as unhealthy (between 2 and 10 both included).
port This property is required. Number
The port number (between 1 and 65535, both included).
protocol This property is required. String
The protocol for the URL of the VM (HTTP | HTTPS | TCP | SSL).
checkInterval Number
The number of seconds between two requests (between 5 and 600 both included).
healthyThreshold Number
The number of consecutive successful requests before considering the VM as healthy (between 2 and 10 both included).
path String
If you use the HTTP or HTTPS protocols, the request URL path.
timeout Number
The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2 and 60 both included).
unhealthyThreshold Number
The number of consecutive failed requests before considering the VM as unhealthy (between 2 and 10 both included).

LoadBalancerAttributesListener
, LoadBalancerAttributesListenerArgs

BackendPort This property is required. double
The port on which the backend VM is listening (between 1 and 65535, both included).
BackendProtocol This property is required. string
The protocol for routing traffic to backend VMs (HTTP | HTTPS | TCP | SSL).
LoadBalancerPort This property is required. double
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
LoadBalancerProtocol This property is required. string
The routing protocol (HTTP | HTTPS | TCP | SSL).
PolicyNames This property is required. List<string>
The name of the policy you want to enable for the listener.
ServerCertificateId This property is required. string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
BackendPort This property is required. float64
The port on which the backend VM is listening (between 1 and 65535, both included).
BackendProtocol This property is required. string
The protocol for routing traffic to backend VMs (HTTP | HTTPS | TCP | SSL).
LoadBalancerPort This property is required. float64
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
LoadBalancerProtocol This property is required. string
The routing protocol (HTTP | HTTPS | TCP | SSL).
PolicyNames This property is required. []string
The name of the policy you want to enable for the listener.
ServerCertificateId This property is required. string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
backendPort This property is required. Double
The port on which the backend VM is listening (between 1 and 65535, both included).
backendProtocol This property is required. String
The protocol for routing traffic to backend VMs (HTTP | HTTPS | TCP | SSL).
loadBalancerPort This property is required. Double
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
loadBalancerProtocol This property is required. String
The routing protocol (HTTP | HTTPS | TCP | SSL).
policyNames This property is required. List<String>
The name of the policy you want to enable for the listener.
serverCertificateId This property is required. String
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
backendPort This property is required. number
The port on which the backend VM is listening (between 1 and 65535, both included).
backendProtocol This property is required. string
The protocol for routing traffic to backend VMs (HTTP | HTTPS | TCP | SSL).
loadBalancerPort This property is required. number
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
loadBalancerProtocol This property is required. string
The routing protocol (HTTP | HTTPS | TCP | SSL).
policyNames This property is required. string[]
The name of the policy you want to enable for the listener.
serverCertificateId This property is required. string
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
backend_port This property is required. float
The port on which the backend VM is listening (between 1 and 65535, both included).
backend_protocol This property is required. str
The protocol for routing traffic to backend VMs (HTTP | HTTPS | TCP | SSL).
load_balancer_port This property is required. float
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
load_balancer_protocol This property is required. str
The routing protocol (HTTP | HTTPS | TCP | SSL).
policy_names This property is required. Sequence[str]
The name of the policy you want to enable for the listener.
server_certificate_id This property is required. str
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.
backendPort This property is required. Number
The port on which the backend VM is listening (between 1 and 65535, both included).
backendProtocol This property is required. String
The protocol for routing traffic to backend VMs (HTTP | HTTPS | TCP | SSL).
loadBalancerPort This property is required. Number
The port on which the load balancer is listening (between 1 and 65535, both included). This parameter is required if you want to update the server certificate.
loadBalancerProtocol This property is required. String
The routing protocol (HTTP | HTTPS | TCP | SSL).
policyNames This property is required. List<String>
The name of the policy you want to enable for the listener.
serverCertificateId This property is required. String
The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs). If this parameter is specified, you must also specify the load_balancer_port parameter.

LoadBalancerAttributesLoadBalancerStickyCookiePolicy
, LoadBalancerAttributesLoadBalancerStickyCookiePolicyArgs

PolicyName This property is required. string
The name of the stickiness policy.
PolicyName This property is required. string
The name of the stickiness policy.
policyName This property is required. String
The name of the stickiness policy.
policyName This property is required. string
The name of the stickiness policy.
policy_name This property is required. str
The name of the stickiness policy.
policyName This property is required. String
The name of the stickiness policy.

LoadBalancerAttributesSourceSecurityGroup
, LoadBalancerAttributesSourceSecurityGroupArgs

SecurityGroupAccountId This property is required. string
The account ID of the owner of the security group.
SecurityGroupName This property is required. string
The name of the security group.
SecurityGroupAccountId This property is required. string
The account ID of the owner of the security group.
SecurityGroupName This property is required. string
The name of the security group.
securityGroupAccountId This property is required. String
The account ID of the owner of the security group.
securityGroupName This property is required. String
The name of the security group.
securityGroupAccountId This property is required. string
The account ID of the owner of the security group.
securityGroupName This property is required. string
The name of the security group.
security_group_account_id This property is required. str
The account ID of the owner of the security group.
security_group_name This property is required. str
The name of the security group.
securityGroupAccountId This property is required. String
The account ID of the owner of the security group.
securityGroupName This property is required. String
The name of the security group.

LoadBalancerAttributesTag
, LoadBalancerAttributesTagArgs

Key string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
Key string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
key String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.
key string
The key of the tag, with a minimum of 1 character.
value string
The value of the tag, between 0 and 255 characters.
key str
The key of the tag, with a minimum of 1 character.
value str
The value of the tag, between 0 and 255 characters.
key String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.