@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
85 lines (84 loc) • 2.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare function getSecretVersion(args?: GetSecretVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretVersionResult>;
/**
* A collection of arguments for invoking getSecretVersion.
*/
export interface GetSecretVersionArgs {
/**
* `region`) The region
* in which the resource exists.
*/
region?: string;
/**
* The revision for this Secret Version.
*/
revision?: string;
/**
* The Secret ID associated wit the secret version.
* Only one of `secretId` and `secretName` should be specified.
*/
secretId?: string;
/**
* The Name of Secret associated wit the secret version.
* Only one of `secretId` and `secretName` should be specified.
*/
secretName?: string;
}
/**
* A collection of values returned by getSecretVersion.
*/
export interface GetSecretVersionResult {
/**
* Date and time of secret version's creation (RFC 3339 format).
*/
readonly createdAt: string;
/**
* The data payload of the secret version. more on the data section
*/
readonly data: string;
/**
* (Optional) Description of the secret version (e.g. `my-new-description`).
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly region?: string;
readonly revision?: string;
readonly secretId?: string;
readonly secretName?: string;
/**
* The status of the Secret Version.
*/
readonly status: string;
/**
* Date and time of secret version's last update (RFC 3339 format).
*/
readonly updatedAt: string;
}
export declare function getSecretVersionOutput(args?: GetSecretVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecretVersionResult>;
/**
* A collection of arguments for invoking getSecretVersion.
*/
export interface GetSecretVersionOutputArgs {
/**
* `region`) The region
* in which the resource exists.
*/
region?: pulumi.Input<string>;
/**
* The revision for this Secret Version.
*/
revision?: pulumi.Input<string>;
/**
* The Secret ID associated wit the secret version.
* Only one of `secretId` and `secretName` should be specified.
*/
secretId?: pulumi.Input<string>;
/**
* The Name of Secret associated wit the secret version.
* Only one of `secretId` and `secretName` should be specified.
*/
secretName?: pulumi.Input<string>;
}