1. Packages
  2. Scaleway
  3. API Docs
  4. ipam
  5. IpReverseDns
Scaleway v1.27.0 published on Monday, Apr 21, 2025 by pulumiverse

scaleway.ipam.IpReverseDns

Explore with Pulumi AI

Manage the reverse DNS of IP addresses managed by Scaleway’s IP Address Management (IPAM) service.

For more information about IPAM, see the main documentation.

Create IpReverseDns Resource

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

Constructor syntax

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

@overload
def IpReverseDns(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 address: Optional[str] = None,
                 hostname: Optional[str] = None,
                 ipam_ip_id: Optional[str] = None,
                 region: Optional[str] = None)
func NewIpReverseDns(ctx *Context, name string, args IpReverseDnsArgs, opts ...ResourceOption) (*IpReverseDns, error)
public IpReverseDns(string name, IpReverseDnsArgs args, CustomResourceOptions? opts = null)
public IpReverseDns(String name, IpReverseDnsArgs args)
public IpReverseDns(String name, IpReverseDnsArgs args, CustomResourceOptions options)
type: scaleway:ipam:IpReverseDns
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 This property is required. IpReverseDnsArgs
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 This property is required. IpReverseDnsArgs
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 This property is required. IpReverseDnsArgs
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 This property is required. IpReverseDnsArgs
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. IpReverseDnsArgs
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 scalewayIpReverseDnsResource = new Scaleway.Ipam.IpReverseDns("scalewayIpReverseDnsResource", new()
{
    Address = "string",
    Hostname = "string",
    IpamIpId = "string",
    Region = "string",
});
Copy
example, err := ipam.NewIpReverseDns(ctx, "scalewayIpReverseDnsResource", &ipam.IpReverseDnsArgs{
	Address:  pulumi.String("string"),
	Hostname: pulumi.String("string"),
	IpamIpId: pulumi.String("string"),
	Region:   pulumi.String("string"),
})
Copy
var scalewayIpReverseDnsResource = new com.pulumi.scaleway.ipam.IpReverseDns("scalewayIpReverseDnsResource", com.pulumi.scaleway.ipam.IpReverseDnsArgs.builder()
    .address("string")
    .hostname("string")
    .ipamIpId("string")
    .region("string")
    .build());
Copy
scaleway_ip_reverse_dns_resource = scaleway.ipam.IpReverseDns("scalewayIpReverseDnsResource",
    address="string",
    hostname="string",
    ipam_ip_id="string",
    region="string")
Copy
const scalewayIpReverseDnsResource = new scaleway.ipam.IpReverseDns("scalewayIpReverseDnsResource", {
    address: "string",
    hostname: "string",
    ipamIpId: "string",
    region: "string",
});
Copy
type: scaleway:ipam:IpReverseDns
properties:
    address: string
    hostname: string
    ipamIpId: string
    region: string
Copy

IpReverseDns 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 IpReverseDns resource accepts the following input properties:

Address This property is required. string
The IP corresponding to the hostname.
Hostname This property is required. string
The reverse domain name.
IpamIpId This property is required. string
The IPAM IP ID.
Region Changes to this property will trigger replacement. string
region) The region of the IP reverse DNS.
Address This property is required. string
The IP corresponding to the hostname.
Hostname This property is required. string
The reverse domain name.
IpamIpId This property is required. string
The IPAM IP ID.
Region Changes to this property will trigger replacement. string
region) The region of the IP reverse DNS.
address This property is required. String
The IP corresponding to the hostname.
hostname This property is required. String
The reverse domain name.
ipamIpId This property is required. String
The IPAM IP ID.
region Changes to this property will trigger replacement. String
region) The region of the IP reverse DNS.
address This property is required. string
The IP corresponding to the hostname.
hostname This property is required. string
The reverse domain name.
ipamIpId This property is required. string
The IPAM IP ID.
region Changes to this property will trigger replacement. string
region) The region of the IP reverse DNS.
address This property is required. str
The IP corresponding to the hostname.
hostname This property is required. str
The reverse domain name.
ipam_ip_id This property is required. str
The IPAM IP ID.
region Changes to this property will trigger replacement. str
region) The region of the IP reverse DNS.
address This property is required. String
The IP corresponding to the hostname.
hostname This property is required. String
The reverse domain name.
ipamIpId This property is required. String
The IPAM IP ID.
region Changes to this property will trigger replacement. String
region) The region of the IP reverse DNS.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing IpReverseDns Resource

Get an existing IpReverseDns 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?: IpReverseDnsState, opts?: CustomResourceOptions): IpReverseDns
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address: Optional[str] = None,
        hostname: Optional[str] = None,
        ipam_ip_id: Optional[str] = None,
        region: Optional[str] = None) -> IpReverseDns
func GetIpReverseDns(ctx *Context, name string, id IDInput, state *IpReverseDnsState, opts ...ResourceOption) (*IpReverseDns, error)
public static IpReverseDns Get(string name, Input<string> id, IpReverseDnsState? state, CustomResourceOptions? opts = null)
public static IpReverseDns get(String name, Output<String> id, IpReverseDnsState state, CustomResourceOptions options)
resources:  _:    type: scaleway:ipam:IpReverseDns    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:
Address string
The IP corresponding to the hostname.
Hostname string
The reverse domain name.
IpamIpId string
The IPAM IP ID.
Region Changes to this property will trigger replacement. string
region) The region of the IP reverse DNS.
Address string
The IP corresponding to the hostname.
Hostname string
The reverse domain name.
IpamIpId string
The IPAM IP ID.
Region Changes to this property will trigger replacement. string
region) The region of the IP reverse DNS.
address String
The IP corresponding to the hostname.
hostname String
The reverse domain name.
ipamIpId String
The IPAM IP ID.
region Changes to this property will trigger replacement. String
region) The region of the IP reverse DNS.
address string
The IP corresponding to the hostname.
hostname string
The reverse domain name.
ipamIpId string
The IPAM IP ID.
region Changes to this property will trigger replacement. string
region) The region of the IP reverse DNS.
address str
The IP corresponding to the hostname.
hostname str
The reverse domain name.
ipam_ip_id str
The IPAM IP ID.
region Changes to this property will trigger replacement. str
region) The region of the IP reverse DNS.
address String
The IP corresponding to the hostname.
hostname String
The reverse domain name.
ipamIpId String
The IPAM IP ID.
region Changes to this property will trigger replacement. String
region) The region of the IP reverse DNS.

Import

IPAM IP reverse DNS can be imported using {region}/{id}, e.g.

bash

$ pulumi import scaleway:ipam/ipReverseDns:IpReverseDns main fr-par/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.