@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
157 lines (156 loc) • 3.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of kms keyrings
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.kms.getKeyrings({
* descriptions: [
* "tf-1",
* "tf-2",
* ],
* keyringNames: [
* "tf-test-1",
* "tf-test-2",
* "tf-test-3",
* ],
* });
* ```
*/
/** @deprecated volcengine.kms.Keyrings has been deprecated in favor of volcengine.kms.getKeyrings */
export declare function keyrings(args?: KeyringsArgs, opts?: pulumi.InvokeOptions): Promise<KeyringsResult>;
/**
* A collection of arguments for invoking Keyrings.
*/
export interface KeyringsArgs {
/**
* The creation date of the keyring.
*/
creationDateRanges?: string[];
/**
* The description of the keyring.
*/
descriptions?: string[];
/**
* The name of the keyring.
*/
keyringNames?: string[];
/**
* The type of the keyring.
*/
keyringTypes?: string[];
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The name of the project.
*/
projectName?: string;
/**
* The update date of the keyring.
*/
updateDateRanges?: string[];
}
/**
* A collection of values returned by Keyrings.
*/
export interface KeyringsResult {
readonly creationDateRanges?: string[];
/**
* The description of the keyring.
*/
readonly descriptions?: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the keyring.
*/
readonly keyringNames?: string[];
/**
* The type of the keyring.
*/
readonly keyringTypes?: string[];
/**
* The information about the keyring.
*/
readonly keyrings: outputs.kms.KeyringsKeyring[];
readonly nameRegex?: string;
readonly outputFile?: string;
readonly projectName?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
readonly updateDateRanges?: string[];
}
/**
* Use this data source to query detailed information of kms keyrings
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.kms.getKeyrings({
* descriptions: [
* "tf-1",
* "tf-2",
* ],
* keyringNames: [
* "tf-test-1",
* "tf-test-2",
* "tf-test-3",
* ],
* });
* ```
*/
/** @deprecated volcengine.kms.Keyrings has been deprecated in favor of volcengine.kms.getKeyrings */
export declare function keyringsOutput(args?: KeyringsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<KeyringsResult>;
/**
* A collection of arguments for invoking Keyrings.
*/
export interface KeyringsOutputArgs {
/**
* The creation date of the keyring.
*/
creationDateRanges?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The description of the keyring.
*/
descriptions?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the keyring.
*/
keyringNames?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The type of the keyring.
*/
keyringTypes?: pulumi.Input<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 name of the project.
*/
projectName?: pulumi.Input<string>;
/**
* The update date of the keyring.
*/
updateDateRanges?: pulumi.Input<pulumi.Input<string>[]>;
}