PluginConfigProps
Properties for defining a PluginConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-pluginconfig
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse"
&alicloudroscdkmse.PluginConfigProps {
ConfigLevel: interface{},
Enable: interface{},
GatewayUniqueId: interface{},
PluginId: interface{},
Config: interface{},
ResourceIdList: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ConfigLevel | interface{} | Property configLevel: The scope of the plugin application. |
Enable | interface{} | Property enable: Whether to enable the plugin. |
GatewayUniqueId | interface{} | Property gatewayUniqueId: The unique ID of the gateway. |
PluginId | interface{} | Property pluginId: The ID of the gateway plugin. |
Config | interface{} | Property config: The configuration of the plugin. |
ResourceIdList | interface{} | Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel). |
ConfigLevelRequired
ConfigLevel interface{}
- Type: interface{}
Property configLevel: The scope of the plugin application.
- 0: Global
- 1: Route
- 2: Domain
EnableRequired
Enable interface{}
- Type: interface{}
Property enable: Whether to enable the plugin.
GatewayUniqueIdRequired
GatewayUniqueId interface{}
- Type: interface{}
Property gatewayUniqueId: The unique ID of the gateway.
PluginIdRequired
PluginId interface{}
- Type: interface{}
Property pluginId: The ID of the gateway plugin.
ConfigOptional
Config interface{}
- Type: interface{}
Property config: The configuration of the plugin.
For Wasm plugins, the content is in YAML format. For Lua plugins, the content is Lua code.
ResourceIdListOptional
ResourceIdList interface{}
- Type: interface{}
Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel).