import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const newKms = new ovh.okms.Okms("new_kms", { * ovhSubsidiary: "FR", * region: "eu-west-rbx", * displayName: "terraformed KMS", * }); * ``` * * ## Import * * An OVHcloud KMS can be imported using the `id` E.g., * * bash * * ```sh * $ pulumi import ovh:Okms/okms:Okms new_kms id * ``` */ export declare class Okms extends pulumi.CustomResource { /** * Get an existing Okms 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?: OkmsState, opts?: pulumi.CustomResourceOptions): Okms; /** * Returns true if the given object is an instance of Okms. 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 Okms; /** * (String) Resource display name */ readonly displayName: pulumi.Output; /** * (Attributes) IAM resource metadata (see below for nested schema) */ readonly iam: pulumi.Output; /** * (String) KMS kmip API endpoint */ readonly kmipEndpoint: pulumi.Output; /** * OVH subsidiaries */ readonly ovhSubsidiary: pulumi.Output; /** * (String) KMS public CA (Certificate Authority) */ readonly publicCa: pulumi.Output; /** * KMS region */ readonly region: pulumi.Output; /** * (String) KMS rest API endpoint */ readonly restEndpoint: pulumi.Output; /** * (String) KMS rest API swagger UI */ readonly swaggerEndpoint: pulumi.Output; /** * Create a Okms 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: OkmsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Okms resources. */ export interface OkmsState { /** * (String) Resource display name */ displayName?: pulumi.Input; /** * (Attributes) IAM resource metadata (see below for nested schema) */ iam?: pulumi.Input; /** * (String) KMS kmip API endpoint */ kmipEndpoint?: pulumi.Input; /** * OVH subsidiaries */ ovhSubsidiary?: pulumi.Input; /** * (String) KMS public CA (Certificate Authority) */ publicCa?: pulumi.Input; /** * KMS region */ region?: pulumi.Input; /** * (String) KMS rest API endpoint */ restEndpoint?: pulumi.Input; /** * (String) KMS rest API swagger UI */ swaggerEndpoint?: pulumi.Input; } /** * The set of arguments for constructing a Okms resource. */ export interface OkmsArgs { /** * (String) Resource display name */ displayName?: pulumi.Input; /** * OVH subsidiaries */ ovhSubsidiary: pulumi.Input; /** * KMS region */ region: pulumi.Input; }