AScriptProps
Properties for defining a AScript
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkalb"
&alicloudroscdkalb.AScriptProps {
AScriptName: interface{},
ListenerId: interface{},
ScriptContent: interface{},
Enabled: interface{},
ExtAttributeEnabled: interface{},
ExtAttributes: interface{},
}
Properties
Name | Type | Description |
---|---|---|
AScriptName |
interface{} |
Property aScriptName: The name of the AScript rule. |
ListenerId |
interface{} |
Property listenerId: The listener ID. |
ScriptContent |
interface{} |
Property scriptContent: The content of the AScript rule. |
Enabled |
interface{} |
Property enabled: Specifies whether to enable the AScript rule. |
ExtAttributeEnabled |
interface{} |
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule. |
ExtAttributes |
interface{} |
Property extAttributes: The extended attributes. |
AScriptName
Required
AScriptName interface{}
- Type: interface{}
Property aScriptName: The name of the AScript rule.
The name must be 2 to 128 character in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
ListenerId
Required
ListenerId interface{}
- Type: interface{}
Property listenerId: The listener ID.
ScriptContent
Required
ScriptContent interface{}
- Type: interface{}
Property scriptContent: The content of the AScript rule.
Enabled
Optional
Enabled interface{}
- Type: interface{}
Property enabled: Specifies whether to enable the AScript rule.
Valid values: true false (default)
ExtAttributeEnabled
Optional
ExtAttributeEnabled interface{}
- Type: interface{}
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.
Valid values: true false (default)
ExtAttributes
Optional
ExtAttributes interface{}
- Type: interface{}
Property extAttributes: The extended attributes.