@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
102 lines (101 loc) • 2.8 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",
* });
* ```
*/
/** @deprecated volcengine.rocketmq.Groups has been deprecated in favor of volcengine.rocketmq.getGroups */
export declare function groups(args: GroupsArgs, opts?: pulumi.InvokeOptions): Promise<GroupsResult>;
/**
* A collection of arguments for invoking Groups.
*/
export interface GroupsArgs {
/**
* 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 Groups.
*/
export interface GroupsResult {
/**
* 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.GroupsRocketmqGroup[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.rocketmq.Groups has been deprecated in favor of volcengine.rocketmq.getGroups */
export declare function groupsOutput(args: GroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GroupsResult>;
/**
* A collection of arguments for invoking Groups.
*/
export interface GroupsOutputArgs {
/**
* 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>;
}