@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
129 lines (128 loc) • 4.54 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Import
*
* The Secret Version can be imported using the `{region}/{id}/{revision}`, e.g. ~> **Important:** Be aware if you import with revision `latest` you will overwrite the version you used before. bash
*
* ```sh
* $ pulumi import scaleway:index/secretVersion:SecretVersion main fr-par/11111111-1111-1111-1111-111111111111/2
* ```
*/
export declare class SecretVersion extends pulumi.CustomResource {
/**
* Get an existing SecretVersion resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretVersionState, opts?: pulumi.CustomResourceOptions): SecretVersion;
/**
* Returns true if the given object is an instance of SecretVersion. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is SecretVersion;
/**
* Date and time of secret version's creation (RFC 3339 format).
*/
readonly createdAt: pulumi.Output<string>;
/**
* The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
*/
readonly data: pulumi.Output<string>;
/**
* Description of the secret version (e.g. `my-new-description`).
*/
readonly description: pulumi.Output<string | undefined>;
/**
* `region`) The region
* in which the resource exists.
*/
readonly region: pulumi.Output<string>;
/**
* The revision for this Secret Version.
*/
readonly revision: pulumi.Output<string>;
/**
* The Secret ID associated wit the secret version.
*/
readonly secretId: pulumi.Output<string>;
/**
* The status of the Secret Version.
*/
readonly status: pulumi.Output<string>;
/**
* Date and time of secret version's last update (RFC 3339 format).
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a SecretVersion resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: SecretVersionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SecretVersion resources.
*/
export interface SecretVersionState {
/**
* Date and time of secret version's creation (RFC 3339 format).
*/
createdAt?: pulumi.Input<string>;
/**
* The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
*/
data?: pulumi.Input<string>;
/**
* Description of the secret version (e.g. `my-new-description`).
*/
description?: pulumi.Input<string>;
/**
* `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.
*/
secretId?: pulumi.Input<string>;
/**
* The status of the Secret Version.
*/
status?: pulumi.Input<string>;
/**
* Date and time of secret version's last update (RFC 3339 format).
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SecretVersion resource.
*/
export interface SecretVersionArgs {
/**
* The data payload of the secret version. Must be no larger than 64KiB. (e.g. `my-secret-version-payload`). more on the data section
*/
data: pulumi.Input<string>;
/**
* Description of the secret version (e.g. `my-new-description`).
*/
description?: pulumi.Input<string>;
/**
* `region`) The region
* in which the resource exists.
*/
region?: pulumi.Input<string>;
/**
* The Secret ID associated wit the secret version.
*/
secretId: pulumi.Input<string>;
}