import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to retrieve information about a KMS associated with this account * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const kms = ovh.Okms.getOkmsResource({ * id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * ``` */ export declare function getOkmsResource(args: GetOkmsResourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOkmsResource. */ export interface GetOkmsResourceArgs { /** * Should be set to the ID of your KMS */ id: string; } /** * A collection of values returned by getOkmsResource. */ export interface GetOkmsResourceResult { /** * (Attributes) IAM resource metadata (see below for nested schema) */ readonly iam: outputs.Okms.GetOkmsResourceIam; /** * (String) Unique identifier of the resource */ readonly id: string; /** * (String) KMS kmip API endpoint */ readonly kmipEndpoint: string; /** * (String) KMS public CA (Certificate Authority) */ readonly publicCa: string; /** * (String) Region */ readonly region: string; /** * (String) KMS rest API endpoint */ readonly restEndpoint: string; /** * (String) KMS rest API swagger UI */ readonly swaggerEndpoint: string; } /** * Use this data source to retrieve information about a KMS associated with this account * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const kms = ovh.Okms.getOkmsResource({ * id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", * }); * ``` */ export declare function getOkmsResourceOutput(args: GetOkmsResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOkmsResource. */ export interface GetOkmsResourceOutputArgs { /** * Should be set to the ID of your KMS */ id: pulumi.Input; }