1. Packages
  2. Scaleway
  3. API Docs
  4. getIpamIp
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

scaleway.getIpamIp

Explore with Pulumi AI

scaleway logo
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

    Gets information about IP managed by IPAM service. IPAM service is used for dhcp bundled in VPCs’ private networks.

    Examples

    IPAM IP ID

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumi/scaleway";
    
    const byId = scaleway.getIpamIp({
        ipamIpId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    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 {
    		_, 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(() => 
    {
        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) {
            final var byId = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()
                .ipamIpId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      byId:
        fn::invoke:
          Function: scaleway:getIpamIp
          Arguments:
            ipamIpId: 11111111-1111-1111-1111-111111111111
    

    Instance Private Network IP

    Get Instance IP in 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: scaleway_instance_server.server.id,
        privateNetworkId: scaleway_vpc_private_network.pn.id,
    });
    const byMac = scaleway.getIpamIpOutput({
        macAddress: nic.macAddress,
        type: "ipv4",
    });
    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=scaleway_instance_server["server"]["id"],
        private_network_id=scaleway_vpc_private_network["pn"]["id"])
    by_mac = scaleway.get_ipam_ip_output(mac_address=nic.mac_address,
        type="ipv4")
    by_id = scaleway.get_ipam_ip_output(resource=scaleway.GetIpamIpResourceArgs(
            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(scaleway_instance_server.Server.Id),
    			PrivateNetworkId: pulumi.Any(scaleway_vpc_private_network.Pn.Id),
    		})
    		if err != nil {
    			return err
    		}
    		_ = scaleway.LookupIpamIpOutput(ctx, scaleway.GetIpamIpOutputArgs{
    			MacAddress: nic.MacAddress,
    			Type:       pulumi.String("ipv4"),
    		}, nil)
    		_ = 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 = scaleway_instance_server.Server.Id,
            PrivateNetworkId = scaleway_vpc_private_network.Pn.Id,
        });
    
        var byMac = Scaleway.GetIpamIp.Invoke(new()
        {
            MacAddress = nic.MacAddress,
            Type = "ipv4",
        });
    
        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(scaleway_instance_server.server().id())
                .privateNetworkId(scaleway_vpc_private_network.pn().id())
                .build());
    
            final var byMac = ScalewayFunctions.getIpamIp(GetIpamIpArgs.builder()
                .macAddress(nic.macAddress())
                .type("ipv4")
                .build());
    
            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: ${scaleway_instance_server.server.id}
          privateNetworkId: ${scaleway_vpc_private_network.pn.id}
    variables:
      byMac:
        fn::invoke:
          Function: scaleway:getIpamIp
          Arguments:
            macAddress: ${nic.macAddress}
            type: ipv4
      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", {
        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",
        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=scaleway.DatabaseInstancePrivateNetworkArgs(
            pn_id=pn.id,
        ))
    by_name = scaleway.get_ipam_ip_output(resource=scaleway.GetIpamIpResourceArgs(
            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{
    			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()
        {
            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()        
                .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:
          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 the rest of the 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 belong 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, 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 the rest of the 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 belong 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, 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 the rest of the 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 belong 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, 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 the rest of the 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 belong 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, 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 the rest of the 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 belong 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, 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 the rest of the 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 belong 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, 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 with a 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 with a 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 with a 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 with a 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 with a 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 with a 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 to get the IP from. Documentation with type list.
    Id string
    The ID of the resource that the IP is bound to.
    Name string
    The name of the resource to get the IP from.
    Type string
    The type of the resource to get the IP from. Documentation with type list.
    Id string
    The ID of the resource that the IP is bound to.
    Name string
    The name of the resource to get the IP from.
    type String
    The type of the resource to get the IP from. Documentation with type list.
    id String
    The ID of the resource that the IP is bound to.
    name String
    The name of the resource to get the IP from.
    type string
    The type of the resource to get the IP from. Documentation with type list.
    id string
    The ID of the resource that the IP is bound to.
    name string
    The name of the resource to get the IP from.
    type str
    The type of the resource to get the IP from. Documentation with type list.
    id str
    The ID of the resource that the IP is bound to.
    name str
    The name of the resource to get the IP from.
    type String
    The type of the resource to get the IP from. Documentation with type list.
    id String
    The ID of the resource that the IP is bound to.
    name String
    The name of the resource to get the IP from.

    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.14.0 published on Thursday, Jun 6, 2024 by pulumiverse