tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getCkafkaUsers
Start a Neo task
Explain and create a tencentcloud.getCkafkaUsers resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed user information of Ckafka
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = tencentcloud.getCkafkaUsers({
instanceId: "ckafka-f9ife4zz",
accountName: "test",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_ckafka_users(instance_id="ckafka-f9ife4zz",
account_name="test")
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.GetCkafkaUsers(ctx, &tencentcloud.GetCkafkaUsersArgs{
InstanceId: "ckafka-f9ife4zz",
AccountName: pulumi.StringRef("test"),
}, 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.GetCkafkaUsers.Invoke(new()
{
InstanceId = "ckafka-f9ife4zz",
AccountName = "test",
});
});
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.GetCkafkaUsersArgs;
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.getCkafkaUsers(GetCkafkaUsersArgs.builder()
.instanceId("ckafka-f9ife4zz")
.accountName("test")
.build());
}
}
variables:
foo:
fn::invoke:
function: tencentcloud:getCkafkaUsers
arguments:
instanceId: ckafka-f9ife4zz
accountName: test
Using getCkafkaUsers
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 getCkafkaUsers(args: GetCkafkaUsersArgs, opts?: InvokeOptions): Promise<GetCkafkaUsersResult>
function getCkafkaUsersOutput(args: GetCkafkaUsersOutputArgs, opts?: InvokeOptions): Output<GetCkafkaUsersResult>def get_ckafka_users(account_name: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCkafkaUsersResult
def get_ckafka_users_output(account_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaUsersResult]func GetCkafkaUsers(ctx *Context, args *GetCkafkaUsersArgs, opts ...InvokeOption) (*GetCkafkaUsersResult, error)
func GetCkafkaUsersOutput(ctx *Context, args *GetCkafkaUsersOutputArgs, opts ...InvokeOption) GetCkafkaUsersResultOutput> Note: This function is named GetCkafkaUsers in the Go SDK.
public static class GetCkafkaUsers
{
public static Task<GetCkafkaUsersResult> InvokeAsync(GetCkafkaUsersArgs args, InvokeOptions? opts = null)
public static Output<GetCkafkaUsersResult> Invoke(GetCkafkaUsersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCkafkaUsersResult> getCkafkaUsers(GetCkafkaUsersArgs args, InvokeOptions options)
public static Output<GetCkafkaUsersResult> getCkafkaUsers(GetCkafkaUsersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCkafkaUsers:getCkafkaUsers
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Id of the ckafka instance.
- Account
Name string - Account name used when query ckafka users' infos. Could be a substr of user name.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - Id of the ckafka instance.
- Account
Name string - Account name used when query ckafka users' infos. Could be a substr of user name.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - Id of the ckafka instance.
- account
Name String - Account name used when query ckafka users' infos. Could be a substr of user name.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - Id of the ckafka instance.
- account
Name string - Account name used when query ckafka users' infos. Could be a substr of user name.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - Id of the ckafka instance.
- account_
name str - Account name used when query ckafka users' infos. Could be a substr of user name.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - Id of the ckafka instance.
- account
Name String - Account name used when query ckafka users' infos. Could be a substr of user name.
- id String
- result
Output StringFile - Used to save results.
getCkafkaUsers Result
The following output properties are available:
- Id string
- Instance
Id string - User
Lists List<GetCkafka Users User List> - A list of ckafka users. Each element contains the following attributes:
- Account
Name string - Account name of user.
- Result
Output stringFile
- Id string
- Instance
Id string - User
Lists []GetCkafka Users User List - A list of ckafka users. Each element contains the following attributes:
- Account
Name string - Account name of user.
- Result
Output stringFile
- id String
- instance
Id String - user
Lists List<GetCkafka Users User List> - A list of ckafka users. Each element contains the following attributes:
- account
Name String - Account name of user.
- result
Output StringFile
- id string
- instance
Id string - user
Lists GetCkafka Users User List[] - A list of ckafka users. Each element contains the following attributes:
- account
Name string - Account name of user.
- result
Output stringFile
- id str
- instance_
id str - user_
lists Sequence[GetCkafka Users User List] - A list of ckafka users. Each element contains the following attributes:
- account_
name str - Account name of user.
- result_
output_ strfile
- id String
- instance
Id String - user
Lists List<Property Map> - A list of ckafka users. Each element contains the following attributes:
- account
Name String - Account name of user.
- result
Output StringFile
Supporting Types
GetCkafkaUsersUserList
- Account
Name string - Account name used when query ckafka users' infos. Could be a substr of user name.
- Create
Time string - Creation time of the account.
- Update
Time string - The last update time of the account.
- Account
Name string - Account name used when query ckafka users' infos. Could be a substr of user name.
- Create
Time string - Creation time of the account.
- Update
Time string - The last update time of the account.
- account
Name String - Account name used when query ckafka users' infos. Could be a substr of user name.
- create
Time String - Creation time of the account.
- update
Time String - The last update time of the account.
- account
Name string - Account name used when query ckafka users' infos. Could be a substr of user name.
- create
Time string - Creation time of the account.
- update
Time string - The last update time of the account.
- account_
name str - Account name used when query ckafka users' infos. Could be a substr of user name.
- create_
time str - Creation time of the account.
- update_
time str - The last update time of the account.
- account
Name String - Account name used when query ckafka users' infos. Could be a substr of user name.
- create
Time String - Creation time of the account.
- update
Time String - The last update time of the account.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
