Show / Hide Table of Contents

Class Record

Inheritance
System.Object
Resource
CustomResource
Record
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DNSimple
Assembly: Pulumi.DNSimple.dll
Syntax
public class Record : CustomResource

Constructors

View Source

Record(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 Source

Domain

The domain to add the record to

Declaration
public Output<string> Domain { get; }
Property Value
Type Description
Output<System.String>
View Source

DomainId

The domain ID of the record

Declaration
public Output<string> DomainId { get; }
Property Value
Type Description
Output<System.String>
View Source

Hostname

The FQDN of the record

Declaration
public Output<string> Hostname { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the record

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

Ttl

The TTL of the record

Declaration
public Output<double?> Ttl { get; }
Property Value
Type Description
Output<System.Nullable<System.Double>>
View Source

Type

The type of the record

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>
View Source

Value

The value of the record

Declaration
public Output<string> Value { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.