Class Rdns
Provides a Linode RDNS resource. This can be used to create and modify RDNS records.
Linode RDNS names must have a matching address value in an A or AAAA record. This A or AAAA name must be resolvable at the time the RDNS resource is being associated.
For more information, see the Linode APIv4 docs and the Configure your Linode for Reverse DNS guide.
Inherited Members
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class Rdns : CustomResource
Constructors
View SourceRdns(String, RdnsArgs, CustomResourceOptions)
Create a Rdns resource with the given unique name, arguments, and options.
Declaration
public Rdns(string name, RdnsArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RdnsArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAddress
The Public IPv4 or IPv6 address that will receive the PTR record. A matching A or AAAA record must exist.
Declaration
public Output<string> Address { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RdnsName
The name of the RDNS address.
Declaration
public Output<string> RdnsName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RdnsState, CustomResourceOptions)
Get an existing Rdns resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Rdns Get(string name, Input<string> id, RdnsState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RdnsState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Rdns |