import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns metadata for a given EkmConnection. */ export declare function getEkmConnection(args: GetEkmConnectionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetEkmConnectionArgs { ekmConnectionId: string; location: string; project?: string; } export interface GetEkmConnectionResult { /** * The time at which the EkmConnection was created. */ readonly createTime: string; /** * Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS. */ readonly cryptoSpacePath: string; /** * Optional. Etag of the currently stored EkmConnection. */ readonly etag: string; /** * Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL. */ readonly keyManagementMode: string; /** * The resource name for the EkmConnection in the format `projects/*/locations/*/ekmConnections/*`. */ readonly name: string; /** * A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported. */ readonly serviceResolvers: outputs.cloudkms.v1.ServiceResolverResponse[]; } /** * Returns metadata for a given EkmConnection. */ export declare function getEkmConnectionOutput(args: GetEkmConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetEkmConnectionOutputArgs { ekmConnectionId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }