1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. privatezone
  6. getRecord
Viewing docs for bytepluscc v0.0.27
published on Thursday, May 14, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.27
published on Thursday, May 14, 2026 by Byteplus

    Data Source schema for Byteplus::PrivateZone::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: bytepluscc:privatezone/getRecord:getRecord
      arguments:
        # arguments dictionary
    data "bytepluscc_privatezone_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
    Indicates whether the DNS record is enabled.
    Host string
    Domain prefix for the subdomain.
    Id string
    Uniquely identifies the resource.
    LastOperator string
    Account ID of the most recent update to the DNS record.
    Line string
    DNS record route, only the default route 'default' is supported.
    RecordId string
    DNS record ID.
    RecordSets List<Byteplus.GetRecordRecordSet>
    Record set list
    Remark string
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    Ttl int
    DNS record TTL (time to live), in seconds. Default is 600.
    Type string
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    UpdatedAt string
    Last update time of the DNS record.
    Value string
    Record value.
    Weight int
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    WeightEnabled bool
    Indicates whether load balancing is enabled for this record set.
    Zid int
    Domain name ID.
    CreatedAt string
    Creation time of the DNS record.
    Enable bool
    Indicates whether the DNS record is enabled.
    Host string
    Domain prefix for the subdomain.
    Id string
    Uniquely identifies the resource.
    LastOperator string
    Account ID of the most recent update to the DNS record.
    Line string
    DNS record route, only the default route 'default' is supported.
    RecordId string
    DNS record ID.
    RecordSets []GetRecordRecordSet
    Record set list
    Remark string
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    Ttl int
    DNS record TTL (time to live), in seconds. Default is 600.
    Type string
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    UpdatedAt string
    Last update time of the DNS record.
    Value string
    Record value.
    Weight int
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    WeightEnabled bool
    Indicates whether load balancing is enabled for this record set.
    Zid int
    Domain name ID.
    created_at string
    Creation time of the DNS record.
    enable bool
    Indicates whether the DNS record is enabled.
    host string
    Domain prefix for the subdomain.
    id string
    Uniquely identifies the resource.
    last_operator string
    Account ID of the most recent update to the DNS record.
    line string
    DNS record route, only the default route 'default' is supported.
    record_id string
    DNS record ID.
    record_sets list(object)
    Record set list
    remark string
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    ttl number
    DNS record TTL (time to live), in seconds. Default is 600.
    type string
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    updated_at string
    Last update time of the DNS record.
    value string
    Record value.
    weight number
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    weight_enabled bool
    Indicates whether load balancing is enabled for this record set.
    zid number
    Domain name ID.
    createdAt String
    Creation time of the DNS record.
    enable Boolean
    Indicates whether the DNS record is enabled.
    host String
    Domain prefix for the subdomain.
    id String
    Uniquely identifies the resource.
    lastOperator String
    Account ID of the most recent update to the DNS record.
    line String
    DNS record route, only the default route 'default' is supported.
    recordId String
    DNS record ID.
    recordSets List<GetRecordRecordSet>
    Record set list
    remark String
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    ttl Integer
    DNS record TTL (time to live), in seconds. Default is 600.
    type String
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    updatedAt String
    Last update time of the DNS record.
    value String
    Record value.
    weight Integer
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    weightEnabled Boolean
    Indicates whether load balancing is enabled for this record set.
    zid Integer
    Domain name ID.
    createdAt string
    Creation time of the DNS record.
    enable boolean
    Indicates whether the DNS record is enabled.
    host string
    Domain prefix for the subdomain.
    id string
    Uniquely identifies the resource.
    lastOperator string
    Account ID of the most recent update to the DNS record.
    line string
    DNS record route, only the default route 'default' is supported.
    recordId string
    DNS record ID.
    recordSets GetRecordRecordSet[]
    Record set list
    remark string
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    ttl number
    DNS record TTL (time to live), in seconds. Default is 600.
    type string
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    updatedAt string
    Last update time of the DNS record.
    value string
    Record value.
    weight number
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    weightEnabled boolean
    Indicates whether load balancing is enabled for this record set.
    zid number
    Domain name ID.
    created_at str
    Creation time of the DNS record.
    enable bool
    Indicates whether the DNS record is enabled.
    host str
    Domain prefix for the subdomain.
    id str
    Uniquely identifies the resource.
    last_operator str
    Account ID of the most recent update to the DNS record.
    line str
    DNS record route, only the default route 'default' is supported.
    record_id str
    DNS record ID.
    record_sets Sequence[GetRecordRecordSet]
    Record set list
    remark str
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    ttl int
    DNS record TTL (time to live), in seconds. Default is 600.
    type str
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    updated_at str
    Last update time of the DNS record.
    value str
    Record value.
    weight int
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    weight_enabled bool
    Indicates whether load balancing is enabled for this record set.
    zid int
    Domain name ID.
    createdAt String
    Creation time of the DNS record.
    enable Boolean
    Indicates whether the DNS record is enabled.
    host String
    Domain prefix for the subdomain.
    id String
    Uniquely identifies the resource.
    lastOperator String
    Account ID of the most recent update to the DNS record.
    line String
    DNS record route, only the default route 'default' is supported.
    recordId String
    DNS record ID.
    recordSets List<Property Map>
    Record set list
    remark String
    Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string.
    ttl Number
    DNS record TTL (time to live), in seconds. Default is 600.
    type String
    DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record.
    updatedAt String
    Last update time of the DNS record.
    value String
    Record value.
    weight Number
    Record weight. The weight takes effect only when load balancing is enabled for the domain name.
    weightEnabled Boolean
    Indicates whether load balancing is enabled for this record set.
    zid Number
    Domain name ID.

    Supporting Types

    GetRecordRecordSet

    Fqdn string
    Full domain name
    Host string
    Subdomain prefix
    Id string
    Record set ID
    Line string
    Resolution line
    Type string
    Record type
    WeightEnabled bool
    Load balancing enabled
    Fqdn string
    Full domain name
    Host string
    Subdomain prefix
    Id string
    Record set ID
    Line string
    Resolution line
    Type string
    Record type
    WeightEnabled bool
    Load balancing enabled
    fqdn string
    Full domain name
    host string
    Subdomain prefix
    id string
    Record set ID
    line string
    Resolution line
    type string
    Record type
    weight_enabled bool
    Load balancing enabled
    fqdn String
    Full domain name
    host String
    Subdomain prefix
    id String
    Record set ID
    line String
    Resolution line
    type String
    Record type
    weightEnabled Boolean
    Load balancing enabled
    fqdn string
    Full domain name
    host string
    Subdomain prefix
    id string
    Record set ID
    line string
    Resolution line
    type string
    Record type
    weightEnabled boolean
    Load balancing enabled
    fqdn str
    Full domain name
    host str
    Subdomain prefix
    id str
    Record set ID
    line str
    Resolution line
    type str
    Record type
    weight_enabled bool
    Load balancing enabled
    fqdn String
    Full domain name
    host String
    Subdomain prefix
    id String
    Record set ID
    line String
    Resolution line
    type String
    Record type
    weightEnabled Boolean
    Load balancing enabled

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.27
    published on Thursday, May 14, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.