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

scaleway.IpamIpReverseDns

Explore with Pulumi AI

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

    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 IpamIpReverseDns Resource

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

    Constructor syntax

    new IpamIpReverseDns(name: string, args: IpamIpReverseDnsArgs, opts?: CustomResourceOptions);
    @overload
    def IpamIpReverseDns(resource_name: str,
                         args: IpamIpReverseDnsArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpamIpReverseDns(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 NewIpamIpReverseDns(ctx *Context, name string, args IpamIpReverseDnsArgs, opts ...ResourceOption) (*IpamIpReverseDns, error)
    public IpamIpReverseDns(string name, IpamIpReverseDnsArgs args, CustomResourceOptions? opts = null)
    public IpamIpReverseDns(String name, IpamIpReverseDnsArgs args)
    public IpamIpReverseDns(String name, IpamIpReverseDnsArgs args, CustomResourceOptions options)
    
    type: scaleway:IpamIpReverseDns
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IpamIpReverseDnsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IpamIpReverseDnsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IpamIpReverseDnsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpamIpReverseDnsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpamIpReverseDnsArgs
    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 ipamIpReverseDnsResource = new Scaleway.IpamIpReverseDns("ipamIpReverseDnsResource", new()
    {
        Address = "string",
        Hostname = "string",
        IpamIpId = "string",
        Region = "string",
    });
    
    example, err := scaleway.NewIpamIpReverseDns(ctx, "ipamIpReverseDnsResource", &scaleway.IpamIpReverseDnsArgs{
    	Address:  pulumi.String("string"),
    	Hostname: pulumi.String("string"),
    	IpamIpId: pulumi.String("string"),
    	Region:   pulumi.String("string"),
    })
    
    var ipamIpReverseDnsResource = new IpamIpReverseDns("ipamIpReverseDnsResource", IpamIpReverseDnsArgs.builder()
        .address("string")
        .hostname("string")
        .ipamIpId("string")
        .region("string")
        .build());
    
    ipam_ip_reverse_dns_resource = scaleway.IpamIpReverseDns("ipamIpReverseDnsResource",
        address="string",
        hostname="string",
        ipam_ip_id="string",
        region="string")
    
    const ipamIpReverseDnsResource = new scaleway.IpamIpReverseDns("ipamIpReverseDnsResource", {
        address: "string",
        hostname: "string",
        ipamIpId: "string",
        region: "string",
    });
    
    type: scaleway:IpamIpReverseDns
    properties:
        address: string
        hostname: string
        ipamIpId: string
        region: string
    

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

    Address string
    The IP corresponding to the hostname.
    Hostname string
    The reverse domain name.
    IpamIpId string
    The IPAM IP ID.
    Region 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 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 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 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 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 String
    region) The region of the IP reverse DNS.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpamIpReverseDns 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 IpamIpReverseDns Resource

    Get an existing IpamIpReverseDns 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?: IpamIpReverseDnsState, opts?: CustomResourceOptions): IpamIpReverseDns
    @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) -> IpamIpReverseDns
    func GetIpamIpReverseDns(ctx *Context, name string, id IDInput, state *IpamIpReverseDnsState, opts ...ResourceOption) (*IpamIpReverseDns, error)
    public static IpamIpReverseDns Get(string name, Input<string> id, IpamIpReverseDnsState? state, CustomResourceOptions? opts = null)
    public static IpamIpReverseDns get(String name, Output<String> id, IpamIpReverseDnsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 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 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 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 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 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 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:index/ipamIpReverseDns:IpamIpReverseDns main fr-par/11111111-1111-1111-1111-111111111111
    

    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.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse