Skip to content

PluginConfigProps

Properties for defining a PluginConfig.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-pluginconfig

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mse;
new PluginConfigProps {
    object ConfigLevel,
    object Enable,
    object GatewayUniqueId,
    object PluginId,
    object Config = null,
    object ResourceIdList = null
};

Properties

Name Type Description
ConfigLevel object Property configLevel: The scope of the plugin application.
Enable object Property enable: Whether to enable the plugin.
GatewayUniqueId object Property gatewayUniqueId: The unique ID of the gateway.
PluginId object Property pluginId: The ID of the gateway plugin.
Config object Property config: The configuration of the plugin.
ResourceIdList object Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel).

ConfigLevelRequired

public object ConfigLevel { get; set; }
  • Type: object

Property configLevel: The scope of the plugin application.

  • 0: Global
  • 1: Route
  • 2: Domain

EnableRequired

public object Enable { get; set; }
  • Type: object

Property enable: Whether to enable the plugin.


GatewayUniqueIdRequired

public object GatewayUniqueId { get; set; }
  • Type: object

Property gatewayUniqueId: The unique ID of the gateway.


PluginIdRequired

public object PluginId { get; set; }
  • Type: object

Property pluginId: The ID of the gateway plugin.


ConfigOptional

public object Config { get; set; }
  • Type: object

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 object ResourceIdList { get; set; }
  • Type: object

Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel).