Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.tls.KafkaConsumers
Explore with Pulumi AI
Use this data source to query detailed information of tls kafka consumers
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.KafkaConsumers.Invoke(new()
{
Ids = new[]
{
"65d67d34-c5b4-4ec8-b3a9-175d33668b45",
"cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
"edf051ed-3c46-49ba-9339-bea628fedc15",
},
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.KafkaConsumers(ctx, &tls.KafkaConsumersArgs{
Ids: []string{
"65d67d34-c5b4-4ec8-b3a9-175d33668b45",
"cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
"edf051ed-3c46-49ba-9339-bea628fedc15",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.KafkaConsumersArgs;
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 default = TlsFunctions.KafkaConsumers(KafkaConsumersArgs.builder()
.ids(
"65d67d34-c5b4-4ec8-b3a9-175d33668b45",
"cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
"edf051ed-3c46-49ba-9339-bea628fedc15")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.kafka_consumers(ids=[
"65d67d34-c5b4-4ec8-b3a9-175d33668b45",
"cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
"edf051ed-3c46-49ba-9339-bea628fedc15",
])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.KafkaConsumers({
ids: [
"65d67d34-c5b4-4ec8-b3a9-175d33668b45",
"cfb5c08b-0c7a-44fa-8971-8afc12f1b123",
"edf051ed-3c46-49ba-9339-bea628fedc15",
],
});
variables:
default:
fn::invoke:
Function: volcengine:tls:KafkaConsumers
Arguments:
ids:
- 65d67d34-c5b4-4ec8-b3a9-175d33668b45
- cfb5c08b-0c7a-44fa-8971-8afc12f1b123
- edf051ed-3c46-49ba-9339-bea628fedc15
Using KafkaConsumers
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 kafkaConsumers(args: KafkaConsumersArgs, opts?: InvokeOptions): Promise<KafkaConsumersResult>
function kafkaConsumersOutput(args: KafkaConsumersOutputArgs, opts?: InvokeOptions): Output<KafkaConsumersResult>
def kafka_consumers(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> KafkaConsumersResult
def kafka_consumers_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[KafkaConsumersResult]
func KafkaConsumers(ctx *Context, args *KafkaConsumersArgs, opts ...InvokeOption) (*KafkaConsumersResult, error)
func KafkaConsumersOutput(ctx *Context, args *KafkaConsumersOutputArgs, opts ...InvokeOption) KafkaConsumersResultOutput
public static class KafkaConsumers
{
public static Task<KafkaConsumersResult> InvokeAsync(KafkaConsumersArgs args, InvokeOptions? opts = null)
public static Output<KafkaConsumersResult> Invoke(KafkaConsumersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<KafkaConsumersResult> kafkaConsumers(KafkaConsumersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:tls:KafkaConsumers
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
- A list of topic IDs.
- Output
File string - File name where to save data source results.
- Ids []string
- A list of topic IDs.
- Output
File string - File name where to save data source results.
- ids List<String>
- A list of topic IDs.
- output
File String - File name where to save data source results.
- ids string[]
- A list of topic IDs.
- output
File string - File name where to save data source results.
- ids Sequence[str]
- A list of topic IDs.
- output_
file str - File name where to save data source results.
- ids List<String>
- A list of topic IDs.
- output
File String - File name where to save data source results.
KafkaConsumers Result
The following output properties are available:
- Datas
List<Kafka
Consumers Data> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Ids List<string>
- Output
File string
- Datas
[]Kafka
Consumers Data - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Ids []string
- Output
File string
- datas
List<Kafka
Consumers Data> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- ids List<String>
- output
File String
- datas
Kafka
Consumers Data[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- ids string[]
- output
File string
- datas
Sequence[Kafka
Consumers Data] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- ids Sequence[str]
- output_
file str
- datas List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- ids List<String>
- output
File String
Supporting Types
KafkaConsumersData
- Allow
Consume bool - Whether allow consume.
- Consume
Topic string - The topic of consume.
- Topic
Id string - The ID of Topic.
- Allow
Consume bool - Whether allow consume.
- Consume
Topic string - The topic of consume.
- Topic
Id string - The ID of Topic.
- allow
Consume Boolean - Whether allow consume.
- consume
Topic String - The topic of consume.
- topic
Id String - The ID of Topic.
- allow
Consume boolean - Whether allow consume.
- consume
Topic string - The topic of consume.
- topic
Id string - The ID of Topic.
- allow_
consume bool - Whether allow consume.
- consume_
topic str - The topic of consume.
- topic_
id str - The ID of Topic.
- allow
Consume Boolean - Whether allow consume.
- consume
Topic String - The topic of consume.
- topic
Id String - The ID of Topic.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.