ConnectionProps
Properties for defining a Connection
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-connection
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis"
&alicloudroscdkredis.ConnectionProps {
ConnectionStringPrefix: interface{},
ConnectionType: interface{},
InstanceId: interface{},
Port: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ConnectionStringPrefix |
interface{} |
Property connectionStringPrefix: The prefix of the public endpoint. |
ConnectionType |
interface{} |
Property connectionType: Allowed values: - Public: Public address. |
InstanceId |
interface{} |
Property instanceId: Instance ID (globally unique). |
Port |
interface{} |
Property port: The service port number of the ApsaraDB for Redis instance. |
ConnectionStringPrefix
Required
ConnectionStringPrefix interface{}
- Type: interface{}
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
ConnectionType interface{}
- Type: interface{}
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
InstanceId interface{}
- Type: interface{}
Property instanceId: Instance ID (globally unique).
Port
Required
Port interface{}
- Type: interface{}
Property port: The service port number of the ApsaraDB for Redis instance.
Valid values: 1024 to 65535.