Skip to content

PluginProps

Properties for defining a Plugin.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-plugin

Initializer

using AlibabaCloud.SDK.ROS.CDK.Apigateway;
new PluginProps {
    object PluginData,
    object PluginName,
    object PluginType,
    object Description = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
PluginData object Property pluginData: The definition statement of the plug-in.
PluginName object Property pluginName: The name of the plug-in that you want to create.
PluginType object Property pluginType: The type of the plug-in.
Description object Property description: The description of the plug-in, which cannot exceed 200 characters.
Tags TagsProperty[] Property tags: Tags to attach to instance.

PluginDataRequired

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

Property pluginData: The definition statement of the plug-in.

Plug-in definition statements in the JSON and YAML formats are supported.


PluginNameRequired

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

Property pluginName: The name of the plug-in that you want to create.

It can contain uppercase English letters, lowercase English letters, Chinese characters, numbers, and underscores (). It must be 4 to 50 characters in length and cannot start with an underscore ().


PluginTypeRequired

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

Property pluginType: The type of the plug-in.

Valid values: ipControl: indicates IP address-based access control. trafficControl: indicates throttling. backendSignature: indicates backend signature. jwtAuth: indicates JWT (OpenId Connect). cors: indicates cross-origin resource access (CORS). caching: indicates caching.


DescriptionOptional

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

Property description: The description of the plug-in, which cannot exceed 200 characters.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.