UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

62 lines (61 loc) 1.77 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myAutokeyConfig = gcp.kms.getAutokeyConfig({ * folder: "folders/123", * }); * ``` */ export declare function getAutokeyConfig(args: GetAutokeyConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetAutokeyConfigResult>; /** * A collection of arguments for invoking getAutokeyConfig. */ export interface GetAutokeyConfigArgs { /** * The folder in which the AutokeyConfig is configured. If it * is not provided, the provider folder is used. */ folder: string; } /** * A collection of values returned by getAutokeyConfig. */ export interface GetAutokeyConfigResult { readonly folder: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The identifier of the project hosting KMS KeyRings and Keys generated by Autokey. Its format is `projects/{projectId}`. */ readonly keyProject: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myAutokeyConfig = gcp.kms.getAutokeyConfig({ * folder: "folders/123", * }); * ``` */ export declare function getAutokeyConfigOutput(args: GetAutokeyConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAutokeyConfigResult>; /** * A collection of arguments for invoking getAutokeyConfig. */ export interface GetAutokeyConfigOutputArgs { /** * The folder in which the AutokeyConfig is configured. If it * is not provided, the provider folder is used. */ folder: pulumi.Input<string>; }