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",
});
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")
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
	})
}
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",
    });
});
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());
    }
}
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
Create a load balancer policy based on application cookie
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],
});
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]))
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
	})
}
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,
        },
    });
});
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());
    }
}
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}
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 string
- The unique name of the resource.
- args LoadBalancerPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args LoadBalancerPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadBalancerPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
        },
    },
});
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"),
},
},
})
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());
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",
    }])
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",
    }],
});
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
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:
- LoadBalancer stringName 
- The name of the load balancer for which you want to create a policy.
- 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: apporload_balancer.
- AccessLogs List<LoadBalancer Policy Access Log> 
- Information about access logs.
- BackendVm List<string>Ids 
- One or more IDs of backend VMs for the load balancer.
- double
- 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.
- LoadBalancer stringPolicy Id 
- LoadBalancer stringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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.
- 
List<LoadBalancer Policy Tag> 
- One or more tags associated with the load balancer.
- LoadBalancer stringName 
- The name of the load balancer for which you want to create a policy.
- 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: apporload_balancer.
- AccessLogs []LoadBalancer Policy Access Log Args 
- Information about access logs.
- BackendVm []stringIds 
- One or more IDs of backend VMs for the load balancer.
- float64
- 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.
- LoadBalancer stringPolicy Id 
- LoadBalancer stringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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.
- 
[]LoadBalancer Policy Tag Args 
- One or more tags associated with the load balancer.
- loadBalancer StringName 
- The name of the load balancer for which you want to create a policy.
- 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: apporload_balancer.
- accessLogs List<LoadBalancer Policy Access Log> 
- Information about access logs.
- backendVm List<String>Ids 
- One or more IDs of backend VMs for the load balancer.
- Double
- 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.
- loadBalancer StringPolicy Id 
- loadBalancer StringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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.
- 
List<LoadBalancer Policy Tag> 
- One or more tags associated with the load balancer.
- loadBalancer stringName 
- The name of the load balancer for which you want to create a policy.
- 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: apporload_balancer.
- accessLogs LoadBalancer Policy Access Log[] 
- Information about access logs.
- backendVm string[]Ids 
- One or more IDs of backend VMs for the load balancer.
- number
- 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.
- loadBalancer stringPolicy Id 
- loadBalancer stringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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.
- 
LoadBalancer Policy Tag[] 
- One or more tags associated with the load balancer.
- load_balancer_ strname 
- The name of the load balancer for which you want to create a policy.
- 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: apporload_balancer.
- access_logs Sequence[LoadBalancer Policy Access Log Args] 
- Information about access logs.
- backend_vm_ Sequence[str]ids 
- One or more IDs of backend VMs for the load balancer.
- float
- 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_ strpolicy_ id 
- load_balancer_ strtype 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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.
- 
Sequence[LoadBalancer Policy Tag Args] 
- One or more tags associated with the load balancer.
- loadBalancer StringName 
- The name of the load balancer for which you want to create a policy.
- 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: apporload_balancer.
- accessLogs List<Property Map>
- Information about access logs.
- backendVm List<String>Ids 
- One or more IDs of backend VMs for the load balancer.
- Number
- 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.
- loadBalancer StringPolicy Id 
- loadBalancer StringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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.
- 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:
- 
List<LoadBalancer Policy Application Sticky Cookie Policy> 
- The stickiness policies defined for the load balancer.
- DnsName string
- The DNS name of the load balancer.
- HealthChecks List<LoadBalancer Policy Health Check> 
- Information about the health check configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<LoadBalancer Policy Listener> 
- The listeners for the load balancer.
- 
List<LoadBalancer Policy Load Balancer Sticky Cookie Policy> 
- The policies defined for the load balancer.
- NetId string
- The ID of the Net for the load balancer.
- PublicIp string
- RequestId string
- bool
- SourceSecurity List<LoadGroups Balancer Policy Source Security Group> 
- 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.
- 
[]LoadBalancer Policy Application Sticky Cookie Policy 
- The stickiness policies defined for the load balancer.
- DnsName string
- The DNS name of the load balancer.
- HealthChecks []LoadBalancer Policy Health Check 
- Information about the health check configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]LoadBalancer Policy Listener 
- The listeners for the load balancer.
- 
[]LoadBalancer Policy Load Balancer Sticky Cookie Policy 
- The policies defined for the load balancer.
- NetId string
- The ID of the Net for the load balancer.
- PublicIp string
- RequestId string
- bool
- SourceSecurity []LoadGroups Balancer Policy Source Security Group 
- 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.
- 
List<LoadBalancer Policy Application Sticky Cookie Policy> 
- The stickiness policies defined for the load balancer.
- dnsName String
- The DNS name of the load balancer.
- healthChecks List<LoadBalancer Policy Health Check> 
- Information about the health check configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<LoadBalancer Policy Listener> 
- The listeners for the load balancer.
- 
List<LoadBalancer Policy Load Balancer Sticky Cookie Policy> 
- The policies defined for the load balancer.
- netId String
- The ID of the Net for the load balancer.
- publicIp String
- requestId String
- Boolean
- sourceSecurity List<LoadGroups Balancer Policy Source Security Group> 
- 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.
- 
LoadBalancer Policy Application Sticky Cookie Policy[] 
- The stickiness policies defined for the load balancer.
- dnsName string
- The DNS name of the load balancer.
- healthChecks LoadBalancer Policy Health Check[] 
- Information about the health check configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
LoadBalancer Policy Listener[] 
- The listeners for the load balancer.
- 
LoadBalancer Policy Load Balancer Sticky Cookie Policy[] 
- The policies defined for the load balancer.
- netId string
- The ID of the Net for the load balancer.
- publicIp string
- requestId string
- boolean
- sourceSecurity LoadGroups Balancer Policy Source Security Group[] 
- 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.
- 
Sequence[LoadBalancer Policy Application Sticky Cookie Policy] 
- The stickiness policies defined for the load balancer.
- dns_name str
- The DNS name of the load balancer.
- health_checks Sequence[LoadBalancer Policy Health Check] 
- Information about the health check configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[LoadBalancer Policy Listener] 
- The listeners for the load balancer.
- 
Sequence[LoadBalancer Policy Load Balancer Sticky Cookie Policy] 
- 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
- bool
- source_security_ Sequence[Loadgroups Balancer Policy Source Security Group] 
- 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.
- 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.
- 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
- Boolean
- sourceSecurity List<Property Map>Groups 
- 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) -> LoadBalancerPolicyfunc 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AccessLogs List<LoadBalancer Policy Access Log> 
- Information about access logs.
- 
List<LoadBalancer Policy Application Sticky Cookie Policy> 
- The stickiness policies defined for the load balancer.
- BackendVm List<string>Ids 
- One or more IDs of backend VMs for the load balancer.
- double
- 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<LoadBalancer Policy Health Check> 
- Information about the health check configuration.
- Listeners
List<LoadBalancer Policy Listener> 
- The listeners for the load balancer.
- LoadBalancer stringName 
- The name of the load balancer for which you want to create a policy.
- LoadBalancer stringPolicy Id 
- 
List<LoadBalancer Policy Load Balancer Sticky Cookie Policy> 
- The policies defined for the load balancer.
- LoadBalancer stringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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: apporload_balancer.
- PublicIp string
- RequestId string
- bool
- SecurityGroups List<string>
- One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
- SourceSecurity List<LoadGroups Balancer Policy Source Security Group> 
- 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.
- 
List<LoadBalancer Policy Tag> 
- One or more tags associated with the load balancer.
- AccessLogs []LoadBalancer Policy Access Log Args 
- Information about access logs.
- 
[]LoadBalancer Policy Application Sticky Cookie Policy Args 
- The stickiness policies defined for the load balancer.
- BackendVm []stringIds 
- One or more IDs of backend VMs for the load balancer.
- float64
- 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 []LoadBalancer Policy Health Check Args 
- Information about the health check configuration.
- Listeners
[]LoadBalancer Policy Listener Args 
- The listeners for the load balancer.
- LoadBalancer stringName 
- The name of the load balancer for which you want to create a policy.
- LoadBalancer stringPolicy Id 
- 
[]LoadBalancer Policy Load Balancer Sticky Cookie Policy Args 
- The policies defined for the load balancer.
- LoadBalancer stringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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: apporload_balancer.
- PublicIp string
- RequestId string
- bool
- SecurityGroups []string
- One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
- SourceSecurity []LoadGroups Balancer Policy Source Security Group Args 
- 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.
- 
[]LoadBalancer Policy Tag Args 
- One or more tags associated with the load balancer.
- accessLogs List<LoadBalancer Policy Access Log> 
- Information about access logs.
- 
List<LoadBalancer Policy Application Sticky Cookie Policy> 
- The stickiness policies defined for the load balancer.
- backendVm List<String>Ids 
- One or more IDs of backend VMs for the load balancer.
- Double
- 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<LoadBalancer Policy Health Check> 
- Information about the health check configuration.
- listeners
List<LoadBalancer Policy Listener> 
- The listeners for the load balancer.
- loadBalancer StringName 
- The name of the load balancer for which you want to create a policy.
- loadBalancer StringPolicy Id 
- 
List<LoadBalancer Policy Load Balancer Sticky Cookie Policy> 
- The policies defined for the load balancer.
- loadBalancer StringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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: apporload_balancer.
- publicIp String
- requestId String
- Boolean
- securityGroups List<String>
- One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
- sourceSecurity List<LoadGroups Balancer Policy Source Security Group> 
- 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.
- 
List<LoadBalancer Policy Tag> 
- One or more tags associated with the load balancer.
- accessLogs LoadBalancer Policy Access Log[] 
- Information about access logs.
- 
LoadBalancer Policy Application Sticky Cookie Policy[] 
- The stickiness policies defined for the load balancer.
- backendVm string[]Ids 
- One or more IDs of backend VMs for the load balancer.
- number
- 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 LoadBalancer Policy Health Check[] 
- Information about the health check configuration.
- listeners
LoadBalancer Policy Listener[] 
- The listeners for the load balancer.
- loadBalancer stringName 
- The name of the load balancer for which you want to create a policy.
- loadBalancer stringPolicy Id 
- 
LoadBalancer Policy Load Balancer Sticky Cookie Policy[] 
- The policies defined for the load balancer.
- loadBalancer stringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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: apporload_balancer.
- publicIp string
- requestId string
- boolean
- securityGroups string[]
- One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
- sourceSecurity LoadGroups Balancer Policy Source Security Group[] 
- 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.
- 
LoadBalancer Policy Tag[] 
- One or more tags associated with the load balancer.
- access_logs Sequence[LoadBalancer Policy Access Log Args] 
- Information about access logs.
- 
Sequence[LoadBalancer Policy Application Sticky Cookie Policy Args] 
- The stickiness policies defined for the load balancer.
- backend_vm_ Sequence[str]ids 
- One or more IDs of backend VMs for the load balancer.
- float
- 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[LoadBalancer Policy Health Check Args] 
- Information about the health check configuration.
- listeners
Sequence[LoadBalancer Policy Listener Args] 
- The listeners for the load balancer.
- load_balancer_ strname 
- The name of the load balancer for which you want to create a policy.
- load_balancer_ strpolicy_ id 
- 
Sequence[LoadBalancer Policy Load Balancer Sticky Cookie Policy Args] 
- The policies defined for the load balancer.
- load_balancer_ strtype 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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: apporload_balancer.
- public_ip str
- request_id str
- 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_ Sequence[Loadgroups Balancer Policy Source Security Group Args] 
- 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.
- 
Sequence[LoadBalancer Policy Tag Args] 
- One or more tags associated with the load balancer.
- accessLogs List<Property Map>
- Information about access logs.
- List<Property Map>
- The stickiness policies defined for the load balancer.
- backendVm List<String>Ids 
- One or more IDs of backend VMs for the load balancer.
- Number
- 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.
- loadBalancer StringName 
- The name of the load balancer for which you want to create a policy.
- loadBalancer StringPolicy Id 
- List<Property Map>
- The policies defined for the load balancer.
- loadBalancer StringType 
- The type of load balancer. Valid only for load balancers in a Net.
If load_balancer_typeisinternet-facing, the load balancer has a public DNS name that resolves to a public IP. Ifload_balancer_typeisinternal, 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: apporload_balancer.
- publicIp String
- requestId String
- Boolean
- securityGroups List<String>
- One or more IDs of security groups for the load balancers. Valid only for load balancers in a Net.
- sourceSecurity List<Property Map>Groups 
- 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.
- 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_nameparameter is required.
- OsuBucket stringName 
- The name of the OOS bucket for the access logs.
- OsuBucket stringPrefix 
- The path to the folder of the access logs in your OOS bucket (by default, the rootlevel 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 5or60(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_nameparameter is required.
- OsuBucket stringName 
- The name of the OOS bucket for the access logs.
- OsuBucket stringPrefix 
- The path to the folder of the access logs in your OOS bucket (by default, the rootlevel 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 5or60(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_nameparameter is required.
- osuBucket StringName 
- The name of the OOS bucket for the access logs.
- osuBucket StringPrefix 
- The path to the folder of the access logs in your OOS bucket (by default, the rootlevel 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 5or60(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_nameparameter is required.
- osuBucket stringName 
- The name of the OOS bucket for the access logs.
- osuBucket stringPrefix 
- The path to the folder of the access logs in your OOS bucket (by default, the rootlevel 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 5or60(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_nameparameter is required.
- osu_bucket_ strname 
- The name of the OOS bucket for the access logs.
- osu_bucket_ strprefix 
- The path to the folder of the access logs in your OOS bucket (by default, the rootlevel 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 5or60(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_nameparameter is required.
- osuBucket StringName 
- The name of the OOS bucket for the access logs.
- osuBucket StringPrefix 
- The path to the folder of the access logs in your OOS bucket (by default, the rootlevel 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 5or60(by default,60).
LoadBalancerPolicyApplicationStickyCookiePolicy, LoadBalancerPolicyApplicationStickyCookiePolicyArgs              
- 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 string
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- 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 string
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- 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 String
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- 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 string
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- 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 str
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- 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 String
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
LoadBalancerPolicyHealthCheck, LoadBalancerPolicyHealthCheckArgs          
- CheckInterval double
- The number of seconds between two requests (between 5and600both included).
- HealthyThreshold double
- The number of consecutive successful requests before considering the VM as healthy (between 2and10both included).
- Path string
- If you use the HTTP or HTTPS protocols, the request URL path.
- Port double
- The port number (between 1and65535, both included).
- Protocol string
- The protocol for the URL of the VM (HTTP|HTTPS|TCP|SSL).
- Timeout double
- The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2and60both included).
- UnhealthyThreshold double
- The number of consecutive failed requests before considering the VM as unhealthy (between 2and10both included).
- CheckInterval float64
- The number of seconds between two requests (between 5and600both included).
- HealthyThreshold float64
- The number of consecutive successful requests before considering the VM as healthy (between 2and10both included).
- Path string
- If you use the HTTP or HTTPS protocols, the request URL path.
- Port float64
- The port number (between 1and65535, both included).
- Protocol string
- The protocol for the URL of the VM (HTTP|HTTPS|TCP|SSL).
- Timeout float64
- The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2and60both included).
- UnhealthyThreshold float64
- The number of consecutive failed requests before considering the VM as unhealthy (between 2and10both included).
- checkInterval Double
- The number of seconds between two requests (between 5and600both included).
- healthyThreshold Double
- The number of consecutive successful requests before considering the VM as healthy (between 2and10both included).
- path String
- If you use the HTTP or HTTPS protocols, the request URL path.
- port Double
- The port number (between 1and65535, both included).
- protocol String
- The protocol for the URL of the VM (HTTP|HTTPS|TCP|SSL).
- timeout Double
- The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2and60both included).
- unhealthyThreshold Double
- The number of consecutive failed requests before considering the VM as unhealthy (between 2and10both included).
- checkInterval number
- The number of seconds between two requests (between 5and600both included).
- healthyThreshold number
- The number of consecutive successful requests before considering the VM as healthy (between 2and10both included).
- path string
- If you use the HTTP or HTTPS protocols, the request URL path.
- port number
- The port number (between 1and65535, both included).
- protocol string
- The protocol for the URL of the VM (HTTP|HTTPS|TCP|SSL).
- timeout number
- The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2and60both included).
- unhealthyThreshold number
- The number of consecutive failed requests before considering the VM as unhealthy (between 2and10both included).
- check_interval float
- The number of seconds between two requests (between 5and600both included).
- healthy_threshold float
- The number of consecutive successful requests before considering the VM as healthy (between 2and10both included).
- path str
- If you use the HTTP or HTTPS protocols, the request URL path.
- port float
- The port number (between 1and65535, both included).
- protocol str
- The protocol for the URL of the VM (HTTP|HTTPS|TCP|SSL).
- timeout float
- The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2and60both included).
- unhealthy_threshold float
- The number of consecutive failed requests before considering the VM as unhealthy (between 2and10both included).
- checkInterval Number
- The number of seconds between two requests (between 5and600both included).
- healthyThreshold Number
- The number of consecutive successful requests before considering the VM as healthy (between 2and10both included).
- path String
- If you use the HTTP or HTTPS protocols, the request URL path.
- port Number
- The port number (between 1and65535, both included).
- protocol String
- The protocol for the URL of the VM (HTTP|HTTPS|TCP|SSL).
- timeout Number
- The maximum waiting time for a response before considering the VM as unhealthy, in seconds (between 2and60both included).
- unhealthyThreshold Number
- The number of consecutive failed requests before considering the VM as unhealthy (between 2and10both included).
LoadBalancerPolicyListener, LoadBalancerPolicyListenerArgs        
- BackendPort double
- The port on which the backend VM is listening (between 1and65535, both included).
- BackendProtocol string
- The protocol for routing traffic to backend VMs (HTTP|HTTPS|TCP|SSL).
- LoadBalancer doublePort 
- The port on which the load balancer is listening (between 1and65535, both included).
- LoadBalancer stringProtocol 
- The routing protocol (HTTP|HTTPS|TCP|SSL).
- PolicyNames List<string>
- The names of the policies. If there are no policies enabled, the list is empty.
- ServerCertificate stringId 
- The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
- BackendPort float64
- The port on which the backend VM is listening (between 1and65535, both included).
- BackendProtocol string
- The protocol for routing traffic to backend VMs (HTTP|HTTPS|TCP|SSL).
- LoadBalancer float64Port 
- The port on which the load balancer is listening (between 1and65535, both included).
- LoadBalancer stringProtocol 
- The routing protocol (HTTP|HTTPS|TCP|SSL).
- PolicyNames []string
- The names of the policies. If there are no policies enabled, the list is empty.
- ServerCertificate stringId 
- The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
- backendPort Double
- The port on which the backend VM is listening (between 1and65535, both included).
- backendProtocol String
- The protocol for routing traffic to backend VMs (HTTP|HTTPS|TCP|SSL).
- loadBalancer DoublePort 
- The port on which the load balancer is listening (between 1and65535, both included).
- loadBalancer StringProtocol 
- The routing protocol (HTTP|HTTPS|TCP|SSL).
- policyNames List<String>
- The names of the policies. If there are no policies enabled, the list is empty.
- serverCertificate StringId 
- The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
- backendPort number
- The port on which the backend VM is listening (between 1and65535, both included).
- backendProtocol string
- The protocol for routing traffic to backend VMs (HTTP|HTTPS|TCP|SSL).
- loadBalancer numberPort 
- The port on which the load balancer is listening (between 1and65535, both included).
- loadBalancer stringProtocol 
- The routing protocol (HTTP|HTTPS|TCP|SSL).
- policyNames string[]
- The names of the policies. If there are no policies enabled, the list is empty.
- serverCertificate stringId 
- The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
- backend_port float
- The port on which the backend VM is listening (between 1and65535, both included).
- backend_protocol str
- The protocol for routing traffic to backend VMs (HTTP|HTTPS|TCP|SSL).
- load_balancer_ floatport 
- The port on which the load balancer is listening (between 1and65535, both included).
- load_balancer_ strprotocol 
- The routing protocol (HTTP|HTTPS|TCP|SSL).
- policy_names Sequence[str]
- The names of the policies. If there are no policies enabled, the list is empty.
- server_certificate_ strid 
- The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
- backendPort Number
- The port on which the backend VM is listening (between 1and65535, both included).
- backendProtocol String
- The protocol for routing traffic to backend VMs (HTTP|HTTPS|TCP|SSL).
- loadBalancer NumberPort 
- The port on which the load balancer is listening (between 1and65535, both included).
- loadBalancer StringProtocol 
- The routing protocol (HTTP|HTTPS|TCP|SSL).
- policyNames List<String>
- The names of the policies. If there are no policies enabled, the list is empty.
- serverCertificate StringId 
- The OUTSCALE Resource Name (ORN) of the server certificate. For more information, see Resource Identifiers > OUTSCALE Resource Names (ORNs).
LoadBalancerPolicyLoadBalancerStickyCookiePolicy, LoadBalancerPolicyLoadBalancerStickyCookiePolicyArgs                
- PolicyName string
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- PolicyName string
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- policyName String
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- policyName string
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- policy_name str
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
- policyName String
- The unique name of the policy, with a maximum length of 32 alphanumeric characters and dashes (-).
LoadBalancerPolicySourceSecurityGroup, LoadBalancerPolicySourceSecurityGroupArgs            
- SecurityGroup stringAccount Id 
- The account ID of the owner of the security group.
- SecurityGroup stringName 
- The name of the security group.
- SecurityGroup stringAccount Id 
- The account ID of the owner of the security group.
- SecurityGroup stringName 
- The name of the security group.
- securityGroup StringAccount Id 
- The account ID of the owner of the security group.
- securityGroup StringName 
- The name of the security group.
- securityGroup stringAccount Id 
- The account ID of the owner of the security group.
- securityGroup stringName 
- The name of the security group.
- security_group_ straccount_ id 
- The account ID of the owner of the security group.
- security_group_ strname 
- The name of the security group.
- securityGroup StringAccount Id 
- The account ID of the owner of the security group.
- securityGroup StringName 
- The name of the security group.
LoadBalancerPolicyTag, LoadBalancerPolicyTagArgs        
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the outscaleTerraform Provider.