UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

138 lines (137 loc) 3.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls consumer groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getConsumerGroups({}); * ``` */ export declare function getConsumerGroups(args?: GetConsumerGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetConsumerGroupsResult>; /** * A collection of arguments for invoking getConsumerGroups. */ export interface GetConsumerGroupsArgs { /** * The name of the consumer group. */ consumerGroupName?: string; /** * IAM log project name. */ iamProjectName?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The log project ID to which the consumption group belongs. */ projectId?: string; /** * The name of the log item to which the consumption group belongs. */ projectName?: string; /** * The log topic ID to which the consumer belongs. */ topicId?: string; /** * The name of the log topic to which the consumption group belongs. */ topicName?: string; } /** * A collection of values returned by getConsumerGroups. */ export interface GetConsumerGroupsResult { /** * The name of the consumer group. */ readonly consumerGroupName?: string; /** * List of log service consumption groups. */ readonly consumerGroups: outputs.tls.GetConsumerGroupsConsumerGroup[]; readonly iamProjectName?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The log project ID to which the consumption group belongs. */ readonly projectId?: string; /** * The name of the log item to which the consumption group belongs. */ readonly projectName?: string; /** * The list of log topic ids to be consumed by the consumer group. */ readonly topicId?: string; readonly topicName?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls consumer groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getConsumerGroups({}); * ``` */ export declare function getConsumerGroupsOutput(args?: GetConsumerGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConsumerGroupsResult>; /** * A collection of arguments for invoking getConsumerGroups. */ export interface GetConsumerGroupsOutputArgs { /** * The name of the consumer group. */ consumerGroupName?: pulumi.Input<string>; /** * IAM log project name. */ iamProjectName?: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The log project ID to which the consumption group belongs. */ projectId?: pulumi.Input<string>; /** * The name of the log item to which the consumption group belongs. */ projectName?: pulumi.Input<string>; /** * The log topic ID to which the consumer belongs. */ topicId?: pulumi.Input<string>; /** * The name of the log topic to which the consumption group belongs. */ topicName?: pulumi.Input<string>; }