1. Packages
  2. OVH
  3. API Docs
  4. IpLoadBalancing
  5. TcpFrontend
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

ovh.IpLoadBalancing.TcpFrontend

Explore with Pulumi AI

Creates a backend server group (frontend) to be used by loadbalancing frontend(s)

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
import * as ovh from "@pulumi/ovh";

const lb = ovh.IpLoadBalancing.getIpLoadBalancing({
    serviceName: "ip-1.2.3.4",
    state: "ok",
});
const farm80 = new ovh.iploadbalancing.TcpFarm("farm80", {
    displayName: "ingress-8080-gra",
    port: 80,
    serviceName: lb.then(lb => lb.serviceName),
    zone: "all",
});
const testFrontend = new ovh.iploadbalancing.TcpFrontend("testFrontend", {
    defaultFarmId: farm80.id,
    displayName: "ingress-8080-gra",
    port: "80,443",
    serviceName: lb.then(lb => lb.serviceName),
    zone: "all",
});
Copy
import pulumi
import pulumi_ovh as ovh

lb = ovh.IpLoadBalancing.get_ip_load_balancing(service_name="ip-1.2.3.4",
    state="ok")
farm80 = ovh.ip_load_balancing.TcpFarm("farm80",
    display_name="ingress-8080-gra",
    port=80,
    service_name=lb.service_name,
    zone="all")
test_frontend = ovh.ip_load_balancing.TcpFrontend("testFrontend",
    default_farm_id=farm80.id,
    display_name="ingress-8080-gra",
    port="80,443",
    service_name=lb.service_name,
    zone="all")
Copy
package main

