AScriptProps
Properties for defining a AScript.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript
Initializer
using AlibabaCloud.SDK.ROS.CDK.Alb;
new AScriptProps {
object AScriptName,
object ListenerId,
object ScriptContent,
object Enabled = null,
object ExtAttributeEnabled = null,
object ExtAttributes = null
};
Properties
| Name | Type | Description |
|---|---|---|
AScriptName |
object |
Property aScriptName: The name of the AScript rule. |
ListenerId |
object |
Property listenerId: The listener ID. |
ScriptContent |
object |
Property scriptContent: The content of the AScript rule. |
Enabled |
object |
Property enabled: Specifies whether to enable the AScript rule. |
ExtAttributeEnabled |
object |
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule. |
ExtAttributes |
object |
Property extAttributes: The extended attributes. |
AScriptNameRequired
public object AScriptName { get; set; }
- Type: object
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
public object ListenerId { get; set; }
- Type: object
Property listenerId: The listener ID.
ScriptContentRequired
public object ScriptContent { get; set; }
- Type: object
Property scriptContent: The content of the AScript rule.
EnabledOptional
public object Enabled { get; set; }
- Type: object
Property enabled: Specifies whether to enable the AScript rule.
Valid values: true false (default)
ExtAttributeEnabledOptional
public object ExtAttributeEnabled { get; set; }
- Type: object
Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.
Valid values: true false (default)
ExtAttributesOptional
public object ExtAttributes { get; set; }
- Type: object
Property extAttributes: The extended attributes.