import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * List of connection address information * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const mongoDBEndpointDemo = new volcenginecc.mongodb.Endpoint("MongoDBEndpointDemo", { * eipIds: [ * "eip-****", * "eip-****", * ], * instanceId: "mongo-replica-****", * networkType: "Public", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:mongodb/endpoint:Endpoint example "instance_id|endpoint_id" * ``` */ export declare class Endpoint extends pulumi.CustomResource { /** * Get an existing Endpoint 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?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint; /** * Returns true if the given object is an instance of Endpoint. 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 Endpoint; readonly dbAddresses: pulumi.Output; /** * List of EIP IDs to bind when applying for a public address */ readonly eipIds: pulumi.Output; /** * Connection address ID */ readonly endpointId: pulumi.Output; /** * String information of the connection address. */ readonly endpointStr: pulumi.Output; /** * Node type corresponding to the connection address. Possible values: - Replica set instances only support the * `ReplicaSet` (replica set) connection address type - Sharded cluster instances support three connection address types: * `Mongos` (Mongos node), `ConfigServer` (ConfigServer node), and `Shard` (Shard node) */ readonly endpointType: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * ID of the Mongos node that requires a public connection address */ readonly mongosNodeIds: pulumi.Output; /** * Network type of the connection address. Possible values: - `Private`: Private connection address - `Public`: Public * connection address */ readonly networkType: pulumi.Output; /** * ID of the component associated with the current connection address **Note:** This parameter is returned only when * `EndpointType` is set to `Mongos`, `ConfigServer`, or `Shard`. */ readonly objectId: pulumi.Output; /** * Subnet ID of the current instance */ readonly subnetId: pulumi.Output; /** * VPC ID of the current instance */ readonly vpcId: pulumi.Output; /** * Create a Endpoint 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: EndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Endpoint resources. */ export interface EndpointState { dbAddresses?: pulumi.Input[]>; /** * List of EIP IDs to bind when applying for a public address */ eipIds?: pulumi.Input[]>; /** * Connection address ID */ endpointId?: pulumi.Input; /** * String information of the connection address. */ endpointStr?: pulumi.Input; /** * Node type corresponding to the connection address. Possible values: - Replica set instances only support the * `ReplicaSet` (replica set) connection address type - Sharded cluster instances support three connection address types: * `Mongos` (Mongos node), `ConfigServer` (ConfigServer node), and `Shard` (Shard node) */ endpointType?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * ID of the Mongos node that requires a public connection address */ mongosNodeIds?: pulumi.Input[]>; /** * Network type of the connection address. Possible values: - `Private`: Private connection address - `Public`: Public * connection address */ networkType?: pulumi.Input; /** * ID of the component associated with the current connection address **Note:** This parameter is returned only when * `EndpointType` is set to `Mongos`, `ConfigServer`, or `Shard`. */ objectId?: pulumi.Input; /** * Subnet ID of the current instance */ subnetId?: pulumi.Input; /** * VPC ID of the current instance */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a Endpoint resource. */ export interface EndpointArgs { /** * List of EIP IDs to bind when applying for a public address */ eipIds?: pulumi.Input[]>; /** * Instance ID */ instanceId: pulumi.Input; /** * ID of the Mongos node that requires a public connection address */ mongosNodeIds?: pulumi.Input[]>; /** * Network type of the connection address. Possible values: - `Private`: Private connection address - `Public`: Public * connection address */ networkType?: pulumi.Input; /** * ID of the component associated with the current connection address **Note:** This parameter is returned only when * `EndpointType` is set to `Mongos`, `ConfigServer`, or `Shard`. */ objectId?: pulumi.Input; }