import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Distributed Database Private Endpoint resource in Oracle Cloud Infrastructure Distributed Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/globally-distributed-database/latest/DistributedDatabasePrivateEndpoint * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/distributed_database * * Creates a DistributedDatabasePrivateEndpoint. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDistributedDatabasePrivateEndpoint = new oci.oci.DistributedDatabaseDistributedDatabasePrivateEndpoint("test_distributed_database_private_endpoint", { * compartmentId: compartmentId, * displayName: distributedDatabasePrivateEndpointDisplayName, * subnetId: testSubnet.id, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: distributedDatabasePrivateEndpointDescription, * freeformTags: { * "bar-key": "value", * }, * nsgIds: distributedDatabasePrivateEndpointNsgIds, * }); * ``` * * ## Import * * DistributedDatabasePrivateEndpoints can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/distributedDatabaseDistributedDatabasePrivateEndpoint:DistributedDatabaseDistributedDatabasePrivateEndpoint test_distributed_database_private_endpoint "id" * ``` */ export declare class DistributedDatabaseDistributedDatabasePrivateEndpoint extends pulumi.CustomResource { /** * Get an existing DistributedDatabaseDistributedDatabasePrivateEndpoint 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?: DistributedDatabaseDistributedDatabasePrivateEndpointState, opts?: pulumi.CustomResourceOptions): DistributedDatabaseDistributedDatabasePrivateEndpoint; /** * Returns true if the given object is an instance of DistributedDatabaseDistributedDatabasePrivateEndpoint. 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 DistributedDatabaseDistributedDatabasePrivateEndpoint; /** * (Updatable) Identifier of the compartment where private endpoint is to be created. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) DistributedDatabasePrivateEndpoint description. */ readonly description: pulumi.Output; /** * (Updatable) Private endpoint display name. */ readonly displayName: 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; }>; /** * This field is deprecated. Support for this field will be removed after Mon, 1 Mar 2027 00:00:00 GMT. */ readonly globallyDistributedAutonomousDatabases: pulumi.Output; /** * This field is deprecated. Support for this field will be removed after Mon, 1 Mar 2027 00:00:00 GMT. */ readonly globallyDistributedDatabases: pulumi.Output; /** * Detailed message for the lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. */ readonly nsgIds: pulumi.Output; /** * IP address of the Private Endpoint. */ readonly privateIp: pulumi.Output; /** * The identifier of the proxy compute instance. */ readonly proxyComputeInstanceId: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value. * * ** 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 reinstateProxyInstanceTrigger: pulumi.Output; /** * Lifecycle states for private endpoint. */ readonly state: pulumi.Output; /** * Identifier of the customer subnet against which private endpoint is to be created. */ readonly subnetId: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time the DistributedDatabasePrivateEndpoint was first created. An RFC3339 formatted datetime string */ readonly timeCreated: pulumi.Output; /** * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: pulumi.Output; /** * Identifier of the VCN in which subnet exists. */ readonly vcnId: pulumi.Output; /** * Create a DistributedDatabaseDistributedDatabasePrivateEndpoint 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: DistributedDatabaseDistributedDatabasePrivateEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DistributedDatabaseDistributedDatabasePrivateEndpoint resources. */ export interface DistributedDatabaseDistributedDatabasePrivateEndpointState { /** * (Updatable) Identifier of the compartment where private endpoint is to be created. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) DistributedDatabasePrivateEndpoint description. */ description?: pulumi.Input; /** * (Updatable) Private endpoint display name. */ displayName?: 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>; /** * This field is deprecated. Support for this field will be removed after Mon, 1 Mar 2027 00:00:00 GMT. */ globallyDistributedAutonomousDatabases?: pulumi.Input[] | undefined>; /** * This field is deprecated. Support for this field will be removed after Mon, 1 Mar 2027 00:00:00 GMT. */ globallyDistributedDatabases?: pulumi.Input[] | undefined>; /** * Detailed message for the lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. */ nsgIds?: pulumi.Input[] | undefined>; /** * IP address of the Private Endpoint. */ privateIp?: pulumi.Input; /** * The identifier of the proxy compute instance. */ proxyComputeInstanceId?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value. * * ** 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 */ reinstateProxyInstanceTrigger?: pulumi.Input; /** * Lifecycle states for private endpoint. */ state?: pulumi.Input; /** * Identifier of the customer subnet against which private endpoint is to be created. */ subnetId?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time the DistributedDatabasePrivateEndpoint was first created. An RFC3339 formatted datetime string */ timeCreated?: pulumi.Input; /** * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string */ timeUpdated?: pulumi.Input; /** * Identifier of the VCN in which subnet exists. */ vcnId?: pulumi.Input; } /** * The set of arguments for constructing a DistributedDatabaseDistributedDatabasePrivateEndpoint resource. */ export interface DistributedDatabaseDistributedDatabasePrivateEndpointArgs { /** * (Updatable) Identifier of the compartment where private endpoint is to be created. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) DistributedDatabasePrivateEndpoint description. */ description?: pulumi.Input; /** * (Updatable) Private endpoint display name. */ displayName: 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>; /** * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. */ nsgIds?: pulumi.Input[] | undefined>; /** * (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value. * * ** 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 */ reinstateProxyInstanceTrigger?: pulumi.Input; /** * Identifier of the customer subnet against which private endpoint is to be created. */ subnetId: pulumi.Input; } //# sourceMappingURL=distributedDatabaseDistributedDatabasePrivateEndpoint.d.ts.map