import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSMySQL::Endpoint */ export declare function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEndpoint. */ export interface GetEndpointArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getEndpoint. */ export interface GetEndpointResult { /** * Endpoint address list. */ readonly addresses: outputs.rdsmysql.GetEndpointAddress[]; /** * When the endpoint type is read/write or read-only, you can set whether new nodes are automatically added. Values: true: automatically added. false: not automatically added (default). */ readonly autoAddNewNodes: boolean; /** * Associate all replica nodes. Values: true: enabled (default). false: disabled. Note: Only read-only endpoints of multi-node instances support this configuration. This feature can be disabled only if the instance has two or more replica nodes. */ readonly connectAllSlaveNodes: boolean; /** * Connection endpoint tags. */ readonly connectionInfoTags: string[]; /** * Endpoint type. Options: Proxy: proxy endpoint. Direct: direct endpoint. Note: If the database proxy feature is enabled for the instance, you can select Proxy or Direct. If the database proxy feature is not enabled, only Direct is available. You can call the DescribeDBInstanceDetail API to check the status of the database proxy feature for the instance. */ readonly connectionMode: string; /** * Connection pool type for proxy endpoints. Options: Transaction: transaction-level connection pool (default). Direct: direct mode. Note: Single-node instances do not support this feature. */ readonly connectionPoolType: string; /** * SQL forwarding rules for the connection endpoint. */ readonly customRouteStrategy: outputs.rdsmysql.GetEndpointCustomRouteStrategy; /** * Remarks. */ readonly description: string; /** * Enable connection keep-alive for the endpoint. Values: true: enabled. false: disabled. Note: Only proxy endpoints support this setting. */ readonly enableConnectionPersistent: boolean; /** * Enable global read-only. Values: Enable: enabled. Disable: not enabled. */ readonly enableReadOnly: string; /** * Instance connection endpoint ID. */ readonly endpointId: string; /** * Instance connection endpoint name. */ readonly endpointName: string; /** * Endpoint type. Value: Custom (custom endpoint). */ readonly endpointType: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Enable idle connection recycling. true: enabled. false: not enabled. Note: This field is returned only for proxy endpoints. */ readonly idleConnectionReclaim: boolean; /** * Enable transaction separation. Options: true: yes. false: no. Note: Only proxy endpoints return this field. */ readonly implicitTransSplit: boolean; /** * Instance ID. */ readonly instanceId: string; /** * Enable primary node routing. Values: true: enabled. false: disabled. Note: This field is returned only for proxy endpoints. */ readonly masterNodeRouting: boolean; /** * Overload protection timeout. Value range: integer between 60~7200. Unit: seconds. Note: This field is returned only for proxy endpoints. */ readonly masterProtectorTimeout: number; /** * Multi-Statements mode for proxy endpoints. Options: Strict: strict mode (default). Loose: loose mode. */ readonly multiStatementsMode: string; /** * List of node IDs configured for the connection endpoint. Required when EndpointType is Custom. Note: To add the primary node to the endpoint, do not enter the primary node ID; just enter Primary. Separate multiple node IDs with commas (,). */ readonly nodes: string; /** * Enable overload protection. Options: true: enabled. false: disabled. Note: This field is returned only for proxy endpoints. */ readonly overloadProtection: boolean; /** * Read weight allocation mode. This parameter is required when read/write splitting is enabled (set to true). For request parameters in the CreateDBEndpoint and ModifyDBEndpoint APIs, the value range is: LoadSchedule: load scheduling. RoundRobinCustom: custom weight round-robin scheduling. RoundRobinAuto: automatic weight allocation round-robin scheduling. For response parameters in the DescribeDBInstanceDetail API, the value range is: Default: automatic allocation based on specification weight. Custom: custom weight allocation. RoundRobin: round-robin scheduling. LoadSchedule: load scheduling. RoundRobinCustom: custom weight round-robin scheduling. RoundRobinAuto: automatic weight allocation round-robin scheduling. */ readonly readOnlyNodeDistributionType: string; /** * Read-only node latency threshold. Value range: 1~3600. Default: 30. Unit: seconds. */ readonly readOnlyNodeMaxDelayTime: number; /** * List of nodes configured for the connection endpoint and their corresponding read-only weights. */ readonly readOnlyNodeWeights: outputs.rdsmysql.GetEndpointReadOnlyNodeWeight[]; /** * Read/write mode: ReadWrite: read/write. ReadOnly: read-only. */ readonly readWriteMode: string; /** * Enable read/write splitting. Values: true: enabled (default). false: disabled. */ readonly readWriteSpliting: boolean; } /** * Data Source schema for Volcengine::RDSMySQL::Endpoint */ export declare function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEndpoint. */ export interface GetEndpointOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }