Class Record
Inherited Members
Namespace: Pulumi.DNSimple
Assembly: Pulumi.DNSimple.dll
Syntax
public class Record : CustomResource
Constructors
View SourceRecord(String, RecordArgs, CustomResourceOptions)
Create a Record resource with the given unique name, arguments, and options.
Declaration
public Record(string name, RecordArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RecordArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDomain
The domain to add the record to
Declaration
public Output<string> Domain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DomainId
The domain ID of the record
Declaration
public Output<string> DomainId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Hostname
The FQDN of the record
Declaration
public Output<string> Hostname { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the record
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Priority
The priority of the record - only useful for some record types
Declaration
public Output<double> Priority { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Double> |
Ttl
The TTL of the record
Declaration
public Output<double?> Ttl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Double>> |
Type
The type of the record
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Value
The value of the record
Declaration
public Output<string> Value { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RecordState, CustomResourceOptions)
Get an existing Record resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Record Get(string name, Input<string> id, RecordState 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. |
| RecordState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Record |