Skip to content

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.

AScriptNameRequired

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.


ListenerIdRequired

ListenerId interface{}
  • Type: interface{}

Property listenerId: The listener ID.


ScriptContentRequired

ScriptContent interface{}
  • Type: interface{}

Property scriptContent: The content of the AScript rule.


EnabledOptional

Enabled interface{}
  • Type: interface{}

Property enabled: Specifies whether to enable the AScript rule.

Valid values: true false (default)


ExtAttributeEnabledOptional

ExtAttributeEnabled interface{}
  • Type: interface{}

Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.

Valid values: true false (default)


ExtAttributesOptional

ExtAttributes interface{}
  • Type: interface{}

Property extAttributes: The extended attributes.