1. Packages
  2. Scaleway
  3. API Docs
  4. getLbs
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getLbs

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    Gets information about multiple Load Balancers.

    For more information, see the main documentation or API documentation.

    Using getLbs

    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 getLbs(args: GetLbsArgs, opts?: InvokeOptions): Promise<GetLbsResult>
    function getLbsOutput(args: GetLbsOutputArgs, opts?: InvokeOptions): Output<GetLbsResult>
    def get_lbs(name: Optional[str] = None,
                project_id: Optional[str] = None,
                tags: Optional[Sequence[str]] = None,
                zone: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetLbsResult
    def get_lbs_output(name: Optional[pulumi.Input[str]] = None,
                project_id: Optional[pulumi.Input[str]] = None,
                tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                zone: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetLbsResult]
    func GetLbs(ctx *Context, args *GetLbsArgs, opts ...InvokeOption) (*GetLbsResult, error)
    func GetLbsOutput(ctx *Context, args *GetLbsOutputArgs, opts ...InvokeOption) GetLbsResultOutput

    > Note: This function is named GetLbs in the Go SDK.

    public static class GetLbs 
    {
        public static Task<GetLbsResult> InvokeAsync(GetLbsArgs args, InvokeOptions? opts = null)
        public static Output<GetLbsResult> Invoke(GetLbsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLbsResult> getLbs(GetLbsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getLbs:getLbs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    Tags List<string>
    List of tags to filter for. Load Balancers with these exact tags are listed.
    Zone string
    zone) The zone in which the Load Balancers exist.
    Name string
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    Tags []string
    List of tags to filter for. Load Balancers with these exact tags are listed.
    Zone string
    zone) The zone in which the Load Balancers exist.
    name String
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    tags List<String>
    List of tags to filter for. Load Balancers with these exact tags are listed.
    zone String
    zone) The zone in which the Load Balancers exist.
    name string
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    projectId string
    The ID of the Project the Load Balancer is associated with.
    tags string[]
    List of tags to filter for. Load Balancers with these exact tags are listed.
    zone string
    zone) The zone in which the Load Balancers exist.
    name str
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    project_id str
    The ID of the Project the Load Balancer is associated with.
    tags Sequence[str]
    List of tags to filter for. Load Balancers with these exact tags are listed.
    zone str
    zone) The zone in which the Load Balancers exist.
    name String
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    tags List<String>
    List of tags to filter for. Load Balancers with these exact tags are listed.
    zone String
    zone) The zone in which the Load Balancers exist.

    getLbs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Lbs List<Pulumiverse.Scaleway.Outputs.GetLbsLb>
    List of retrieved Load Balancers
    OrganizationId string
    The ID of the Organization the Load Balancer is associated with.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    Zone string
    The zone of the Load Balancer.
    Name string
    The name of the Load Balancer.
    Tags List<string>
    The tags associated with the Load Balancer.
    Id string
    The provider-assigned unique ID for this managed resource.
    Lbs []GetLbsLb
    List of retrieved Load Balancers
    OrganizationId string
    The ID of the Organization the Load Balancer is associated with.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    Zone string
    The zone of the Load Balancer.
    Name string
    The name of the Load Balancer.
    Tags []string
    The tags associated with the Load Balancer.
    id String
    The provider-assigned unique ID for this managed resource.
    lbs List<GetLbsLb>
    List of retrieved Load Balancers
    organizationId String
    The ID of the Organization the Load Balancer is associated with.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    zone String
    The zone of the Load Balancer.
    name String
    The name of the Load Balancer.
    tags List<String>
    The tags associated with the Load Balancer.
    id string
    The provider-assigned unique ID for this managed resource.
    lbs GetLbsLb[]
    List of retrieved Load Balancers
    organizationId string
    The ID of the Organization the Load Balancer is associated with.
    projectId string
    The ID of the Project the Load Balancer is associated with.
    zone string
    The zone of the Load Balancer.
    name string
    The name of the Load Balancer.
    tags string[]
    The tags associated with the Load Balancer.
    id str
    The provider-assigned unique ID for this managed resource.
    lbs Sequence[GetLbsLb]
    List of retrieved Load Balancers
    organization_id str
    The ID of the Organization the Load Balancer is associated with.
    project_id str
    The ID of the Project the Load Balancer is associated with.
    zone str
    The zone of the Load Balancer.
    name str
    The name of the Load Balancer.
    tags Sequence[str]
    The tags associated with the Load Balancer.
    id String
    The provider-assigned unique ID for this managed resource.
    lbs List<Property Map>
    List of retrieved Load Balancers
    organizationId String
    The ID of the Organization the Load Balancer is associated with.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    zone String
    The zone of the Load Balancer.
    name String
    The name of the Load Balancer.
    tags List<String>
    The tags associated with the Load Balancer.

    Supporting Types

    GetLbsLb

    BackendCount int
    Number of backends the Load Balancer has.
    CreatedAt string
    Date on which the Load Balancer was created.
    Description string
    The description of the Load Balancer.
    FrontendCount int
    Number of frontends the Load Balancer has.
    Id string
    The ID of the Load Balancer.
    Instances List<Pulumiverse.Scaleway.Inputs.GetLbsLbInstance>
    List of underlying Instances.
    Ips List<Pulumiverse.Scaleway.Inputs.GetLbsLbIp>
    List of IPs attached to the Load Balancer.
    Name string
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    OrganizationId string
    The ID of the Organization the Load Balancer is associated with.
    PrivateNetworkCount int
    Number of Private Networks attached to the Load balancer.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    RouteCount int
    Number of routes the Load balancer has.
    SslCompatibilityLevel string
    Determines the minimal SSL version which needs to be supported on the client side.
    Status string
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    Subscriber string
    The subscriber information.
    Tags List<string>
    List of tags to filter for. Load Balancers with these exact tags are listed.
    Type string
    The offer type of the Load Balancer.
    UpdatedAt string
    Date on which the Load Balancer was updated.
    Zone string
    zone) The zone in which the Load Balancers exist.
    BackendCount int
    Number of backends the Load Balancer has.
    CreatedAt string
    Date on which the Load Balancer was created.
    Description string
    The description of the Load Balancer.
    FrontendCount int
    Number of frontends the Load Balancer has.
    Id string
    The ID of the Load Balancer.
    Instances []GetLbsLbInstance
    List of underlying Instances.
    Ips []GetLbsLbIp
    List of IPs attached to the Load Balancer.
    Name string
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    OrganizationId string
    The ID of the Organization the Load Balancer is associated with.
    PrivateNetworkCount int
    Number of Private Networks attached to the Load balancer.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    RouteCount int
    Number of routes the Load balancer has.
    SslCompatibilityLevel string
    Determines the minimal SSL version which needs to be supported on the client side.
    Status string
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    Subscriber string
    The subscriber information.
    Tags []string
    List of tags to filter for. Load Balancers with these exact tags are listed.
    Type string
    The offer type of the Load Balancer.
    UpdatedAt string
    Date on which the Load Balancer was updated.
    Zone string
    zone) The zone in which the Load Balancers exist.
    backendCount Integer
    Number of backends the Load Balancer has.
    createdAt String
    Date on which the Load Balancer was created.
    description String
    The description of the Load Balancer.
    frontendCount Integer
    Number of frontends the Load Balancer has.
    id String
    The ID of the Load Balancer.
    instances List<GetLbsLbInstance>
    List of underlying Instances.
    ips List<GetLbsLbIp>
    List of IPs attached to the Load Balancer.
    name String
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    organizationId String
    The ID of the Organization the Load Balancer is associated with.
    privateNetworkCount Integer
    Number of Private Networks attached to the Load balancer.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    routeCount Integer
    Number of routes the Load balancer has.
    sslCompatibilityLevel String
    Determines the minimal SSL version which needs to be supported on the client side.
    status String
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    subscriber String
    The subscriber information.
    tags List<String>
    List of tags to filter for. Load Balancers with these exact tags are listed.
    type String
    The offer type of the Load Balancer.
    updatedAt String
    Date on which the Load Balancer was updated.
    zone String
    zone) The zone in which the Load Balancers exist.
    backendCount number
    Number of backends the Load Balancer has.
    createdAt string
    Date on which the Load Balancer was created.
    description string
    The description of the Load Balancer.
    frontendCount number
    Number of frontends the Load Balancer has.
    id string
    The ID of the Load Balancer.
    instances GetLbsLbInstance[]
    List of underlying Instances.
    ips GetLbsLbIp[]
    List of IPs attached to the Load Balancer.
    name string
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    organizationId string
    The ID of the Organization the Load Balancer is associated with.
    privateNetworkCount number
    Number of Private Networks attached to the Load balancer.
    projectId string
    The ID of the Project the Load Balancer is associated with.
    routeCount number
    Number of routes the Load balancer has.
    sslCompatibilityLevel string
    Determines the minimal SSL version which needs to be supported on the client side.
    status string
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    subscriber string
    The subscriber information.
    tags string[]
    List of tags to filter for. Load Balancers with these exact tags are listed.
    type string
    The offer type of the Load Balancer.
    updatedAt string
    Date on which the Load Balancer was updated.
    zone string
    zone) The zone in which the Load Balancers exist.
    backend_count int
    Number of backends the Load Balancer has.
    created_at str
    Date on which the Load Balancer was created.
    description str
    The description of the Load Balancer.
    frontend_count int
    Number of frontends the Load Balancer has.
    id str
    The ID of the Load Balancer.
    instances Sequence[GetLbsLbInstance]
    List of underlying Instances.
    ips Sequence[GetLbsLbIp]
    List of IPs attached to the Load Balancer.
    name str
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    organization_id str
    The ID of the Organization the Load Balancer is associated with.
    private_network_count int
    Number of Private Networks attached to the Load balancer.
    project_id str
    The ID of the Project the Load Balancer is associated with.
    route_count int
    Number of routes the Load balancer has.
    ssl_compatibility_level str
    Determines the minimal SSL version which needs to be supported on the client side.
    status str
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    subscriber str
    The subscriber information.
    tags Sequence[str]
    List of tags to filter for. Load Balancers with these exact tags are listed.
    type str
    The offer type of the Load Balancer.
    updated_at str
    Date on which the Load Balancer was updated.
    zone str
    zone) The zone in which the Load Balancers exist.
    backendCount Number
    Number of backends the Load Balancer has.
    createdAt String
    Date on which the Load Balancer was created.
    description String
    The description of the Load Balancer.
    frontendCount Number
    Number of frontends the Load Balancer has.
    id String
    The ID of the Load Balancer.
    instances List<Property Map>
    List of underlying Instances.
    ips List<Property Map>
    List of IPs attached to the Load Balancer.
    name String
    The Load Balancer name to filter for. Load Balancers with a matching name are listed.
    organizationId String
    The ID of the Organization the Load Balancer is associated with.
    privateNetworkCount Number
    Number of Private Networks attached to the Load balancer.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    routeCount Number
    Number of routes the Load balancer has.
    sslCompatibilityLevel String
    Determines the minimal SSL version which needs to be supported on the client side.
    status String
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    subscriber String
    The subscriber information.
    tags List<String>
    List of tags to filter for. Load Balancers with these exact tags are listed.
    type String
    The offer type of the Load Balancer.
    updatedAt String
    Date on which the Load Balancer was updated.
    zone String
    zone) The zone in which the Load Balancers exist.

    GetLbsLbInstance

    CreatedAt string
    Date on which the Load Balancer was created.
    Id string
    The ID of the Load Balancer.
    IpAddress string
    Status string
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    UpdatedAt string
    Date on which the Load Balancer was updated.
    Zone string
    zone) The zone in which the Load Balancers exist.
    CreatedAt string
    Date on which the Load Balancer was created.
    Id string
    The ID of the Load Balancer.
    IpAddress string
    Status string
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    UpdatedAt string
    Date on which the Load Balancer was updated.
    Zone string
    zone) The zone in which the Load Balancers exist.
    createdAt String
    Date on which the Load Balancer was created.
    id String
    The ID of the Load Balancer.
    ipAddress String
    status String
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    updatedAt String
    Date on which the Load Balancer was updated.
    zone String
    zone) The zone in which the Load Balancers exist.
    createdAt string
    Date on which the Load Balancer was created.
    id string
    The ID of the Load Balancer.
    ipAddress string
    status string
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    updatedAt string
    Date on which the Load Balancer was updated.
    zone string
    zone) The zone in which the Load Balancers exist.
    created_at str
    Date on which the Load Balancer was created.
    id str
    The ID of the Load Balancer.
    ip_address str
    status str
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    updated_at str
    Date on which the Load Balancer was updated.
    zone str
    zone) The zone in which the Load Balancers exist.
    createdAt String
    Date on which the Load Balancer was created.
    id String
    The ID of the Load Balancer.
    ipAddress String
    status String
    The state of the Load Balancer Instance. Possible values are: unknown, ready, pending, stopped, error, locked and migrating.
    updatedAt String
    Date on which the Load Balancer was updated.
    zone String
    zone) The zone in which the Load Balancers exist.

    GetLbsLbIp

    Id string
    The ID of the Load Balancer.
    IpAddress string
    LbId string
    OrganizationId string
    The ID of the Organization the Load Balancer is associated with.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    Reverse string
    Zone string
    zone) The zone in which the Load Balancers exist.
    Id string
    The ID of the Load Balancer.
    IpAddress string
    LbId string
    OrganizationId string
    The ID of the Organization the Load Balancer is associated with.
    ProjectId string
    The ID of the Project the Load Balancer is associated with.
    Reverse string
    Zone string
    zone) The zone in which the Load Balancers exist.
    id String
    The ID of the Load Balancer.
    ipAddress String
    lbId String
    organizationId String
    The ID of the Organization the Load Balancer is associated with.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    reverse String
    zone String
    zone) The zone in which the Load Balancers exist.
    id string
    The ID of the Load Balancer.
    ipAddress string
    lbId string
    organizationId string
    The ID of the Organization the Load Balancer is associated with.
    projectId string
    The ID of the Project the Load Balancer is associated with.
    reverse string
    zone string
    zone) The zone in which the Load Balancers exist.
    id str
    The ID of the Load Balancer.
    ip_address str
    lb_id str
    organization_id str
    The ID of the Organization the Load Balancer is associated with.
    project_id str
    The ID of the Project the Load Balancer is associated with.
    reverse str
    zone str
    zone) The zone in which the Load Balancers exist.
    id String
    The ID of the Load Balancer.
    ipAddress String
    lbId String
    organizationId String
    The ID of the Organization the Load Balancer is associated with.
    projectId String
    The ID of the Project the Load Balancer is associated with.
    reverse String
    zone String
    zone) The zone in which the Load Balancers exist.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse