import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vault from "@pulumi/vault"; * * const jwt = new vault.Plugin("jwt", { * type: "auth", * name: "jwt", * command: "vault-plugin-auth-jwt", * version: "v0.17.0", * sha256: "6bd0a803ed742aa3ce35e4fa23d2c8d550e6c1567bf63410cec489c28b68b0fc", * envs: ["HTTP_PROXY=http://proxy.example.com:8080"], * }); * const jwtPin = new vault.PluginPinnedVersion("jwt_pin", { * type: jwt.type, * name: jwt.name, * version: jwt.version, * }); * const jwtAuth = new vault.AuthBackend("jwt_auth", {type: jwtPin.name}); * ``` * * ## Import * * Pinned plugin versions can be imported using `type/name` as the ID, e.g. * * ```sh * $ pulumi import vault:index/pluginPinnedVersion:PluginPinnedVersion jwt_pin auth/jwt * ``` */ export declare class PluginPinnedVersion extends pulumi.CustomResource { /** * Get an existing PluginPinnedVersion 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, state?: PluginPinnedVersionState, opts?: pulumi.CustomResourceOptions): PluginPinnedVersion; /** * Returns true if the given object is an instance of PluginPinnedVersion. 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 PluginPinnedVersion; /** * Name of the plugin. */ readonly name: pulumi.Output; /** * Type of plugin; one of "auth", "secret", or "database". */ readonly type: pulumi.Output; /** * Semantic version of the plugin to pin. */ readonly version: pulumi.Output; /** * Create a PluginPinnedVersion 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: PluginPinnedVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PluginPinnedVersion resources. */ export interface PluginPinnedVersionState { /** * Name of the plugin. */ name?: pulumi.Input; /** * Type of plugin; one of "auth", "secret", or "database". */ type?: pulumi.Input; /** * Semantic version of the plugin to pin. */ version?: pulumi.Input; } /** * The set of arguments for constructing a PluginPinnedVersion resource. */ export interface PluginPinnedVersionArgs { /** * Name of the plugin. */ name?: pulumi.Input; /** * Type of plugin; one of "auth", "secret", or "database". */ type: pulumi.Input; /** * Semantic version of the plugin to pin. */ version: pulumi.Input; }