edgecenter.Lblistener
Explore with Pulumi AI
Represent a load balancer listener. Can not be created without a load balancer. A listener is a process that checks for connection requests using the protocol and port that you configure.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const lb = new edgecenter.Loadbalancerv2("lb", {
projectId: 1,
regionId: 1,
flavor: "lb1-1-2",
});
const listener = new edgecenter.Lblistener("listener", {
projectId: 1,
regionId: 1,
protocol: "TCP",
protocolPort: 36621,
allowedCidrs: [
"127.0.0.0/24",
"192.168.0.0/24",
],
loadbalancerId: lb.loadbalancerv2Id,
});
import pulumi
import pulumi_edgecenter as edgecenter
lb = edgecenter.Loadbalancerv2("lb",
project_id=1,
region_id=1,
flavor="lb1-1-2")
listener = edgecenter.Lblistener("listener",
project_id=1,
region_id=1,
protocol="TCP",
protocol_port=36621,
allowed_cidrs=[
"127.0.0.0/24",
"192.168.0.0/24",
],
loadbalancer_id=lb.loadbalancerv2_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
lb, err := edgecenter.NewLoadbalancerv2(ctx, "lb", &edgecenter.Loadbalancerv2Args{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
Flavor: pulumi.String("lb1-1-2"),
})
if err != nil {
return err
}
_, err = edgecenter.NewLblistener(ctx, "listener", &edgecenter.LblistenerArgs{
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
Protocol: pulumi.String("TCP"),
ProtocolPort: pulumi.Float64(36621),
AllowedCidrs: pulumi.StringArray{
pulumi.String("127.0.0.0/24"),
pulumi.String("192.168.0.0/24"),
},
LoadbalancerId: lb.Loadbalancerv2Id,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var lb = new Edgecenter.Loadbalancerv2("lb", new()
{
ProjectId = 1,
RegionId = 1,
Flavor = "lb1-1-2",
});
var listener = new Edgecenter.Lblistener("listener", new()
{
ProjectId = 1,
RegionId = 1,
Protocol = "TCP",
ProtocolPort = 36621,
AllowedCidrs = new[]
{
"127.0.0.0/24",
"192.168.0.0/24",
},
LoadbalancerId = lb.Loadbalancerv2Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.Loadbalancerv2;
import com.pulumi.edgecenter.Loadbalancerv2Args;
import com.pulumi.edgecenter.Lblistener;
import com.pulumi.edgecenter.LblistenerArgs;
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 lb = new Loadbalancerv2("lb", Loadbalancerv2Args.builder()
.projectId(1)
.regionId(1)
.flavor("lb1-1-2")
.build());
var listener = new Lblistener("listener", LblistenerArgs.builder()
.projectId(1)
.regionId(1)
.protocol("TCP")
.protocolPort(36621)
.allowedCidrs(
"127.0.0.0/24",
"192.168.0.0/24")
.loadbalancerId(lb.loadbalancerv2Id())
.build());
}
}
resources:
lb:
type: edgecenter:Loadbalancerv2
properties:
projectId: 1
regionId: 1
flavor: lb1-1-2
listener:
type: edgecenter:Lblistener
properties:
projectId: 1
regionId: 1
protocol: TCP
protocolPort: 36621
allowedCidrs:
- 127.0.0.0/24
- 192.168.0.0/24
loadbalancerId: ${lb.loadbalancerv2Id}
Create Lblistener Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Lblistener(name: string, args: LblistenerArgs, opts?: CustomResourceOptions);
@overload
def Lblistener(resource_name: str,
args: LblistenerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Lblistener(resource_name: str,
opts: Optional[ResourceOptions] = None,
protocol: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
protocol_port: Optional[float] = None,
region_id: Optional[float] = None,
last_updated: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
insert_x_forwarded: Optional[bool] = None,
allowed_cidrs: Optional[Sequence[str]] = None,
lblistener_id: Optional[str] = None,
region_name: Optional[str] = None,
secret_id: Optional[str] = None,
sni_secret_ids: Optional[Sequence[str]] = None,
timeout_client_data: Optional[float] = None,
timeout_member_connect: Optional[float] = None,
timeout_member_data: Optional[float] = None,
timeouts: Optional[LblistenerTimeoutsArgs] = None)
func NewLblistener(ctx *Context, name string, args LblistenerArgs, opts ...ResourceOption) (*Lblistener, error)
public Lblistener(string name, LblistenerArgs args, CustomResourceOptions? opts = null)
public Lblistener(String name, LblistenerArgs args)
public Lblistener(String name, LblistenerArgs args, CustomResourceOptions options)
type: edgecenter:Lblistener
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 LblistenerArgs
- 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 LblistenerArgs
- 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 LblistenerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LblistenerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LblistenerArgs
- 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 lblistenerResource = new Edgecenter.Lblistener("lblistenerResource", new()
{
Protocol = "string",
LoadbalancerId = "string",
ProtocolPort = 0,
RegionId = 0,
LastUpdated = "string",
Name = "string",
ProjectId = 0,
ProjectName = "string",
InsertXForwarded = false,
AllowedCidrs = new[]
{
"string",
},
LblistenerId = "string",
RegionName = "string",
SecretId = "string",
SniSecretIds = new[]
{
"string",
},
TimeoutClientData = 0,
TimeoutMemberConnect = 0,
TimeoutMemberData = 0,
Timeouts = new Edgecenter.Inputs.LblistenerTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := edgecenter.NewLblistener(ctx, "lblistenerResource", &edgecenter.LblistenerArgs{
Protocol: pulumi.String("string"),
LoadbalancerId: pulumi.String("string"),
ProtocolPort: pulumi.Float64(0),
RegionId: pulumi.Float64(0),
LastUpdated: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.Float64(0),
ProjectName: pulumi.String("string"),
InsertXForwarded: pulumi.Bool(false),
AllowedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
LblistenerId: pulumi.String("string"),
RegionName: pulumi.String("string"),
SecretId: pulumi.String("string"),
SniSecretIds: pulumi.StringArray{
pulumi.String("string"),
},
TimeoutClientData: pulumi.Float64(0),
TimeoutMemberConnect: pulumi.Float64(0),
TimeoutMemberData: pulumi.Float64(0),
Timeouts: &edgecenter.LblistenerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var lblistenerResource = new Lblistener("lblistenerResource", LblistenerArgs.builder()
.protocol("string")
.loadbalancerId("string")
.protocolPort(0)
.regionId(0)
.lastUpdated("string")
.name("string")
.projectId(0)
.projectName("string")
.insertXForwarded(false)
.allowedCidrs("string")
.lblistenerId("string")
.regionName("string")
.secretId("string")
.sniSecretIds("string")
.timeoutClientData(0)
.timeoutMemberConnect(0)
.timeoutMemberData(0)
.timeouts(LblistenerTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
lblistener_resource = edgecenter.Lblistener("lblistenerResource",
protocol="string",
loadbalancer_id="string",
protocol_port=0,
region_id=0,
last_updated="string",
name="string",
project_id=0,
project_name="string",
insert_x_forwarded=False,
allowed_cidrs=["string"],
lblistener_id="string",
region_name="string",
secret_id="string",
sni_secret_ids=["string"],
timeout_client_data=0,
timeout_member_connect=0,
timeout_member_data=0,
timeouts={
"create": "string",
"delete": "string",
})
const lblistenerResource = new edgecenter.Lblistener("lblistenerResource", {
protocol: "string",
loadbalancerId: "string",
protocolPort: 0,
regionId: 0,
lastUpdated: "string",
name: "string",
projectId: 0,
projectName: "string",
insertXForwarded: false,
allowedCidrs: ["string"],
lblistenerId: "string",
regionName: "string",
secretId: "string",
sniSecretIds: ["string"],
timeoutClientData: 0,
timeoutMemberConnect: 0,
timeoutMemberData: 0,
timeouts: {
create: "string",
"delete": "string",
},
});
type: edgecenter:Lblistener
properties:
allowedCidrs:
- string
insertXForwarded: false
lastUpdated: string
lblistenerId: string
loadbalancerId: string
name: string
projectId: 0
projectName: string
protocol: string
protocolPort: 0
regionId: 0
regionName: string
secretId: string
sniSecretIds:
- string
timeoutClientData: 0
timeoutMemberConnect: 0
timeoutMemberData: 0
timeouts:
create: string
delete: string
Lblistener 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 Lblistener resource accepts the following input properties:
- Loadbalancer
Id string - The uuid for the load balancer.
- Protocol string
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- Protocol
Port double - The port on which the protocol is bound.
- Allowed
Cidrs List<string> - The allowed CIDRs for listener.
- Insert
XForwarded bool - Insert *-forwarded headers
- Last
Updated string - The timestamp of the last update (use with update context).
- Lblistener
Id string - The ID of this resource.
- Name string
- The name of the load balancer listener.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Secret
Id string - The identifier for the associated secret, typically used for SSL configurations.
- Sni
Secret List<string>Ids - List of secret identifiers used for Server Name Indication (SNI).
- Timeout
Client doubleData - The timeout for the frontend client inactivity (in milliseconds).
- Timeout
Member doubleConnect - The timeout for the backend member connection (in milliseconds).
- Timeout
Member doubleData - The timeout for the backend member inactivity (in milliseconds).
- Timeouts
Lblistener
Timeouts
- Loadbalancer
Id string - The uuid for the load balancer.
- Protocol string
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- Protocol
Port float64 - The port on which the protocol is bound.
- Allowed
Cidrs []string - The allowed CIDRs for listener.
- Insert
XForwarded bool - Insert *-forwarded headers
- Last
Updated string - The timestamp of the last update (use with update context).
- Lblistener
Id string - The ID of this resource.
- Name string
- The name of the load balancer listener.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Secret
Id string - The identifier for the associated secret, typically used for SSL configurations.
- Sni
Secret []stringIds - List of secret identifiers used for Server Name Indication (SNI).
- Timeout
Client float64Data - The timeout for the frontend client inactivity (in milliseconds).
- Timeout
Member float64Connect - The timeout for the backend member connection (in milliseconds).
- Timeout
Member float64Data - The timeout for the backend member inactivity (in milliseconds).
- Timeouts
Lblistener
Timeouts Args
- loadbalancer
Id String - The uuid for the load balancer.
- protocol String
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol
Port Double - The port on which the protocol is bound.
- allowed
Cidrs List<String> - The allowed CIDRs for listener.
- insert
XForwarded Boolean - Insert *-forwarded headers
- last
Updated String - The timestamp of the last update (use with update context).
- lblistener
Id String - The ID of this resource.
- name String
- The name of the load balancer listener.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret
Id String - The identifier for the associated secret, typically used for SSL configurations.
- sni
Secret List<String>Ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout
Client DoubleData - The timeout for the frontend client inactivity (in milliseconds).
- timeout
Member DoubleConnect - The timeout for the backend member connection (in milliseconds).
- timeout
Member DoubleData - The timeout for the backend member inactivity (in milliseconds).
- timeouts
Lblistener
Timeouts
- loadbalancer
Id string - The uuid for the load balancer.
- protocol string
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol
Port number - The port on which the protocol is bound.
- allowed
Cidrs string[] - The allowed CIDRs for listener.
- insert
XForwarded boolean - Insert *-forwarded headers
- last
Updated string - The timestamp of the last update (use with update context).
- lblistener
Id string - The ID of this resource.
- name string
- The name of the load balancer listener.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret
Id string - The identifier for the associated secret, typically used for SSL configurations.
- sni
Secret string[]Ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout
Client numberData - The timeout for the frontend client inactivity (in milliseconds).
- timeout
Member numberConnect - The timeout for the backend member connection (in milliseconds).
- timeout
Member numberData - The timeout for the backend member inactivity (in milliseconds).
- timeouts
Lblistener
Timeouts
- loadbalancer_
id str - The uuid for the load balancer.
- protocol str
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol_
port float - The port on which the protocol is bound.
- allowed_
cidrs Sequence[str] - The allowed CIDRs for listener.
- insert_
x_ boolforwarded - Insert *-forwarded headers
- last_
updated str - The timestamp of the last update (use with update context).
- lblistener_
id str - The ID of this resource.
- name str
- The name of the load balancer listener.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret_
id str - The identifier for the associated secret, typically used for SSL configurations.
- sni_
secret_ Sequence[str]ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout_
client_ floatdata - The timeout for the frontend client inactivity (in milliseconds).
- timeout_
member_ floatconnect - The timeout for the backend member connection (in milliseconds).
- timeout_
member_ floatdata - The timeout for the backend member inactivity (in milliseconds).
- timeouts
Lblistener
Timeouts Args
- loadbalancer
Id String - The uuid for the load balancer.
- protocol String
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol
Port Number - The port on which the protocol is bound.
- allowed
Cidrs List<String> - The allowed CIDRs for listener.
- insert
XForwarded Boolean - Insert *-forwarded headers
- last
Updated String - The timestamp of the last update (use with update context).
- lblistener
Id String - The ID of this resource.
- name String
- The name of the load balancer listener.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret
Id String - The identifier for the associated secret, typically used for SSL configurations.
- sni
Secret List<String>Ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout
Client NumberData - The timeout for the frontend client inactivity (in milliseconds).
- timeout
Member NumberConnect - The timeout for the backend member connection (in milliseconds).
- timeout
Member NumberData - The timeout for the backend member inactivity (in milliseconds).
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Lblistener resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- L7policies List<string>
- Set of l7policy uuids attached to this listener.
- Operating
Status string - The current operational status of the load balancer.
- Pool
Count double - Number of pools associated with the load balancer.
- Provisioning
Status string - The current provisioning status of the load balancer.
- Id string
- The provider-assigned unique ID for this managed resource.
- L7policies []string
- Set of l7policy uuids attached to this listener.
- Operating
Status string - The current operational status of the load balancer.
- Pool
Count float64 - Number of pools associated with the load balancer.
- Provisioning
Status string - The current provisioning status of the load balancer.
- id String
- The provider-assigned unique ID for this managed resource.
- l7policies List<String>
- Set of l7policy uuids attached to this listener.
- operating
Status String - The current operational status of the load balancer.
- pool
Count Double - Number of pools associated with the load balancer.
- provisioning
Status String - The current provisioning status of the load balancer.
- id string
- The provider-assigned unique ID for this managed resource.
- l7policies string[]
- Set of l7policy uuids attached to this listener.
- operating
Status string - The current operational status of the load balancer.
- pool
Count number - Number of pools associated with the load balancer.
- provisioning
Status string - The current provisioning status of the load balancer.
- id str
- The provider-assigned unique ID for this managed resource.
- l7policies Sequence[str]
- Set of l7policy uuids attached to this listener.
- operating_
status str - The current operational status of the load balancer.
- pool_
count float - Number of pools associated with the load balancer.
- provisioning_
status str - The current provisioning status of the load balancer.
- id String
- The provider-assigned unique ID for this managed resource.
- l7policies List<String>
- Set of l7policy uuids attached to this listener.
- operating
Status String - The current operational status of the load balancer.
- pool
Count Number - Number of pools associated with the load balancer.
- provisioning
Status String - The current provisioning status of the load balancer.
Look up Existing Lblistener Resource
Get an existing Lblistener 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?: LblistenerState, opts?: CustomResourceOptions): Lblistener
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_cidrs: Optional[Sequence[str]] = None,
insert_x_forwarded: Optional[bool] = None,
l7policies: Optional[Sequence[str]] = None,
last_updated: Optional[str] = None,
lblistener_id: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
operating_status: Optional[str] = None,
pool_count: Optional[float] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
protocol: Optional[str] = None,
protocol_port: Optional[float] = None,
provisioning_status: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
secret_id: Optional[str] = None,
sni_secret_ids: Optional[Sequence[str]] = None,
timeout_client_data: Optional[float] = None,
timeout_member_connect: Optional[float] = None,
timeout_member_data: Optional[float] = None,
timeouts: Optional[LblistenerTimeoutsArgs] = None) -> Lblistener
func GetLblistener(ctx *Context, name string, id IDInput, state *LblistenerState, opts ...ResourceOption) (*Lblistener, error)
public static Lblistener Get(string name, Input<string> id, LblistenerState? state, CustomResourceOptions? opts = null)
public static Lblistener get(String name, Output<String> id, LblistenerState state, CustomResourceOptions options)
resources: _: type: edgecenter:Lblistener 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.
- Allowed
Cidrs List<string> - The allowed CIDRs for listener.
- Insert
XForwarded bool - Insert *-forwarded headers
- L7policies List<string>
- Set of l7policy uuids attached to this listener.
- Last
Updated string - The timestamp of the last update (use with update context).
- Lblistener
Id string - The ID of this resource.
- Loadbalancer
Id string - The uuid for the load balancer.
- Name string
- The name of the load balancer listener.
- Operating
Status string - The current operational status of the load balancer.
- Pool
Count double - Number of pools associated with the load balancer.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Protocol string
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- Protocol
Port double - The port on which the protocol is bound.
- Provisioning
Status string - The current provisioning status of the load balancer.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Secret
Id string - The identifier for the associated secret, typically used for SSL configurations.
- Sni
Secret List<string>Ids - List of secret identifiers used for Server Name Indication (SNI).
- Timeout
Client doubleData - The timeout for the frontend client inactivity (in milliseconds).
- Timeout
Member doubleConnect - The timeout for the backend member connection (in milliseconds).
- Timeout
Member doubleData - The timeout for the backend member inactivity (in milliseconds).
- Timeouts
Lblistener
Timeouts
- Allowed
Cidrs []string - The allowed CIDRs for listener.
- Insert
XForwarded bool - Insert *-forwarded headers
- L7policies []string
- Set of l7policy uuids attached to this listener.
- Last
Updated string - The timestamp of the last update (use with update context).
- Lblistener
Id string - The ID of this resource.
- Loadbalancer
Id string - The uuid for the load balancer.
- Name string
- The name of the load balancer listener.
- Operating
Status string - The current operational status of the load balancer.
- Pool
Count float64 - Number of pools associated with the load balancer.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Protocol string
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- Protocol
Port float64 - The port on which the protocol is bound.
- Provisioning
Status string - The current provisioning status of the load balancer.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Secret
Id string - The identifier for the associated secret, typically used for SSL configurations.
- Sni
Secret []stringIds - List of secret identifiers used for Server Name Indication (SNI).
- Timeout
Client float64Data - The timeout for the frontend client inactivity (in milliseconds).
- Timeout
Member float64Connect - The timeout for the backend member connection (in milliseconds).
- Timeout
Member float64Data - The timeout for the backend member inactivity (in milliseconds).
- Timeouts
Lblistener
Timeouts Args
- allowed
Cidrs List<String> - The allowed CIDRs for listener.
- insert
XForwarded Boolean - Insert *-forwarded headers
- l7policies List<String>
- Set of l7policy uuids attached to this listener.
- last
Updated String - The timestamp of the last update (use with update context).
- lblistener
Id String - The ID of this resource.
- loadbalancer
Id String - The uuid for the load balancer.
- name String
- The name of the load balancer listener.
- operating
Status String - The current operational status of the load balancer.
- pool
Count Double - Number of pools associated with the load balancer.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol String
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol
Port Double - The port on which the protocol is bound.
- provisioning
Status String - The current provisioning status of the load balancer.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret
Id String - The identifier for the associated secret, typically used for SSL configurations.
- sni
Secret List<String>Ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout
Client DoubleData - The timeout for the frontend client inactivity (in milliseconds).
- timeout
Member DoubleConnect - The timeout for the backend member connection (in milliseconds).
- timeout
Member DoubleData - The timeout for the backend member inactivity (in milliseconds).
- timeouts
Lblistener
Timeouts
- allowed
Cidrs string[] - The allowed CIDRs for listener.
- insert
XForwarded boolean - Insert *-forwarded headers
- l7policies string[]
- Set of l7policy uuids attached to this listener.
- last
Updated string - The timestamp of the last update (use with update context).
- lblistener
Id string - The ID of this resource.
- loadbalancer
Id string - The uuid for the load balancer.
- name string
- The name of the load balancer listener.
- operating
Status string - The current operational status of the load balancer.
- pool
Count number - Number of pools associated with the load balancer.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol string
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol
Port number - The port on which the protocol is bound.
- provisioning
Status string - The current provisioning status of the load balancer.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret
Id string - The identifier for the associated secret, typically used for SSL configurations.
- sni
Secret string[]Ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout
Client numberData - The timeout for the frontend client inactivity (in milliseconds).
- timeout
Member numberConnect - The timeout for the backend member connection (in milliseconds).
- timeout
Member numberData - The timeout for the backend member inactivity (in milliseconds).
- timeouts
Lblistener
Timeouts
- allowed_
cidrs Sequence[str] - The allowed CIDRs for listener.
- insert_
x_ boolforwarded - Insert *-forwarded headers
- l7policies Sequence[str]
- Set of l7policy uuids attached to this listener.
- last_
updated str - The timestamp of the last update (use with update context).
- lblistener_
id str - The ID of this resource.
- loadbalancer_
id str - The uuid for the load balancer.
- name str
- The name of the load balancer listener.
- operating_
status str - The current operational status of the load balancer.
- pool_
count float - Number of pools associated with the load balancer.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol str
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol_
port float - The port on which the protocol is bound.
- provisioning_
status str - The current provisioning status of the load balancer.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret_
id str - The identifier for the associated secret, typically used for SSL configurations.
- sni_
secret_ Sequence[str]ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout_
client_ floatdata - The timeout for the frontend client inactivity (in milliseconds).
- timeout_
member_ floatconnect - The timeout for the backend member connection (in milliseconds).
- timeout_
member_ floatdata - The timeout for the backend member inactivity (in milliseconds).
- timeouts
Lblistener
Timeouts Args
- allowed
Cidrs List<String> - The allowed CIDRs for listener.
- insert
XForwarded Boolean - Insert *-forwarded headers
- l7policies List<String>
- Set of l7policy uuids attached to this listener.
- last
Updated String - The timestamp of the last update (use with update context).
- lblistener
Id String - The ID of this resource.
- loadbalancer
Id String - The uuid for the load balancer.
- name String
- The name of the load balancer listener.
- operating
Status String - The current operational status of the load balancer.
- pool
Count Number - Number of pools associated with the load balancer.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- protocol String
- Available values are 'TCP', 'UDP', 'HTTP', 'HTTPS' and 'TERMINATED_HTTPS'.
- protocol
Port Number - The port on which the protocol is bound.
- provisioning
Status String - The current provisioning status of the load balancer.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- secret
Id String - The identifier for the associated secret, typically used for SSL configurations.
- sni
Secret List<String>Ids - List of secret identifiers used for Server Name Indication (SNI).
- timeout
Client NumberData - The timeout for the frontend client inactivity (in milliseconds).
- timeout
Member NumberConnect - The timeout for the backend member connection (in milliseconds).
- timeout
Member NumberData - The timeout for the backend member inactivity (in milliseconds).
- timeouts Property Map
Supporting Types
LblistenerTimeouts, LblistenerTimeoutsArgs
Import
import using <project_id>:<region_id>:<lblistener_id>:<loadbalancer_id> format
$ pulumi import edgecenter:index/lblistener:Lblistener lblistener1 1:6:a775dd94-4e9c-4da7-9f0e-ffc9ae34446b:447d2959-8ae0-4ca0-8d47-9f050a3637d7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.