DBProxyProps
Properties for defining a DBProxy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-dbproxy
Initializer
using AlibabaCloud.SDK.ROS.CDK.Rds;
new DBProxyProps {
object DbInstanceId,
object VpcId,
object VSwitchId,
object DbProxyInstanceNum = null,
object DbProxyInstanceType = null,
object DbProxyNodes = null,
object PersistentConnectionStatus = null,
object ResourceGroupId = null
};
Properties
| Name | Type | Description |
|---|---|---|
DbInstanceId | object | Property dbInstanceId: Instance ID of the DB. |
VpcId | object | Property vpcId: The VPC ID to which the instance belongs. |
VSwitchId | object | Property vSwitchId: The virtual switch ID to which the instance belongs. |
DbProxyInstanceNum | object | Property dbProxyInstanceNum: The number of activated proxy instances, the value is: 1~16.Default value: 1. Description More proxy instances can handle more requests, you can understand the load of proxy instances based on the monitoring data, and then set a reasonable number of proxy instances. |
DbProxyInstanceType | object | Property dbProxyInstanceType: Database proxy instance type, value: common: general-purpose agent exclusive: exclusive proxy (default). |
DbProxyNodes | object | Property dbProxyNodes: List of proxy nodes. |
PersistentConnectionStatus | object | Property persistentConnectionStatus: Whether to enable connection hold.Value: Enabled: Turn on connection hold Disabled: Close connection hold illustrate Only RDS MySQL supports this parameter. When modifying the connection remains, the ConfigDBProxyService value is Modify. |
ResourceGroupId | object | Property resourceGroupId: Resource Group ID. |
DbInstanceIdRequired
public object DbInstanceId { get; set; }
- Type: object
Property dbInstanceId: Instance ID of the DB.
DescribeDBInstances can be called to get it.
VpcIdRequired
public object VpcId { get; set; }
- Type: object
Property vpcId: The VPC ID to which the instance belongs.
VSwitchIdRequired
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The virtual switch ID to which the instance belongs.
DbProxyInstanceNumOptional
public object DbProxyInstanceNum { get; set; }
- Type: object
Property dbProxyInstanceNum: The number of activated proxy instances, the value is: 1~16.Default value: 1. Description More proxy instances can handle more requests, you can understand the load of proxy instances based on the monitoring data, and then set a reasonable number of proxy instances.
DbProxyInstanceTypeOptional
public object DbProxyInstanceType { get; set; }
- Type: object
Property dbProxyInstanceType: Database proxy instance type, value: common: general-purpose agent exclusive: exclusive proxy (default).
DbProxyNodesOptional
public object DbProxyNodes { get; set; }
- Type: object
Property dbProxyNodes: List of proxy nodes.
PersistentConnectionStatusOptional
public object PersistentConnectionStatus { get; set; }
- Type: object
Property persistentConnectionStatus: Whether to enable connection hold.Value: Enabled: Turn on connection hold Disabled: Close connection hold illustrate Only RDS MySQL supports this parameter. When modifying the connection remains, the ConfigDBProxyService value is Modify.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource Group ID.