ConnectionProps
Properties for defining a Connection
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-connection
Initializer
using AlibabaCloud.SDK.ROS.CDK.Redis;
new ConnectionProps {
object ConnectionStringPrefix,
object ConnectionType,
object InstanceId,
object Port
};
Properties
Name | Type | Description |
---|---|---|
ConnectionStringPrefix |
object |
Property connectionStringPrefix: The prefix of the public endpoint. |
ConnectionType |
object |
Property connectionType: Allowed values: - Public: Public address. |
InstanceId |
object |
Property instanceId: Instance ID (globally unique). |
Port |
object |
Property port: The service port number of the ApsaraDB for Redis instance. |
ConnectionStringPrefix
Required
public object ConnectionStringPrefix { get; set; }
- Type: object
Property connectionStringPrefix: The prefix of the public endpoint.
The prefix must be 8 to 64 characters in length, and can contain lowercase letters and digits. It must start with a lowercase letter.
ConnectionType
Required
public object ConnectionType { get; set; }
- Type: object
Property connectionType: Allowed values: - Public: Public address.
- Direct: Direct connection address. The instance is a cluster instance. You can apply for a direct connection endpoint as required.
InstanceId
Required
public object InstanceId { get; set; }
- Type: object
Property instanceId: Instance ID (globally unique).
Port
Required
public object Port { get; set; }
- Type: object
Property port: The service port number of the ApsaraDB for Redis instance.
Valid values: 1024 to 65535.