@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
100 lines (99 loc) • 2.62 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of rocketmq groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.rocketmq.getGroups({
* instanceId: "rocketmq-cnoeea6b32118fc2",
* });
* ```
*/
export declare function getGroups(args: GetGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
/**
* A collection of arguments for invoking getGroups.
*/
export interface GetGroupsArgs {
/**
* The id of rocketmq group. This field support fuzzy query.
*/
groupId?: string;
/**
* The type of rocketmq group. Valid values: `TCP`.
*/
groupType?: string;
/**
* The id of rocketmq instance.
*/
instanceId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getGroups.
*/
export interface GetGroupsResult {
/**
* The id of the rocketmq group.
*/
readonly groupId?: string;
/**
* The type of the rocketmq group.
*/
readonly groupType?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly outputFile?: string;
/**
* The collection of query.
*/
readonly rocketmqGroups: outputs.rocketmq.GetGroupsRocketmqGroup[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of rocketmq groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.rocketmq.getGroups({
* instanceId: "rocketmq-cnoeea6b32118fc2",
* });
* ```
*/
export declare function getGroupsOutput(args: GetGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupsResult>;
/**
* A collection of arguments for invoking getGroups.
*/
export interface GetGroupsOutputArgs {
/**
* The id of rocketmq group. This field support fuzzy query.
*/
groupId?: pulumi.Input<string>;
/**
* The type of rocketmq group. Valid values: `TCP`.
*/
groupType?: pulumi.Input<string>;
/**
* The id of rocketmq instance.
*/
instanceId: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}