scaleway.IpamIpReverseDns
Explore with Pulumi AI
Manages Scaleway IPAM IP Reverse DNS.
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
The IpamIpReverseDns resource accepts the following input properties:
- address str
- The IP corresponding to the hostname.
- hostname str
- The reverse domain name.
- ipam_
ip_ strid - The IPAM IP ID.
- region str
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.
- address str
- The IP corresponding to the hostname.
- hostname str
- The reverse domain name.
- ipam_
ip_ strid - The IPAM IP ID.
- region str
region
) The region of the IP reverse DNS.
Import
IPAM IP reverse DNS can be imported using the {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.