Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 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: 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: bytepluscc:privatezone/getRecord:getRecord
arguments:
# arguments dictionaryThe 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:
- 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.
- 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.
- Updated
At 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.
- Weight
Enabled 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.
- 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.
- Updated
At 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.
- Weight
Enabled 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 Boolean
- 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.
- 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.
- updated
At 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.
- weight
Enabled Boolean - Indicates whether load balancing is enabled for this record set.
- zid Integer
- Domain name ID.
- created
At 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.
- 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.
- 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 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.
- 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.
- created
At 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.
- 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.
- 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 Boolean - Indicates whether load balancing is enabled for this record set.
- zid Number
- Domain name ID.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
