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::TLS::Topic
Using getTopic
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 getTopic(args: GetTopicArgs, opts?: InvokeOptions): Promise<GetTopicResult>
function getTopicOutput(args: GetTopicOutputArgs, opts?: InvokeOptions): Output<GetTopicResult>def get_topic(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTopicResult
def get_topic_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTopicResult]func LookupTopic(ctx *Context, args *LookupTopicArgs, opts ...InvokeOption) (*LookupTopicResult, error)
func LookupTopicOutput(ctx *Context, args *LookupTopicOutputArgs, opts ...InvokeOption) LookupTopicResultOutput> Note: This function is named LookupTopic in the Go SDK.
public static class GetTopic
{
public static Task<GetTopicResult> InvokeAsync(GetTopicArgs args, InvokeOptions? opts = null)
public static Output<GetTopicResult> Invoke(GetTopicInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTopicResult> getTopic(GetTopicArgs args, InvokeOptions options)
public static Output<GetTopicResult> getTopic(GetTopicArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:tls/getTopic:getTopic
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.
getTopic Result
The following output properties are available:
- Allow
Consume bool - Indicates whether Kafka protocol consumption is enabled for the log topic. true: enabled. false: not enabled.
- Archive
Ttl int - Archive storage duration. The value range is 60~3650. Archive storage can be enabled if any of the following conditions are met: Standard storage duration is 30 days or longer; standard storage duration is 7 days or longer and infrequent storage duration is 30 days or longer. This parameter is only effective when EnableHotTtl is set to true.
- Auto
Split bool - Enable automatic partition splitting. true: If the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, the log service will automatically split partitions based on data volume to meet business needs, but the number of partitions after splitting cannot exceed the maximum split limit. New partitions created within the last 15 minutes will not be automatically split. false: Disable automatic partition splitting.
- Cold
Ttl int - Low-frequency storage duration. Value range: 30–3650. Low-frequency storage is available when standard storage duration is 7 days or longer. This parameter is effective only when EnableHotTtl is true.
- Consume
Topic string - Kafka protocol consumption topic ID, formatted as out+log topic ID. When consuming log data from this log topic via the Kafka protocol, set Topic to this ID.
- Created
Time string - Log topic creation time.
- Description string
- Log topic description. Does not support <>, ', , , or any emoji symbols. Length: 0–64 characters.
- Enable
Hot boolTtl - Enable tiered storage. When enabled, the log service supports standard storage, low-frequency storage, and archive storage. After setting HotTtl, ArchiveTtl, and ColdTtl, if data storage duration exceeds the corresponding value, data will automatically move to low-frequency or archive storage for continued retention until the total log retention duration reaches Ttl, after which backend services will automatically clean up the data.
- Enable
Tracking bool - Enable WebTracking. When enabled, you can quickly collect frontend tracking data using WebTracking. true: Enable WebTracking. false (default): Disable WebTracking. After enabling Web Tracking for the log topic, data written via the WebTracks API does not require authentication, which grants anonymous write access to the public network and may result in dirty data.
- Hot
Ttl int - Standard storage duration. Default is 30 days; value range: 7–3650. This parameter is effective only when EnableHotTtl is true.
- Id string
- Uniquely identifies the resource.
- Log
Public boolIp - Enable external IP recording. Enabled by default. When enabled, the log service automatically adds the following metadata fields to the log content: tag****client_ip: Public IP address of the device sending the log. If logs are written using the log service's private domain name, the private IP address is recorded. tag****receive_time: Time when the log reaches the server, formatted as a 10-digit Unix timestamp.
- Max
Split intShard - Maximum partition split count, which is the maximum number of partitions after splitting. Value range: 1–256, default is 256. Required only when automatic log partition splitting is enabled (AutoSplit is true). MaxSplitShard must be greater than the specified ShardCount; otherwise, the log service cannot automatically split partitions.
- Project
Id string - Log project ID to which the log topic belongs.
- int
- Number of log partitions. By default, 1 partition is created; value range: 1–10. Each partition provides write capacity of 5 MiB/s, 500 ops/s, and read capacity of 20 MiB/s, 100 ops/s. Plan partitions appropriately when creating a log topic; partition count cannot be modified after creation.
-
List<Byteplus.
Get Topic Tag> - Tag list.
- Time
Format string - Time format
- Time
Key string - Time field name
- Topic
Id string - Log topic ID.
- Topic
Name string - Log topic name.
- Ttl int
- Total log retention time in the log service. After the specified log storage duration is exceeded, expired logs in this log topic will be automatically cleared. Unit: days. Default is 30 days. Value range is 1–3650. Setting to 3650 days means permanent storage.
- Updated
Time string - Log topic modification time.
- Allow
Consume bool - Indicates whether Kafka protocol consumption is enabled for the log topic. true: enabled. false: not enabled.
- Archive
Ttl int - Archive storage duration. The value range is 60~3650. Archive storage can be enabled if any of the following conditions are met: Standard storage duration is 30 days or longer; standard storage duration is 7 days or longer and infrequent storage duration is 30 days or longer. This parameter is only effective when EnableHotTtl is set to true.
- Auto
Split bool - Enable automatic partition splitting. true: If the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, the log service will automatically split partitions based on data volume to meet business needs, but the number of partitions after splitting cannot exceed the maximum split limit. New partitions created within the last 15 minutes will not be automatically split. false: Disable automatic partition splitting.
- Cold
Ttl int - Low-frequency storage duration. Value range: 30–3650. Low-frequency storage is available when standard storage duration is 7 days or longer. This parameter is effective only when EnableHotTtl is true.
- Consume
Topic string - Kafka protocol consumption topic ID, formatted as out+log topic ID. When consuming log data from this log topic via the Kafka protocol, set Topic to this ID.
- Created
Time string - Log topic creation time.
- Description string
- Log topic description. Does not support <>, ', , , or any emoji symbols. Length: 0–64 characters.
- Enable
Hot boolTtl - Enable tiered storage. When enabled, the log service supports standard storage, low-frequency storage, and archive storage. After setting HotTtl, ArchiveTtl, and ColdTtl, if data storage duration exceeds the corresponding value, data will automatically move to low-frequency or archive storage for continued retention until the total log retention duration reaches Ttl, after which backend services will automatically clean up the data.
- Enable
Tracking bool - Enable WebTracking. When enabled, you can quickly collect frontend tracking data using WebTracking. true: Enable WebTracking. false (default): Disable WebTracking. After enabling Web Tracking for the log topic, data written via the WebTracks API does not require authentication, which grants anonymous write access to the public network and may result in dirty data.
- Hot
Ttl int - Standard storage duration. Default is 30 days; value range: 7–3650. This parameter is effective only when EnableHotTtl is true.
- Id string
- Uniquely identifies the resource.
- Log
Public boolIp - Enable external IP recording. Enabled by default. When enabled, the log service automatically adds the following metadata fields to the log content: tag****client_ip: Public IP address of the device sending the log. If logs are written using the log service's private domain name, the private IP address is recorded. tag****receive_time: Time when the log reaches the server, formatted as a 10-digit Unix timestamp.
- Max
Split intShard - Maximum partition split count, which is the maximum number of partitions after splitting. Value range: 1–256, default is 256. Required only when automatic log partition splitting is enabled (AutoSplit is true). MaxSplitShard must be greater than the specified ShardCount; otherwise, the log service cannot automatically split partitions.
- Project
Id string - Log project ID to which the log topic belongs.
- int
- Number of log partitions. By default, 1 partition is created; value range: 1–10. Each partition provides write capacity of 5 MiB/s, 500 ops/s, and read capacity of 20 MiB/s, 100 ops/s. Plan partitions appropriately when creating a log topic; partition count cannot be modified after creation.
-
[]Get
Topic Tag - Tag list.
- Time
Format string - Time format
- Time
Key string - Time field name
- Topic
Id string - Log topic ID.
- Topic
Name string - Log topic name.
- Ttl int
- Total log retention time in the log service. After the specified log storage duration is exceeded, expired logs in this log topic will be automatically cleared. Unit: days. Default is 30 days. Value range is 1–3650. Setting to 3650 days means permanent storage.
- Updated
Time string - Log topic modification time.
- allow
Consume Boolean - Indicates whether Kafka protocol consumption is enabled for the log topic. true: enabled. false: not enabled.
- archive
Ttl Integer - Archive storage duration. The value range is 60~3650. Archive storage can be enabled if any of the following conditions are met: Standard storage duration is 30 days or longer; standard storage duration is 7 days or longer and infrequent storage duration is 30 days or longer. This parameter is only effective when EnableHotTtl is set to true.
- auto
Split Boolean - Enable automatic partition splitting. true: If the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, the log service will automatically split partitions based on data volume to meet business needs, but the number of partitions after splitting cannot exceed the maximum split limit. New partitions created within the last 15 minutes will not be automatically split. false: Disable automatic partition splitting.
- cold
Ttl Integer - Low-frequency storage duration. Value range: 30–3650. Low-frequency storage is available when standard storage duration is 7 days or longer. This parameter is effective only when EnableHotTtl is true.
- consume
Topic String - Kafka protocol consumption topic ID, formatted as out+log topic ID. When consuming log data from this log topic via the Kafka protocol, set Topic to this ID.
- created
Time String - Log topic creation time.
- description String
- Log topic description. Does not support <>, ', , , or any emoji symbols. Length: 0–64 characters.
- enable
Hot BooleanTtl - Enable tiered storage. When enabled, the log service supports standard storage, low-frequency storage, and archive storage. After setting HotTtl, ArchiveTtl, and ColdTtl, if data storage duration exceeds the corresponding value, data will automatically move to low-frequency or archive storage for continued retention until the total log retention duration reaches Ttl, after which backend services will automatically clean up the data.
- enable
Tracking Boolean - Enable WebTracking. When enabled, you can quickly collect frontend tracking data using WebTracking. true: Enable WebTracking. false (default): Disable WebTracking. After enabling Web Tracking for the log topic, data written via the WebTracks API does not require authentication, which grants anonymous write access to the public network and may result in dirty data.
- hot
Ttl Integer - Standard storage duration. Default is 30 days; value range: 7–3650. This parameter is effective only when EnableHotTtl is true.
- id String
- Uniquely identifies the resource.
- log
Public BooleanIp - Enable external IP recording. Enabled by default. When enabled, the log service automatically adds the following metadata fields to the log content: tag****client_ip: Public IP address of the device sending the log. If logs are written using the log service's private domain name, the private IP address is recorded. tag****receive_time: Time when the log reaches the server, formatted as a 10-digit Unix timestamp.
- max
Split IntegerShard - Maximum partition split count, which is the maximum number of partitions after splitting. Value range: 1–256, default is 256. Required only when automatic log partition splitting is enabled (AutoSplit is true). MaxSplitShard must be greater than the specified ShardCount; otherwise, the log service cannot automatically split partitions.
- project
Id String - Log project ID to which the log topic belongs.
- Integer
- Number of log partitions. By default, 1 partition is created; value range: 1–10. Each partition provides write capacity of 5 MiB/s, 500 ops/s, and read capacity of 20 MiB/s, 100 ops/s. Plan partitions appropriately when creating a log topic; partition count cannot be modified after creation.
-
List<Get
Topic Tag> - Tag list.
- time
Format String - Time format
- time
Key String - Time field name
- topic
Id String - Log topic ID.
- topic
Name String - Log topic name.
- ttl Integer
- Total log retention time in the log service. After the specified log storage duration is exceeded, expired logs in this log topic will be automatically cleared. Unit: days. Default is 30 days. Value range is 1–3650. Setting to 3650 days means permanent storage.
- updated
Time String - Log topic modification time.
- allow
Consume boolean - Indicates whether Kafka protocol consumption is enabled for the log topic. true: enabled. false: not enabled.
- archive
Ttl number - Archive storage duration. The value range is 60~3650. Archive storage can be enabled if any of the following conditions are met: Standard storage duration is 30 days or longer; standard storage duration is 7 days or longer and infrequent storage duration is 30 days or longer. This parameter is only effective when EnableHotTtl is set to true.
- auto
Split boolean - Enable automatic partition splitting. true: If the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, the log service will automatically split partitions based on data volume to meet business needs, but the number of partitions after splitting cannot exceed the maximum split limit. New partitions created within the last 15 minutes will not be automatically split. false: Disable automatic partition splitting.
- cold
Ttl number - Low-frequency storage duration. Value range: 30–3650. Low-frequency storage is available when standard storage duration is 7 days or longer. This parameter is effective only when EnableHotTtl is true.
- consume
Topic string - Kafka protocol consumption topic ID, formatted as out+log topic ID. When consuming log data from this log topic via the Kafka protocol, set Topic to this ID.
- created
Time string - Log topic creation time.
- description string
- Log topic description. Does not support <>, ', , , or any emoji symbols. Length: 0–64 characters.
- enable
Hot booleanTtl - Enable tiered storage. When enabled, the log service supports standard storage, low-frequency storage, and archive storage. After setting HotTtl, ArchiveTtl, and ColdTtl, if data storage duration exceeds the corresponding value, data will automatically move to low-frequency or archive storage for continued retention until the total log retention duration reaches Ttl, after which backend services will automatically clean up the data.
- enable
Tracking boolean - Enable WebTracking. When enabled, you can quickly collect frontend tracking data using WebTracking. true: Enable WebTracking. false (default): Disable WebTracking. After enabling Web Tracking for the log topic, data written via the WebTracks API does not require authentication, which grants anonymous write access to the public network and may result in dirty data.
- hot
Ttl number - Standard storage duration. Default is 30 days; value range: 7–3650. This parameter is effective only when EnableHotTtl is true.
- id string
- Uniquely identifies the resource.
- log
Public booleanIp - Enable external IP recording. Enabled by default. When enabled, the log service automatically adds the following metadata fields to the log content: tag****client_ip: Public IP address of the device sending the log. If logs are written using the log service's private domain name, the private IP address is recorded. tag****receive_time: Time when the log reaches the server, formatted as a 10-digit Unix timestamp.
- max
Split numberShard - Maximum partition split count, which is the maximum number of partitions after splitting. Value range: 1–256, default is 256. Required only when automatic log partition splitting is enabled (AutoSplit is true). MaxSplitShard must be greater than the specified ShardCount; otherwise, the log service cannot automatically split partitions.
- project
Id string - Log project ID to which the log topic belongs.
- number
- Number of log partitions. By default, 1 partition is created; value range: 1–10. Each partition provides write capacity of 5 MiB/s, 500 ops/s, and read capacity of 20 MiB/s, 100 ops/s. Plan partitions appropriately when creating a log topic; partition count cannot be modified after creation.
-
Get
Topic Tag[] - Tag list.
- time
Format string - Time format
- time
Key string - Time field name
- topic
Id string - Log topic ID.
- topic
Name string - Log topic name.
- ttl number
- Total log retention time in the log service. After the specified log storage duration is exceeded, expired logs in this log topic will be automatically cleared. Unit: days. Default is 30 days. Value range is 1–3650. Setting to 3650 days means permanent storage.
- updated
Time string - Log topic modification time.
- allow_
consume bool - Indicates whether Kafka protocol consumption is enabled for the log topic. true: enabled. false: not enabled.
- archive_
ttl int - Archive storage duration. The value range is 60~3650. Archive storage can be enabled if any of the following conditions are met: Standard storage duration is 30 days or longer; standard storage duration is 7 days or longer and infrequent storage duration is 30 days or longer. This parameter is only effective when EnableHotTtl is set to true.
- auto_
split bool - Enable automatic partition splitting. true: If the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, the log service will automatically split partitions based on data volume to meet business needs, but the number of partitions after splitting cannot exceed the maximum split limit. New partitions created within the last 15 minutes will not be automatically split. false: Disable automatic partition splitting.
- cold_
ttl int - Low-frequency storage duration. Value range: 30–3650. Low-frequency storage is available when standard storage duration is 7 days or longer. This parameter is effective only when EnableHotTtl is true.
- consume_
topic str - Kafka protocol consumption topic ID, formatted as out+log topic ID. When consuming log data from this log topic via the Kafka protocol, set Topic to this ID.
- created_
time str - Log topic creation time.
- description str
- Log topic description. Does not support <>, ', , , or any emoji symbols. Length: 0–64 characters.
- enable_
hot_ boolttl - Enable tiered storage. When enabled, the log service supports standard storage, low-frequency storage, and archive storage. After setting HotTtl, ArchiveTtl, and ColdTtl, if data storage duration exceeds the corresponding value, data will automatically move to low-frequency or archive storage for continued retention until the total log retention duration reaches Ttl, after which backend services will automatically clean up the data.
- enable_
tracking bool - Enable WebTracking. When enabled, you can quickly collect frontend tracking data using WebTracking. true: Enable WebTracking. false (default): Disable WebTracking. After enabling Web Tracking for the log topic, data written via the WebTracks API does not require authentication, which grants anonymous write access to the public network and may result in dirty data.
- hot_
ttl int - Standard storage duration. Default is 30 days; value range: 7–3650. This parameter is effective only when EnableHotTtl is true.
- id str
- Uniquely identifies the resource.
- log_
public_ boolip - Enable external IP recording. Enabled by default. When enabled, the log service automatically adds the following metadata fields to the log content: tag****client_ip: Public IP address of the device sending the log. If logs are written using the log service's private domain name, the private IP address is recorded. tag****receive_time: Time when the log reaches the server, formatted as a 10-digit Unix timestamp.
- max_
split_ intshard - Maximum partition split count, which is the maximum number of partitions after splitting. Value range: 1–256, default is 256. Required only when automatic log partition splitting is enabled (AutoSplit is true). MaxSplitShard must be greater than the specified ShardCount; otherwise, the log service cannot automatically split partitions.
- project_
id str - Log project ID to which the log topic belongs.
- int
- Number of log partitions. By default, 1 partition is created; value range: 1–10. Each partition provides write capacity of 5 MiB/s, 500 ops/s, and read capacity of 20 MiB/s, 100 ops/s. Plan partitions appropriately when creating a log topic; partition count cannot be modified after creation.
-
Sequence[Get
Topic Tag] - Tag list.
- time_
format str - Time format
- time_
key str - Time field name
- topic_
id str - Log topic ID.
- topic_
name str - Log topic name.
- ttl int
- Total log retention time in the log service. After the specified log storage duration is exceeded, expired logs in this log topic will be automatically cleared. Unit: days. Default is 30 days. Value range is 1–3650. Setting to 3650 days means permanent storage.
- updated_
time str - Log topic modification time.
- allow
Consume Boolean - Indicates whether Kafka protocol consumption is enabled for the log topic. true: enabled. false: not enabled.
- archive
Ttl Number - Archive storage duration. The value range is 60~3650. Archive storage can be enabled if any of the following conditions are met: Standard storage duration is 30 days or longer; standard storage duration is 7 days or longer and infrequent storage duration is 30 days or longer. This parameter is only effective when EnableHotTtl is set to true.
- auto
Split Boolean - Enable automatic partition splitting. true: If the amount of data written exceeds the capacity of existing partitions for 5 consecutive minutes, the log service will automatically split partitions based on data volume to meet business needs, but the number of partitions after splitting cannot exceed the maximum split limit. New partitions created within the last 15 minutes will not be automatically split. false: Disable automatic partition splitting.
- cold
Ttl Number - Low-frequency storage duration. Value range: 30–3650. Low-frequency storage is available when standard storage duration is 7 days or longer. This parameter is effective only when EnableHotTtl is true.
- consume
Topic String - Kafka protocol consumption topic ID, formatted as out+log topic ID. When consuming log data from this log topic via the Kafka protocol, set Topic to this ID.
- created
Time String - Log topic creation time.
- description String
- Log topic description. Does not support <>, ', , , or any emoji symbols. Length: 0–64 characters.
- enable
Hot BooleanTtl - Enable tiered storage. When enabled, the log service supports standard storage, low-frequency storage, and archive storage. After setting HotTtl, ArchiveTtl, and ColdTtl, if data storage duration exceeds the corresponding value, data will automatically move to low-frequency or archive storage for continued retention until the total log retention duration reaches Ttl, after which backend services will automatically clean up the data.
- enable
Tracking Boolean - Enable WebTracking. When enabled, you can quickly collect frontend tracking data using WebTracking. true: Enable WebTracking. false (default): Disable WebTracking. After enabling Web Tracking for the log topic, data written via the WebTracks API does not require authentication, which grants anonymous write access to the public network and may result in dirty data.
- hot
Ttl Number - Standard storage duration. Default is 30 days; value range: 7–3650. This parameter is effective only when EnableHotTtl is true.
- id String
- Uniquely identifies the resource.
- log
Public BooleanIp - Enable external IP recording. Enabled by default. When enabled, the log service automatically adds the following metadata fields to the log content: tag****client_ip: Public IP address of the device sending the log. If logs are written using the log service's private domain name, the private IP address is recorded. tag****receive_time: Time when the log reaches the server, formatted as a 10-digit Unix timestamp.
- max
Split NumberShard - Maximum partition split count, which is the maximum number of partitions after splitting. Value range: 1–256, default is 256. Required only when automatic log partition splitting is enabled (AutoSplit is true). MaxSplitShard must be greater than the specified ShardCount; otherwise, the log service cannot automatically split partitions.
- project
Id String - Log project ID to which the log topic belongs.
- Number
- Number of log partitions. By default, 1 partition is created; value range: 1–10. Each partition provides write capacity of 5 MiB/s, 500 ops/s, and read capacity of 20 MiB/s, 100 ops/s. Plan partitions appropriately when creating a log topic; partition count cannot be modified after creation.
- List<Property Map>
- Tag list.
- time
Format String - Time format
- time
Key String - Time field name
- topic
Id String - Log topic ID.
- topic
Name String - Log topic name.
- ttl Number
- Total log retention time in the log service. After the specified log storage duration is exceeded, expired logs in this log topic will be automatically cleared. Unit: days. Default is 30 days. Value range is 1–3650. Setting to 3650 days means permanent storage.
- updated
Time String - Log topic modification time.
Supporting Types
GetTopicTag
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
