Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse
scaleway.getLoadbalancerIp
Explore with Pulumi AI
Gets information about a Load Balancer IP.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
const myIp = scaleway.getLoadbalancerIp({
    ipId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
my_ip = scaleway.get_loadbalancer_ip(ip_id="11111111-1111-1111-1111-111111111111")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scaleway.LookupLoadbalancerIp(ctx, &scaleway.LookupLoadbalancerIpArgs{
			IpId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() => 
{
    var myIp = Scaleway.GetLoadbalancerIp.Invoke(new()
    {
        IpId = "11111111-1111-1111-1111-111111111111",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.ScalewayFunctions;
import com.pulumi.scaleway.inputs.GetLoadbalancerIpArgs;
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) {
        final var myIp = ScalewayFunctions.getLoadbalancerIp(GetLoadbalancerIpArgs.builder()
            .ipId("11111111-1111-1111-1111-111111111111")
            .build());
    }
}
variables:
  myIp:
    fn::invoke:
      Function: scaleway:getLoadbalancerIp
      Arguments:
        ipId: 11111111-1111-1111-1111-111111111111
Using getLoadbalancerIp
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 getLoadbalancerIp(args: GetLoadbalancerIpArgs, opts?: InvokeOptions): Promise<GetLoadbalancerIpResult>
function getLoadbalancerIpOutput(args: GetLoadbalancerIpOutputArgs, opts?: InvokeOptions): Output<GetLoadbalancerIpResult>def get_loadbalancer_ip(ip_address: Optional[str] = None,
                        ip_id: Optional[str] = None,
                        project_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetLoadbalancerIpResult
def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[str]] = None,
                        ip_id: Optional[pulumi.Input[str]] = None,
                        project_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetLoadbalancerIpResult]func LookupLoadbalancerIp(ctx *Context, args *LookupLoadbalancerIpArgs, opts ...InvokeOption) (*LookupLoadbalancerIpResult, error)
func LookupLoadbalancerIpOutput(ctx *Context, args *LookupLoadbalancerIpOutputArgs, opts ...InvokeOption) LookupLoadbalancerIpResultOutput> Note: This function is named LookupLoadbalancerIp in the Go SDK.
public static class GetLoadbalancerIp 
{
    public static Task<GetLoadbalancerIpResult> InvokeAsync(GetLoadbalancerIpArgs args, InvokeOptions? opts = null)
    public static Output<GetLoadbalancerIpResult> Invoke(GetLoadbalancerIpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLoadbalancerIpResult> getLoadbalancerIp(GetLoadbalancerIpArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: scaleway:index/getLoadbalancerIp:getLoadbalancerIp
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ip_
address str - The IP address.
Only one of 
ip_addressandip_idshould be specified. - ip_
id str - The IP ID.
Only one of 
ip_addressandip_idshould be specified. - project_
id str - The ID of the project the LB IP associated with.
 
getLoadbalancerIp Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Is
Ipv6 bool - Lb
Id string - The associated load-balancer ID if any
 - Organization
Id string - (Defaults to provider 
organization_id) The ID of the organization the LB IP is associated with. - Project
Id string - Region string
 - Reverse string
 - The reverse domain associated with this IP.
 - Zone string
 - Ip
Address string - Ip
Id string 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Is
Ipv6 bool - Lb
Id string - The associated load-balancer ID if any
 - Organization
Id string - (Defaults to provider 
organization_id) The ID of the organization the LB IP is associated with. - Project
Id string - Region string
 - Reverse string
 - The reverse domain associated with this IP.
 - Zone string
 - Ip
Address string - Ip
Id string 
- id String
 - The provider-assigned unique ID for this managed resource.
 - is
Ipv6 Boolean - lb
Id String - The associated load-balancer ID if any
 - organization
Id String - (Defaults to provider 
organization_id) The ID of the organization the LB IP is associated with. - project
Id String - region String
 - reverse String
 - The reverse domain associated with this IP.
 - zone String
 - ip
Address String - ip
Id String 
- id string
 - The provider-assigned unique ID for this managed resource.
 - is
Ipv6 boolean - lb
Id string - The associated load-balancer ID if any
 - organization
Id string - (Defaults to provider 
organization_id) The ID of the organization the LB IP is associated with. - project
Id string - region string
 - reverse string
 - The reverse domain associated with this IP.
 - zone string
 - ip
Address string - ip
Id string 
- id str
 - The provider-assigned unique ID for this managed resource.
 - is_
ipv6 bool - lb_
id str - The associated load-balancer ID if any
 - organization_
id str - (Defaults to provider 
organization_id) The ID of the organization the LB IP is associated with. - project_
id str - region str
 - reverse str
 - The reverse domain associated with this IP.
 - zone str
 - ip_
address str - ip_
id str 
- id String
 - The provider-assigned unique ID for this managed resource.
 - is
Ipv6 Boolean - lb
Id String - The associated load-balancer ID if any
 - organization
Id String - (Defaults to provider 
organization_id) The ID of the organization the LB IP is associated with. - project
Id String - region String
 - reverse String
 - The reverse domain associated with this IP.
 - zone String
 - ip
Address String - ip
Id String 
Package Details
- Repository
 - scaleway pulumiverse/pulumi-scaleway
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scalewayTerraform Provider.