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

outscale.LoadBalancerPolicy

Explore with Pulumi AI

Manages a load balancer policy.

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

Example Usage

Create a load balancer policy based on browser

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

const loadBalancer01 = new outscale.LoadBalancer("loadBalancer01", {
    listeners: [{
        backendPort: 8080,
        backendProtocol: "HTTP",
        loadBalancerPort: 8080,
        loadBalancerProtocol: "HTTP",
    }],
    loadBalancerName: "terraform-lb-for-browser-policy",
    subregionNames: ["eu-west-2a"],
});
const loadBalancerPolicy01 = new outscale.LoadBalancerPolicy("loadBalancerPolicy01", {
    loadBalancerName: "terraform-lb-for-browser-policy",
    policyName: "terraform-lb-browser-policy",
    policyType: "load_balancer",
});
Copy
import pulumi
import pulumi_outscale as outscale

load_balancer01 = outscale.LoadBalancer("loadBalancer01",
    listeners=[{
        "backend_port": 8080,
        "backend_protocol": "HTTP",
        "load_balancer_port": 8080,
        "load_balancer_protocol": "HTTP",
    }],
    load_balancer_name="terraform-lb-for-browser-policy",
    subregion_names=["eu-west-2a"])
load_balancer_policy01 = outscale.LoadBalancerPolicy("loadBalancerPolicy01",
    load_balancer_name="terraform-lb-for-browser-policy",
    policy_name="terraform-lb-browser-policy",
    policy_type="load_balancer")
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(8080),
					BackendProtocol:      pulumi.String("HTTP"),
					LoadBalancerPort:     pulumi.Float64(8080),
					LoadBalancerProtocol: pulumi.String("HTTP"),
				},
			},
			LoadBalancerName: pulumi.String("terraform-lb-for-browser-policy"),
			SubregionNames: pulumi.StringArray{
				pulumi.String("eu-west-2a"),
			},
		})
		if err != nil {
			return err
		}
		_, err = outscale.NewLoadBalancerPolicy(ctx, "loadBalancerPolicy01", &outscale.LoadBalancerPolicyArgs{
			LoadBalancerName: pulumi.String("terraform-lb-for-browser-policy"),
			PolicyName:       pulumi.String("terraform-lb-browser-policy"),
			PolicyType:       pulumi.String("load_balancer"),
		})
		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 = 8080,
                BackendProtocol = "HTTP",
                LoadBalancerPort = 8080,
                LoadBalancerProtocol = "HTTP",
            },
        },
        LoadBalancerName = "terraform-lb-for-browser-policy",
        SubregionNames = new[]
        {
            "eu-west-2a",
        },
    });

    var loadBalancerPolicy01 = new Outscale.LoadBalancerPolicy("loadBalancerPolicy01", new()
    {
        LoadBalancerName = "terraform-lb-for-browser-policy",
        PolicyName = "terraform-lb-browser-policy",
        PolicyType = "load_balancer",
    });

});
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.LoadBalancerPolicy;
import com.pulumi.outscale.LoadBalancerPolicyArgs;
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(8080)
                .backendProtocol("HTTP")
                .loadBalancerPort(8080)
                .loadBalancerProtocol("HTTP")
                .build())
            .loadBalancerName("terraform-lb-for-browser-policy")
            .subregionNames("eu-west-2a")
            .build());

        var loadBalancerPolicy01 = new LoadBalancerPolicy("loadBalancerPolicy01", LoadBalancerPolicyArgs.builder()
            .loadBalancerName("terraform-lb-for-browser-policy")
            .policyName("terraform-lb-browser-policy")
            .policyType("load_balancer")
            .build());

    }
}
Copy
resources:
  loadBalancer01:
    type: outscale:LoadBalancer
    properties:
      listeners:
        - backendPort: 8080
          backendProtocol: HTTP
          loadBalancerPort: 8080
          loadBalancerProtocol: HTTP
      loadBalancerName: terraform-lb-for-browser-policy
      subregionNames:
        - eu-west-2a
  loadBalancerPolicy01:
    type: outscale:LoadBalancerPolicy
    properties:
      loadBalancerName: terraform-lb-for-browser-policy
      policyName: terraform-lb-browser-policy
      policyType: load_balancer
Copy
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const loadBalancer02 = new outscale.LoadBalancer("loadBalancer02", {
    loadBalancerName: "terraform-lb-for-app-policy",
    subregionNames: [`${_var.region}b`],
    listeners: [{
        loadBalancerPort: 80,
        loadBalancerProtocol: "TCP",
        backendPort: 80,
        backendProtocol: "TCP",
    }],
});
const loadBalancerPolicy02 = new outscale.LoadBalancerPolicy("loadBalancerPolicy02", {
    loadBalancerName: loadBalancer02.loadBalancerName,
    policyName: "terraform-lb-app-policy",
    policyType: "app",
    cookieName: "cookie01",
}, {
    dependsOn: [loadBalancer02],
});
Copy
import pulumi
import pulumi_outscale as outscale

load_balancer02 = outscale.LoadBalancer("loadBalancer02",
    load_balancer_name="terraform-lb-for-app-policy",
    subregion_names=[f"{var['region']}b"],
    listeners=[{
        "load_balancer_port": 80,
        "load_balancer_protocol": "TCP",
        "backend_port": 80,
        "backend_protocol": "TCP",
    }])
load_balancer_policy02 = outscale.LoadBalancerPolicy("loadBalancerPolicy02",
    load_balancer_name=load_balancer02.load_balancer_name,
    policy_name="terraform-lb-app-policy",
    policy_type="app",
    cookie_name="cookie01",
    opts = pulumi.ResourceOptions(depends_on=[load_balancer02]))
Copy
package main

import (
	"fmt"

	"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 {
		loadBalancer02, err := outscale.NewLoadBalancer(ctx, "loadBalancer02", &outscale.LoadBalancerArgs{
			LoadBalancerName: pulumi.String("terraform-lb-for-app-policy"),
			SubregionNames: pulumi.StringArray{
				pulumi.Sprintf("%vb", _var.Region),
			},
			Listeners: outscale.LoadBalancerListenerArray{
				&outscale.LoadBalancerListenerArgs{
					LoadBalancerPort:     pulumi.Float64(80),
					LoadBalancerProtocol: pulumi.String("TCP"),
					BackendPort:          pulumi.Float64(80),
					BackendProtocol:      pulumi.String("TCP"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = outscale.NewLoadBalancerPolicy(ctx, "loadBalancerPolicy02", &outscale.LoadBalancerPolicyArgs{
			LoadBalancerName: loadBalancer02.LoadBalancerName,
			PolicyName:       pulumi.String("terraform-lb-app-policy"),
			PolicyType:       pulumi.String("app"),
			CookieName:       pulumi.String("cookie01"),
		}, pulumi.DependsOn([]pulumi.Resource{
			loadBalancer02,
		}))
		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 loadBalancer02 = new Outscale.LoadBalancer("loadBalancer02", new()
    {
        LoadBalancerName = "terraform-lb-for-app-policy",
        SubregionNames = new[]
        {
            $"{@var.Region}b",
        },
        Listeners = new[]
        {
            new Outscale.Inputs.LoadBalancerListenerArgs
            {
                LoadBalancerPort = 80,
                LoadBalancerProtocol = "TCP",
                BackendPort = 80,
                BackendProtocol = "TCP",
            },
        },
    });

    var loadBalancerPolicy02 = new Outscale.LoadBalancerPolicy("loadBalancerPolicy02", new()
    {
        LoadBalancerName = loadBalancer02.LoadBalancerName,
        PolicyName = "terraform-lb-app-policy",
        PolicyType = "app",
        CookieName = "cookie01",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            loadBalancer02,
        },
    });

});
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.LoadBalancerPolicy;
import com.pulumi.outscale.LoadBalancerPolicyArgs;
import com.pulumi.resources.CustomResourceOptions;
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 loadBalancer02 = new LoadBalancer("loadBalancer02", LoadBalancerArgs.builder()
            .loadBalancerName("terraform-lb-for-app-policy")
            .subregionNames(String.format("%sb", var_.region()))
            .listeners(LoadBalancerListenerArgs.builder()
                .loadBalancerPort(80)
                .loadBalancerProtocol("TCP")
                .backendPort(80)
                .backendProtocol("TCP")
                .build())
            .build());

        var loadBalancerPolicy02 = new LoadBalancerPolicy("loadBalancerPolicy02", LoadBalancerPolicyArgs.builder()
            .loadBalancerName(loadBalancer02.loadBalancerName())
            .policyName("terraform-lb-app-policy")
            .policyType("app")
            .cookieName("cookie01")
            .build(), CustomResourceOptions.builder()
                .dependsOn(loadBalancer02)
                .build());

    }
}
Copy
resources:
  loadBalancer02:
    type: outscale:LoadBalancer
    properties:
      loadBalancerName: terraform-lb-for-app-policy
      subregionNames:
        - ${var.region}b
      listeners:
        - loadBalancerPort: 80
          loadBalancerProtocol: TCP
          backendPort: 80
          backendProtocol: TCP
  loadBalancerPolicy02:
    type: outscale:LoadBalancerPolicy
    properties:
      loadBalancerName: ${loadBalancer02.loadBalancerName}
      policyName: terraform-lb-app-policy
      policyType: app
      cookieName: cookie01
    options:
      dependsOn:
        - ${loadBalancer02}
Copy

Create LoadBalancerPolicy Resource

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

Constructor syntax

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

@overload
def LoadBalancerPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       load_balancer_name: Optional[str] = None,
                       policy_type: Optional[str] = None,
                       policy_name: Optional[str] = None,
                       load_balancer_type: Optional[str] = None,
                       cookie_name: Optional[str] = None,
                       load_balancer_policy_id: Optional[str] = None,
                       access_logs: Optional[Sequence[LoadBalancerPolicyAccessLogArgs]] = None,
                       cookie_expiration_period: Optional[float] = None,
                       backend_vm_ids: Optional[Sequence[str]] = None,
                       security_groups: Optional[Sequence[str]] = None,
                       subnets: Optional[Sequence[str]] = None,
                       subregion_names: Optional[Sequence[str]] = None,
                       tags: Optional[Sequence[LoadBalancerPolicyTagArgs]] = None)
