getDnsDomainRecord

Using getDnsDomainRecord

function getDnsDomainRecord(args: GetDnsDomainRecordArgs, opts?: InvokeOptions): Promise<GetDnsDomainRecordResult>
def get_dns_domain_record(domain_id: Optional[str] = None,
                          name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDnsDomainRecordResult
func LookupDnsDomainRecord(ctx *Context, args *LookupDnsDomainRecordArgs, opts ...InvokeOption) (*LookupDnsDomainRecordResult, error)

Note: This function is named LookupDnsDomainRecord in the Go SDK.

public static class GetDnsDomainRecord {
    public static Task<GetDnsDomainRecordResult> InvokeAsync(GetDnsDomainRecordArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

DomainId string
The domain id of the record.
Name string
The name of the record.
DomainId string
The domain id of the record.
Name string
The name of the record.
domainId string
The domain id of the record.
name string
The name of the record.
domain_id str
The domain id of the record.
name str
The name of the record.

getDnsDomainRecord Result

The following output properties are available:

AccountId string
The id account of the domain.
CreatedAt string
The date when it was created in UTC format
DomainId string
The id of the domain
Id string
The provider-assigned unique ID for this managed resource.
Name string
The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
Priority int
The priority of the record.
Ttl int
How long caching DNS servers should cache this record.
Type string
The choice of record type from A, CNAME, MX, SRV or TXT
UpdatedAt string
The date when it was updated in UTC format
Value string
The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
AccountId string
The id account of the domain.
CreatedAt string
The date when it was created in UTC format
DomainId string
The id of the domain
Id string
The provider-assigned unique ID for this managed resource.
Name string
The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
Priority int
The priority of the record.
Ttl int
How long caching DNS servers should cache this record.
Type string
The choice of record type from A, CNAME, MX, SRV or TXT
UpdatedAt string
The date when it was updated in UTC format
Value string
The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
accountId string
The id account of the domain.
createdAt string
The date when it was created in UTC format
domainId string
The id of the domain
id string
The provider-assigned unique ID for this managed resource.
name string
The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
priority number
The priority of the record.
ttl number
How long caching DNS servers should cache this record.
type string
The choice of record type from A, CNAME, MX, SRV or TXT
updatedAt string
The date when it was updated in UTC format
value string
The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record
account_id str
The id account of the domain.
created_at str
The date when it was created in UTC format
domain_id str
The id of the domain
id str
The provider-assigned unique ID for this managed resource.
name str
The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain)
priority int
The priority of the record.
ttl int
How long caching DNS servers should cache this record.
type str
The choice of record type from A, CNAME, MX, SRV or TXT
updated_at str
The date when it was updated in UTC format
value str
The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes
This Pulumi package is based on the civo Terraform Provider.