Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
Gets information about a Public Gateway public flexible IP address.
For further information, please see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const main = new scaleway.network.PublicGatewayIp("main", {});
const ipById = scaleway.network.getPublicGatewayIpOutput({
ipId: main.id,
});
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway
main = scaleway.network.PublicGatewayIp("main")
ip_by_id = scaleway.network.get_public_gateway_ip_output(ip_id=main.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := network.NewPublicGatewayIp(ctx, "main", nil)
if err != nil {
return err
}
_ = network.LookupPublicGatewayIpOutput(ctx, network.GetPublicGatewayIpOutputArgs{
IpId: main.ID(),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var main = new Scaleway.Network.PublicGatewayIp("main");
var ipById = Scaleway.Network.GetPublicGatewayIp.Invoke(new()
{
IpId = main.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.PublicGatewayIp;
import com.pulumi.scaleway.network.NetworkFunctions;
import com.pulumi.scaleway.network.inputs.GetPublicGatewayIpArgs;
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) {
var main = new PublicGatewayIp("main");
final var ipById = NetworkFunctions.getPublicGatewayIp(GetPublicGatewayIpArgs.builder()
.ipId(main.id())
.build());
}
}
resources:
main:
type: scaleway:network:PublicGatewayIp
variables:
ipById:
fn::invoke:
function: scaleway:network:getPublicGatewayIp
arguments:
ipId: ${main.id}
Using getPublicGatewayIp
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 getPublicGatewayIp(args: GetPublicGatewayIpArgs, opts?: InvokeOptions): Promise<GetPublicGatewayIpResult>
function getPublicGatewayIpOutput(args: GetPublicGatewayIpOutputArgs, opts?: InvokeOptions): Output<GetPublicGatewayIpResult>def get_public_gateway_ip(ip_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicGatewayIpResult
def get_public_gateway_ip_output(ip_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicGatewayIpResult]func LookupPublicGatewayIp(ctx *Context, args *LookupPublicGatewayIpArgs, opts ...InvokeOption) (*LookupPublicGatewayIpResult, error)
func LookupPublicGatewayIpOutput(ctx *Context, args *LookupPublicGatewayIpOutputArgs, opts ...InvokeOption) LookupPublicGatewayIpResultOutput> Note: This function is named LookupPublicGatewayIp in the Go SDK.
public static class GetPublicGatewayIp
{
public static Task<GetPublicGatewayIpResult> InvokeAsync(GetPublicGatewayIpArgs args, InvokeOptions? opts = null)
public static Output<GetPublicGatewayIpResult> Invoke(GetPublicGatewayIpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPublicGatewayIpResult> getPublicGatewayIp(GetPublicGatewayIpArgs args, InvokeOptions options)
public static Output<GetPublicGatewayIpResult> getPublicGatewayIp(GetPublicGatewayIpArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:network/getPublicGatewayIp:getPublicGatewayIp
arguments:
# arguments dictionaryThe following arguments are supported:
- Ip
Id string
- Ip
Id string
- ip
Id String
- ip
Id string
- ip_
id str
- ip
Id String
getPublicGatewayIp Result
The following output properties are available:
- address str
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - project_
id str - reverse str
- Sequence[str]
- updated_
at str - zone str
- ip_
id str
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
