import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Database connection terminal management * * ## Import * * ```sh * $ pulumi import volcenginecc:vedbm/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; /** * Whether new read-only nodes are automatically added to this terminal */ readonly autoAddNewNodes: pulumi.Output; /** * Consistency level */ readonly consistLevel: pulumi.Output; /** * Data synchronization timeout */ readonly consistTimeout: pulumi.Output; /** * Policy after synchronization timeout */ readonly consistTimeoutAction: pulumi.Output; /** * Description of the connection terminal */ readonly description: pulumi.Output; /** * Enable transaction splitting */ readonly distributedTransaction: pulumi.Output; /** * New private network address prefix */ readonly domainPrefix: pulumi.Output; /** * ID of the created connection terminal */ readonly endpointId: pulumi.Output; /** * Connection terminal name */ readonly endpointName: pulumi.Output; /** * Connection terminal type, fixed as Custom */ readonly endpointType: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Whether the primary node accepts read requests */ readonly masterAcceptReadRequests: pulumi.Output; /** * Node list configured for the connection terminal */ readonly nodeIds: pulumi.Output; /** * Instance access port */ readonly port: pulumi.Output; /** * Private address information */ readonly privateAddresses: pulumi.Output; /** * Public address information */ readonly publicAddresses: pulumi.Output; /** * Terminal read/write mode */ readonly readWriteMode: 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 { /** * Whether new read-only nodes are automatically added to this terminal */ autoAddNewNodes?: pulumi.Input; /** * Consistency level */ consistLevel?: pulumi.Input; /** * Data synchronization timeout */ consistTimeout?: pulumi.Input; /** * Policy after synchronization timeout */ consistTimeoutAction?: pulumi.Input; /** * Description of the connection terminal */ description?: pulumi.Input; /** * Enable transaction splitting */ distributedTransaction?: pulumi.Input; /** * New private network address prefix */ domainPrefix?: pulumi.Input; /** * ID of the created connection terminal */ endpointId?: pulumi.Input; /** * Connection terminal name */ endpointName?: pulumi.Input; /** * Connection terminal type, fixed as Custom */ endpointType?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * Whether the primary node accepts read requests */ masterAcceptReadRequests?: pulumi.Input; /** * Node list configured for the connection terminal */ nodeIds?: pulumi.Input[]>; /** * Instance access port */ port?: pulumi.Input; /** * Private address information */ privateAddresses?: pulumi.Input; /** * Public address information */ publicAddresses?: pulumi.Input; /** * Terminal read/write mode */ readWriteMode?: pulumi.Input; } /** * The set of arguments for constructing a Endpoint resource. */ export interface EndpointArgs { /** * Whether new read-only nodes are automatically added to this terminal */ autoAddNewNodes?: pulumi.Input; /** * Consistency level */ consistLevel?: pulumi.Input; /** * Data synchronization timeout */ consistTimeout?: pulumi.Input; /** * Policy after synchronization timeout */ consistTimeoutAction?: pulumi.Input; /** * Description of the connection terminal */ description?: pulumi.Input; /** * Enable transaction splitting */ distributedTransaction?: pulumi.Input; /** * New private network address prefix */ domainPrefix?: pulumi.Input; /** * Connection terminal name */ endpointName?: pulumi.Input; /** * Connection terminal type, fixed as Custom */ endpointType?: pulumi.Input; /** * Instance ID */ instanceId: pulumi.Input; /** * Whether the primary node accepts read requests */ masterAcceptReadRequests?: pulumi.Input; /** * Node list configured for the connection terminal */ nodeIds?: pulumi.Input[]>; /** * Instance access port */ port?: pulumi.Input; /** * Private address information */ privateAddresses?: pulumi.Input; /** * Public address information */ publicAddresses?: pulumi.Input; /** * Terminal read/write mode */ readWriteMode?: pulumi.Input; }