Show / Hide Table of Contents

Class RuleState

Inheritance
System.Object
InputArgs
ResourceArgs
RuleState
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.Slb
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class RuleState : ResourceArgs

Constructors

View Source

RuleState()

Declaration
public RuleState()

Properties

View Source

Cookie

The cookie configured on the server. It is mandatory when sticky_session is "on" and sticky_session_type is "server". Otherwise, it will be ignored. Valid value:String in line with RFC 2965, with length being 1- 200. It only contains characters such as ASCII codes, English letters and digits instead of the comma, semicolon or spacing, and it cannot start with $.

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

CookieTimeout

Cookie timeout. It is mandatory when sticky_session is "on" and sticky_session_type is "insert". Otherwise, it will be ignored. Valid value range: [1-86400] in seconds.

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

DeleteProtectionValidation

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

Declaration
public Input<bool> DeleteProtectionValidation { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Domain

Domain name of the forwarding rule. It can contain letters a-z, numbers 0-9, hyphens (-), and periods (.), and wildcard characters. The following two domain name formats are supported:

  • Standard domain name: www.test.com
  • Wildcard domain name: .test.com. wildcard () must be the first character in the format of (*.)
Declaration
public Input<string> Domain { get; set; }
Property Value
Type Description
Input<System.String>
View Source

FrontendPort

The listener frontend port which is used to launch the new forwarding rule. Valid range: [1-65535].

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

HealthCheck

Whether to enable health check. Valid values areon and off. TCP and UDP listener's HealthCheck is always on, so it will be ignore when launching TCP or UDP listener. This parameter is required and takes effect only when ListenerSync is set to off.

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

HealthCheckConnectPort

Port used for health check. Valid value range: [1-65535]. Default to "None" means the backend server port is used.

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

HealthCheckDomain

Domain name used for health check. When it used to launch TCP listener, health_check_type must be "http". Its length is limited to 1-80 and only characters such as letters, digits, ‘-‘ and ‘.’ are allowed. When it is not set or empty, Server Load Balancer uses the private network IP address of each backend server as Domain used for health check.

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

HealthCheckHttpCode

Regular health check HTTP status code. Multiple codes are segmented by “,”. It is required when health_check is on. Default to http_2xx. Valid values are: http_2xx, http_3xx, http_4xx and http_5xx.

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

HealthCheckInterval

Time interval of health checks. It is required when health_check is on. Valid value range: [1-50] in seconds. Default to 2.

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

HealthCheckTimeout

Maximum timeout of each health check response. It is required when health_check is on. Valid value range: [1-300] in seconds. Default to 5. Note: If health_check_timeout < health_check_interval, its will be replaced by health_check_interval.

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

HealthCheckUri

URI used for health check. When it used to launch TCP listener, health_check_type must be "http". Its length is limited to 1-80 and it must start with /. Only characters such as letters, digits, ‘-’, ‘/’, ‘.’, ‘%’, ‘?’, #’ and ‘&’ are allowed.

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

HealthyThreshold

Threshold determining the result of the health check is success. It is required when health_check is on. Valid value range: [1-10] in seconds. Default to 3.

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

ListenerSync

Indicates whether a forwarding rule inherits the settings of a health check , session persistence, and scheduling algorithm from a listener. Default to on.

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

LoadBalancerId

The Load Balancer ID which is used to launch the new forwarding rule.

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

Name

Name of the forwarding rule. Our plugin provides a default name: "tf-slb-rule".

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

Scheduler

Scheduling algorithm, Valid values are wrr, rr and wlc. Default to "wrr". This parameter is required and takes effect only when ListenerSync is set to off.

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

ServerGroupId

ID of a virtual server group that will be forwarded.

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

StickySession

Whether to enable session persistence, Valid values are on and off. Default to off. This parameter is required and takes effect only when ListenerSync is set to off.

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

StickySessionType

Mode for handling the cookie. If sticky_session is "on", it is mandatory. Otherwise, it will be ignored. Valid values are insert and server. insert means it is inserted from Server Load Balancer; server means the Server Load Balancer learns from the backend server.

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

UnhealthyThreshold

Threshold determining the result of the health check is fail. It is required when health_check is on. Valid value range: [1-10] in seconds. Default to 3.

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

Url

Domain of the forwarding rule. It must be 2-80 characters in length. Only letters a-z, numbers 0-9, and characters '-' '/' '?' '%' '#' and '&' are allowed. URLs must be started with the character '/', but cannot be '/' alone.

Declaration
public Input<string> Url { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.