tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getCkafkaAcls
Start a Neo task
Explain and create a tencentcloud.getCkafkaAcls resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed acl information of Ckafka
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = tencentcloud.getCkafkaAcls({
instanceId: "ckafka-f9ife4zz",
resourceType: "TOPIC",
resourceName: "topic-tf-test",
host: "2",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_ckafka_acls(instance_id="ckafka-f9ife4zz",
resource_type="TOPIC",
resource_name="topic-tf-test",
host="2")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCkafkaAcls(ctx, &tencentcloud.GetCkafkaAclsArgs{
InstanceId: "ckafka-f9ife4zz",
ResourceType: "TOPIC",
ResourceName: "topic-tf-test",
Host: pulumi.StringRef("2"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var foo = Tencentcloud.GetCkafkaAcls.Invoke(new()
{
InstanceId = "ckafka-f9ife4zz",
ResourceType = "TOPIC",
ResourceName = "topic-tf-test",
Host = "2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCkafkaAclsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = TencentcloudFunctions.getCkafkaAcls(GetCkafkaAclsArgs.builder()
.instanceId("ckafka-f9ife4zz")
.resourceType("TOPIC")
.resourceName("topic-tf-test")
.host("2")
.build());
}
}
variables:
foo:
fn::invoke:
function: tencentcloud:getCkafkaAcls
arguments:
instanceId: ckafka-f9ife4zz
resourceType: TOPIC
resourceName: topic-tf-test
host: '2'
Using getCkafkaAcls
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 getCkafkaAcls(args: GetCkafkaAclsArgs, opts?: InvokeOptions): Promise<GetCkafkaAclsResult>
function getCkafkaAclsOutput(args: GetCkafkaAclsOutputArgs, opts?: InvokeOptions): Output<GetCkafkaAclsResult>def get_ckafka_acls(host: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
resource_name: Optional[str] = None,
resource_type: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCkafkaAclsResult
def get_ckafka_acls_output(host: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaAclsResult]func GetCkafkaAcls(ctx *Context, args *GetCkafkaAclsArgs, opts ...InvokeOption) (*GetCkafkaAclsResult, error)
func GetCkafkaAclsOutput(ctx *Context, args *GetCkafkaAclsOutputArgs, opts ...InvokeOption) GetCkafkaAclsResultOutput> Note: This function is named GetCkafkaAcls in the Go SDK.
public static class GetCkafkaAcls
{
public static Task<GetCkafkaAclsResult> InvokeAsync(GetCkafkaAclsArgs args, InvokeOptions? opts = null)
public static Output<GetCkafkaAclsResult> Invoke(GetCkafkaAclsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCkafkaAclsResult> getCkafkaAcls(GetCkafkaAclsArgs args, InvokeOptions options)
public static Output<GetCkafkaAclsResult> getCkafkaAcls(GetCkafkaAclsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCkafkaAcls:getCkafkaAcls
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Id of the ckafka instance.
- Resource
Name string - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - Resource
Type string - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka. - Host string
- Host substr used for querying.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Id of the ckafka instance.
- Resource
Name string - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - Resource
Type string - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka. - Host string
- Host substr used for querying.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Id of the ckafka instance.
- resource
Name String - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource
Type String - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka. - host String
- Host substr used for querying.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Id of the ckafka instance.
- resource
Name string - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource
Type string - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka. - host string
- Host substr used for querying.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Id of the ckafka instance.
- resource_
name str - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource_
type str - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka. - host str
- Host substr used for querying.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Id of the ckafka instance.
- resource
Name String - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource
Type String - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka. - host String
- Host substr used for querying.
- id String
- result
Output StringFile - Used to save results.
getCkafkaAcls Result
The following output properties are available:
- Acl
Lists List<GetCkafka Acls Acl List> - A list of ckafka acls. Each element contains the following attributes:
- Id string
- Instance
Id string - Resource
Name string - ACL resource name, which is related to
resource_type. - Resource
Type string - ACL resource type.
- Host string
- IP address allowed to access.
- Result
Output stringFile
- Acl
Lists []GetCkafka Acls Acl List - A list of ckafka acls. Each element contains the following attributes:
- Id string
- Instance
Id string - Resource
Name string - ACL resource name, which is related to
resource_type. - Resource
Type string - ACL resource type.
- Host string
- IP address allowed to access.
- Result
Output stringFile
- acl
Lists List<GetCkafka Acls Acl List> - A list of ckafka acls. Each element contains the following attributes:
- id String
- instance
Id String - resource
Name String - ACL resource name, which is related to
resource_type. - resource
Type String - ACL resource type.
- host String
- IP address allowed to access.
- result
Output StringFile
- acl
Lists GetCkafka Acls Acl List[] - A list of ckafka acls. Each element contains the following attributes:
- id string
- instance
Id string - resource
Name string - ACL resource name, which is related to
resource_type. - resource
Type string - ACL resource type.
- host string
- IP address allowed to access.
- result
Output stringFile
- acl_
lists Sequence[GetCkafka Acls Acl List] - A list of ckafka acls. Each element contains the following attributes:
- id str
- instance_
id str - resource_
name str - ACL resource name, which is related to
resource_type. - resource_
type str - ACL resource type.
- host str
- IP address allowed to access.
- result_
output_ strfile
- acl
Lists List<Property Map> - A list of ckafka acls. Each element contains the following attributes:
- id String
- instance
Id String - resource
Name String - ACL resource name, which is related to
resource_type. - resource
Type String - ACL resource type.
- host String
- IP address allowed to access.
- result
Output StringFile
Supporting Types
GetCkafkaAclsAclList
- Host string
- Host substr used for querying.
- Operation
Type string - ACL operation mode.
- Permission
Type string - ACL permission type, valid values are
UNKNOWN,ANY,DENY,ALLOW, andALLOWby default. Currently, CKafka supportsALLOW(equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. - Principal string
- User which can access.
*means that any user can access. - Resource
Name string - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - Resource
Type string - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka.
- Host string
- Host substr used for querying.
- Operation
Type string - ACL operation mode.
- Permission
Type string - ACL permission type, valid values are
UNKNOWN,ANY,DENY,ALLOW, andALLOWby default. Currently, CKafka supportsALLOW(equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. - Principal string
- User which can access.
*means that any user can access. - Resource
Name string - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - Resource
Type string - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka.
- host String
- Host substr used for querying.
- operation
Type String - ACL operation mode.
- permission
Type String - ACL permission type, valid values are
UNKNOWN,ANY,DENY,ALLOW, andALLOWby default. Currently, CKafka supportsALLOW(equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. - principal String
- User which can access.
*means that any user can access. - resource
Name String - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource
Type String - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka.
- host string
- Host substr used for querying.
- operation
Type string - ACL operation mode.
- permission
Type string - ACL permission type, valid values are
UNKNOWN,ANY,DENY,ALLOW, andALLOWby default. Currently, CKafka supportsALLOW(equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. - principal string
- User which can access.
*means that any user can access. - resource
Name string - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource
Type string - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka.
- host str
- Host substr used for querying.
- operation_
type str - ACL operation mode.
- permission_
type str - ACL permission type, valid values are
UNKNOWN,ANY,DENY,ALLOW, andALLOWby default. Currently, CKafka supportsALLOW(equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. - principal str
- User which can access.
*means that any user can access. - resource_
name str - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource_
type str - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka.
- host String
- Host substr used for querying.
- operation
Type String - ACL operation mode.
- permission
Type String - ACL permission type, valid values are
UNKNOWN,ANY,DENY,ALLOW, andALLOWby default. Currently, CKafka supportsALLOW(equivalent to allow list), and other fields will be used for future ACLs compatible with open-source Kafka. - principal String
- User which can access.
*means that any user can access. - resource
Name String - ACL resource name, which is related to
resource_type. For example, ifresource_typeisTOPIC, this field indicates the topic name; ifresource_typeisGROUP, this field indicates the group name. - resource
Type String - ACL resource type. Valid values are
UNKNOWN,ANY,TOPIC,GROUP,CLUSTER,TRANSACTIONAL_ID. Currently, onlyTOPICis available, and other fields will be used for future ACLs compatible with open-source Kafka.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
