1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. dns
  6. getRecord
Viewing docs for volcenginecc v0.0.42
published on Thursday, Jun 11, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.42
published on Thursday, Jun 11, 2026 by Volcengine

    Data Source schema for Volcengine::DNS::Record

    Using getRecord

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRecord(args: GetRecordArgs, opts?: InvokeOptions): Promise<GetRecordResult>
    function getRecordOutput(args: GetRecordOutputArgs, opts?: InvokeOptions): Output<GetRecordResult>
    def get_record(id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRecordResult
    def get_record_output(id: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRecordResult]
    func LookupRecord(ctx *Context, args *LookupRecordArgs, opts ...InvokeOption) (*LookupRecordResult, error)
    func LookupRecordOutput(ctx *Context, args *LookupRecordOutputArgs, opts ...InvokeOption) LookupRecordResultOutput

    > Note: This function is named LookupRecord in the Go SDK.

    public static class GetRecord 
    {
        public static Task<GetRecordResult> InvokeAsync(GetRecordArgs args, InvokeOptions? opts = null)
        public static Output<GetRecordResult> Invoke(GetRecordInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRecordResult> getRecord(GetRecordArgs args, InvokeOptions options)
    public static Output<GetRecordResult> getRecord(GetRecordArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:dns/getRecord:getRecord
      arguments:
        # arguments dictionary
    data "volcenginecc_dns_getrecord" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getRecord Result

    The following output properties are available:

    CreatedAt string
    Creation time of the DNS record.
    Enable bool
    Whether the DNS record is enabled; if disabled, the record is inactive.
    Fqdn string
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    Host string
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    Id string
    Uniquely identifies the resource.
    Line string
    Line code corresponding to the DNS record, such as default.
    Operators List<string>
    List of account IDs that recently operated on this DNS record.
    Pqdn string
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    RecordId string
    Unique ID of the DNS record.
    RecordSetId string
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    Remark string
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    Tags List<string>
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    Ttl int
    Expiration time of the DNS record, in seconds.
    Type string
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    UpdatedAt string
    Last updated time of the DNS record.
    Value string
    Record value of the DNS record.
    Weight int
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    Zid string
    Domain name ID, can be obtained via interfaces such as ListZones.
    CreatedAt string
    Creation time of the DNS record.
    Enable bool
    Whether the DNS record is enabled; if disabled, the record is inactive.
    Fqdn string
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    Host string
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    Id string
    Uniquely identifies the resource.
    Line string
    Line code corresponding to the DNS record, such as default.
    Operators []string
    List of account IDs that recently operated on this DNS record.
    Pqdn string
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    RecordId string
    Unique ID of the DNS record.
    RecordSetId string
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    Remark string
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    Tags []string
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    Ttl int
    Expiration time of the DNS record, in seconds.
    Type string
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    UpdatedAt string
    Last updated time of the DNS record.
    Value string
    Record value of the DNS record.
    Weight int
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    Zid string
    Domain name ID, can be obtained via interfaces such as ListZones.
    created_at string
    Creation time of the DNS record.
    enable bool
    Whether the DNS record is enabled; if disabled, the record is inactive.
    fqdn string
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    host string
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    id string
    Uniquely identifies the resource.
    line string
    Line code corresponding to the DNS record, such as default.
    operators list(string)
    List of account IDs that recently operated on this DNS record.
    pqdn string
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    record_id string
    Unique ID of the DNS record.
    record_set_id string
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    remark string
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    tags list(string)
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    ttl number
    Expiration time of the DNS record, in seconds.
    type string
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    updated_at string
    Last updated time of the DNS record.
    value string
    Record value of the DNS record.
    weight number
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    zid string
    Domain name ID, can be obtained via interfaces such as ListZones.
    createdAt String
    Creation time of the DNS record.
    enable Boolean
    Whether the DNS record is enabled; if disabled, the record is inactive.
    fqdn String
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    host String
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    id String
    Uniquely identifies the resource.
    line String
    Line code corresponding to the DNS record, such as default.
    operators List<String>
    List of account IDs that recently operated on this DNS record.
    pqdn String
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    recordId String
    Unique ID of the DNS record.
    recordSetId String
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    remark String
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    tags List<String>
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    ttl Integer
    Expiration time of the DNS record, in seconds.
    type String
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    updatedAt String
    Last updated time of the DNS record.
    value String
    Record value of the DNS record.
    weight Integer
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    zid String
    Domain name ID, can be obtained via interfaces such as ListZones.
    createdAt string
    Creation time of the DNS record.
    enable boolean
    Whether the DNS record is enabled; if disabled, the record is inactive.
    fqdn string
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    host string
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    id string
    Uniquely identifies the resource.
    line string
    Line code corresponding to the DNS record, such as default.
    operators string[]
    List of account IDs that recently operated on this DNS record.
    pqdn string
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    recordId string
    Unique ID of the DNS record.
    recordSetId string
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    remark string
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    tags string[]
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    ttl number
    Expiration time of the DNS record, in seconds.
    type string
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    updatedAt string
    Last updated time of the DNS record.
    value string
    Record value of the DNS record.
    weight number
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    zid string
    Domain name ID, can be obtained via interfaces such as ListZones.
    created_at str
    Creation time of the DNS record.
    enable bool
    Whether the DNS record is enabled; if disabled, the record is inactive.
    fqdn str
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    host str
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    id str
    Uniquely identifies the resource.
    line str
    Line code corresponding to the DNS record, such as default.
    operators Sequence[str]
    List of account IDs that recently operated on this DNS record.
    pqdn str
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    record_id str
    Unique ID of the DNS record.
    record_set_id str
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    remark str
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    tags Sequence[str]
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    ttl int
    Expiration time of the DNS record, in seconds.
    type str
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    updated_at str
    Last updated time of the DNS record.
    value str
    Record value of the DNS record.
    weight int
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    zid str
    Domain name ID, can be obtained via interfaces such as ListZones.
    createdAt String
    Creation time of the DNS record.
    enable Boolean
    Whether the DNS record is enabled; if disabled, the record is inactive.
    fqdn String
    Host name included in the DNS record, using FQDN (Fully Qualified Domain Name) format; this field is deprecated.
    host String
    Host record, the prefix of the subdomain; @ represents the root domain itself.
    id String
    Uniquely identifies the resource.
    line String
    Line code corresponding to the DNS record, such as default.
    operators List<String>
    List of account IDs that recently operated on this DNS record.
    pqdn String
    Host name included in the DNS record, using PQDN (Partially Qualified Domain Name) format.
    recordId String
    Unique ID of the DNS record.
    recordSetId String
    ID of the record set containing the DNS record; returned only for A, AAAA, and CNAME types.
    remark String
    Remarks for the DNS record, supports UTF-8 encoding and up to 16 characters.
    tags List<String>
    Tag information for the DNS record; if it contains GTMLock, the record is associated with a GTM instance.
    ttl Number
    Expiration time of the DNS record, in seconds.
    type String
    Record type, such as A, AAAA, CNAME, NS, MX, SRV, TXT.
    updatedAt String
    Last updated time of the DNS record.
    value String
    Record value of the DNS record.
    weight Number
    Weight of the DNS record, effective only when load balancing is enabled for the record set.
    zid String
    Domain name ID, can be obtained via interfaces such as ListZones.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.42
    published on Thursday, Jun 11, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial