gcorelabs.Lbpool
Explore with Pulumi AI
Represent load balancer listener pool. A pool is a list of virtual machines to which the listener will redirect incoming traffic
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const lb = new gcore.index.Gcore_loadbalancer("lb", {
projectId: 1,
regionId: 1,
name: "test1",
flavor: "lb1-1-2",
listener: [{
name: "test",
protocol: "HTTP",
protocolPort: 80,
}],
});
const pl = new gcore.index.Gcore_lbpool("pl", {
projectId: 1,
regionId: 1,
name: "test_pool1",
protocol: "HTTP",
lbAlgorithm: "LEAST_CONNECTIONS",
loadbalancerId: lb.id,
listenerId: lb.listener[0].id,
healthMonitor: [{
type: "PING",
delay: 60,
maxRetries: 5,
timeout: 10,
}],
sessionPersistence: [{
type: "APP_COOKIE",
cookieName: "test_new_cookie",
}],
});
import pulumi
import pulumi_gcore as gcore
lb = gcore.index.Gcore_loadbalancer("lb",
project_id=1,
region_id=1,
name=test1,
flavor=lb1-1-2,
listener=[{
name: test,
protocol: HTTP,
protocolPort: 80,
}])
pl = gcore.index.Gcore_lbpool("pl",
project_id=1,
region_id=1,
name=test_pool1,
protocol=HTTP,
lb_algorithm=LEAST_CONNECTIONS,
loadbalancer_id=lb.id,
listener_id=lb.listener[0].id,
health_monitor=[{
type: PING,
delay: 60,
maxRetries: 5,
timeout: 10,
}],
session_persistence=[{
type: APP_COOKIE,
cookieName: test_new_cookie,
}])
package main
import (
"github.com/pulumi/pulumi-gcore/sdk/go/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
lb, err := gcore.NewGcore_loadbalancer(ctx, "lb", &gcore.Gcore_loadbalancerArgs{
ProjectId: 1,
RegionId: 1,
Name: "test1",
Flavor: "lb1-1-2",
Listener: []map[string]interface{}{
map[string]interface{}{
"name": "test",
"protocol": "HTTP",
"protocolPort": 80,
},
},
})
if err != nil {
return err
}
_, err = gcore.NewGcore_lbpool(ctx, "pl", &gcore.Gcore_lbpoolArgs{
ProjectId: 1,
RegionId: 1,
Name: "test_pool1",
Protocol: "HTTP",
LbAlgorithm: "LEAST_CONNECTIONS",
LoadbalancerId: lb.Id,
ListenerId: lb.Listener[0].Id,
HealthMonitor: []map[string]interface{}{
map[string]interface{}{
"type": "PING",
"delay": 60,
"maxRetries": 5,
"timeout": 10,
},
},
SessionPersistence: []map[string]interface{}{
map[string]interface{}{
"type": "APP_COOKIE",
"cookieName": "test_new_cookie",
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var lb = new Gcore.Index.Gcore_loadbalancer("lb", new()
{
ProjectId = 1,
RegionId = 1,
Name = "test1",
Flavor = "lb1-1-2",
Listener = new[]
{
{
{ "name", "test" },
{ "protocol", "HTTP" },
{ "protocolPort", 80 },
},
},
});
var pl = new Gcore.Index.Gcore_lbpool("pl", new()
{
ProjectId = 1,
RegionId = 1,
Name = "test_pool1",
Protocol = "HTTP",
LbAlgorithm = "LEAST_CONNECTIONS",
LoadbalancerId = lb.Id,
ListenerId = lb.Listener[0].Id,
HealthMonitor = new[]
{
{
{ "type", "PING" },
{ "delay", 60 },
{ "maxRetries", 5 },
{ "timeout", 10 },
},
},
SessionPersistence = new[]
{
{
{ "type", "APP_COOKIE" },
{ "cookieName", "test_new_cookie" },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.gcore_loadbalancer;
import com.pulumi.gcore.Gcore_loadbalancerArgs;
import com.pulumi.gcore.gcore_lbpool;
import com.pulumi.gcore.Gcore_lbpoolArgs;
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 Gcore_loadbalancer("lb", Gcore_loadbalancerArgs.builder()
.projectId(1)
.regionId(1)
.name("test1")
.flavor("lb1-1-2")
.listener(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
var pl = new Gcore_lbpool("pl", Gcore_lbpoolArgs.builder()
.projectId(1)
.regionId(1)
.name("test_pool1")
.protocol("HTTP")
.lbAlgorithm("LEAST_CONNECTIONS")
.loadbalancerId(lb.id())
.listenerId(lb.listener()[0].id())
.healthMonitor(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sessionPersistence(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}
resources:
lb:
type: gcore:gcore_loadbalancer
properties:
projectId: 1
regionId: 1
name: test1
flavor: lb1-1-2
listener:
- name: test
protocol: HTTP
protocolPort: 80
pl:
type: gcore:gcore_lbpool
properties:
projectId: 1
regionId: 1
name: test_pool1
protocol: HTTP
lbAlgorithm: LEAST_CONNECTIONS
loadbalancerId: ${lb.id}
listenerId: ${lb.listener[0].id}
healthMonitor:
- type: PING
delay: 60
maxRetries: 5
timeout: 10
sessionPersistence:
- type: APP_COOKIE
cookieName: test_new_cookie
Create Lbpool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Lbpool(name: string, args: LbpoolArgs, opts?: CustomResourceOptions);
@overload
def Lbpool(resource_name: str,
args: LbpoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Lbpool(resource_name: str,
opts: Optional[ResourceOptions] = None,
lb_algorithm: Optional[str] = None,
protocol: Optional[str] = None,
lbpool_id: Optional[str] = None,
health_monitor: Optional[LbpoolHealthMonitorArgs] = None,
listener_id: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
last_updated: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
session_persistence: Optional[LbpoolSessionPersistenceArgs] = None,
timeouts: Optional[LbpoolTimeoutsArgs] = None)
func NewLbpool(ctx *Context, name string, args LbpoolArgs, opts ...ResourceOption) (*Lbpool, error)
public Lbpool(string name, LbpoolArgs args, CustomResourceOptions? opts = null)
public Lbpool(String name, LbpoolArgs args)
public Lbpool(String name, LbpoolArgs args, CustomResourceOptions options)
type: gcorelabs:Lbpool
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 LbpoolArgs
- 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 LbpoolArgs
- 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 LbpoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LbpoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LbpoolArgs
- 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 lbpoolResource = new Gcorelabs.Lbpool("lbpoolResource", new()
{
LbAlgorithm = "string",
Protocol = "string",
LbpoolId = "string",
HealthMonitor = new Gcorelabs.Inputs.LbpoolHealthMonitorArgs
{
Delay = 0,
MaxRetries = 0,
Timeout = 0,
Type = "string",
ExpectedCodes = "string",
HttpMethod = "string",
Id = "string",
MaxRetriesDown = 0,
UrlPath = "string",
},
ListenerId = "string",
LoadbalancerId = "string",
Name = "string",
ProjectId = 0,
ProjectName = "string",
LastUpdated = "string",
RegionId = 0,
RegionName = "string",
SessionPersistence = new Gcorelabs.Inputs.LbpoolSessionPersistenceArgs
{
Type = "string",
CookieName = "string",
PersistenceGranularity = "string",
PersistenceTimeout = 0,
},
Timeouts = new Gcorelabs.Inputs.LbpoolTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := gcorelabs.NewLbpool(ctx, "lbpoolResource", &gcorelabs.LbpoolArgs{
LbAlgorithm: pulumi.String("string"),
Protocol: pulumi.String("string"),
LbpoolId: pulumi.String("string"),
HealthMonitor: &gcorelabs.LbpoolHealthMonitorArgs{
Delay: pulumi.Float64(0),
MaxRetries: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
Type: pulumi.String("string"),
ExpectedCodes: pulumi.String("string"),
HttpMethod: pulumi.String("string"),
Id: pulumi.String("string"),
MaxRetriesDown: pulumi.Float64(0),
UrlPath: pulumi.String("string"),
},
ListenerId: pulumi.String("string"),
LoadbalancerId: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.Float64(0),
ProjectName: pulumi.String("string"),
LastUpdated: pulumi.String("string"),
RegionId: pulumi.Float64(0),
RegionName: pulumi.String("string"),
SessionPersistence: &gcorelabs.LbpoolSessionPersistenceArgs{
Type: pulumi.String("string"),
CookieName: pulumi.String("string"),
PersistenceGranularity: pulumi.String("string"),
PersistenceTimeout: pulumi.Float64(0),
},
Timeouts: &gcorelabs.LbpoolTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var lbpoolResource = new Lbpool("lbpoolResource", LbpoolArgs.builder()
.lbAlgorithm("string")
.protocol("string")
.lbpoolId("string")
.healthMonitor(LbpoolHealthMonitorArgs.builder()
.delay(0)
.maxRetries(0)
.timeout(0)
.type("string")
.expectedCodes("string")
.httpMethod("string")
.id("string")
.maxRetriesDown(0)
.urlPath("string")
.build())
.listenerId("string")
.loadbalancerId("string")
.name("string")
.projectId(0)
.projectName("string")
.lastUpdated("string")
.regionId(0)
.regionName("string")
.sessionPersistence(LbpoolSessionPersistenceArgs.builder()
.type("string")
.cookieName("string")
.persistenceGranularity("string")
.persistenceTimeout(0)
.build())
.timeouts(LbpoolTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
lbpool_resource = gcorelabs.Lbpool("lbpoolResource",
lb_algorithm="string",
protocol="string",
lbpool_id="string",
health_monitor={
"delay": 0,
"max_retries": 0,
"timeout": 0,
"type": "string",
"expected_codes": "string",
"http_method": "string",
"id": "string",
"max_retries_down": 0,
"url_path": "string",
},
listener_id="string",
loadbalancer_id="string",
name="string",
project_id=0,
project_name="string",
last_updated="string",
region_id=0,
region_name="string",
session_persistence={
"type": "string",
"cookie_name": "string",
"persistence_granularity": "string",
"persistence_timeout": 0,
},
timeouts={
"create": "string",
"delete": "string",
})
const lbpoolResource = new gcorelabs.Lbpool("lbpoolResource", {
lbAlgorithm: "string",
protocol: "string",
lbpoolId: "string",
healthMonitor: {
delay: 0,
maxRetries: 0,
timeout: 0,
type: "string",
expectedCodes: "string",
httpMethod: "string",
id: "string",
maxRetriesDown: 0,
urlPath: "string",
},
listenerId: "string",
loadbalancerId: "string",
name: "string",
projectId: 0,
projectName: "string",
lastUpdated: "string",
regionId: 0,
regionName: "string",
sessionPersistence: {
type: "string",
cookieName: "string",
persistenceGranularity: "string",
persistenceTimeout: 0,
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: gcorelabs:Lbpool
properties:
healthMonitor:
delay: 0
expectedCodes: string
httpMethod: string
id: string
maxRetries: 0
maxRetriesDown: 0
timeout: 0
type: string
urlPath: string
lastUpdated: string
lbAlgorithm: string
lbpoolId: string
listenerId: string
loadbalancerId: string
name: string
projectId: 0
projectName: string
protocol: string
regionId: 0
regionName: string
sessionPersistence:
cookieName: string
persistenceGranularity: string
persistenceTimeout: 0
type: string
timeouts:
create: string
delete: string
Lbpool 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 Lbpool resource accepts the following input properties:
- Lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- Protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- Health
Monitor LbpoolHealth Monitor - Last
Updated string - Lbpool
Id string - The ID of this resource.
- Listener
Id string - Loadbalancer
Id string - Name string
- Project
Id double - Project
Name string - Region
Id double - Region
Name string - Session
Persistence LbpoolSession Persistence - Timeouts
Lbpool
Timeouts
- Lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- Protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- Health
Monitor LbpoolHealth Monitor Args - Last
Updated string - Lbpool
Id string - The ID of this resource.
- Listener
Id string - Loadbalancer
Id string - Name string
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Session
Persistence LbpoolSession Persistence Args - Timeouts
Lbpool
Timeouts Args
- lb
Algorithm String - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- protocol String
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- health
Monitor LbpoolHealth Monitor - last
Updated String - lbpool
Id String - The ID of this resource.
- listener
Id String - loadbalancer
Id String - name String
- project
Id Double - project
Name String - region
Id Double - region
Name String - session
Persistence LbpoolSession Persistence - timeouts
Lbpool
Timeouts
- lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- health
Monitor LbpoolHealth Monitor - last
Updated string - lbpool
Id string - The ID of this resource.
- listener
Id string - loadbalancer
Id string - name string
- project
Id number - project
Name string - region
Id number - region
Name string - session
Persistence LbpoolSession Persistence - timeouts
Lbpool
Timeouts
- lb_
algorithm str - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- protocol str
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- health_
monitor LbpoolHealth Monitor Args - last_
updated str - lbpool_
id str - The ID of this resource.
- listener_
id str - loadbalancer_
id str - name str
- project_
id float - project_
name str - region_
id float - region_
name str - session_
persistence LbpoolSession Persistence Args - timeouts
Lbpool
Timeouts Args
- lb
Algorithm String - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- protocol String
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- health
Monitor Property Map - last
Updated String - lbpool
Id String - The ID of this resource.
- listener
Id String - loadbalancer
Id String - name String
- project
Id Number - project
Name String - region
Id Number - region
Name String - session
Persistence Property Map - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Lbpool 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 Lbpool Resource
Get an existing Lbpool 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?: LbpoolState, opts?: CustomResourceOptions): Lbpool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
health_monitor: Optional[LbpoolHealthMonitorArgs] = None,
last_updated: Optional[str] = None,
lb_algorithm: Optional[str] = None,
lbpool_id: Optional[str] = None,
listener_id: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
protocol: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
session_persistence: Optional[LbpoolSessionPersistenceArgs] = None,
timeouts: Optional[LbpoolTimeoutsArgs] = None) -> Lbpool
func GetLbpool(ctx *Context, name string, id IDInput, state *LbpoolState, opts ...ResourceOption) (*Lbpool, error)
public static Lbpool Get(string name, Input<string> id, LbpoolState? state, CustomResourceOptions? opts = null)
public static Lbpool get(String name, Output<String> id, LbpoolState state, CustomResourceOptions options)
resources: _: type: gcorelabs:Lbpool 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.
- Health
Monitor LbpoolHealth Monitor - Last
Updated string - Lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- Lbpool
Id string - The ID of this resource.
- Listener
Id string - Loadbalancer
Id string - Name string
- Project
Id double - Project
Name string - Protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- Region
Id double - Region
Name string - Session
Persistence LbpoolSession Persistence - Timeouts
Lbpool
Timeouts
- Health
Monitor LbpoolHealth Monitor Args - Last
Updated string - Lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- Lbpool
Id string - The ID of this resource.
- Listener
Id string - Loadbalancer
Id string - Name string
- Project
Id float64 - Project
Name string - Protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- Region
Id float64 - Region
Name string - Session
Persistence LbpoolSession Persistence Args - Timeouts
Lbpool
Timeouts Args
- health
Monitor LbpoolHealth Monitor - last
Updated String - lb
Algorithm String - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- lbpool
Id String - The ID of this resource.
- listener
Id String - loadbalancer
Id String - name String
- project
Id Double - project
Name String - protocol String
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- region
Id Double - region
Name String - session
Persistence LbpoolSession Persistence - timeouts
Lbpool
Timeouts
- health
Monitor LbpoolHealth Monitor - last
Updated string - lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- lbpool
Id string - The ID of this resource.
- listener
Id string - loadbalancer
Id string - name string
- project
Id number - project
Name string - protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- region
Id number - region
Name string - session
Persistence LbpoolSession Persistence - timeouts
Lbpool
Timeouts
- health_
monitor LbpoolHealth Monitor Args - last_
updated str - lb_
algorithm str - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- lbpool_
id str - The ID of this resource.
- listener_
id str - loadbalancer_
id str - name str
- project_
id float - project_
name str - protocol str
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- region_
id float - region_
name str - session_
persistence LbpoolSession Persistence Args - timeouts
Lbpool
Timeouts Args
- health
Monitor Property Map - last
Updated String - lb
Algorithm String - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- lbpool
Id String - The ID of this resource.
- listener
Id String - loadbalancer
Id String - name String
- project
Id Number - project
Name String - protocol String
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- region
Id Number - region
Name String - session
Persistence Property Map - timeouts Property Map
Supporting Types
LbpoolHealthMonitor, LbpoolHealthMonitorArgs
- Delay double
- Max
Retries double - Timeout double
- Type string
- Available values is 'HTTP', 'HTTPS', 'PING', 'TCP', 'TLS-HELLO', 'UDP-CONNECT
- Expected
Codes string - Http
Method string - Id string
- The ID of this resource.
- Max
Retries doubleDown - Url
Path string
- Delay float64
- Max
Retries float64 - Timeout float64
- Type string
- Available values is 'HTTP', 'HTTPS', 'PING', 'TCP', 'TLS-HELLO', 'UDP-CONNECT
- Expected
Codes string - Http
Method string - Id string
- The ID of this resource.
- Max
Retries float64Down - Url
Path string
- delay Double
- max
Retries Double - timeout Double
- type String
- Available values is 'HTTP', 'HTTPS', 'PING', 'TCP', 'TLS-HELLO', 'UDP-CONNECT
- expected
Codes String - http
Method String - id String
- The ID of this resource.
- max
Retries DoubleDown - url
Path String
- delay number
- max
Retries number - timeout number
- type string
- Available values is 'HTTP', 'HTTPS', 'PING', 'TCP', 'TLS-HELLO', 'UDP-CONNECT
- expected
Codes string - http
Method string - id string
- The ID of this resource.
- max
Retries numberDown - url
Path string
- delay float
- max_
retries float - timeout float
- type str
- Available values is 'HTTP', 'HTTPS', 'PING', 'TCP', 'TLS-HELLO', 'UDP-CONNECT
- expected_
codes str - http_
method str - id str
- The ID of this resource.
- max_
retries_ floatdown - url_
path str
- delay Number
- max
Retries Number - timeout Number
- type String
- Available values is 'HTTP', 'HTTPS', 'PING', 'TCP', 'TLS-HELLO', 'UDP-CONNECT
- expected
Codes String - http
Method String - id String
- The ID of this resource.
- max
Retries NumberDown - url
Path String
LbpoolSessionPersistence, LbpoolSessionPersistenceArgs
- Type string
- string
- Persistence
Granularity string - Persistence
Timeout double
- Type string
- string
- Persistence
Granularity string - Persistence
Timeout float64
- type String
- String
- persistence
Granularity String - persistence
Timeout Double
- type string
- string
- persistence
Granularity string - persistence
Timeout number
- type str
- str
- persistence_
granularity str - persistence_
timeout float
- type String
- String
- persistence
Granularity String - persistence
Timeout Number
LbpoolTimeouts, LbpoolTimeoutsArgs
Import
import using <project_id>:<region_id>:<lbpool_id> format
$ pulumi import gcorelabs:index/lbpool:Lbpool lbpool1 1:6:447d2959-8ae0-4ca0-8d47-9f050a3637d7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.