@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
76 lines (75 loc) • 2.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of kms secret versions
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.kms.getSecretVersions({
* secretName: "secret-9527",
* });
* ```
*/
export declare function getSecretVersions(args: GetSecretVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretVersionsResult>;
/**
* A collection of arguments for invoking getSecretVersions.
*/
export interface GetSecretVersionsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The name of the secret.
*/
secretName: string;
}
/**
* A collection of values returned by getSecretVersions.
*/
export interface GetSecretVersionsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
readonly secretName: string;
/**
* The version info of secret.
*/
readonly secretVersions: outputs.kms.GetSecretVersionsSecretVersion[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of kms secret versions
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.kms.getSecretVersions({
* secretName: "secret-9527",
* });
* ```
*/
export declare function getSecretVersionsOutput(args: GetSecretVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecretVersionsResult>;
/**
* A collection of arguments for invoking getSecretVersions.
*/
export interface GetSecretVersionsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The name of the secret.
*/
secretName: pulumi.Input<string>;
}