1. Packages
  2. Scaleway
  3. API Docs
  4. getIpamIp
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getIpamIp

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    Gets information about IP addresses managed by Scaleway’s IP Address Management (IPAM) service. IPAM is used for the DHCP bundled with VPC Private Networks.

    For more information about IPAM, see the main documentation.

    Examples

    IPAM IP ID

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumi/scaleway";
    
    // Get info by ipam ip id
    const byId = scaleway.getIpamIp({
        ipamIpId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Get info by ipam ip id
    by_id = scaleway.get_ipam_ip(ipam_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 {
    		// Get info by ipam ip id
    		_, err := scaleway.LookupIpamIp(ctx, &scaleway.LookupIpamIpArgs{
    			IpamIpId: 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(() => 
    {
        // Get info by ipam ip id
        var byId = Scaleway.GetIpamIp.Invoke(new()
        {
            IpamIpId = "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.GetIpamIpArgs;
    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) {
            // Get info by ipam ip id
            final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()
                .ipamIpId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      # Get info by ipam ip id
      byId:
        fn::invoke:
          Function: scaleway:getIpamIp
          Arguments:
            ipamIpId: 11111111-1111-1111-1111-111111111111
    

    Instance Private Network IP

    Get an Instance’s IP on a Private Network.

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumi/scaleway";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Connect your instance to a private network using a private nic.
    const nic = new scaleway.InstancePrivateNic("nic", {
        serverId: server.id,
        privateNetworkId: pn.id,
    });
    // Find server private IPv4 using private-nic mac address
    const byMac = scaleway.getIpamIpOutput({
        macAddress: nic.macAddress,
        type: "ipv4",
    });
    // Find server private IPv4 using private-nic id
    const byId = scaleway.getIpamIpOutput({
        resource: {
            id: nic.id,
            type: "instance_private_nic",
        },
        type: "ipv4",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    import pulumiverse_scaleway as scaleway
    
    # Connect your instance to a private network using a private nic.
    nic = scaleway.InstancePrivateNic("nic",
        server_id=server["id"],
        private_network_id=pn["id"])
    # Find server private IPv4 using private-nic mac address
    by_mac = scaleway.get_ipam_ip_output(mac_address=nic.mac_address,
        type="ipv4")
    # Find server private IPv4 using private-nic id
    by_id = scaleway.get_ipam_ip_output(resource={
            "id": nic.id,
            "type": "instance_private_nic",
        },
        type="ipv4")
    
    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 {
    		// Connect your instance to a private network using a private nic.
    		nic, err := scaleway.NewInstancePrivateNic(ctx, "nic", &scaleway.InstancePrivateNicArgs{
    			ServerId:         pulumi.Any(server.Id),
    			PrivateNetworkId: pulumi.Any(pn.Id),
    		})
    		if err != nil {
    			return err
    		}
    		// Find server private IPv4 using private-nic mac address
    		_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{
    			MacAddress: nic.MacAddress,
    			Type:       pulumi.String("ipv4"),
    		}, nil)
    		// Find server private IPv4 using private-nic id
    		_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{
    			Resource: &scaleway.GetIpamIpResourceArgs{
    				Id:   nic.ID(),
    				Type: pulumi.String("instance_private_nic"),
    			},
    			Type: pulumi.String("ipv4"),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Connect your instance to a private network using a private nic.
        var nic = new Scaleway.InstancePrivateNic("nic", new()
        {
            ServerId = server.Id,
            PrivateNetworkId = pn.Id,
        });
    
        // Find server private IPv4 using private-nic mac address
        var byMac = Scaleway.GetIpamIp.Invoke(new()
        {
            MacAddress = nic.MacAddress,
            Type = "ipv4",
        });
    
        // Find server private IPv4 using private-nic id
        var byId = Scaleway.GetIpamIp.Invoke(new()
        {
            Resource = new Scaleway.Inputs.GetIpamIpResourceInputArgs
            {
                Id = nic.Id,
                Type = "instance_private_nic",
            },
            Type = "ipv4",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.InstancePrivateNic;
    import com.pulumi.scaleway.InstancePrivateNicArgs;
    import com.pulumi.scaleway.ScalewayFunctions;
    import com.pulumi.scaleway.inputs.GetIpamIpArgs;
    import com.pulumi.scaleway.inputs.GetIpamIpResourceArgs;
    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) {
            // Connect your instance to a private network using a private nic.
            var nic = new InstancePrivateNic("nic", InstancePrivateNicArgs.builder()
                .serverId(server.id())
                .privateNetworkId(pn.id())
                .build());
    
            // Find server private IPv4 using private-nic mac address
            final var byMac = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()
                .macAddress(nic.macAddress())
                .type("ipv4")
                .build());
    
            // Find server private IPv4 using private-nic id
            final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()
                .resource(GetIpamIpResourceArgs.builder()
                    .id(nic.id())
                    .type("instance_private_nic")
                    .build())
                .type("ipv4")
                .build());
    
        }
    }
    
    resources:
      # Connect your instance to a private network using a private nic.
      nic:
        type: scaleway:InstancePrivateNic
        properties:
          serverId: ${server.id}
          privateNetworkId: ${pn.id}
    variables:
      # Find server private IPv4 using private-nic mac address
      byMac:
        fn::invoke:
          Function: scaleway:getIpamIp
          Arguments:
            macAddress: ${nic.macAddress}
            type: ipv4
      # Find server private IPv4 using private-nic id
      byId:
        fn::invoke:
          Function: scaleway:getIpamIp
          Arguments:
            resource:
              id: ${nic.id}
              type: instance_private_nic
            type: ipv4
    

    RDB instance

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumi/scaleway";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Find the private IPv4 using resource name
    const pn = new scaleway.VpcPrivateNetwork("pn", {});
    const main = new scaleway.DatabaseInstance("main", {
        name: "test-rdb",
        nodeType: "DB-DEV-S",
        engine: "PostgreSQL-15",
        isHaCluster: true,
        disableBackup: true,
        userName: "my_initial_user",
        password: "thiZ_is_v&ry_s3cret",
        privateNetwork: {
            pnId: pn.id,
        },
    });
    const byName = scaleway.getIpamIpOutput({
        resource: {
            name: main.name,
            type: "rdb_instance",
        },
        type: "ipv4",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    import pulumiverse_scaleway as scaleway
    
    # Find the private IPv4 using resource name
    pn = scaleway.VpcPrivateNetwork("pn")
    main = scaleway.DatabaseInstance("main",
        name="test-rdb",
        node_type="DB-DEV-S",
        engine="PostgreSQL-15",
        is_ha_cluster=True,
        disable_backup=True,
        user_name="my_initial_user",
        password="thiZ_is_v&ry_s3cret",
        private_network={
            "pn_id": pn.id,
        })
    by_name = scaleway.get_ipam_ip_output(resource={
            "name": main.name,
            "type": "rdb_instance",
        },
        type="ipv4")
    
    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 {
    		// Find the private IPv4 using resource name
    		pn, err := scaleway.NewVpcPrivateNetwork(ctx, "pn", nil)
    		if err != nil {
    			return err
    		}
    		main, err := scaleway.NewDatabaseInstance(ctx, "main", &scaleway.DatabaseInstanceArgs{
    			Name:          pulumi.String("test-rdb"),
    			NodeType:      pulumi.String("DB-DEV-S"),
    			Engine:        pulumi.String("PostgreSQL-15"),
    			IsHaCluster:   pulumi.Bool(true),
    			DisableBackup: pulumi.Bool(true),
    			UserName:      pulumi.String("my_initial_user"),
    			Password:      pulumi.String("thiZ_is_v&ry_s3cret"),
    			PrivateNetwork: &scaleway.DatabaseInstancePrivateNetworkArgs{
    				PnId: pn.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{
    			Resource: &scaleway.GetIpamIpResourceArgs{
    				Name: main.Name,
    				Type: pulumi.String("rdb_instance"),
    			},
    			Type: pulumi.String("ipv4"),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Find the private IPv4 using resource name
        var pn = new Scaleway.VpcPrivateNetwork("pn");
    
        var main = new Scaleway.DatabaseInstance("main", new()
        {
            Name = "test-rdb",
            NodeType = "DB-DEV-S",
            Engine = "PostgreSQL-15",
            IsHaCluster = true,
            DisableBackup = true,
            UserName = "my_initial_user",
            Password = "thiZ_is_v&ry_s3cret",
            PrivateNetwork = new Scaleway.Inputs.DatabaseInstancePrivateNetworkArgs
            {
                PnId = pn.Id,
            },
        });
    
        var byName = Scaleway.GetIpamIp.Invoke(new()
        {
            Resource = new Scaleway.Inputs.GetIpamIpResourceInputArgs
            {
                Name = main.Name,
                Type = "rdb_instance",
            },
            Type = "ipv4",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.VpcPrivateNetwork;
    import com.pulumi.scaleway.DatabaseInstance;
    import com.pulumi.scaleway.DatabaseInstanceArgs;
    import com.pulumi.scaleway.inputs.DatabaseInstancePrivateNetworkArgs;
    import com.pulumi.scaleway.ScalewayFunctions;
    import com.pulumi.scaleway.inputs.GetIpamIpArgs;
    import com.pulumi.scaleway.inputs.GetIpamIpResourceArgs;
    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) {
            // Find the private IPv4 using resource name
            var pn = new VpcPrivateNetwork("pn");
    
            var main = new DatabaseInstance("main", DatabaseInstanceArgs.builder()
                .name("test-rdb")
                .nodeType("DB-DEV-S")
                .engine("PostgreSQL-15")
                .isHaCluster(true)
                .disableBackup(true)
                .userName("my_initial_user")
                .password("thiZ_is_v&ry_s3cret")
                .privateNetwork(DatabaseInstancePrivateNetworkArgs.builder()
                    .pnId(pn.id())
                    .build())
                .build());
    
            final var byName = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()
                .resource(GetIpamIpResourceArgs.builder()
                    .name(main.name())
                    .type("rdb_instance")
                    .build())
                .type("ipv4")
                .build());
    
        }
    }
    
    resources:
      # Find the private IPv4 using resource name
      pn:
        type: scaleway:VpcPrivateNetwork
      main:
        type: scaleway:DatabaseInstance
        properties:
          name: test-rdb
          nodeType: DB-DEV-S
          engine: PostgreSQL-15
          isHaCluster: true
          disableBackup: true
          userName: my_initial_user
          password: thiZ_is_v&ry_s3cret
          privateNetwork:
            pnId: ${pn.id}
    variables:
      byName:
        fn::invoke:
          Function: scaleway:getIpamIp
          Arguments:
            resource:
              name: ${main.name}
              type: rdb_instance
            type: ipv4
    

    Using getIpamIp

    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 getIpamIp(args: GetIpamIpArgs, opts?: InvokeOptions): Promise<GetIpamIpResult>
    function getIpamIpOutput(args: GetIpamIpOutputArgs, opts?: InvokeOptions): Output<GetIpamIpResult>
    def get_ipam_ip(attached: Optional[bool] = None,
                    ipam_ip_id: Optional[str] = None,
                    mac_address: Optional[str] = None,
                    private_network_id: Optional[str] = None,
                    project_id: Optional[str] = None,
                    region: Optional[str] = None,
                    resource: Optional[GetIpamIpResource] = None,
                    tags: Optional[Sequence[str]] = None,
                    type: Optional[str] = None,
                    zonal: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetIpamIpResult
    def get_ipam_ip_output(attached: Optional[pulumi.Input[bool]] = None,
                    ipam_ip_id: Optional[pulumi.Input[str]] = None,
                    mac_address: Optional[pulumi.Input[str]] = None,
                    private_network_id: Optional[pulumi.Input[str]] = None,
                    project_id: Optional[pulumi.Input[str]] = None,
                    region: Optional[pulumi.Input[str]] = None,
                    resource: Optional[pulumi.Input[GetIpamIpResourceArgs]] = None,
                    tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    type: Optional[pulumi.Input[str]] = None,
                    zonal: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetIpamIpResult]
    func LookupIpamIp(ctx *Context, args *LookupIpamIpArgs, opts ...InvokeOption) (*LookupIpamIpResult, error)
    func LookupIpamIpOutput(ctx *Context, args *LookupIpamIpOutputArgs, opts ...InvokeOption) LookupIpamIpResultOutput

    > Note: This function is named LookupIpamIp in the Go SDK.

    public static class GetIpamIp 
    {
        public static Task<GetIpamIpResult> InvokeAsync(GetIpamIpArgs args, InvokeOptions? opts = null)
        public static Output<GetIpamIpResult> Invoke(GetIpamIpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpamIpResult> getIpamIp(GetIpamIpArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getIpamIp:getIpamIp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Attached bool
    Defines whether to filter only for IPs which are attached to a resource. Cannot be used with ipam_ip_id.
    IpamIpId string
    The IPAM IP ID. Cannot be used with any other arguments.
    MacAddress string
    The MAC address linked to the IP. Cannot be used with ipam_ip_id.
    PrivateNetworkId string
    The ID of the Private Network the IP belongs to. Cannot be used with ipam_ip_id.
    ProjectId string
    project_id) The ID of the Project the IP is associated with.
    Region string
    region) The region in which the IP exists.
    Resource Pulumiverse.Scaleway.Inputs.GetIpamIpResource
    Filter by resource ID, type or name. Cannot be used with ipam_ip_id. If specified, type is required, and at least one of id or name must be set.
    Tags List<string>
    The tags associated with the IP. Cannot be used with ipam_ip_id. As datasource only returns one IP, the search with given tags must return only one result.
    Type string
    The type of IP to search for (ipv4 or ipv6). Cannot be used with ipam_ip_id.
    Zonal string
    Only IPs that are zonal, and in this zone, will be returned.
    Attached bool
    Defines whether to filter only for IPs which are attached to a resource. Cannot be used with ipam_ip_id.
    IpamIpId string
    The IPAM IP ID. Cannot be used with any other arguments.
    MacAddress string
    The MAC address linked to the IP. Cannot be used with ipam_ip_id.
    PrivateNetworkId string
    The ID of the Private Network the IP belongs to. Cannot be used with ipam_ip_id.
    ProjectId string
    project_id) The ID of the Project the IP is associated with.
    Region string
    region) The region in which the IP exists.
    Resource GetIpamIpResource
    Filter by resource ID, type or name. Cannot be used with ipam_ip_id. If specified, type is required, and at least one of id or name must be set.
    Tags []string
    The tags associated with the IP. Cannot be used with ipam_ip_id. As datasource only returns one IP, the search with given tags must return only one result.
    Type string
    The type of IP to search for (ipv4 or ipv6). Cannot be used with ipam_ip_id.
    Zonal string
    Only IPs that are zonal, and in this zone, will be returned.
    attached Boolean
    Defines whether to filter only for IPs which are attached to a resource. Cannot be used with ipam_ip_id.
    ipamIpId String
    The IPAM IP ID. Cannot be used with any other arguments.
    macAddress String
    The MAC address linked to the IP. Cannot be used with ipam_ip_id.
    privateNetworkId String
    The ID of the Private Network the IP belongs to. Cannot be used with ipam_ip_id.
    projectId String
    project_id) The ID of the Project the IP is associated with.
    region String
    region) The region in which the IP exists.
    resource GetIpamIpResource
    Filter by resource ID, type or name. Cannot be used with ipam_ip_id. If specified, type is required, and at least one of id or name must be set.
    tags List<String>
    The tags associated with the IP. Cannot be used with ipam_ip_id. As datasource only returns one IP, the search with given tags must return only one result.
    type String
    The type of IP to search for (ipv4 or ipv6). Cannot be used with ipam_ip_id.
    zonal String
    Only IPs that are zonal, and in this zone, will be returned.
    attached boolean
    Defines whether to filter only for IPs which are attached to a resource. Cannot be used with ipam_ip_id.
    ipamIpId string
    The IPAM IP ID. Cannot be used with any other arguments.
    macAddress string
    The MAC address linked to the IP. Cannot be used with ipam_ip_id.
    privateNetworkId string
    The ID of the Private Network the IP belongs to. Cannot be used with ipam_ip_id.
    projectId string
    project_id) The ID of the Project the IP is associated with.
    region string
    region) The region in which the IP exists.
    resource GetIpamIpResource
    Filter by resource ID, type or name. Cannot be used with ipam_ip_id. If specified, type is required, and at least one of id or name must be set.
    tags string[]
    The tags associated with the IP. Cannot be used with ipam_ip_id. As datasource only returns one IP, the search with given tags must return only one result.
    type string
    The type of IP to search for (ipv4 or ipv6). Cannot be used with ipam_ip_id.
    zonal string
    Only IPs that are zonal, and in this zone, will be returned.
    attached bool
    Defines whether to filter only for IPs which are attached to a resource. Cannot be used with ipam_ip_id.
    ipam_ip_id str
    The IPAM IP ID. Cannot be used with any other arguments.
    mac_address str
    The MAC address linked to the IP. Cannot be used with ipam_ip_id.
    private_network_id str
    The ID of the Private Network the IP belongs to. Cannot be used with ipam_ip_id.
    project_id str
    project_id) The ID of the Project the IP is associated with.
    region str
    region) The region in which the IP exists.
    resource GetIpamIpResource
    Filter by resource ID, type or name. Cannot be used with ipam_ip_id. If specified, type is required, and at least one of id or name must be set.
    tags Sequence[str]
    The tags associated with the IP. Cannot be used with ipam_ip_id. As datasource only returns one IP, the search with given tags must return only one result.
    type str
    The type of IP to search for (ipv4 or ipv6). Cannot be used with ipam_ip_id.
    zonal str
    Only IPs that are zonal, and in this zone, will be returned.
    attached Boolean
    Defines whether to filter only for IPs which are attached to a resource. Cannot be used with ipam_ip_id.
    ipamIpId String
    The IPAM IP ID. Cannot be used with any other arguments.
    macAddress String
    The MAC address linked to the IP. Cannot be used with ipam_ip_id.
    privateNetworkId String
    The ID of the Private Network the IP belongs to. Cannot be used with ipam_ip_id.
    projectId String
    project_id) The ID of the Project the IP is associated with.
    region String
    region) The region in which the IP exists.
    resource Property Map
    Filter by resource ID, type or name. Cannot be used with ipam_ip_id. If specified, type is required, and at least one of id or name must be set.
    tags List<String>
    The tags associated with the IP. Cannot be used with ipam_ip_id. As datasource only returns one IP, the search with given tags must return only one result.
    type String
    The type of IP to search for (ipv4 or ipv6). Cannot be used with ipam_ip_id.
    zonal String
    Only IPs that are zonal, and in this zone, will be returned.

    getIpamIp Result

    The following output properties are available:

    Address string
    The IP address.
    AddressCidr string
    the IP address in CIDR notation.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    ProjectId string
    Region string
    Zonal string
    Attached bool
    IpamIpId string
    MacAddress string
    PrivateNetworkId string
    Resource Pulumiverse.Scaleway.Outputs.GetIpamIpResource
    Tags List<string>
    Type string
    Address string
    The IP address.
    AddressCidr string
    the IP address in CIDR notation.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    ProjectId string
    Region string
    Zonal string
    Attached bool
    IpamIpId string
    MacAddress string
    PrivateNetworkId string
    Resource GetIpamIpResource
    Tags []string
    Type string
    address String
    The IP address.
    addressCidr String
    the IP address in CIDR notation.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    projectId String
    region String
    zonal String
    attached Boolean
    ipamIpId String
    macAddress String
    privateNetworkId String
    resource GetIpamIpResource
    tags List<String>
    type String
    address string
    The IP address.
    addressCidr string
    the IP address in CIDR notation.
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    projectId string
    region string
    zonal string
    attached boolean
    ipamIpId string
    macAddress string
    privateNetworkId string
    resource GetIpamIpResource
    tags string[]
    type string
    address str
    The IP address.
    address_cidr str
    the IP address in CIDR notation.
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    project_id str
    region str
    zonal str
    attached bool
    ipam_ip_id str
    mac_address str
    private_network_id str
    resource GetIpamIpResource
    tags Sequence[str]
    type str
    address String
    The IP address.
    addressCidr String
    the IP address in CIDR notation.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    projectId String
    region String
    zonal String
    attached Boolean
    ipamIpId String
    macAddress String
    privateNetworkId String
    resource Property Map
    tags List<String>
    type String

    Supporting Types

    GetIpamIpResource

    Type string
    The type of the resource the IP is attached to. Documentation with type list.
    Id string
    The ID of the resource that the IP is attached to.
    Name string
    The name of the resource the IP is attached to.
    Type string
    The type of the resource the IP is attached to. Documentation with type list.
    Id string
    The ID of the resource that the IP is attached to.
    Name string
    The name of the resource the IP is attached to.
    type String
    The type of the resource the IP is attached to. Documentation with type list.
    id String
    The ID of the resource that the IP is attached to.
    name String
    The name of the resource the IP is attached to.
    type string
    The type of the resource the IP is attached to. Documentation with type list.
    id string
    The ID of the resource that the IP is attached to.
    name string
    The name of the resource the IP is attached to.
    type str
    The type of the resource the IP is attached to. Documentation with type list.
    id str
    The ID of the resource that the IP is attached to.
    name str
    The name of the resource the IP is attached to.
    type String
    The type of the resource the IP is attached to. Documentation with type list.
    id String
    The ID of the resource that the IP is attached to.
    name String
    The name of the resource the IP is attached to.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse