import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/key/latest/EkmsPrivateEndpoint * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/kms * * Create a new EKMS private endpoint used to connect to external key manager system * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEkmsPrivateEndpoint = new oci.kms.EkmsPrivateEndpoint("test_ekms_private_endpoint", { * caBundle: ekmsPrivateEndpointCaBundle, * compartmentId: compartmentId, * displayName: ekmsPrivateEndpointDisplayName, * externalKeyManagerIp: ekmsPrivateEndpointExternalKeyManagerIp, * subnetId: testSubnet.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * port: Number(ekmsPrivateEndpointPort), * }); * ``` * * ## Import * * EkmsPrivateEndpoints can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" * ``` */ export declare class EkmsPrivateEndpoint extends pulumi.CustomResource { /** * Get an existing EkmsPrivateEndpoint 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?: EkmsPrivateEndpointState, opts?: pulumi.CustomResourceOptions): EkmsPrivateEndpoint; /** * Returns true if the given object is an instance of EkmsPrivateEndpoint. 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 EkmsPrivateEndpoint; /** * CABundle to validate TLS certificate of the external key manager system in PEM format */ readonly caBundle: pulumi.Output; /** * Compartment identifier. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Display name of the EKMS private endpoint resource being created. */ readonly displayName: pulumi.Output; /** * External private IP to connect to from this EKMS private endpoint */ readonly externalKeyManagerIp: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. */ readonly lifecycleDetails: pulumi.Output; /** * The port of the external key manager system */ readonly port: pulumi.Output; /** * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet */ readonly privateEndpointIp: pulumi.Output; /** * The current state of the EKMS private endpoint resource. */ readonly state: pulumi.Output; /** * The OCID of subnet in which the EKMS private endpoint is to be created * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly subnetId: pulumi.Output; /** * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a EkmsPrivateEndpoint 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: EkmsPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EkmsPrivateEndpoint resources. */ export interface EkmsPrivateEndpointState { /** * CABundle to validate TLS certificate of the external key manager system in PEM format */ caBundle?: pulumi.Input; /** * Compartment identifier. */ compartmentId?: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Display name of the EKMS private endpoint resource being created. */ displayName?: pulumi.Input; /** * External private IP to connect to from this EKMS private endpoint */ externalKeyManagerIp?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. */ lifecycleDetails?: pulumi.Input; /** * The port of the external key manager system */ port?: pulumi.Input; /** * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet */ privateEndpointIp?: pulumi.Input; /** * The current state of the EKMS private endpoint resource. */ state?: pulumi.Input; /** * The OCID of subnet in which the EKMS private endpoint is to be created * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ subnetId?: pulumi.Input; /** * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a EkmsPrivateEndpoint resource. */ export interface EkmsPrivateEndpointArgs { /** * CABundle to validate TLS certificate of the external key manager system in PEM format */ caBundle: pulumi.Input; /** * Compartment identifier. */ compartmentId: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Display name of the EKMS private endpoint resource being created. */ displayName: pulumi.Input; /** * External private IP to connect to from this EKMS private endpoint */ externalKeyManagerIp: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The port of the external key manager system */ port?: pulumi.Input; /** * The OCID of subnet in which the EKMS private endpoint is to be created * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ subnetId: pulumi.Input; } //# sourceMappingURL=ekmsPrivateEndpoint.d.ts.map