import (
	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/iploadbalancing"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		lb, err := iploadbalancing.GetIpLoadBalancing(ctx, &iploadbalancing.GetIpLoadBalancingArgs{
			ServiceName: pulumi.StringRef("ip-1.2.3.4"),
			State:       pulumi.StringRef("ok"),
		}, nil)
		if err != nil {
			return err
		}
		farm80, err := iploadbalancing.NewTcpFarm(ctx, "farm80", &iploadbalancing.TcpFarmArgs{
			DisplayName: pulumi.String("ingress-8080-gra"),
			Port:        pulumi.Int(80),
			ServiceName: pulumi.String(lb.ServiceName),
			Zone:        pulumi.String("all"),
		})
		if err != nil {
			return err
		}
		_, err = iploadbalancing.NewTcpFrontend(ctx, "testFrontend", &iploadbalancing.TcpFrontendArgs{
			DefaultFarmId: farm80.ID(),
			DisplayName:   pulumi.String("ingress-8080-gra"),
			Port:          pulumi.String("80,443"),
			ServiceName:   pulumi.String(lb.ServiceName),
			Zone:          pulumi.String("all"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var lb = Ovh.IpLoadBalancing.GetIpLoadBalancing.Invoke(new()
    {
        ServiceName = "ip-1.2.3.4",
        State = "ok",
    });

    var farm80 = new Ovh.IpLoadBalancing.TcpFarm("farm80", new()
    {
        DisplayName = "ingress-8080-gra",
        Port = 80,
        ServiceName = lb.Apply(getIpLoadBalancingResult => getIpLoadBalancingResult.ServiceName),
        Zone = "all",
    });

    var testFrontend = new Ovh.IpLoadBalancing.TcpFrontend("testFrontend", new()
    {
        DefaultFarmId = farm80.Id,
        DisplayName = "ingress-8080-gra",
        Port = "80,443",
        ServiceName = lb.Apply(getIpLoadBalancingResult => getIpLoadBalancingResult.ServiceName),
        Zone = "all",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.IpLoadBalancing.IpLoadBalancingFunctions;
import com.pulumi.ovh.IpLoadBalancing.inputs.GetIpLoadBalancingArgs;
import com.ovhcloud.pulumi.ovh.IpLoadBalancing.TcpFarm;
import com.ovhcloud.pulumi.ovh.IpLoadBalancing.TcpFarmArgs;
import com.ovhcloud.pulumi.ovh.IpLoadBalancing.TcpFrontend;
import com.ovhcloud.pulumi.ovh.IpLoadBalancing.TcpFrontendArgs;
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) {
        final var lb = IpLoadBalancingFunctions.getIpLoadBalancing(GetIpLoadBalancingArgs.builder()
            .serviceName("ip-1.2.3.4")
            .state("ok")
            .build());

        var farm80 = new TcpFarm("farm80", TcpFarmArgs.builder()
            .displayName("ingress-8080-gra")
            .port(80)
            .serviceName(lb.serviceName())
            .zone("all")
            .build());

        var testFrontend = new TcpFrontend("testFrontend", TcpFrontendArgs.builder()
            .defaultFarmId(farm80.id())
            .displayName("ingress-8080-gra")
            .port("80,443")
            .serviceName(lb.serviceName())
            .zone("all")
            .build());

    }
}
Copy
resources:
  farm80:
    type: ovh:IpLoadBalancing:TcpFarm
    properties:
      displayName: ingress-8080-gra
      port: 80
      serviceName: ${lb.serviceName}
      zone: all
  testFrontend:
    type: ovh:IpLoadBalancing:TcpFrontend
    properties:
      defaultFarmId: ${farm80.id}
      displayName: ingress-8080-gra
      port: 80,443
      serviceName: ${lb.serviceName}
      zone: all
variables:
  lb:
    fn::invoke:
      function: ovh:IpLoadBalancing:getIpLoadBalancing
      arguments:
        serviceName: ip-1.2.3.4
        state: ok
Copy

Create TcpFrontend Resource

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

Constructor syntax

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

@overload
def TcpFrontend(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                port: Optional[str] = None,
                service_name: Optional[str] = None,
                zone: Optional[str] = None,
                allowed_sources: Optional[Sequence[str]] = None,
                dedicated_ipfos: Optional[Sequence[str]] = None,
                default_farm_id: Optional[int] = None,
                default_ssl_id: Optional[int] = None,
                denied_sources: Optional[Sequence[str]] = None,
                disabled: Optional[bool] = None,
                display_name: Optional[str] = None,
                ssl: Optional[bool] = None)
func NewTcpFrontend(ctx *Context, name string, args TcpFrontendArgs, opts ...ResourceOption) (*TcpFrontend, error)
public TcpFrontend(string name, TcpFrontendArgs args, CustomResourceOptions? opts = null)
public TcpFrontend(String name, TcpFrontendArgs args)
public TcpFrontend(String name, TcpFrontendArgs args, CustomResourceOptions options)
type: ovh:IpLoadBalancing:TcpFrontend
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. TcpFrontendArgs
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. TcpFrontendArgs
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. TcpFrontendArgs
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. TcpFrontendArgs
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. TcpFrontendArgs
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 tcpFrontendResource = new Ovh.IpLoadBalancing.TcpFrontend("tcpFrontendResource", new()
{
    Port = "string",
    ServiceName = "string",
    Zone = "string",
    AllowedSources = new[]
    {
        "string",
    },
    DedicatedIpfos = new[]
    {
        "string",
    },
    DefaultFarmId = 0,
    DefaultSslId = 0,
    DeniedSources = new[]
    {
        "string",
    },
    Disabled = false,
    DisplayName = "string",
    Ssl = false,
});
Copy
example, err := IpLoadBalancing.NewTcpFrontend(ctx, "tcpFrontendResource", &IpLoadBalancing.TcpFrontendArgs{
	Port:        pulumi.String("string"),
	ServiceName: pulumi.String("string"),
	Zone:        pulumi.String("string"),
	AllowedSources: pulumi.StringArray{
		pulumi.String("string"),
	},
	DedicatedIpfos: pulumi.StringArray{
		pulumi.String("string"),
	},
	DefaultFarmId: pulumi.Int(0),
	DefaultSslId:  pulumi.Int(0),
	DeniedSources: pulumi.StringArray{
		pulumi.String("string"),
	},
	Disabled:    pulumi.Bool(false),
	DisplayName: pulumi.String("string"),
	Ssl:         pulumi.Bool(false),
})
Copy
var tcpFrontendResource = new TcpFrontend("tcpFrontendResource", TcpFrontendArgs.builder()
    .port("string")
    .serviceName("string")
    .zone("string")
    .allowedSources("string")
    .dedicatedIpfos("string")
    .defaultFarmId(0)
    .defaultSslId(0)
    .deniedSources("string")
    .disabled(false)
    .displayName("string")
    .ssl(false)
    .build());
Copy
tcp_frontend_resource = ovh.ip_load_balancing.TcpFrontend("tcpFrontendResource",
    port="string",
    service_name="string",
    zone="string",
    allowed_sources=["string"],
    dedicated_ipfos=["string"],
    default_farm_id=0,
    default_ssl_id=0,
    denied_sources=["string"],
    disabled=False,
    display_name="string",
    ssl=False)
Copy
const tcpFrontendResource = new ovh.iploadbalancing.TcpFrontend("tcpFrontendResource", {
    port: "string",
    serviceName: "string",
    zone: "string",
    allowedSources: ["string"],
    dedicatedIpfos: ["string"],
    defaultFarmId: 0,
    defaultSslId: 0,
    deniedSources: ["string"],
    disabled: false,
    displayName: "string",
    ssl: false,
});
Copy
type: ovh:IpLoadBalancing:TcpFrontend
properties:
    allowedSources:
        - string
    dedicatedIpfos:
        - string
    defaultFarmId: 0
    defaultSslId: 0
    deniedSources:
        - string
    disabled: false
    displayName: string
    port: string
    serviceName: string
    ssl: false
    zone: string
Copy

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

Port This property is required. string
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
The internal name of your IP load balancing
Zone This property is required. string
Zone where the frontend will be defined (ie. gra, bhs also supports all)
AllowedSources List<string>
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
DedicatedIpfos List<string>
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
DefaultFarmId int
Default TCP Farm of your frontend
DefaultSslId int
Default ssl served to your customer
DeniedSources List<string>
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
Disabled bool
Disable your frontend. Default: 'false'
DisplayName string
Human readable name for your frontend, this field is for you
Ssl bool
SSL deciphering. Default: 'false'
Port This property is required. string
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
The internal name of your IP load balancing
Zone This property is required. string
Zone where the frontend will be defined (ie. gra, bhs also supports all)
AllowedSources []string
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
DedicatedIpfos []string
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
DefaultFarmId int
Default TCP Farm of your frontend
DefaultSslId int
Default ssl served to your customer
DeniedSources []string
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
Disabled bool
Disable your frontend. Default: 'false'
DisplayName string
Human readable name for your frontend, this field is for you
Ssl bool
SSL deciphering. Default: 'false'
port This property is required. String
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
serviceName
This property is required.
Changes to this property will trigger replacement.
String
The internal name of your IP load balancing
zone This property is required. String
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowedSources List<String>
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicatedIpfos List<String>
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
defaultFarmId Integer
Default TCP Farm of your frontend
defaultSslId Integer
Default ssl served to your customer
deniedSources List<String>
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled Boolean
Disable your frontend. Default: 'false'
displayName String
Human readable name for your frontend, this field is for you
ssl Boolean
SSL deciphering. Default: 'false'
port This property is required. string
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
serviceName
This property is required.
Changes to this property will trigger replacement.
string
The internal name of your IP load balancing
zone This property is required. string
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowedSources string[]
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicatedIpfos string[]
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
defaultFarmId number
Default TCP Farm of your frontend
defaultSslId number
Default ssl served to your customer
deniedSources string[]
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled boolean
Disable your frontend. Default: 'false'
displayName string
Human readable name for your frontend, this field is for you
ssl boolean
SSL deciphering. Default: 'false'
port This property is required. str
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
service_name
This property is required.
Changes to this property will trigger replacement.
str
The internal name of your IP load balancing
zone This property is required. str
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowed_sources Sequence[str]
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicated_ipfos Sequence[str]
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
default_farm_id int
Default TCP Farm of your frontend
default_ssl_id int
Default ssl served to your customer
denied_sources Sequence[str]
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled bool
Disable your frontend. Default: 'false'
display_name str
Human readable name for your frontend, this field is for you
ssl bool
SSL deciphering. Default: 'false'
port This property is required. String
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
serviceName
This property is required.
Changes to this property will trigger replacement.
String
The internal name of your IP load balancing
zone This property is required. String
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowedSources List<String>
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicatedIpfos List<String>
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
defaultFarmId Number
Default TCP Farm of your frontend
defaultSslId Number
Default ssl served to your customer
deniedSources List<String>
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled Boolean
Disable your frontend. Default: 'false'
displayName String
Human readable name for your frontend, this field is for you
ssl Boolean
SSL deciphering. Default: 'false'

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing TcpFrontend Resource

Get an existing TcpFrontend 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?: TcpFrontendState, opts?: CustomResourceOptions): TcpFrontend
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allowed_sources: Optional[Sequence[str]] = None,
        dedicated_ipfos: Optional[Sequence[str]] = None,
        default_farm_id: Optional[int] = None,
        default_ssl_id: Optional[int] = None,
        denied_sources: Optional[Sequence[str]] = None,
        disabled: Optional[bool] = None,
        display_name: Optional[str] = None,
        port: Optional[str] = None,
        service_name: Optional[str] = None,
        ssl: Optional[bool] = None,
        zone: Optional[str] = None) -> TcpFrontend
func GetTcpFrontend(ctx *Context, name string, id IDInput, state *TcpFrontendState, opts ...ResourceOption) (*TcpFrontend, error)
public static TcpFrontend Get(string name, Input<string> id, TcpFrontendState? state, CustomResourceOptions? opts = null)
public static TcpFrontend get(String name, Output<String> id, TcpFrontendState state, CustomResourceOptions options)
resources:  _:    type: ovh:IpLoadBalancing:TcpFrontend    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:
AllowedSources List<string>
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
DedicatedIpfos List<string>
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
DefaultFarmId int
Default TCP Farm of your frontend
DefaultSslId int
Default ssl served to your customer
DeniedSources List<string>
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
Disabled bool
Disable your frontend. Default: 'false'
DisplayName string
Human readable name for your frontend, this field is for you
Port string
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
ServiceName Changes to this property will trigger replacement. string
The internal name of your IP load balancing
Ssl bool
SSL deciphering. Default: 'false'
Zone string
Zone where the frontend will be defined (ie. gra, bhs also supports all)
AllowedSources []string
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
DedicatedIpfos []string
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
DefaultFarmId int
Default TCP Farm of your frontend
DefaultSslId int
Default ssl served to your customer
DeniedSources []string
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
Disabled bool
Disable your frontend. Default: 'false'
DisplayName string
Human readable name for your frontend, this field is for you
Port string
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
ServiceName Changes to this property will trigger replacement. string
The internal name of your IP load balancing
Ssl bool
SSL deciphering. Default: 'false'
Zone string
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowedSources List<String>
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicatedIpfos List<String>
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
defaultFarmId Integer
Default TCP Farm of your frontend
defaultSslId Integer
Default ssl served to your customer
deniedSources List<String>
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled Boolean
Disable your frontend. Default: 'false'
displayName String
Human readable name for your frontend, this field is for you
port String
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
serviceName Changes to this property will trigger replacement. String
The internal name of your IP load balancing
ssl Boolean
SSL deciphering. Default: 'false'
zone String
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowedSources string[]
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicatedIpfos string[]
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
defaultFarmId number
Default TCP Farm of your frontend
defaultSslId number
Default ssl served to your customer
deniedSources string[]
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled boolean
Disable your frontend. Default: 'false'
displayName string
Human readable name for your frontend, this field is for you
port string
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
serviceName Changes to this property will trigger replacement. string
The internal name of your IP load balancing
ssl boolean
SSL deciphering. Default: 'false'
zone string
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowed_sources Sequence[str]
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicated_ipfos Sequence[str]
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
default_farm_id int
Default TCP Farm of your frontend
default_ssl_id int
Default ssl served to your customer
denied_sources Sequence[str]
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled bool
Disable your frontend. Default: 'false'
display_name str
Human readable name for your frontend, this field is for you
port str
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
service_name Changes to this property will trigger replacement. str
The internal name of your IP load balancing
ssl bool
SSL deciphering. Default: 'false'
zone str
Zone where the frontend will be defined (ie. gra, bhs also supports all)
allowedSources List<String>
Restrict IP Load Balancing access to these ip block. No restriction if null. List of IP blocks.
dedicatedIpfos List<String>
Only attach frontend on these ip. No restriction if null. List of Ip blocks.
defaultFarmId Number
Default TCP Farm of your frontend
defaultSslId Number
Default ssl served to your customer
deniedSources List<String>
Deny IP Load Balancing access to these ip block. No restriction if null. You cannot specify both allowed_source and denied_source at the same time. List of IP blocks.
disabled Boolean
Disable your frontend. Default: 'false'
displayName String
Human readable name for your frontend, this field is for you
port String
Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range
serviceName Changes to this property will trigger replacement. String
The internal name of your IP load balancing
ssl Boolean
SSL deciphering. Default: 'false'
zone String
Zone where the frontend will be defined (ie. gra, bhs also supports all)

Import

TCP frontend can be imported using the following format service_name and the id of the frontend separated by “/” e.g.

bash

$ pulumi import ovh:IpLoadBalancing/tcpFrontend:TcpFrontend testfrontend service_name/tcp_frontend_id
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ovh ovh/pulumi-ovh
License
Apache-2.0
Notes
This Pulumi package is based on the ovh Terraform Provider.