scaleway.LoadbalancerRoute
Explore with Pulumi AI
Creates and manages Scaleway Load-Balancer Routes. For more information, see the documentation.
Example Usage
With SNI for direction to TCP backends
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const ip01 = new scaleway.LoadbalancerIp("ip01", {});
const lb01 = new scaleway.Loadbalancer("lb01", {
ipId: ip01.id,
type: "lb-s",
});
const bkd01 = new scaleway.LoadbalancerBackend("bkd01", {
lbId: lb01.id,
forwardProtocol: "tcp",
forwardPort: 80,
proxyProtocol: "none",
});
const frt01 = new scaleway.LoadbalancerFrontend("frt01", {
lbId: lb01.id,
backendId: bkd01.id,
inboundPort: 80,
});
const rt01 = new scaleway.LoadbalancerRoute("rt01", {
frontendId: frt01.id,
backendId: bkd01.id,
matchSni: "sni.scaleway.com",
});
import pulumi
import pulumiverse_scaleway as scaleway
ip01 = scaleway.LoadbalancerIp("ip01")
lb01 = scaleway.Loadbalancer("lb01",
ip_id=ip01.id,
type="lb-s")
bkd01 = scaleway.LoadbalancerBackend("bkd01",
lb_id=lb01.id,
forward_protocol="tcp",
forward_port=80,
proxy_protocol="none")
frt01 = scaleway.LoadbalancerFrontend("frt01",
lb_id=lb01.id,
backend_id=bkd01.id,
inbound_port=80)
rt01 = scaleway.LoadbalancerRoute("rt01",
frontend_id=frt01.id,
backend_id=bkd01.id,
match_sni="sni.scaleway.com")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ip01, err := scaleway.NewLoadbalancerIp(ctx, "ip01", nil)
if err != nil {
return err
}
lb01, err := scaleway.NewLoadbalancer(ctx, "lb01", &scaleway.LoadbalancerArgs{
IpId: ip01.ID(),
Type: pulumi.String("lb-s"),
})
if err != nil {
return err
}
bkd01, err := scaleway.NewLoadbalancerBackend(ctx, "bkd01", &scaleway.LoadbalancerBackendArgs{
LbId: lb01.ID(),
ForwardProtocol: pulumi.String("tcp"),
ForwardPort: pulumi.Int(80),
ProxyProtocol: pulumi.String("none"),
})
if err != nil {
return err
}
frt01, err := scaleway.NewLoadbalancerFrontend(ctx, "frt01", &scaleway.LoadbalancerFrontendArgs{
LbId: lb01.ID(),
BackendId: bkd01.ID(),
InboundPort: pulumi.Int(80),
})
if err != nil {
return err
}
_, err = scaleway.NewLoadbalancerRoute(ctx, "rt01", &scaleway.LoadbalancerRouteArgs{
FrontendId: frt01.ID(),
BackendId: bkd01.ID(),
MatchSni: pulumi.String("sni.scaleway.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var ip01 = new Scaleway.LoadbalancerIp("ip01");
var lb01 = new Scaleway.Loadbalancer("lb01", new()
{
IpId = ip01.Id,
Type = "lb-s",
});
var bkd01 = new Scaleway.LoadbalancerBackend("bkd01", new()
{
LbId = lb01.Id,
ForwardProtocol = "tcp",
ForwardPort = 80,
ProxyProtocol = "none",
});
var frt01 = new Scaleway.LoadbalancerFrontend("frt01", new()
{
LbId = lb01.Id,
BackendId = bkd01.Id,
InboundPort = 80,
});
var rt01 = new Scaleway.LoadbalancerRoute("rt01", new()
{
FrontendId = frt01.Id,
BackendId = bkd01.Id,
MatchSni = "sni.scaleway.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.LoadbalancerIp;
import com.pulumi.scaleway.Loadbalancer;
import com.pulumi.scaleway.LoadbalancerArgs;
import com.pulumi.scaleway.LoadbalancerBackend;
import com.pulumi.scaleway.LoadbalancerBackendArgs;
import com.pulumi.scaleway.LoadbalancerFrontend;
import com.pulumi.scaleway.LoadbalancerFrontendArgs;
import com.pulumi.scaleway.LoadbalancerRoute;
import com.pulumi.scaleway.LoadbalancerRouteArgs;
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 ip01 = new LoadbalancerIp("ip01");
var lb01 = new Loadbalancer("lb01", LoadbalancerArgs.builder()
.ipId(ip01.id())
.type("lb-s")
.build());
var bkd01 = new LoadbalancerBackend("bkd01", LoadbalancerBackendArgs.builder()
.lbId(lb01.id())
.forwardProtocol("tcp")
.forwardPort(80)
.proxyProtocol("none")
.build());
var frt01 = new LoadbalancerFrontend("frt01", LoadbalancerFrontendArgs.builder()
.lbId(lb01.id())
.backendId(bkd01.id())
.inboundPort(80)
.build());
var rt01 = new LoadbalancerRoute("rt01", LoadbalancerRouteArgs.builder()
.frontendId(frt01.id())
.backendId(bkd01.id())
.matchSni("sni.scaleway.com")
.build());
}
}
resources:
ip01:
type: scaleway:LoadbalancerIp
lb01:
type: scaleway:Loadbalancer
properties:
ipId: ${ip01.id}
type: lb-s
bkd01:
type: scaleway:LoadbalancerBackend
properties:
lbId: ${lb01.id}
forwardProtocol: tcp
forwardPort: 80
proxyProtocol: none
frt01:
type: scaleway:LoadbalancerFrontend
properties:
lbId: ${lb01.id}
backendId: ${bkd01.id}
inboundPort: 80
rt01:
type: scaleway:LoadbalancerRoute
properties:
frontendId: ${frt01.id}
backendId: ${bkd01.id}
matchSni: sni.scaleway.com
With host-header for direction to HTTP backends
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const ip01 = new scaleway.LoadbalancerIp("ip01", {});
const lb01 = new scaleway.Loadbalancer("lb01", {
ipId: ip01.id,
type: "lb-s",
});
const bkd01 = new scaleway.LoadbalancerBackend("bkd01", {
lbId: lb01.id,
forwardProtocol: "http",
forwardPort: 80,
proxyProtocol: "none",
});
const frt01 = new scaleway.LoadbalancerFrontend("frt01", {
lbId: lb01.id,
backendId: bkd01.id,
inboundPort: 80,
});
const rt01 = new scaleway.LoadbalancerRoute("rt01", {
frontendId: frt01.id,
backendId: bkd01.id,
matchHostHeader: "host.scaleway.com",
});
import pulumi
import pulumiverse_scaleway as scaleway
ip01 = scaleway.LoadbalancerIp("ip01")
lb01 = scaleway.Loadbalancer("lb01",
ip_id=ip01.id,
type="lb-s")
bkd01 = scaleway.LoadbalancerBackend("bkd01",
lb_id=lb01.id,
forward_protocol="http",
forward_port=80,
proxy_protocol="none")
frt01 = scaleway.LoadbalancerFrontend("frt01",
lb_id=lb01.id,
backend_id=bkd01.id,
inbound_port=80)
rt01 = scaleway.LoadbalancerRoute("rt01",
frontend_id=frt01.id,
backend_id=bkd01.id,
match_host_header="host.scaleway.com")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ip01, err := scaleway.NewLoadbalancerIp(ctx, "ip01", nil)
if err != nil {
return err
}
lb01, err := scaleway.NewLoadbalancer(ctx, "lb01", &scaleway.LoadbalancerArgs{
IpId: ip01.ID(),
Type: pulumi.String("lb-s"),
})
if err != nil {
return err
}
bkd01, err := scaleway.NewLoadbalancerBackend(ctx, "bkd01", &scaleway.LoadbalancerBackendArgs{
LbId: lb01.ID(),
ForwardProtocol: pulumi.String("http"),
ForwardPort: pulumi.Int(80),
ProxyProtocol: pulumi.String("none"),
})
if err != nil {
return err
}
frt01, err := scaleway.NewLoadbalancerFrontend(ctx, "frt01", &scaleway.LoadbalancerFrontendArgs{
LbId: lb01.ID(),
BackendId: bkd01.ID(),
InboundPort: pulumi.Int(80),
})
if err != nil {
return err
}
_, err = scaleway.NewLoadbalancerRoute(ctx, "rt01", &scaleway.LoadbalancerRouteArgs{
FrontendId: frt01.ID(),
BackendId: bkd01.ID(),
MatchHostHeader: pulumi.String("host.scaleway.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var ip01 = new Scaleway.LoadbalancerIp("ip01");
var lb01 = new Scaleway.Loadbalancer("lb01", new()
{
IpId = ip01.Id,
Type = "lb-s",
});
var bkd01 = new Scaleway.LoadbalancerBackend("bkd01", new()
{
LbId = lb01.Id,
ForwardProtocol = "http",
ForwardPort = 80,
ProxyProtocol = "none",
});
var frt01 = new Scaleway.LoadbalancerFrontend("frt01", new()
{
LbId = lb01.Id,
BackendId = bkd01.Id,
InboundPort = 80,
});
var rt01 = new Scaleway.LoadbalancerRoute("rt01", new()
{
FrontendId = frt01.Id,
BackendId = bkd01.Id,
MatchHostHeader = "host.scaleway.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.LoadbalancerIp;
import com.pulumi.scaleway.Loadbalancer;
import com.pulumi.scaleway.LoadbalancerArgs;
import com.pulumi.scaleway.LoadbalancerBackend;
import com.pulumi.scaleway.LoadbalancerBackendArgs;
import com.pulumi.scaleway.LoadbalancerFrontend;
import com.pulumi.scaleway.LoadbalancerFrontendArgs;
import com.pulumi.scaleway.LoadbalancerRoute;
import com.pulumi.scaleway.LoadbalancerRouteArgs;
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 ip01 = new LoadbalancerIp("ip01");
var lb01 = new Loadbalancer("lb01", LoadbalancerArgs.builder()
.ipId(ip01.id())
.type("lb-s")
.build());
var bkd01 = new LoadbalancerBackend("bkd01", LoadbalancerBackendArgs.builder()
.lbId(lb01.id())
.forwardProtocol("http")
.forwardPort(80)
.proxyProtocol("none")
.build());
var frt01 = new LoadbalancerFrontend("frt01", LoadbalancerFrontendArgs.builder()
.lbId(lb01.id())
.backendId(bkd01.id())
.inboundPort(80)
.build());
var rt01 = new LoadbalancerRoute("rt01", LoadbalancerRouteArgs.builder()
.frontendId(frt01.id())
.backendId(bkd01.id())
.matchHostHeader("host.scaleway.com")
.build());
}
}
resources:
ip01:
type: scaleway:LoadbalancerIp
lb01:
type: scaleway:Loadbalancer
properties:
ipId: ${ip01.id}
type: lb-s
bkd01:
type: scaleway:LoadbalancerBackend
properties:
lbId: ${lb01.id}
forwardProtocol: http
forwardPort: 80
proxyProtocol: none
frt01:
type: scaleway:LoadbalancerFrontend
properties:
lbId: ${lb01.id}
backendId: ${bkd01.id}
inboundPort: 80
rt01:
type: scaleway:LoadbalancerRoute
properties:
frontendId: ${frt01.id}
backendId: ${bkd01.id}
matchHostHeader: host.scaleway.com
Create LoadbalancerRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoadbalancerRoute(name: string, args: LoadbalancerRouteArgs, opts?: CustomResourceOptions);
@overload
def LoadbalancerRoute(resource_name: str,
args: LoadbalancerRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoadbalancerRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
backend_id: Optional[str] = None,
frontend_id: Optional[str] = None,
match_host_header: Optional[str] = None,
match_sni: Optional[str] = None)
func NewLoadbalancerRoute(ctx *Context, name string, args LoadbalancerRouteArgs, opts ...ResourceOption) (*LoadbalancerRoute, error)
public LoadbalancerRoute(string name, LoadbalancerRouteArgs args, CustomResourceOptions? opts = null)
public LoadbalancerRoute(String name, LoadbalancerRouteArgs args)
public LoadbalancerRoute(String name, LoadbalancerRouteArgs args, CustomResourceOptions options)
type: scaleway:LoadbalancerRoute
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 LoadbalancerRouteArgs
- 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 LoadbalancerRouteArgs
- 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 LoadbalancerRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadbalancerRouteArgs
- 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 loadbalancerRouteResource = new Scaleway.LoadbalancerRoute("loadbalancerRouteResource", new()
{
BackendId = "string",
FrontendId = "string",
MatchHostHeader = "string",
MatchSni = "string",
});
example, err := scaleway.NewLoadbalancerRoute(ctx, "loadbalancerRouteResource", &scaleway.LoadbalancerRouteArgs{
BackendId: pulumi.String("string"),
FrontendId: pulumi.String("string"),
MatchHostHeader: pulumi.String("string"),
MatchSni: pulumi.String("string"),
})
var loadbalancerRouteResource = new LoadbalancerRoute("loadbalancerRouteResource", LoadbalancerRouteArgs.builder()
.backendId("string")
.frontendId("string")
.matchHostHeader("string")
.matchSni("string")
.build());
loadbalancer_route_resource = scaleway.LoadbalancerRoute("loadbalancerRouteResource",
backend_id="string",
frontend_id="string",
match_host_header="string",
match_sni="string")
const loadbalancerRouteResource = new scaleway.LoadbalancerRoute("loadbalancerRouteResource", {
backendId: "string",
frontendId: "string",
matchHostHeader: "string",
matchSni: "string",
});
type: scaleway:LoadbalancerRoute
properties:
backendId: string
frontendId: string
matchHostHeader: string
matchSni: string
LoadbalancerRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LoadbalancerRoute resource accepts the following input properties:
- Backend
Id string - The ID of the backend to which the route is associated.
- Frontend
Id string - The ID of the frontend to which the route is associated.
- Match
Host stringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- Match
Sni string The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- Backend
Id string - The ID of the backend to which the route is associated.
- Frontend
Id string - The ID of the frontend to which the route is associated.
- Match
Host stringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- Match
Sni string The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- backend
Id String - The ID of the backend to which the route is associated.
- frontend
Id String - The ID of the frontend to which the route is associated.
- match
Host StringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match
Sni String The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- backend
Id string - The ID of the backend to which the route is associated.
- frontend
Id string - The ID of the frontend to which the route is associated.
- match
Host stringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match
Sni string The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- backend_
id str - The ID of the backend to which the route is associated.
- frontend_
id str - The ID of the frontend to which the route is associated.
- match_
host_ strheader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match_
sni str The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- backend
Id String - The ID of the backend to which the route is associated.
- frontend
Id String - The ID of the frontend to which the route is associated.
- match
Host StringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match
Sni String The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
Outputs
All input properties are implicitly available as output properties. Additionally, the LoadbalancerRoute resource produces the following output properties:
- created_
at str - The date at which the route was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - The date at which the route was last updated.
Look up Existing LoadbalancerRoute Resource
Get an existing LoadbalancerRoute 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?: LoadbalancerRouteState, opts?: CustomResourceOptions): LoadbalancerRoute
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backend_id: Optional[str] = None,
created_at: Optional[str] = None,
frontend_id: Optional[str] = None,
match_host_header: Optional[str] = None,
match_sni: Optional[str] = None,
updated_at: Optional[str] = None) -> LoadbalancerRoute
func GetLoadbalancerRoute(ctx *Context, name string, id IDInput, state *LoadbalancerRouteState, opts ...ResourceOption) (*LoadbalancerRoute, error)
public static LoadbalancerRoute Get(string name, Input<string> id, LoadbalancerRouteState? state, CustomResourceOptions? opts = null)
public static LoadbalancerRoute get(String name, Output<String> id, LoadbalancerRouteState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backend
Id string - The ID of the backend to which the route is associated.
- Created
At string - The date at which the route was created.
- Frontend
Id string - The ID of the frontend to which the route is associated.
- Match
Host stringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- Match
Sni string The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- Updated
At string - The date at which the route was last updated.
- Backend
Id string - The ID of the backend to which the route is associated.
- Created
At string - The date at which the route was created.
- Frontend
Id string - The ID of the frontend to which the route is associated.
- Match
Host stringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- Match
Sni string The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- Updated
At string - The date at which the route was last updated.
- backend
Id String - The ID of the backend to which the route is associated.
- created
At String - The date at which the route was created.
- frontend
Id String - The ID of the frontend to which the route is associated.
- match
Host StringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match
Sni String The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- updated
At String - The date at which the route was last updated.
- backend
Id string - The ID of the backend to which the route is associated.
- created
At string - The date at which the route was created.
- frontend
Id string - The ID of the frontend to which the route is associated.
- match
Host stringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match
Sni string The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- updated
At string - The date at which the route was last updated.
- backend_
id str - The ID of the backend to which the route is associated.
- created_
at str - The date at which the route was created.
- frontend_
id str - The ID of the frontend to which the route is associated.
- match_
host_ strheader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match_
sni str The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- updated_
at str - The date at which the route was last updated.
- backend
Id String - The ID of the backend to which the route is associated.
- created
At String - The date at which the route was created.
- frontend
Id String - The ID of the frontend to which the route is associated.
- match
Host StringHeader The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on HTTP Load Balancers.
- match
Sni String The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of
match_sni
andmatch_host_header
should be specified.Important: This field should be set for routes on TCP Load Balancers.
- updated
At String - The date at which the route was last updated.
Import
Load-Balancer frontend can be imported using the {zone}/{id}
, e.g.
bash
$ pulumi import scaleway:index/loadbalancerRoute:LoadbalancerRoute main fr-par-1/11111111-1111-1111-1111-111111111111
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.