1. Packages
  2. Gcorelabs Provider
  3. API Docs
  4. getLbpool
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

gcorelabs.getLbpool

Explore with Pulumi AI

gcorelabs logo
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

    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.
    ListenerId string
    LoadbalancerId string
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    Name string
    Id string
    The ID of this resource.
    ListenerId string
    LoadbalancerId string
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    name String
    id String
    The ID of this resource.
    listenerId String
    loadbalancerId String
    projectId Double
    projectName String
    regionId Double
    regionName String
    name string
    id string
    The ID of this resource.
    listenerId string
    loadbalancerId string
    projectId number
    projectName string
    regionId number
    regionName 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.
    listenerId String
    loadbalancerId String
    projectId Number
    projectName String
    regionId Number
    regionName String

    getLbpool Result

    The following output properties are available:

    HealthMonitors List<GetLbpoolHealthMonitor>
    Id string
    The ID of this resource.
    LbAlgorithm string
    Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
    ListenerId string
    LoadbalancerId string
    Name string
    Protocol string
    Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
    SessionPersistences List<GetLbpoolSessionPersistence>
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    HealthMonitors []GetLbpoolHealthMonitor
    Id string
    The ID of this resource.
    LbAlgorithm string
    Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
    ListenerId string
    LoadbalancerId string
    Name string
    Protocol string
    Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
    SessionPersistences []GetLbpoolSessionPersistence
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    healthMonitors List<GetLbpoolHealthMonitor>
    id String
    The ID of this resource.
    lbAlgorithm String
    Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
    listenerId String
    loadbalancerId String
    name String
    protocol String
    Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
    sessionPersistences List<GetLbpoolSessionPersistence>
    projectId Double
    projectName String
    regionId Double
    regionName String
    healthMonitors GetLbpoolHealthMonitor[]
    id string
    The ID of this resource.
    lbAlgorithm string
    Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
    listenerId string
    loadbalancerId string
    name string
    protocol string
    Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
    sessionPersistences GetLbpoolSessionPersistence[]
    projectId number
    projectName string
    regionId number
    regionName string
    health_monitors Sequence[GetLbpoolHealthMonitor]
    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[GetLbpoolSessionPersistence]
    project_id float
    project_name str
    region_id float
    region_name str
    healthMonitors List<Property Map>
    id String
    The ID of this resource.
    lbAlgorithm String
    Available values is 'ROUNDROBIN', 'LEASTCONNECTIONS', 'SOURCEIP', 'SOURCEIP_PORT'
    listenerId String
    loadbalancerId String
    name String
    protocol String
    Available values is 'HTTP' (currently work, other do not work on ed-8), 'HTTPS', 'TCP', 'UDP'
    sessionPersistences List<Property Map>
    projectId Number
    projectName String
    regionId Number
    regionName String

    Supporting Types

    GetLbpoolHealthMonitor

    Delay double
    ExpectedCodes string
    HttpMethod string
    Id string
    MaxRetries double
    MaxRetriesDown double
    Timeout double
    Type string
    UrlPath string
    Delay float64
    ExpectedCodes string
    HttpMethod string
    Id string
    MaxRetries float64
    MaxRetriesDown float64
    Timeout float64
    Type string
    UrlPath string
    delay Double
    expectedCodes String
    httpMethod String
    id String
    maxRetries Double
    maxRetriesDown Double
    timeout Double
    type String
    urlPath String
    delay number
    expectedCodes string
    httpMethod string
    id string
    maxRetries number
    maxRetriesDown number
    timeout number
    type string
    urlPath string
    delay Number
    expectedCodes String
    httpMethod String
    id String
    maxRetries Number
    maxRetriesDown Number
    timeout Number
    type String
    urlPath String

    GetLbpoolSessionPersistence

    Package Details

    Repository
    gcorelabs g-core/terraform-provider-gcorelabs
    License
    Notes
    This Pulumi package is based on the gcorelabs Terraform Provider.
    gcorelabs logo
    gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core