1. Packages
  2. Scaleway
  3. API Docs
  4. elasticmetal
  5. Ip
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.elasticmetal.Ip

Explore with Pulumi AI

Creates and manages Scaleway flexible IPs. For more information, see the API documentation.

Note: Flexible IPs are exclusively available for Elastic Metal (bare metal) servers. They are not compatible with other Scaleway products.

Example Usage

Basic

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const main = new scaleway.elasticmetal.Ip("main", {reverse: "my-reverse.com"});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

main = scaleway.elasticmetal.Ip("main", reverse="my-reverse.com")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.NewIp(ctx, "main", &elasticmetal.IpArgs{
			Reverse: pulumi.String("my-reverse.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var main = new Scaleway.Elasticmetal.Ip("main", new()
    {
        Reverse = "my-reverse.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.elasticmetal.Ip;
import com.pulumi.scaleway.elasticmetal.IpArgs;
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 Ip("main", IpArgs.builder()
            .reverse("my-reverse.com")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:elasticmetal:Ip
    properties:
      reverse: my-reverse.com
Copy

With zone

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const main = new scaleway.elasticmetal.Ip("main", {zone: "fr-par-2"});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

main = scaleway.elasticmetal.Ip("main", zone="fr-par-2")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.NewIp(ctx, "main", &elasticmetal.IpArgs{
			Zone: pulumi.String("fr-par-2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var main = new Scaleway.Elasticmetal.Ip("main", new()
    {
        Zone = "fr-par-2",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.elasticmetal.Ip;
import com.pulumi.scaleway.elasticmetal.IpArgs;
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 Ip("main", IpArgs.builder()
            .zone("fr-par-2")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:elasticmetal:Ip
    properties:
      zone: fr-par-2
Copy

With IPv6

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const main = new scaleway.elasticmetal.Ip("main", {isIpv6: true});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

main = scaleway.elasticmetal.Ip("main", is_ipv6=True)
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticmetal.NewIp(ctx, "main", &elasticmetal.IpArgs{
			IsIpv6: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var main = new Scaleway.Elasticmetal.Ip("main", new()
    {
        IsIpv6 = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.elasticmetal.Ip;
import com.pulumi.scaleway.elasticmetal.IpArgs;
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 Ip("main", IpArgs.builder()
            .isIpv6("true")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:elasticmetal:Ip
    properties:
      isIpv6: 'true'
Copy

With baremetal server

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
import * as scaleway from "@pulumiverse/scaleway";

const main = new scaleway.account.SshKey("main", {
    name: "main",
    publicKey: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com",
});
const byId = scaleway.elasticmetal.getOs({
    zone: "fr-par-2",
    name: "Ubuntu",
    version: "20.04 LTS (Focal Fossa)",
});
const myOffer = scaleway.elasticmetal.getOffer({
    zone: "fr-par-2",
    name: "EM-A210R-HDD",
});
const base = new scaleway.elasticmetal.Server("base", {
    zone: "fr-par-2",
    offer: myOffer.then(myOffer => myOffer.offerId),
    os: byId.then(byId => byId.osId),
    sshKeyIds: main.id,
});
const mainIp = new scaleway.elasticmetal.Ip("main", {
    serverId: base.id,
    zone: "fr-par-2",
});
Copy
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway

main = scaleway.account.SshKey("main",
    name="main",
    public_key="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com")
by_id = scaleway.elasticmetal.get_os(zone="fr-par-2",
    name="Ubuntu",
    version="20.04 LTS (Focal Fossa)")
my_offer = scaleway.elasticmetal.get_offer(zone="fr-par-2",
    name="EM-A210R-HDD")
base = scaleway.elasticmetal.Server("base",
    zone="fr-par-2",
    offer=my_offer.offer_id,
    os=by_id.os_id,
    ssh_key_ids=main.id)
main_ip = scaleway.elasticmetal.Ip("main",
    server_id=base.id,
    zone="fr-par-2")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := account.NewSshKey(ctx, "main", &account.SshKeyArgs{
			Name:      pulumi.String("main"),
			PublicKey: pulumi.String("ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com"),
		})
		if err != nil {
			return err
		}
		byId, err := elasticmetal.GetOs(ctx, &elasticmetal.GetOsArgs{
			Zone:    pulumi.StringRef("fr-par-2"),
			Name:    pulumi.StringRef("Ubuntu"),
			Version: pulumi.StringRef("20.04 LTS (Focal Fossa)"),
		}, nil)
		if err != nil {
			return err
		}
		myOffer, err := elasticmetal.GetOffer(ctx, &elasticmetal.GetOfferArgs{
			Zone: pulumi.StringRef("fr-par-2"),
			Name: pulumi.StringRef("EM-A210R-HDD"),
		}, nil)
		if err != nil {
			return err
		}
		base, err := elasticmetal.NewServer(ctx, "base", &elasticmetal.ServerArgs{
			Zone:      pulumi.String("fr-par-2"),
			Offer:     pulumi.String(myOffer.OfferId),
			Os:        pulumi.String(byId.OsId),
			SshKeyIds: main.ID(),
		})
		if err != nil {
			return err
		}
		_, err = elasticmetal.NewIp(ctx, "main", &elasticmetal.IpArgs{
			ServerId: base.ID(),
			Zone:     pulumi.String("fr-par-2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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.Account.SshKey("main", new()
    {
        Name = "main",
        PublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com",
    });

    var byId = Scaleway.Elasticmetal.GetOs.Invoke(new()
    {
        Zone = "fr-par-2",
        Name = "Ubuntu",
        Version = "20.04 LTS (Focal Fossa)",
    });

    var myOffer = Scaleway.Elasticmetal.GetOffer.Invoke(new()
    {
        Zone = "fr-par-2",
        Name = "EM-A210R-HDD",
    });

    var @base = new Scaleway.Elasticmetal.Server("base", new()
    {
        Zone = "fr-par-2",
        Offer = myOffer.Apply(getOfferResult => getOfferResult.OfferId),
        Os = byId.Apply(getOsResult => getOsResult.OsId),
        SshKeyIds = main.Id,
    });

    var mainIp = new Scaleway.Elasticmetal.Ip("main", new()
    {
        ServerId = @base.Id,
        Zone = "fr-par-2",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.account.SshKey;
import com.pulumi.scaleway.account.SshKeyArgs;
import com.pulumi.scaleway.elasticmetal.ElasticmetalFunctions;
import com.pulumi.scaleway.elasticmetal.inputs.GetOsArgs;
import com.pulumi.scaleway.elasticmetal.inputs.GetOfferArgs;
import com.pulumi.scaleway.elasticmetal.Server;
import com.pulumi.scaleway.elasticmetal.ServerArgs;
import com.pulumi.scaleway.elasticmetal.Ip;
import com.pulumi.scaleway.elasticmetal.IpArgs;
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 SshKey("main", SshKeyArgs.builder()
            .name("main")
            .publicKey("ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com")
            .build());

        final var byId = ElasticmetalFunctions.getOs(GetOsArgs.builder()
            .zone("fr-par-2")
            .name("Ubuntu")
            .version("20.04 LTS (Focal Fossa)")
            .build());

        final var myOffer = ElasticmetalFunctions.getOffer(GetOfferArgs.builder()
            .zone("fr-par-2")
            .name("EM-A210R-HDD")
            .build());

        var base = new Server("base", ServerArgs.builder()
            .zone("fr-par-2")
            .offer(myOffer.applyValue(getOfferResult -> getOfferResult.offerId()))
            .os(byId.applyValue(getOsResult -> getOsResult.osId()))
            .sshKeyIds(main.id())
            .build());

        var mainIp = new Ip("mainIp", IpArgs.builder()
            .serverId(base.id())
            .zone("fr-par-2")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:account:SshKey
    properties:
      name: main
      publicKey: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILHy/M5FVm5ydLGcal3e5LNcfTalbeN7QL/ZGCvDEdqJ foobar@example.com
  base:
    type: scaleway:elasticmetal:Server
    properties:
      zone: fr-par-2
      offer: ${myOffer.offerId}
      os: ${byId.osId}
      sshKeyIds: ${main.id}
  mainIp:
    type: scaleway:elasticmetal:Ip
    name: main
    properties:
      serverId: ${base.id}
      zone: fr-par-2
variables:
  byId:
    fn::invoke:
      function: scaleway:elasticmetal:getOs
      arguments:
        zone: fr-par-2
        name: Ubuntu
        version: 20.04 LTS (Focal Fossa)
  myOffer:
    fn::invoke:
      function: scaleway:elasticmetal:getOffer
      arguments:
        zone: fr-par-2
        name: EM-A210R-HDD
Copy

Create Ip Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Ip(name: string, args?: IpArgs, opts?: CustomResourceOptions);
@overload
def Ip(resource_name: str,
       args: Optional[IpArgs] = None,
       opts: Optional[ResourceOptions] = None)

@overload
def Ip(resource_name: str,
       opts: Optional[ResourceOptions] = None,
       description: Optional[str] = None,
       is_ipv6: Optional[bool] = None,
       project_id: Optional[str] = None,
       reverse: Optional[str] = None,
       server_id: Optional[str] = None,
       tags: Optional[Sequence[str]] = None,
       zone: Optional[str] = None)
func NewIp(ctx *Context, name string, args *IpArgs, opts ...ResourceOption) (*Ip, error)
public Ip(string name, IpArgs? args = null, CustomResourceOptions? opts = null)
public Ip(String name, IpArgs args)
public Ip(String name, IpArgs args, CustomResourceOptions options)
type: scaleway:elasticmetal:Ip
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args IpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args IpArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args IpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args IpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IpArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var ipResource = new Scaleway.Elasticmetal.Ip("ipResource", new()
{
    Description = "string",
    IsIpv6 = false,
    ProjectId = "string",
    Reverse = "string",
    ServerId = "string",
    Tags = new[]
    {
        "string",
    },
    Zone = "string",
});
Copy
example, err := elasticmetal.NewIp(ctx, "ipResource", &elasticmetal.IpArgs{
	Description: pulumi.String("string"),
	IsIpv6:      pulumi.Bool(false),
	ProjectId:   pulumi.String("string"),
	Reverse:     pulumi.String("string"),
	ServerId:    pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	Zone: pulumi.String("string"),
})
Copy
var ipResource = new Ip("ipResource", IpArgs.builder()
    .description("string")
    .isIpv6(false)
    .projectId("string")
    .reverse("string")
    .serverId("string")
    .tags("string")
    .zone("string")
    .build());
Copy
ip_resource = scaleway.elasticmetal.Ip("ipResource",
    description="string",
    is_ipv6=False,
    project_id="string",
    reverse="string",
    server_id="string",
    tags=["string"],
    zone="string")
Copy
const ipResource = new scaleway.elasticmetal.Ip("ipResource", {
    description: "string",
    isIpv6: false,
    projectId: "string",
    reverse: "string",
    serverId: "string",
    tags: ["string"],
    zone: "string",
});
Copy
type: scaleway:elasticmetal:Ip
properties:
    description: string
    isIpv6: false
    projectId: string
    reverse: string
    serverId: string
    tags:
        - string
    zone: string
Copy

Ip Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Ip resource accepts the following input properties:

Description string
A description of the flexible IP.
IsIpv6 Changes to this property will trigger replacement. bool
Defines whether the flexible IP has an IPv6 address.
ProjectId Changes to this property will trigger replacement. string
The project of the Flexible IP.
Reverse string
The reverse domain associated with this flexible IP.
ServerId string
The ID of the associated server.
Tags List<string>
A list of tags to apply to the flexible IP.
Zone Changes to this property will trigger replacement. string
zone) The zone of the Flexible IP.
Description string
A description of the flexible IP.
IsIpv6 Changes to this property will trigger replacement. bool
Defines whether the flexible IP has an IPv6 address.
ProjectId Changes to this property will trigger replacement. string
The project of the Flexible IP.
Reverse string
The reverse domain associated with this flexible IP.
ServerId string
The ID of the associated server.
Tags []string
A list of tags to apply to the flexible IP.
Zone Changes to this property will trigger replacement. string
zone) The zone of the Flexible IP.
description String
A description of the flexible IP.
isIpv6 Changes to this property will trigger replacement. Boolean
Defines whether the flexible IP has an IPv6 address.
projectId Changes to this property will trigger replacement. String
The project of the Flexible IP.
reverse String
The reverse domain associated with this flexible IP.
serverId String
The ID of the associated server.
tags List<String>
A list of tags to apply to the flexible IP.
zone Changes to this property will trigger replacement. String
zone) The zone of the Flexible IP.
description string
A description of the flexible IP.
isIpv6 Changes to this property will trigger replacement. boolean
Defines whether the flexible IP has an IPv6 address.
projectId Changes to this property will trigger replacement. string
The project of the Flexible IP.
reverse string
The reverse domain associated with this flexible IP.
serverId string
The ID of the associated server.
tags string[]
A list of tags to apply to the flexible IP.
zone Changes to this property will trigger replacement. string
zone) The zone of the Flexible IP.
description str
A description of the flexible IP.
is_ipv6 Changes to this property will trigger replacement. bool
Defines whether the flexible IP has an IPv6 address.
project_id Changes to this property will trigger replacement. str
The project of the Flexible IP.
reverse str
The reverse domain associated with this flexible IP.
server_id str
The ID of the associated server.
tags Sequence[str]
A list of tags to apply to the flexible IP.
zone Changes to this property will trigger replacement. str
zone) The zone of the Flexible IP.
description String
A description of the flexible IP.
isIpv6 Changes to this property will trigger replacement. Boolean
Defines whether the flexible IP has an IPv6 address.
projectId Changes to this property will trigger replacement. String
The project of the Flexible IP.
reverse String
The reverse domain associated with this flexible IP.
serverId String
The ID of the associated server.
tags List<String>
A list of tags to apply to the flexible IP.
zone Changes to this property will trigger replacement. String
zone) The zone of the Flexible IP.

Outputs

All input properties are implicitly available as output properties. Additionally, the Ip resource produces the following output properties:

CreatedAt string
The date and time of the creation of the Flexible IP (Format ISO 8601).
Id string
The provider-assigned unique ID for this managed resource.
IpAddress string
The IP address of the Flexible IP.
OrganizationId string
The organization of the Flexible IP.
Status string
The status of the flexible IP.
UpdatedAt string
The date and time of the last update of the Flexible IP (Format ISO 8601).
CreatedAt string
The date and time of the creation of the Flexible IP (Format ISO 8601).
Id string
The provider-assigned unique ID for this managed resource.
IpAddress string
The IP address of the Flexible IP.
OrganizationId string
The organization of the Flexible IP.
Status string
The status of the flexible IP.
UpdatedAt string
The date and time of the last update of the Flexible IP (Format ISO 8601).
createdAt String
The date and time of the creation of the Flexible IP (Format ISO 8601).
id String
The provider-assigned unique ID for this managed resource.
ipAddress String
The IP address of the Flexible IP.
organizationId String
The organization of the Flexible IP.
status String
The status of the flexible IP.
updatedAt String
The date and time of the last update of the Flexible IP (Format ISO 8601).
createdAt string
The date and time of the creation of the Flexible IP (Format ISO 8601).
id string
The provider-assigned unique ID for this managed resource.
ipAddress string
The IP address of the Flexible IP.
organizationId string
The organization of the Flexible IP.
status string
The status of the flexible IP.
updatedAt string
The date and time of the last update of the Flexible IP (Format ISO 8601).
created_at str
The date and time of the creation of the Flexible IP (Format ISO 8601).
id str
The provider-assigned unique ID for this managed resource.
ip_address str
The IP address of the Flexible IP.
organization_id str
The organization of the Flexible IP.
status str
The status of the flexible IP.
updated_at str
The date and time of the last update of the Flexible IP (Format ISO 8601).
createdAt String
The date and time of the creation of the Flexible IP (Format ISO 8601).
id String
The provider-assigned unique ID for this managed resource.
ipAddress String
The IP address of the Flexible IP.
organizationId String
The organization of the Flexible IP.
status String
The status of the flexible IP.
updatedAt String
The date and time of the last update of the Flexible IP (Format ISO 8601).

Look up Existing Ip Resource

Get an existing Ip resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IpState, opts?: CustomResourceOptions): Ip
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        ip_address: Optional[str] = None,
        is_ipv6: Optional[bool] = None,
        organization_id: Optional[str] = None,
        project_id: Optional[str] = None,
        reverse: Optional[str] = None,
        server_id: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[str] = None,
        zone: Optional[str] = None) -> Ip
func GetIp(ctx *Context, name string, id IDInput, state *IpState, opts ...ResourceOption) (*Ip, error)
public static Ip Get(string name, Input<string> id, IpState? state, CustomResourceOptions? opts = null)
public static Ip get(String name, Output<String> id, IpState state, CustomResourceOptions options)
resources:  _:    type: scaleway:elasticmetal:Ip    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreatedAt string
The date and time of the creation of the Flexible IP (Format ISO 8601).
Description string
A description of the flexible IP.
IpAddress string
The IP address of the Flexible IP.
IsIpv6 Changes to this property will trigger replacement. bool
Defines whether the flexible IP has an IPv6 address.
OrganizationId string
The organization of the Flexible IP.
ProjectId Changes to this property will trigger replacement. string
The project of the Flexible IP.
Reverse string
The reverse domain associated with this flexible IP.
ServerId string
The ID of the associated server.
Status string
The status of the flexible IP.
Tags List<string>
A list of tags to apply to the flexible IP.
UpdatedAt string
The date and time of the last update of the Flexible IP (Format ISO 8601).
Zone Changes to this property will trigger replacement. string
zone) The zone of the Flexible IP.
CreatedAt string
The date and time of the creation of the Flexible IP (Format ISO 8601).
Description string
A description of the flexible IP.
IpAddress string
The IP address of the Flexible IP.
IsIpv6 Changes to this property will trigger replacement. bool
Defines whether the flexible IP has an IPv6 address.
OrganizationId string
The organization of the Flexible IP.
ProjectId Changes to this property will trigger replacement. string
The project of the Flexible IP.
Reverse string
The reverse domain associated with this flexible IP.
ServerId string
The ID of the associated server.
Status string
The status of the flexible IP.
Tags []string
A list of tags to apply to the flexible IP.
UpdatedAt string
The date and time of the last update of the Flexible IP (Format ISO 8601).
Zone Changes to this property will trigger replacement. string
zone) The zone of the Flexible IP.
createdAt String
The date and time of the creation of the Flexible IP (Format ISO 8601).
description String
A description of the flexible IP.
ipAddress String
The IP address of the Flexible IP.
isIpv6 Changes to this property will trigger replacement. Boolean
Defines whether the flexible IP has an IPv6 address.
organizationId String
The organization of the Flexible IP.
projectId Changes to this property will trigger replacement. String
The project of the Flexible IP.
reverse String
The reverse domain associated with this flexible IP.
serverId String
The ID of the associated server.
status String
The status of the flexible IP.
tags List<String>
A list of tags to apply to the flexible IP.
updatedAt String
The date and time of the last update of the Flexible IP (Format ISO 8601).
zone Changes to this property will trigger replacement. String
zone) The zone of the Flexible IP.
createdAt string
The date and time of the creation of the Flexible IP (Format ISO 8601).
description string
A description of the flexible IP.
ipAddress string
The IP address of the Flexible IP.
isIpv6 Changes to this property will trigger replacement. boolean
Defines whether the flexible IP has an IPv6 address.
organizationId string
The organization of the Flexible IP.
projectId Changes to this property will trigger replacement. string
The project of the Flexible IP.
reverse string
The reverse domain associated with this flexible IP.
serverId string
The ID of the associated server.
status string
The status of the flexible IP.
tags string[]
A list of tags to apply to the flexible IP.
updatedAt string
The date and time of the last update of the Flexible IP (Format ISO 8601).
zone Changes to this property will trigger replacement. string
zone) The zone of the Flexible IP.
created_at str
The date and time of the creation of the Flexible IP (Format ISO 8601).
description str
A description of the flexible IP.
ip_address str
The IP address of the Flexible IP.
is_ipv6 Changes to this property will trigger replacement. bool
Defines whether the flexible IP has an IPv6 address.
organization_id str
The organization of the Flexible IP.
project_id Changes to this property will trigger replacement. str
The project of the Flexible IP.
reverse str
The reverse domain associated with this flexible IP.
server_id str
The ID of the associated server.
status str
The status of the flexible IP.
tags Sequence[str]
A list of tags to apply to the flexible IP.
updated_at str
The date and time of the last update of the Flexible IP (Format ISO 8601).
zone Changes to this property will trigger replacement. str
zone) The zone of the Flexible IP.
createdAt String
The date and time of the creation of the Flexible IP (Format ISO 8601).
description String
A description of the flexible IP.
ipAddress String
The IP address of the Flexible IP.
isIpv6 Changes to this property will trigger replacement. Boolean
Defines whether the flexible IP has an IPv6 address.
organizationId String
The organization of the Flexible IP.
projectId Changes to this property will trigger replacement. String
The project of the Flexible IP.
reverse String
The reverse domain associated with this flexible IP.
serverId String
The ID of the associated server.
status String
The status of the flexible IP.
tags List<String>
A list of tags to apply to the flexible IP.
updatedAt String
The date and time of the last update of the Flexible IP (Format ISO 8601).
zone Changes to this property will trigger replacement. String
zone) The zone of the Flexible IP.

Import

Flexible IPs can be imported using the {zone}/{id}, e.g.

bash

$ pulumi import scaleway:elasticmetal/ip:Ip main fr-par-1/11111111-1111-1111-1111-111111111111
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.