DBClusterEndpointProps
Properties for defining a DBClusterEndpoint
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbclusterendpoint
Initializer
using AlibabaCloud.SDK.ROS.CDK.Polardb;
new DBClusterEndpointProps {
object DbClusterId,
object AutoAddNewNodes = null,
object EndpointConfig = null,
object EndpointType = null,
object Nodes = null,
object ReadWriteMode = null
};
Properties
Name | Type | Description |
---|---|---|
DbClusterId |
object |
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a custom connection point is to be created. |
AutoAddNewNodes |
object |
Property autoAddNewNodes: Specifies whether a newly added node is automatically added to this connection point. |
EndpointConfig |
object |
Property endpointConfig:. |
EndpointType |
object |
Property endpointType: The type of the cluster connection point. |
Nodes |
object |
Property nodes: The nodes to be added to this connection point to process read requests from this connection point. |
ReadWriteMode |
object |
Property readWriteMode: The read\/write mode of the cluster connection point. |
DbClusterId
Required
public object DbClusterId { get; set; }
- Type: object
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a custom connection point is to be created.
AutoAddNewNodes
Optional
public object AutoAddNewNodes { get; set; }
- Type: object
Property autoAddNewNodes: Specifies whether a newly added node is automatically added to this connection point.
Valid values: Enable, Disable. Default value: Disable.
EndpointConfig
Optional
public object EndpointConfig { get; set; }
- Type: object
Property endpointConfig:.
EndpointType
Optional
public object EndpointType { get; set; }
- Type: object
Property endpointType: The type of the cluster connection point.
Set this parameter to Custom.
Nodes
Optional
public object Nodes { get; set; }
- Type: object
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.
ReadWriteMode
Optional
public object ReadWriteMode { get; set; }
- Type: object
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.