Scaleway
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:
- ip_
address str The IP address. Only one of
ip_address
andlb_id
should be specified.- ip_
id str The IP ID. Only one of
ip_address
andip_id
should be specified.
getLoadbalancerIp Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Lb
Id string The associated load-balance 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.
- Lb
Id string The associated load-balance 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.
- lb
Id String The associated load-balance 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.
- lb
Id string The associated load-balance 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.
- 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.
- lb
Id String The associated load-balance 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
- https://github.com/jaxxstorm/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.