PluginConfigProps
Properties for defining a PluginConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-pluginconfig
Initializer
import com.aliyun.ros.cdk.mse.PluginConfigProps;
PluginConfigProps.builder()
.configLevel(java.lang.Number)
.configLevel(IResolvable)
.enable(java.lang.Boolean)
.enable(IResolvable)
.gatewayUniqueId(java.lang.String)
.gatewayUniqueId(IResolvable)
.pluginId(java.lang.Number)
.pluginId(IResolvable)
// .config(java.lang.String)
// .config(IResolvable)
// .resourceIdList(IResolvable)
// .resourceIdList(java.util.List<java.lang.Number)
// .resourceIdList(IResolvable>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
configLevel | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property configLevel: The scope of the plugin application. |
enable | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enable: Whether to enable the plugin. |
gatewayUniqueId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property gatewayUniqueId: The unique ID of the gateway. |
pluginId | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property pluginId: The ID of the gateway plugin. |
config | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property config: The configuration of the plugin. |
resourceIdList | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel). |
configLevelRequired
public java.lang.Object getConfigLevel();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property configLevel: The scope of the plugin application.
- 0: Global
- 1: Route
- 2: Domain
enableRequired
public java.lang.Object getEnable();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enable: Whether to enable the plugin.
gatewayUniqueIdRequired
public java.lang.Object getGatewayUniqueId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property gatewayUniqueId: The unique ID of the gateway.
pluginIdRequired
public java.lang.Object getPluginId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property pluginId: The ID of the gateway plugin.
configOptional
public java.lang.Object getConfig();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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
public java.lang.Object getResourceIdList();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel).