1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. privatezone
  5. getRecord
Viewing docs for volcenginecc v0.0.24
published on Monday, Mar 9, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.24
published on Monday, Mar 9, 2026 by Volcengine

    Data Source schema for Volcengine::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: Optional[pulumi.Input[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:privatezone/getRecord:getRecord
      arguments:
        # arguments dictionary

    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 str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getRecord Result

    The following output properties are available:

    CreatedAt string
    解析记录的创建时间。
    Enable bool
    解析记录是否被启用。
    Host string
    子域名的域名前缀。
    Id string
    Uniquely identifies the resource.
    LastOperator string
    最近一次更新解析记录的账号 ID。
    Line string
    解析记录的线路,只能是默认线路 default。
    RecordId string
    解析记录 ID。
    Remark string
    备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
    Ttl int
    解析记录的过期时间。单位为秒。默认值为 600。
    Type string
    解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
    UpdatedAt string
    解析记录最近一次的更新时间。
    Value string
    记录值。
    Weight int
    记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
    Zid int
    域名 ID。
    CreatedAt string
    解析记录的创建时间。
    Enable bool
    解析记录是否被启用。
    Host string
    子域名的域名前缀。
    Id string
    Uniquely identifies the resource.
    LastOperator string
    最近一次更新解析记录的账号 ID。
    Line string
    解析记录的线路,只能是默认线路 default。
    RecordId string
    解析记录 ID。
    Remark string
    备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
    Ttl int
    解析记录的过期时间。单位为秒。默认值为 600。
    Type string
    解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
    UpdatedAt string
    解析记录最近一次的更新时间。
    Value string
    记录值。
    Weight int
    记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
    Zid int
    域名 ID。
    createdAt String
    解析记录的创建时间。
    enable Boolean
    解析记录是否被启用。
    host String
    子域名的域名前缀。
    id String
    Uniquely identifies the resource.
    lastOperator String
    最近一次更新解析记录的账号 ID。
    line String
    解析记录的线路,只能是默认线路 default。
    recordId String
    解析记录 ID。
    remark String
    备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
    ttl Integer
    解析记录的过期时间。单位为秒。默认值为 600。
    type String
    解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
    updatedAt String
    解析记录最近一次的更新时间。
    value String
    记录值。
    weight Integer
    记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
    zid Integer
    域名 ID。
    createdAt string
    解析记录的创建时间。
    enable boolean
    解析记录是否被启用。
    host string
    子域名的域名前缀。
    id string
    Uniquely identifies the resource.
    lastOperator string
    最近一次更新解析记录的账号 ID。
    line string
    解析记录的线路,只能是默认线路 default。
    recordId string
    解析记录 ID。
    remark string
    备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
    ttl number
    解析记录的过期时间。单位为秒。默认值为 600。
    type string
    解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
    updatedAt string
    解析记录最近一次的更新时间。
    value string
    记录值。
    weight number
    记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
    zid number
    域名 ID。
    created_at str
    解析记录的创建时间。
    enable bool
    解析记录是否被启用。
    host str
    子域名的域名前缀。
    id str
    Uniquely identifies the resource.
    last_operator str
    最近一次更新解析记录的账号 ID。
    line str
    解析记录的线路,只能是默认线路 default。
    record_id str
    解析记录 ID。
    remark str
    备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
    ttl int
    解析记录的过期时间。单位为秒。默认值为 600。
    type str
    解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
    updated_at str
    解析记录最近一次的更新时间。
    value str
    记录值。
    weight int
    记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
    zid int
    域名 ID。
    createdAt String
    解析记录的创建时间。
    enable Boolean
    解析记录是否被启用。
    host String
    子域名的域名前缀。
    id String
    Uniquely identifies the resource.
    lastOperator String
    最近一次更新解析记录的账号 ID。
    line String
    解析记录的线路,只能是默认线路 default。
    recordId String
    解析记录 ID。
    remark String
    备注。支持 UTF-8 字符。不能超过 16 个字符。默认值为空字符串。
    ttl Number
    解析记录的过期时间。单位为秒。默认值为 600。
    type String
    解析记录类型。该参数的取值如下:A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。A:A 记录。AAAA:AAAA 记录。CNAME:CNAME 记录。TXT:TXT 记录。MX:MX 记录。PTR:PTR 记录。
    updatedAt String
    解析记录最近一次的更新时间。
    value String
    记录值。
    weight Number
    记录的权重。只有域名开启了负载均衡后,记录值的权重才会生效。
    zid Number
    域名 ID。

    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.24
    published on Monday, Mar 9, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.