Scaleway

Community
Package contributed by a community member
v0.2.1 published on Friday, Feb 25, 2022 by Lee Briggs

getLoadbalancerIp

Gets information about a Load Balancer IP.

Example Usage

using Pulumi;
using Scaleway = Pulumi.Scaleway;

class MyStack : Stack
{
    public MyStack()
    {
        var myIp = Output.Create(Scaleway.GetLoadbalancerIp.InvokeAsync(new Scaleway.GetLoadbalancerIpArgs
        {
            IpId = "11111111-1111-1111-1111-111111111111",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-scaleway/sdk/go/scaleway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scaleway.LookupLoadbalancerIp(ctx, &GetLoadbalancerIpArgs{
			IpId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_scaleway as scaleway

my_ip = scaleway.get_loadbalancer_ip(ip_id="11111111-1111-1111-1111-111111111111")
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";

// Get info by IP ID
const myIp = pulumi.output(scaleway.getLoadbalancerIp({
    ipId: "11111111-1111-1111-1111-111111111111",
}));

Coming soon!

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,
                        opts: Optional[InvokeOptions] = None) -> GetLoadbalancerIpResult
def get_loadbalancer_ip_output(ip_address: Optional[pulumi.Input[str]] = None,
                        ip_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 dictionary

The following arguments are supported:

IpAddress string

The IP address. Only one of ip_address and lb_id should be specified.

IpId string

The IP ID. Only one of ip_address and ip_id should be specified.

IpAddress string

The IP address. Only one of ip_address and lb_id should be specified.

IpId string

The IP ID. Only one of ip_address and ip_id should be specified.

ipAddress String

The IP address. Only one of ip_address and lb_id should be specified.

ipId String

The IP ID. Only one of ip_address and ip_id should be specified.

ipAddress string

The IP address. Only one of ip_address and lb_id should be specified.

ipId string

The IP ID. Only one of ip_address and ip_id should be specified.

ip_address str

The IP address. Only one of ip_address and lb_id should be specified.

ip_id str

The IP ID. Only one of ip_address and ip_id should be specified.

ipAddress String

The IP address. Only one of ip_address and lb_id should be specified.

ipId String

The IP ID. Only one of ip_address and ip_id should be specified.

getLoadbalancerIp Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

LbId string

The associated load-balance ID if any

OrganizationId string

(Defaults to provider organization_id) The ID of the organization the LB IP is associated with.

ProjectId string
Region string
Reverse string

The reverse domain associated with this IP.

Zone string
IpAddress string
IpId string
Id string

The provider-assigned unique ID for this managed resource.

LbId string

The associated load-balance ID if any

OrganizationId string

(Defaults to provider organization_id) The ID of the organization the LB IP is associated with.

ProjectId string
Region string
Reverse string

The reverse domain associated with this IP.

Zone string
IpAddress string
IpId string
id String

The provider-assigned unique ID for this managed resource.

lbId String

The associated load-balance ID if any

organizationId String

(Defaults to provider organization_id) The ID of the organization the LB IP is associated with.

projectId String
region String
reverse String

The reverse domain associated with this IP.

zone String
ipAddress String
ipId String
id string

The provider-assigned unique ID for this managed resource.

lbId string

The associated load-balance ID if any

organizationId string

(Defaults to provider organization_id) The ID of the organization the LB IP is associated with.

projectId string
region string
reverse string

The reverse domain associated with this IP.

zone string
ipAddress string
ipId string
id str

The provider-assigned unique ID for this managed resource.

lb_id str

The associated load-balance 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.

lbId String

The associated load-balance ID if any

organizationId String

(Defaults to provider organization_id) The ID of the organization the LB IP is associated with.

projectId String
region String
reverse String

The reverse domain associated with this IP.

zone String
ipAddress String
ipId String

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.