Show / Hide Table of Contents

Class ReadWriteSplittingConnectionArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ReadWriteSplittingConnectionArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Rds
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ReadWriteSplittingConnectionArgs : ResourceArgs

Constructors

View Source

ReadWriteSplittingConnectionArgs()

Declaration
public ReadWriteSplittingConnectionArgs()

Properties

View Source

ConnectionPrefix

Prefix of an Internet connection string. It must be checked for uniqueness. It may consist of lowercase letters, numbers, and underlines, and must start with a letter and have no more than 30 characters. Default to <instance_id> + 'rw'.

Declaration
public Input<string> ConnectionPrefix { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DistributionType

Read weight distribution mode. Values are as follows: Standard indicates automatic weight distribution based on types, Custom indicates custom weight distribution.

Declaration
public Input<string> DistributionType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceId

The Id of instance that can run database.

Declaration
public Input<string> InstanceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MaxDelayTime

Delay threshold, in seconds. The value range is 0 to 7200. Default to 30. Read requests are not routed to the read-only instances with a delay greater than the threshold.

Declaration
public Input<int> MaxDelayTime { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Port

Intranet connection port. Valid value: [3001-3999]. Default to 3306.

Declaration
public Input<int> Port { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Weight

Read weight distribution. Read weights increase at a step of 100 up to 10,000. Enter weights in the following format: {"Instanceid":"Weight","Instanceid":"Weight"}. This parameter must be set when distribution_type is set to Custom.

Declaration
public InputMap<object> Weight { get; set; }
Property Value
Type Description
InputMap<System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.