DBClusterEndpointProps
Properties for defining a DBClusterEndpoint.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbclusterendpoint
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardb"
&alicloudroscdkpolardb.DBClusterEndpointProps {
DbClusterId: interface{},
AutoAddNewNodes: interface{},
EndpointConfig: interface{},
EndpointType: interface{},
Nodes: interface{},
ReadWriteMode: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DbClusterId |
interface{} |
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a custom connection point is to be created. |
AutoAddNewNodes |
interface{} |
Property autoAddNewNodes: Specifies whether a newly added node is automatically added to this connection point. |
EndpointConfig |
interface{} |
Property endpointConfig:. |
EndpointType |
interface{} |
Property endpointType: The type of the cluster connection point. |
Nodes |
interface{} |
Property nodes: The nodes to be added to this connection point to process read requests from this connection point. |
ReadWriteMode |
interface{} |
Property readWriteMode: The read\/write mode of the cluster connection point. |
DbClusterIdRequired
DbClusterId interface{}
- Type: interface{}
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a custom connection point is to be created.
AutoAddNewNodesOptional
AutoAddNewNodes interface{}
- Type: interface{}
Property autoAddNewNodes: Specifies whether a newly added node is automatically added to this connection point.
Valid values: Enable, Disable. Default value: Disable.
EndpointConfigOptional
EndpointConfig interface{}
- Type: interface{}
Property endpointConfig:.
EndpointTypeOptional
EndpointType interface{}
- Type: interface{}
Property endpointType: The type of the cluster connection point.
Set this parameter to Custom.
NodesOptional
Nodes interface{}
- Type: interface{}
Property nodes: The nodes to be added to this connection point to process read requests from this connection point.
Add at least two nodes. If you do not specify this parameter, all nodes of the cluster are added to this connection point by default.
ReadWriteModeOptional
ReadWriteMode interface{}
- Type: interface{}
Property readWriteMode: The read\/write mode of the cluster connection point.
Valid values: ReadWrite: receives and forwards read and write requests (automatic read-write splitting). ReadOnly: receives and forwards only read requests. Default value: ReadOnly.