@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
91 lines (90 loc) • 2.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of rocketmq access keys
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.rocketmq.getAccessKeys({
* instanceId: "rocketmq-cnoeea6b32118fc2",
* });
* ```
*/
export declare function getAccessKeys(args: GetAccessKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessKeysResult>;
/**
* A collection of arguments for invoking getAccessKeys.
*/
export interface GetAccessKeysArgs {
/**
* The access key id of the rocketmq key.
*/
accessKey?: string;
/**
* The id of rocketmq instance.
*/
instanceId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getAccessKeys.
*/
export interface GetAccessKeysResult {
/**
* The access key id of the rocketmq key.
*/
readonly accessKey?: string;
/**
* The collection of query.
*/
readonly accessKeys: outputs.rocketmq.GetAccessKeysAccessKey[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The id of rocketmq instance.
*/
readonly instanceId: string;
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of rocketmq access keys
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.rocketmq.getAccessKeys({
* instanceId: "rocketmq-cnoeea6b32118fc2",
* });
* ```
*/
export declare function getAccessKeysOutput(args: GetAccessKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessKeysResult>;
/**
* A collection of arguments for invoking getAccessKeys.
*/
export interface GetAccessKeysOutputArgs {
/**
* The access key id of the rocketmq key.
*/
accessKey?: pulumi.Input<string>;
/**
* The id of rocketmq instance.
*/
instanceId: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}