import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns metadata for a given ImportJob. */ export declare function getImportJob(args: GetImportJobArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetImportJobArgs { importJobId: string; keyRingId: string; location: string; project?: string; } export interface GetImportJobResult { /** * Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM. */ readonly attestation: outputs.cloudkms.v1.KeyOperationAttestationResponse; /** * The time at which this ImportJob was created. */ readonly createTime: string; /** * The time this ImportJob expired. Only present if state is EXPIRED. */ readonly expireEventTime: string; /** * The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material. */ readonly expireTime: string; /** * The time this ImportJob's key material was generated. */ readonly generateTime: string; /** * Immutable. The wrapping method to be used for incoming key material. */ readonly importMethod: string; /** * The resource name for this ImportJob in the format `projects/*/locations/*/keyRings/*/importJobs/*`. */ readonly name: string; /** * Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into. */ readonly protectionLevel: string; /** * The public key with which to wrap key material prior to import. Only returned if state is ACTIVE. */ readonly publicKey: outputs.cloudkms.v1.WrappingPublicKeyResponse; /** * The current state of the ImportJob, indicating if it can be used. */ readonly state: string; } /** * Returns metadata for a given ImportJob. */ export declare function getImportJobOutput(args: GetImportJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetImportJobOutputArgs { importJobId: pulumi.Input; keyRingId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }