Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::Kafka::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: volcenginecc:kafka/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:
- Access
Policies List<Volcengine.Get Topic Access Policy> - Custom permission configuration, which sets custom permissions for certain users on this Topic. Only required when AllAuthority is False.
- bool
- Whether read/write permissions are enabled by default for all users on the Topic to be created. true: (default) All users have read/write permissions for this Topic. false: Not all users have read/write permissions for this Topic. By default, users inherit their default permissions for this Topic. If the default permissions do not meet your requirements, you can specify custom permissions for a user on this Topic through AccessPolicies.
- Cleanup
Policies List<string> - Topic message cleanup policy supports the following three options: [delete]: The default message cleanup policy. When disk space is sufficient, messages are retained within the maximum retention period; when disk space is insufficient, old messages are deleted early to ensure service availability. [compact]: The COMPACT message cleanup policy consolidates messages by Key, retaining only the latest value for messages with the same Key, and removing older records. [delete,compact]: Configures both DELETE and COMPACT message cleanup policies. Messages will be deleted as soon as they meet any of the cleanup criteria.
- Created
Time string - Topic creation time.
- Description string
- Topic description. Maximum length: 128 characters.
- Id string
- Uniquely identifies the resource.
- Instance
Id string - Instance ID.
- Log
Retention intHours - Message retention period, in hours. The retention period at the Topic level ranges from 1 to 2160 hours (90 days).
- Parameters string
- Topic-level parameter configuration. Parameters description MinInsyncReplicaNumber:2: Minimum number of in-sync replicas. If the number of in-sync replicas is less than the configured value, messages cannot be written to the Topic. Higher values increase data reliability but reduce availability. The default is replica count minus 1. For Topic availability, it is recommended to set this to replica count minus 1. MessageMaxByte:12: Maximum message size, in MB, range 1–12. By default, inherits the instance's maximum message size setting. LogRetentionHours:72: Message retention period, in hours, range 0–2160 (up to 90 days). By default, inherits the instance's message retention period setting.
- Partition
Number int - Number of Topic partitions. The range is 1–300. If other Topics have already been created in the instance, the total number of partitions across all Topics must not exceed the partition limit of the instance. If the number of partitions does not meet your business needs, you can purchase more partitions to increase the partition limit of the instance.
- Replica
Number int - Number of Topic replicas. Can be set to 2 or 3; the default is 3.
- Status string
- Topic status.
-
List<Volcengine.
Get Topic Tag> - Topic label information
- Topic
Name string - Name of the Topic to be created. 3–64 characters. Must start with a letter or number. Supported characters include letters, numbers, hyphens (-), underscores (_), and periods (.).
- Used
Storage doublePercentage In Instance - The current Topic data size as a percentage of the instance's total storage space. Displayed on the console as a percentage with two decimal places.
- Used
Storage intSpace In Bytes - Total storage space currently used by the Topic.
- Access
Policies []GetTopic Access Policy - Custom permission configuration, which sets custom permissions for certain users on this Topic. Only required when AllAuthority is False.
- bool
- Whether read/write permissions are enabled by default for all users on the Topic to be created. true: (default) All users have read/write permissions for this Topic. false: Not all users have read/write permissions for this Topic. By default, users inherit their default permissions for this Topic. If the default permissions do not meet your requirements, you can specify custom permissions for a user on this Topic through AccessPolicies.
- Cleanup
Policies []string - Topic message cleanup policy supports the following three options: [delete]: The default message cleanup policy. When disk space is sufficient, messages are retained within the maximum retention period; when disk space is insufficient, old messages are deleted early to ensure service availability. [compact]: The COMPACT message cleanup policy consolidates messages by Key, retaining only the latest value for messages with the same Key, and removing older records. [delete,compact]: Configures both DELETE and COMPACT message cleanup policies. Messages will be deleted as soon as they meet any of the cleanup criteria.
- Created
Time string - Topic creation time.
- Description string
- Topic description. Maximum length: 128 characters.
- Id string
- Uniquely identifies the resource.
- Instance
Id string - Instance ID.
- Log
Retention intHours - Message retention period, in hours. The retention period at the Topic level ranges from 1 to 2160 hours (90 days).
- Parameters string
- Topic-level parameter configuration. Parameters description MinInsyncReplicaNumber:2: Minimum number of in-sync replicas. If the number of in-sync replicas is less than the configured value, messages cannot be written to the Topic. Higher values increase data reliability but reduce availability. The default is replica count minus 1. For Topic availability, it is recommended to set this to replica count minus 1. MessageMaxByte:12: Maximum message size, in MB, range 1–12. By default, inherits the instance's maximum message size setting. LogRetentionHours:72: Message retention period, in hours, range 0–2160 (up to 90 days). By default, inherits the instance's message retention period setting.
- Partition
Number int - Number of Topic partitions. The range is 1–300. If other Topics have already been created in the instance, the total number of partitions across all Topics must not exceed the partition limit of the instance. If the number of partitions does not meet your business needs, you can purchase more partitions to increase the partition limit of the instance.
- Replica
Number int - Number of Topic replicas. Can be set to 2 or 3; the default is 3.
- Status string
- Topic status.
-
[]Get
Topic Tag - Topic label information
- Topic
Name string - Name of the Topic to be created. 3–64 characters. Must start with a letter or number. Supported characters include letters, numbers, hyphens (-), underscores (_), and periods (.).
- Used
Storage float64Percentage In Instance - The current Topic data size as a percentage of the instance's total storage space. Displayed on the console as a percentage with two decimal places.
- Used
Storage intSpace In Bytes - Total storage space currently used by the Topic.
- access
Policies List<GetTopic Access Policy> - Custom permission configuration, which sets custom permissions for certain users on this Topic. Only required when AllAuthority is False.
- Boolean
- Whether read/write permissions are enabled by default for all users on the Topic to be created. true: (default) All users have read/write permissions for this Topic. false: Not all users have read/write permissions for this Topic. By default, users inherit their default permissions for this Topic. If the default permissions do not meet your requirements, you can specify custom permissions for a user on this Topic through AccessPolicies.
- cleanup
Policies List<String> - Topic message cleanup policy supports the following three options: [delete]: The default message cleanup policy. When disk space is sufficient, messages are retained within the maximum retention period; when disk space is insufficient, old messages are deleted early to ensure service availability. [compact]: The COMPACT message cleanup policy consolidates messages by Key, retaining only the latest value for messages with the same Key, and removing older records. [delete,compact]: Configures both DELETE and COMPACT message cleanup policies. Messages will be deleted as soon as they meet any of the cleanup criteria.
- created
Time String - Topic creation time.
- description String
- Topic description. Maximum length: 128 characters.
- id String
- Uniquely identifies the resource.
- instance
Id String - Instance ID.
- log
Retention IntegerHours - Message retention period, in hours. The retention period at the Topic level ranges from 1 to 2160 hours (90 days).
- parameters String
- Topic-level parameter configuration. Parameters description MinInsyncReplicaNumber:2: Minimum number of in-sync replicas. If the number of in-sync replicas is less than the configured value, messages cannot be written to the Topic. Higher values increase data reliability but reduce availability. The default is replica count minus 1. For Topic availability, it is recommended to set this to replica count minus 1. MessageMaxByte:12: Maximum message size, in MB, range 1–12. By default, inherits the instance's maximum message size setting. LogRetentionHours:72: Message retention period, in hours, range 0–2160 (up to 90 days). By default, inherits the instance's message retention period setting.
- partition
Number Integer - Number of Topic partitions. The range is 1–300. If other Topics have already been created in the instance, the total number of partitions across all Topics must not exceed the partition limit of the instance. If the number of partitions does not meet your business needs, you can purchase more partitions to increase the partition limit of the instance.
- replica
Number Integer - Number of Topic replicas. Can be set to 2 or 3; the default is 3.
- status String
- Topic status.
-
List<Get
Topic Tag> - Topic label information
- topic
Name String - Name of the Topic to be created. 3–64 characters. Must start with a letter or number. Supported characters include letters, numbers, hyphens (-), underscores (_), and periods (.).
- used
Storage DoublePercentage In Instance - The current Topic data size as a percentage of the instance's total storage space. Displayed on the console as a percentage with two decimal places.
- used
Storage IntegerSpace In Bytes - Total storage space currently used by the Topic.
- access
Policies GetTopic Access Policy[] - Custom permission configuration, which sets custom permissions for certain users on this Topic. Only required when AllAuthority is False.
- boolean
- Whether read/write permissions are enabled by default for all users on the Topic to be created. true: (default) All users have read/write permissions for this Topic. false: Not all users have read/write permissions for this Topic. By default, users inherit their default permissions for this Topic. If the default permissions do not meet your requirements, you can specify custom permissions for a user on this Topic through AccessPolicies.
- cleanup
Policies string[] - Topic message cleanup policy supports the following three options: [delete]: The default message cleanup policy. When disk space is sufficient, messages are retained within the maximum retention period; when disk space is insufficient, old messages are deleted early to ensure service availability. [compact]: The COMPACT message cleanup policy consolidates messages by Key, retaining only the latest value for messages with the same Key, and removing older records. [delete,compact]: Configures both DELETE and COMPACT message cleanup policies. Messages will be deleted as soon as they meet any of the cleanup criteria.
- created
Time string - Topic creation time.
- description string
- Topic description. Maximum length: 128 characters.
- id string
- Uniquely identifies the resource.
- instance
Id string - Instance ID.
- log
Retention numberHours - Message retention period, in hours. The retention period at the Topic level ranges from 1 to 2160 hours (90 days).
- parameters string
- Topic-level parameter configuration. Parameters description MinInsyncReplicaNumber:2: Minimum number of in-sync replicas. If the number of in-sync replicas is less than the configured value, messages cannot be written to the Topic. Higher values increase data reliability but reduce availability. The default is replica count minus 1. For Topic availability, it is recommended to set this to replica count minus 1. MessageMaxByte:12: Maximum message size, in MB, range 1–12. By default, inherits the instance's maximum message size setting. LogRetentionHours:72: Message retention period, in hours, range 0–2160 (up to 90 days). By default, inherits the instance's message retention period setting.
- partition
Number number - Number of Topic partitions. The range is 1–300. If other Topics have already been created in the instance, the total number of partitions across all Topics must not exceed the partition limit of the instance. If the number of partitions does not meet your business needs, you can purchase more partitions to increase the partition limit of the instance.
- replica
Number number - Number of Topic replicas. Can be set to 2 or 3; the default is 3.
- status string
- Topic status.
-
Get
Topic Tag[] - Topic label information
- topic
Name string - Name of the Topic to be created. 3–64 characters. Must start with a letter or number. Supported characters include letters, numbers, hyphens (-), underscores (_), and periods (.).
- used
Storage numberPercentage In Instance - The current Topic data size as a percentage of the instance's total storage space. Displayed on the console as a percentage with two decimal places.
- used
Storage numberSpace In Bytes - Total storage space currently used by the Topic.
- access_
policies Sequence[GetTopic Access Policy] - Custom permission configuration, which sets custom permissions for certain users on this Topic. Only required when AllAuthority is False.
- bool
- Whether read/write permissions are enabled by default for all users on the Topic to be created. true: (default) All users have read/write permissions for this Topic. false: Not all users have read/write permissions for this Topic. By default, users inherit their default permissions for this Topic. If the default permissions do not meet your requirements, you can specify custom permissions for a user on this Topic through AccessPolicies.
- cleanup_
policies Sequence[str] - Topic message cleanup policy supports the following three options: [delete]: The default message cleanup policy. When disk space is sufficient, messages are retained within the maximum retention period; when disk space is insufficient, old messages are deleted early to ensure service availability. [compact]: The COMPACT message cleanup policy consolidates messages by Key, retaining only the latest value for messages with the same Key, and removing older records. [delete,compact]: Configures both DELETE and COMPACT message cleanup policies. Messages will be deleted as soon as they meet any of the cleanup criteria.
- created_
time str - Topic creation time.
- description str
- Topic description. Maximum length: 128 characters.
- id str
- Uniquely identifies the resource.
- instance_
id str - Instance ID.
- log_
retention_ inthours - Message retention period, in hours. The retention period at the Topic level ranges from 1 to 2160 hours (90 days).
- parameters str
- Topic-level parameter configuration. Parameters description MinInsyncReplicaNumber:2: Minimum number of in-sync replicas. If the number of in-sync replicas is less than the configured value, messages cannot be written to the Topic. Higher values increase data reliability but reduce availability. The default is replica count minus 1. For Topic availability, it is recommended to set this to replica count minus 1. MessageMaxByte:12: Maximum message size, in MB, range 1–12. By default, inherits the instance's maximum message size setting. LogRetentionHours:72: Message retention period, in hours, range 0–2160 (up to 90 days). By default, inherits the instance's message retention period setting.
- partition_
number int - Number of Topic partitions. The range is 1–300. If other Topics have already been created in the instance, the total number of partitions across all Topics must not exceed the partition limit of the instance. If the number of partitions does not meet your business needs, you can purchase more partitions to increase the partition limit of the instance.
- replica_
number int - Number of Topic replicas. Can be set to 2 or 3; the default is 3.
- status str
- Topic status.
-
Sequence[Get
Topic Tag] - Topic label information
- topic_
name str - Name of the Topic to be created. 3–64 characters. Must start with a letter or number. Supported characters include letters, numbers, hyphens (-), underscores (_), and periods (.).
- used_
storage_ floatpercentage_ in_ instance - The current Topic data size as a percentage of the instance's total storage space. Displayed on the console as a percentage with two decimal places.
- used_
storage_ intspace_ in_ bytes - Total storage space currently used by the Topic.
- access
Policies List<Property Map> - Custom permission configuration, which sets custom permissions for certain users on this Topic. Only required when AllAuthority is False.
- Boolean
- Whether read/write permissions are enabled by default for all users on the Topic to be created. true: (default) All users have read/write permissions for this Topic. false: Not all users have read/write permissions for this Topic. By default, users inherit their default permissions for this Topic. If the default permissions do not meet your requirements, you can specify custom permissions for a user on this Topic through AccessPolicies.
- cleanup
Policies List<String> - Topic message cleanup policy supports the following three options: [delete]: The default message cleanup policy. When disk space is sufficient, messages are retained within the maximum retention period; when disk space is insufficient, old messages are deleted early to ensure service availability. [compact]: The COMPACT message cleanup policy consolidates messages by Key, retaining only the latest value for messages with the same Key, and removing older records. [delete,compact]: Configures both DELETE and COMPACT message cleanup policies. Messages will be deleted as soon as they meet any of the cleanup criteria.
- created
Time String - Topic creation time.
- description String
- Topic description. Maximum length: 128 characters.
- id String
- Uniquely identifies the resource.
- instance
Id String - Instance ID.
- log
Retention NumberHours - Message retention period, in hours. The retention period at the Topic level ranges from 1 to 2160 hours (90 days).
- parameters String
- Topic-level parameter configuration. Parameters description MinInsyncReplicaNumber:2: Minimum number of in-sync replicas. If the number of in-sync replicas is less than the configured value, messages cannot be written to the Topic. Higher values increase data reliability but reduce availability. The default is replica count minus 1. For Topic availability, it is recommended to set this to replica count minus 1. MessageMaxByte:12: Maximum message size, in MB, range 1–12. By default, inherits the instance's maximum message size setting. LogRetentionHours:72: Message retention period, in hours, range 0–2160 (up to 90 days). By default, inherits the instance's message retention period setting.
- partition
Number Number - Number of Topic partitions. The range is 1–300. If other Topics have already been created in the instance, the total number of partitions across all Topics must not exceed the partition limit of the instance. If the number of partitions does not meet your business needs, you can purchase more partitions to increase the partition limit of the instance.
- replica
Number Number - Number of Topic replicas. Can be set to 2 or 3; the default is 3.
- status String
- Topic status.
- List<Property Map>
- Topic label information
- topic
Name String - Name of the Topic to be created. 3–64 characters. Must start with a letter or number. Supported characters include letters, numbers, hyphens (-), underscores (_), and periods (.).
- used
Storage NumberPercentage In Instance - The current Topic data size as a percentage of the instance's total storage space. Displayed on the console as a percentage with two decimal places.
- used
Storage NumberSpace In Bytes - Total storage space currently used by the Topic.
Supporting Types
GetTopicAccessPolicy
- Access
Policy string - SASL user access permissions for the current Topic. PubSub: publish and subscribe permissions. Pub: publish permission. Sub: subscribe permission.
- User
Name string - SASL username.
- Access
Policy string - SASL user access permissions for the current Topic. PubSub: publish and subscribe permissions. Pub: publish permission. Sub: subscribe permission.
- User
Name string - SASL username.
- access
Policy String - SASL user access permissions for the current Topic. PubSub: publish and subscribe permissions. Pub: publish permission. Sub: subscribe permission.
- user
Name String - SASL username.
- access
Policy string - SASL user access permissions for the current Topic. PubSub: publish and subscribe permissions. Pub: publish permission. Sub: subscribe permission.
- user
Name string - SASL username.
- access_
policy str - SASL user access permissions for the current Topic. PubSub: publish and subscribe permissions. Pub: publish permission. Sub: subscribe permission.
- user_
name str - SASL username.
- access
Policy String - SASL user access permissions for the current Topic. PubSub: publish and subscribe permissions. Pub: publish permission. Sub: subscribe permission.
- user
Name String - SASL username.
GetTopicTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
