gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core
gcorelabs.getLbpool
Explore with Pulumi AI
Example Usage
Using getLbpool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLbpool(args: GetLbpoolArgs, opts?: InvokeOptions): Promise<GetLbpoolResult>
function getLbpoolOutput(args: GetLbpoolOutputArgs, opts?: InvokeOptions): Output<GetLbpoolResult>
def get_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,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLbpoolResult
def get_lbpool_output(id: Optional[pulumi.Input[str]] = None,
listener_id: Optional[pulumi.Input[str]] = None,
loadbalancer_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
project_name: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[float]] = None,
region_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLbpoolResult]
func LookupLbpool(ctx *Context, args *LookupLbpoolArgs, opts ...InvokeOption) (*LookupLbpoolResult, error)
func LookupLbpoolOutput(ctx *Context, args *LookupLbpoolOutputArgs, opts ...InvokeOption) LookupLbpoolResultOutput
> Note: This function is named LookupLbpool
in the Go SDK.
public static class GetLbpool
{
public static Task<GetLbpoolResult> InvokeAsync(GetLbpoolArgs args, InvokeOptions? opts = null)
public static Output<GetLbpoolResult> Invoke(GetLbpoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLbpoolResult> getLbpool(GetLbpoolArgs args, InvokeOptions options)
public static Output<GetLbpoolResult> getLbpool(GetLbpoolArgs args, InvokeOptions options)
fn::invoke:
function: gcorelabs:index/getLbpool:getLbpool
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Id string
- The ID of this resource.
- Listener
Id string - Loadbalancer
Id string - Project
Id double - Project
Name string - Region
Id double - Region
Name string
- Name string
- Id string
- The ID of this resource.
- Listener
Id string - Loadbalancer
Id string - Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string
- name String
- id String
- The ID of this resource.
- listener
Id String - loadbalancer
Id String - project
Id Double - project
Name String - region
Id Double - region
Name String
- name string
- id string
- The ID of this resource.
- listener
Id string - loadbalancer
Id string - project
Id number - project
Name string - region
Id number - region
Name string
- name str
- id str
- The ID of this resource.
- listener_
id str - loadbalancer_
id str - project_
id float - project_
name str - region_
id float - region_
name str
- name String
- id String
- The ID of this resource.
- listener
Id String - loadbalancer
Id String - project
Id Number - project
Name String - region
Id Number - region
Name String
getLbpool Result
The following output properties are available:
- Health
Monitors List<GetLbpool Health Monitor> - Id string
- The ID of this resource.
- Lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- Listener
Id string - Loadbalancer
Id string - Name string
- Protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- Session
Persistences List<GetLbpool Session Persistence> - Project
Id double - Project
Name string - Region
Id double - Region
Name string
- Health
Monitors []GetLbpool Health Monitor - Id string
- The ID of this resource.
- Lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- Listener
Id string - Loadbalancer
Id string - Name string
- Protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- Session
Persistences []GetLbpool Session Persistence - Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string
- health
Monitors List<GetLbpool Health Monitor> - id String
- The ID of this resource.
- lb
Algorithm String - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- listener
Id String - loadbalancer
Id String - name String
- protocol String
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- session
Persistences List<GetLbpool Session Persistence> - project
Id Double - project
Name String - region
Id Double - region
Name String
- health
Monitors GetLbpool Health Monitor[] - id string
- The ID of this resource.
- lb
Algorithm string - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- listener
Id string - loadbalancer
Id string - name string
- protocol string
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- session
Persistences GetLbpool Session Persistence[] - project
Id number - project
Name string - region
Id number - region
Name string
- health_
monitors Sequence[GetLbpool Health Monitor] - id str
- The ID of this resource.
- lb_
algorithm str - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- listener_
id str - loadbalancer_
id str - name str
- protocol str
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- session_
persistences Sequence[GetLbpool Session Persistence] - project_
id float - project_
name str - region_
id float - region_
name str
- health
Monitors List<Property Map> - id String
- The ID of this resource.
- lb
Algorithm String - Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
- listener
Id String - loadbalancer
Id String - name String
- protocol String
- Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
- session
Persistences List<Property Map> - project
Id Number - project
Name String - region
Id Number - region
Name String
Supporting Types
GetLbpoolHealthMonitor
- Delay double
- Expected
Codes string - Http
Method string - Id string
- Max
Retries double - Max
Retries doubleDown - Timeout double
- Type string
- Url
Path string
- Delay float64
- Expected
Codes string - Http
Method string - Id string
- Max
Retries float64 - Max
Retries float64Down - Timeout float64
- Type string
- Url
Path string
- delay Double
- expected
Codes String - http
Method String - id String
- max
Retries Double - max
Retries DoubleDown - timeout Double
- type String
- url
Path String
- delay number
- expected
Codes string - http
Method string - id string
- max
Retries number - max
Retries numberDown - timeout number
- type string
- url
Path string
- delay float
- expected_
codes str - http_
method str - id str
- max_
retries float - max_
retries_ floatdown - timeout float
- type str
- url_
path str
- delay Number
- expected
Codes String - http
Method String - id String
- max
Retries Number - max
Retries NumberDown - timeout Number
- type String
- url
Path String
GetLbpoolSessionPersistence
- 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 string
- str
- persistence_
granularity str - persistence_
timeout float - type str
- String
- persistence
Granularity String - persistence
Timeout Number - type String
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.