func NewLoadBalancerPolicy(ctx *Context, name string, args LoadBalancerPolicyArgs, opts ...ResourceOption) (*LoadBalancerPolicy, error)
public LoadBalancerPolicy(string name, LoadBalancerPolicyArgs args, CustomResourceOptions? opts = null)
public LoadBalancerPolicy(String name, LoadBalancerPolicyArgs args)
public LoadBalancerPolicy(String name, LoadBalancerPolicyArgs args, CustomResourceOptions options)
type: outscale:LoadBalancerPolicy
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. LoadBalancerPolicyArgs
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. LoadBalancerPolicyArgs
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. LoadBalancerPolicyArgs
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. LoadBalancerPolicyArgs
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. LoadBalancerPolicyArgs
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 loadBalancerPolicyResource = new Outscale.LoadBalancerPolicy("loadBalancerPolicyResource", new()
{
    LoadBalancerName = "string",
    PolicyType = "string",
    PolicyName = "string",
    LoadBalancerType = "string",
    CookieName = "string",
    LoadBalancerPolicyId = "string",
    AccessLogs = new[]
    {
        new Outscale.Inputs.LoadBalancerPolicyAccessLogArgs
        {
            IsEnabled = false,
            OsuBucketName = "string",
            OsuBucketPrefix = "string",
            PublicationInterval = 0,
        },
    },
    CookieExpirationPeriod = 0,
    BackendVmIds = new[]
    {
        "string",
    },
    SecurityGroups = new[]
    {
        "string",
    },
    Subnets = new[]
    {
        "string",
    },
    SubregionNames = new[]
    {
        "string",
    },
    Tags = new[]
    {
        new Outscale.Inputs.LoadBalancerPolicyTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := outscale.NewLoadBalancerPolicy(ctx, "loadBalancerPolicyResource", &outscale.LoadBalancerPolicyArgs{
LoadBalancerName: pulumi.String("string"),
PolicyType: pulumi.String("string"),
PolicyName: pulumi.String("string"),
LoadBalancerType: pulumi.String("string"),
CookieName: pulumi.String("string"),
LoadBalancerPolicyId: pulumi.String("string"),
AccessLogs: .LoadBalancerPolicyAccessLogArray{
&.LoadBalancerPolicyAccessLogArgs{
IsEnabled: pulumi.Bool(false),
OsuBucketName: pulumi.String("string"),
OsuBucketPrefix: pulumi.String("string"),
PublicationInterval: pulumi.Float64(0),
},
},
CookieExpirationPeriod: pulumi.Float64(0),
BackendVmIds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
SubregionNames: pulumi.StringArray{
pulumi.String("string"),
},
Tags: .LoadBalancerPolicyTagArray{
&.LoadBalancerPolicyTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
Copy
var loadBalancerPolicyResource = new LoadBalancerPolicy("loadBalancerPolicyResource", LoadBalancerPolicyArgs.builder()
    .loadBalancerName("string")
    .policyType("string")
    .policyName("string")
    .loadBalancerType("string")
    .cookieName("string")
    .loadBalancerPolicyId("string")
    .accessLogs(LoadBalancerPolicyAccessLogArgs.builder()
        .isEnabled(false)
        .osuBucketName("string")
        .osuBucketPrefix("string")
        .publicationInterval(0)
        .build())
    .cookieExpirationPeriod(0)
    .backendVmIds("string")
    .securityGroups("string")
    .subnets("string")
    .subregionNames("string")
    .tags(LoadBalancerPolicyTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
load_balancer_policy_resource = outscale.LoadBalancerPolicy("loadBalancerPolicyResource",
    load_balancer_name="string",
    policy_type="string",
    policy_name="string",
    load_balancer_type="string",
    cookie_name="string",
    load_balancer_policy_id="string",
    access_logs=[{
        "is_enabled": False,
        "osu_bucket_name": "string",
        "osu_bucket_prefix": "string",
        "publication_interval": 0,
    }],
    cookie_expiration_period=0,
    backend_vm_ids=["string"],
    security_groups=["string"],
    subnets=["string"],
    subregion_names=["string"],
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const loadBalancerPolicyResource = new outscale.LoadBalancerPolicy("loadBalancerPolicyResource", {
    loadBalancerName: "string",
    policyType: "string",
    policyName: "string",
    loadBalancerType: "string",
    cookieName: "string",
    loadBalancerPolicyId: "string",
    accessLogs: [{
        isEnabled: false,
        osuBucketName: "string",
        osuBucketPrefix: "string",
        publicationInterval: 0,
    }],
    cookieExpirationPeriod: 0,
    backendVmIds: ["string"],
    securityGroups: ["string"],
    subnets: ["string"],
    subregionNames: ["string"],
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: outscale:LoadBalancerPolicy
properties:
    accessLogs:
        - isEnabled: false
          osuBucketName: string
          osuBucketPrefix: string
          publicationInterval: 0
    backendVmIds:
        - string
    cookieExpirationPeriod: 0
    cookieName: string
    loadBalancerName: string
    loadBalancerPolicyId: string
    loadBalancerType: string
    policyName: string
    policyType: string
    securityGroups:
        - string
    subnets:
        - string
    subregionNames:
        - string
    tags:
        - key: string
          value: string
Copy

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

LoadBalancerName This property is required. string
The name of the load balancer for which you want to create a policy.
PolicyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
PolicyType This property is required. string
The type of stickiness policy you want to create: app or load_balancer.
AccessLogs List<LoadBalancerPolicyAccessLog>
Information about access logs.
BackendVmIds List<string>
One or more IDs of backend VMs for the load balancer.
CookieExpirationPeriod double
CookieName string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
LoadBalancerPolicyId string
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.
SecurityGroups List<string>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
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<LoadBalancerPolicyTag>
One or more tags associated with the load balancer.
LoadBalancerName This property is required. string
The name of the load balancer for which you want to create a policy.
PolicyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
PolicyType This property is required. string
The type of stickiness policy you want to create: app or load_balancer.
AccessLogs []LoadBalancerPolicyAccessLogArgs
Information about access logs.
BackendVmIds []string
One or more IDs of backend VMs for the load balancer.
CookieExpirationPeriod float64
CookieName string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
LoadBalancerPolicyId string
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.
SecurityGroups []string
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
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 []LoadBalancerPolicyTagArgs
One or more tags associated with the load balancer.
loadBalancerName This property is required. String
The name of the load balancer for which you want to create a policy.
policyName This property is required. String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyType This property is required. String
The type of stickiness policy you want to create: app or load_balancer.
accessLogs List<LoadBalancerPolicyAccessLog>
Information about access logs.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
cookieExpirationPeriod Double
cookieName String
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
loadBalancerPolicyId String
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.
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
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<LoadBalancerPolicyTag>
One or more tags associated with the load balancer.
loadBalancerName This property is required. string
The name of the load balancer for which you want to create a policy.
policyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyType This property is required. string
The type of stickiness policy you want to create: app or load_balancer.
accessLogs LoadBalancerPolicyAccessLog[]
Information about access logs.
backendVmIds string[]
One or more IDs of backend VMs for the load balancer.
cookieExpirationPeriod number
cookieName string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
loadBalancerPolicyId string
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.
securityGroups string[]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
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 LoadBalancerPolicyTag[]
One or more tags associated with the load balancer.
load_balancer_name This property is required. str
The name of the load balancer for which you want to create a policy.
policy_name This property is required. str
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policy_type This property is required. str
The type of stickiness policy you want to create: app or load_balancer.
access_logs Sequence[LoadBalancerPolicyAccessLogArgs]
Information about access logs.
backend_vm_ids Sequence[str]
One or more IDs of backend VMs for the load balancer.
cookie_expiration_period float
cookie_name str
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
load_balancer_policy_id str
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.
security_groups Sequence[str]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
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[LoadBalancerPolicyTagArgs]
One or more tags associated with the load balancer.
loadBalancerName This property is required. String
The name of the load balancer for which you want to create a policy.
policyName This property is required. String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyType This property is required. String
The type of stickiness policy you want to create: app or load_balancer.
accessLogs List<Property Map>
Information about access logs.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
cookieExpirationPeriod Number
cookieName String
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
loadBalancerPolicyId String
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.
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
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.

Outputs

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

ApplicationStickyCookiePolicies List<LoadBalancerPolicyApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
DnsName string
The DNS name of the load balancer.
HealthChecks List<LoadBalancerPolicyHealthCheck>
Information about the health check configuration.
Id string
The provider-assigned unique ID for this managed resource.
Listeners List<LoadBalancerPolicyListener>
The listeners for the load balancer.
LoadBalancerStickyCookiePolicies List<LoadBalancerPolicyLoadBalancerStickyCookiePolicy>
The policies defined for the load balancer.
NetId string
The ID of the Net for the load balancer.
PublicIp string
RequestId string
SecuredCookies bool
SourceSecurityGroups List<LoadBalancerPolicySourceSecurityGroup>
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.
ApplicationStickyCookiePolicies []LoadBalancerPolicyApplicationStickyCookiePolicy
The stickiness policies defined for the load balancer.
DnsName string
The DNS name of the load balancer.
HealthChecks []LoadBalancerPolicyHealthCheck
Information about the health check configuration.
Id string
The provider-assigned unique ID for this managed resource.
Listeners []LoadBalancerPolicyListener
The listeners for the load balancer.
LoadBalancerStickyCookiePolicies []LoadBalancerPolicyLoadBalancerStickyCookiePolicy
The policies defined for the load balancer.
NetId string
The ID of the Net for the load balancer.
PublicIp string
RequestId string
SecuredCookies bool
SourceSecurityGroups []LoadBalancerPolicySourceSecurityGroup
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.
applicationStickyCookiePolicies List<LoadBalancerPolicyApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
dnsName String
The DNS name of the load balancer.
healthChecks List<LoadBalancerPolicyHealthCheck>
Information about the health check configuration.
id String
The provider-assigned unique ID for this managed resource.
listeners List<LoadBalancerPolicyListener>
The listeners for the load balancer.
loadBalancerStickyCookiePolicies List<LoadBalancerPolicyLoadBalancerStickyCookiePolicy>
The policies defined for the load balancer.
netId String
The ID of the Net for the load balancer.
publicIp String
requestId String
securedCookies Boolean
sourceSecurityGroups List<LoadBalancerPolicySourceSecurityGroup>
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.
applicationStickyCookiePolicies LoadBalancerPolicyApplicationStickyCookiePolicy[]
The stickiness policies defined for the load balancer.
dnsName string
The DNS name of the load balancer.
healthChecks LoadBalancerPolicyHealthCheck[]
Information about the health check configuration.
id string
The provider-assigned unique ID for this managed resource.
listeners LoadBalancerPolicyListener[]
The listeners for the load balancer.
loadBalancerStickyCookiePolicies LoadBalancerPolicyLoadBalancerStickyCookiePolicy[]
The policies defined for the load balancer.
netId string
The ID of the Net for the load balancer.
publicIp string
requestId string
securedCookies boolean
sourceSecurityGroups LoadBalancerPolicySourceSecurityGroup[]
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.
application_sticky_cookie_policies Sequence[LoadBalancerPolicyApplicationStickyCookiePolicy]
The stickiness policies defined for the load balancer.
dns_name str
The DNS name of the load balancer.
health_checks Sequence[LoadBalancerPolicyHealthCheck]
Information about the health check configuration.
id str
The provider-assigned unique ID for this managed resource.
listeners Sequence[LoadBalancerPolicyListener]
The listeners for the load balancer.
load_balancer_sticky_cookie_policies Sequence[LoadBalancerPolicyLoadBalancerStickyCookiePolicy]
The policies defined for the load balancer.
net_id str
The ID of the Net for the load balancer.
public_ip str
request_id str
secured_cookies bool
source_security_groups Sequence[LoadBalancerPolicySourceSecurityGroup]
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.
applicationStickyCookiePolicies List<Property Map>
The stickiness policies defined for the load balancer.
dnsName String
The DNS name of the load balancer.
healthChecks List<Property Map>
Information about the health check configuration.
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.
netId String
The ID of the Net for the load balancer.
publicIp String
requestId String
securedCookies Boolean
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.

Look up Existing LoadBalancerPolicy Resource

Get an existing LoadBalancerPolicy 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?: LoadBalancerPolicyState, opts?: CustomResourceOptions): LoadBalancerPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_logs: Optional[Sequence[LoadBalancerPolicyAccessLogArgs]] = None,
        application_sticky_cookie_policies: Optional[Sequence[LoadBalancerPolicyApplicationStickyCookiePolicyArgs]] = None,
        backend_vm_ids: Optional[Sequence[str]] = None,
        cookie_expiration_period: Optional[float] = None,
        cookie_name: Optional[str] = None,
        dns_name: Optional[str] = None,
        health_checks: Optional[Sequence[LoadBalancerPolicyHealthCheckArgs]] = None,
        listeners: Optional[Sequence[LoadBalancerPolicyListenerArgs]] = None,
        load_balancer_name: Optional[str] = None,
        load_balancer_policy_id: Optional[str] = None,
        load_balancer_sticky_cookie_policies: Optional[Sequence[LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs]] = None,
        load_balancer_type: Optional[str] = None,
        net_id: Optional[str] = None,
        policy_name: Optional[str] = None,
        policy_type: Optional[str] = None,
        public_ip: Optional[str] = None,
        request_id: Optional[str] = None,
        secured_cookies: Optional[bool] = None,
        security_groups: Optional[Sequence[str]] = None,
        source_security_groups: Optional[Sequence[LoadBalancerPolicySourceSecurityGroupArgs]] = None,
        subnets: Optional[Sequence[str]] = None,
        subregion_names: Optional[Sequence[str]] = None,
        tags: Optional[Sequence[LoadBalancerPolicyTagArgs]] = None) -> LoadBalancerPolicy
func GetLoadBalancerPolicy(ctx *Context, name string, id IDInput, state *LoadBalancerPolicyState, opts ...ResourceOption) (*LoadBalancerPolicy, error)
public static LoadBalancerPolicy Get(string name, Input<string> id, LoadBalancerPolicyState? state, CustomResourceOptions? opts = null)
public static LoadBalancerPolicy get(String name, Output<String> id, LoadBalancerPolicyState state, CustomResourceOptions options)
resources:  _:    type: outscale:LoadBalancerPolicy    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:
AccessLogs List<LoadBalancerPolicyAccessLog>
Information about access logs.
ApplicationStickyCookiePolicies List<LoadBalancerPolicyApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
BackendVmIds List<string>
One or more IDs of backend VMs for the load balancer.
CookieExpirationPeriod double
CookieName string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
DnsName string
The DNS name of the load balancer.
HealthChecks List<LoadBalancerPolicyHealthCheck>
Information about the health check configuration.
Listeners List<LoadBalancerPolicyListener>
The listeners for the load balancer.
LoadBalancerName string
The name of the load balancer for which you want to create a policy.
LoadBalancerPolicyId string
LoadBalancerStickyCookiePolicies List<LoadBalancerPolicyLoadBalancerStickyCookiePolicy>
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.
NetId string
The ID of the Net for the load balancer.
PolicyName string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
PolicyType string
The type of stickiness policy you want to create: app or load_balancer.
PublicIp string
RequestId string
SecuredCookies bool
SecurityGroups List<string>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
SourceSecurityGroups List<LoadBalancerPolicySourceSecurityGroup>
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<LoadBalancerPolicyTag>
One or more tags associated with the load balancer.
AccessLogs []LoadBalancerPolicyAccessLogArgs
Information about access logs.
ApplicationStickyCookiePolicies []LoadBalancerPolicyApplicationStickyCookiePolicyArgs
The stickiness policies defined for the load balancer.
BackendVmIds []string
One or more IDs of backend VMs for the load balancer.
CookieExpirationPeriod float64
CookieName string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
DnsName string
The DNS name of the load balancer.
HealthChecks []LoadBalancerPolicyHealthCheckArgs
Information about the health check configuration.
Listeners []LoadBalancerPolicyListenerArgs
The listeners for the load balancer.
LoadBalancerName string
The name of the load balancer for which you want to create a policy.
LoadBalancerPolicyId string
LoadBalancerStickyCookiePolicies []LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs
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.
NetId string
The ID of the Net for the load balancer.
PolicyName string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
PolicyType string
The type of stickiness policy you want to create: app or load_balancer.
PublicIp string
RequestId string
SecuredCookies bool
SecurityGroups []string
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
SourceSecurityGroups []LoadBalancerPolicySourceSecurityGroupArgs
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 []LoadBalancerPolicyTagArgs
One or more tags associated with the load balancer.
accessLogs List<LoadBalancerPolicyAccessLog>
Information about access logs.
applicationStickyCookiePolicies List<LoadBalancerPolicyApplicationStickyCookiePolicy>
The stickiness policies defined for the load balancer.
backendVmIds List<String>
One or more IDs of backend VMs for the load balancer.
cookieExpirationPeriod Double
cookieName String
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
dnsName String
The DNS name of the load balancer.
healthChecks List<LoadBalancerPolicyHealthCheck>
Information about the health check configuration.
listeners List<LoadBalancerPolicyListener>
The listeners for the load balancer.
loadBalancerName String
The name of the load balancer for which you want to create a policy.
loadBalancerPolicyId String
loadBalancerStickyCookiePolicies List<LoadBalancerPolicyLoadBalancerStickyCookiePolicy>
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.
netId String
The ID of the Net for the load balancer.
policyName String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyType String
The type of stickiness policy you want to create: app or load_balancer.
publicIp String
requestId String
securedCookies Boolean
securityGroups List<String>
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
sourceSecurityGroups List<LoadBalancerPolicySourceSecurityGroup>
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<LoadBalancerPolicyTag>
One or more tags associated with the load balancer.
accessLogs LoadBalancerPolicyAccessLog[]
Information about access logs.
applicationStickyCookiePolicies LoadBalancerPolicyApplicationStickyCookiePolicy[]
The stickiness policies defined for the load balancer.
backendVmIds string[]
One or more IDs of backend VMs for the load balancer.
cookieExpirationPeriod number
cookieName string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
dnsName string
The DNS name of the load balancer.
healthChecks LoadBalancerPolicyHealthCheck[]
Information about the health check configuration.
listeners LoadBalancerPolicyListener[]
The listeners for the load balancer.
loadBalancerName string
The name of the load balancer for which you want to create a policy.
loadBalancerPolicyId string
loadBalancerStickyCookiePolicies LoadBalancerPolicyLoadBalancerStickyCookiePolicy[]
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.
netId string
The ID of the Net for the load balancer.
policyName string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyType string
The type of stickiness policy you want to create: app or load_balancer.
publicIp string
requestId string
securedCookies boolean
securityGroups string[]
One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
sourceSecurityGroups LoadBalancerPolicySourceSecurityGroup[]
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 LoadBalancerPolicyTag[]
One or more tags associated with the load balancer.
access_logs Sequence[LoadBalancerPolicyAccessLogArgs]
Information about access logs.
application_sticky_cookie_policies Sequence[LoadBalancerPolicyApplicationStickyCookiePolicyArgs]
The stickiness policies defined for the load balancer.
backend_vm_ids Sequence[str]
One or more IDs of backend VMs for the load balancer.
cookie_expiration_period float
cookie_name str
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
dns_name str
The DNS name of the load balancer.
health_checks Sequence[LoadBalancerPolicyHealthCheckArgs]
Information about the health check configuration.
listeners Sequence[LoadBalancerPolicyListenerArgs]
The listeners for the load balancer.
load_balancer_name str
The name of the load balancer for which you want to create a policy.
load_balancer_policy_id str
load_balancer_sticky_cookie_policies Sequence[LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs]
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.
net_id str
The ID of the Net for the load balancer.
policy_name str
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policy_type str
The type of stickiness policy you want to create: app or load_balancer.
public_ip str
request_id str
secured_cookies bool
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[LoadBalancerPolicySourceSecurityGroupArgs]
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[LoadBalancerPolicyTagArgs]
One or more tags associated with the load balancer.
accessLogs List<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.
cookieExpirationPeriod Number
cookieName String
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
dnsName String
The DNS name of the load balancer.
healthChecks List<Property Map>
Information about the health check configuration.
listeners List<Property Map>
The listeners for the load balancer.
loadBalancerName String
The name of the load balancer for which you want to create a policy.
loadBalancerPolicyId String
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.
netId String
The ID of the Net for the load balancer.
policyName String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyType String
The type of stickiness policy you want to create: app or load_balancer.
publicIp String
requestId String
securedCookies Boolean
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.
tags List<Property Map>
One or more tags associated with the load balancer.

Supporting Types

LoadBalancerPolicyAccessLog
, LoadBalancerPolicyAccessLogArgs

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

LoadBalancerPolicyApplicationStickyCookiePolicy
, LoadBalancerPolicyApplicationStickyCookiePolicyArgs

CookieName This property is required. string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
PolicyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
CookieName This property is required. string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
PolicyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
cookieName This property is required. String
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
policyName This property is required. String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
cookieName This property is required. string
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
policyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
cookie_name This property is required. str
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
policy_name This property is required. str
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
cookieName This property is required. String
The name of the application cookie used for stickiness. This parameter is required if you create a stickiness policy based on an application-generated cookie.
policyName This property is required. String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).

LoadBalancerPolicyHealthCheck
, LoadBalancerPolicyHealthCheckArgs

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

LoadBalancerPolicyListener
, LoadBalancerPolicyListenerArgs

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).
LoadBalancerProtocol This property is required. string
The routing protocol (HTTP | HTTPS | TCP | SSL).
PolicyNames This property is required. List<string>
The names of the policies. If there are no policies enabled, the list is empty.
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).
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).
LoadBalancerProtocol This property is required. string
The routing protocol (HTTP | HTTPS | TCP | SSL).
PolicyNames This property is required. []string
The names of the policies. If there are no policies enabled, the list is empty.
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).
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).
loadBalancerProtocol This property is required. String
The routing protocol (HTTP | HTTPS | TCP | SSL).
policyNames This property is required. List<String>
The names of the policies. If there are no policies enabled, the list is empty.
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).
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).
loadBalancerProtocol This property is required. string
The routing protocol (HTTP | HTTPS | TCP | SSL).
policyNames This property is required. string[]
The names of the policies. If there are no policies enabled, the list is empty.
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).
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).
load_balancer_protocol This property is required. str
The routing protocol (HTTP | HTTPS | TCP | SSL).
policy_names This property is required. Sequence[str]
The names of the policies. If there are no policies enabled, the list is empty.
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).
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).
loadBalancerProtocol This property is required. String
The routing protocol (HTTP | HTTPS | TCP | SSL).
policyNames This property is required. List<String>
The names of the policies. If there are no policies enabled, the list is empty.
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).

LoadBalancerPolicyLoadBalancerStickyCookiePolicy
, LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs

PolicyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
PolicyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyName This property is required. String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyName This property is required. string
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policy_name This property is required. str
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
policyName This property is required. String
The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).

LoadBalancerPolicySourceSecurityGroup
, LoadBalancerPolicySourceSecurityGroupArgs

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.

LoadBalancerPolicyTag
, LoadBalancerPolicyTagArgs

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.