1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. apig
  6. PluginClass
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi

    Provides a APIG Plugin Class resource.

    plugin class info.

    For information about APIG Plugin Class and how to use it, see What is Plugin Class.

    NOTE: Available since v1.285.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = new alicloud.apig.PluginClass("default", {
        wasmUrl: "https://example.com/plugin.wasm",
        description: "A example plugin class for CloudSpec coverage",
        versionDescription: "Initial version for exampleing",
        pluginClassName: "example-plugin-class-cspec-v3",
        version: "1.0.2",
        alias: "example-plugin-alias-v3",
        executePriority: 1,
        wasmLanguage: "TinyGo",
        supportedMinGatewayVersion: "1.0.0",
        executeStage: "UNSPECIFIED_PHASE",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.apig.PluginClass("default",
        wasm_url="https://example.com/plugin.wasm",
        description="A example plugin class for CloudSpec coverage",
        version_description="Initial version for exampleing",
        plugin_class_name="example-plugin-class-cspec-v3",
        version="1.0.2",
        alias="example-plugin-alias-v3",
        execute_priority=1,
        wasm_language="TinyGo",
        supported_min_gateway_version="1.0.0",
        execute_stage="UNSPECIFIED_PHASE")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_, err := apig.NewPluginClass(ctx, "default", &apig.PluginClassArgs{
    			WasmUrl:                    pulumi.String("https://example.com/plugin.wasm"),
    			Description:                pulumi.String("A example plugin class for CloudSpec coverage"),
    			VersionDescription:         pulumi.String("Initial version for exampleing"),
    			PluginClassName:            pulumi.String("example-plugin-class-cspec-v3"),
    			Version:                    pulumi.String("1.0.2"),
    			Alias:                      pulumi.String("example-plugin-alias-v3"),
    			ExecutePriority:            pulumi.Int(1),
    			WasmLanguage:               pulumi.String("TinyGo"),
    			SupportedMinGatewayVersion: pulumi.String("1.0.0"),
    			ExecuteStage:               pulumi.String("UNSPECIFIED_PHASE"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = new AliCloud.Apig.PluginClass("default", new()
        {
            WasmUrl = "https://example.com/plugin.wasm",
            Description = "A example plugin class for CloudSpec coverage",
            VersionDescription = "Initial version for exampleing",
            PluginClassName = "example-plugin-class-cspec-v3",
            Version = "1.0.2",
            Alias = "example-plugin-alias-v3",
            ExecutePriority = 1,
            WasmLanguage = "TinyGo",
            SupportedMinGatewayVersion = "1.0.0",
            ExecuteStage = "UNSPECIFIED_PHASE",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.apig.PluginClass;
    import com.pulumi.alicloud.apig.PluginClassArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var default_ = new PluginClass("default", PluginClassArgs.builder()
                .wasmUrl("https://example.com/plugin.wasm")
                .description("A example plugin class for CloudSpec coverage")
                .versionDescription("Initial version for exampleing")
                .pluginClassName("example-plugin-class-cspec-v3")
                .version("1.0.2")
                .alias("example-plugin-alias-v3")
                .executePriority(1)
                .wasmLanguage("TinyGo")
                .supportedMinGatewayVersion("1.0.0")
                .executeStage("UNSPECIFIED_PHASE")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:apig:PluginClass
        properties:
          wasmUrl: https://example.com/plugin.wasm
          description: A example plugin class for CloudSpec coverage
          versionDescription: Initial version for exampleing
          pluginClassName: example-plugin-class-cspec-v3
          version: 1.0.2
          alias: example-plugin-alias-v3
          executePriority: '1'
          wasmLanguage: TinyGo
          supportedMinGatewayVersion: 1.0.0
          executeStage: UNSPECIFIED_PHASE
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    resource "alicloud_apig_pluginclass" "default" {
      wasm_url                      = "https://example.com/plugin.wasm"
      description                   = "A example plugin class for CloudSpec coverage"
      version_description           = "Initial version for exampleing"
      plugin_class_name             = "example-plugin-class-cspec-v3"
      version                       = "1.0.2"
      alias                         = "example-plugin-alias-v3"
      execute_priority              = "1"
      wasm_language                 = "TinyGo"
      supported_min_gateway_version = "1.0.0"
      execute_stage                 = "UNSPECIFIED_PHASE"
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create PluginClass Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PluginClass(name: string, args: PluginClassArgs, opts?: CustomResourceOptions);
    @overload
    def PluginClass(resource_name: str,
                    args: PluginClassArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PluginClass(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    execute_priority: Optional[int] = None,
                    execute_stage: Optional[str] = None,
                    plugin_class_name: Optional[str] = None,
                    version: Optional[str] = None,
                    version_description: Optional[str] = None,
                    wasm_language: Optional[str] = None,
                    wasm_url: Optional[str] = None,
                    alias: Optional[str] = None,
                    supported_min_gateway_version: Optional[str] = None)
    func NewPluginClass(ctx *Context, name string, args PluginClassArgs, opts ...ResourceOption) (*PluginClass, error)
    public PluginClass(string name, PluginClassArgs args, CustomResourceOptions? opts = null)
    public PluginClass(String name, PluginClassArgs args)
    public PluginClass(String name, PluginClassArgs args, CustomResourceOptions options)
    
    type: alicloud:apig:PluginClass
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "alicloud_apig_plugin_class" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PluginClassArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PluginClassArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PluginClassArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PluginClassArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PluginClassArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var pluginClassResource = new AliCloud.Apig.PluginClass("pluginClassResource", new()
    {
        Description = "string",
        ExecutePriority = 0,
        ExecuteStage = "string",
        PluginClassName = "string",
        Version = "string",
        VersionDescription = "string",
        WasmLanguage = "string",
        WasmUrl = "string",
        Alias = "string",
        SupportedMinGatewayVersion = "string",
    });
    
    example, err := apig.NewPluginClass(ctx, "pluginClassResource", &apig.PluginClassArgs{
    	Description:                pulumi.String("string"),
    	ExecutePriority:            pulumi.Int(0),
    	ExecuteStage:               pulumi.String("string"),
    	PluginClassName:            pulumi.String("string"),
    	Version:                    pulumi.String("string"),
    	VersionDescription:         pulumi.String("string"),
    	WasmLanguage:               pulumi.String("string"),
    	WasmUrl:                    pulumi.String("string"),
    	Alias:                      pulumi.String("string"),
    	SupportedMinGatewayVersion: pulumi.String("string"),
    })
    
    resource "alicloud_apig_plugin_class" "pluginClassResource" {
      lifecycle {
        create_before_destroy = true
      }
      description                   = "string"
      execute_priority              = 0
      execute_stage                 = "string"
      plugin_class_name             = "string"
      version                       = "string"
      version_description           = "string"
      wasm_language                 = "string"
      wasm_url                      = "string"
      alias                         = "string"
      supported_min_gateway_version = "string"
    }
    
    var pluginClassResource = new PluginClass("pluginClassResource", PluginClassArgs.builder()
        .description("string")
        .executePriority(0)
        .executeStage("string")
        .pluginClassName("string")
        .version("string")
        .versionDescription("string")
        .wasmLanguage("string")
        .wasmUrl("string")
        .alias("string")
        .supportedMinGatewayVersion("string")
        .build());
    
    plugin_class_resource = alicloud.apig.PluginClass("pluginClassResource",
        description="string",
        execute_priority=0,
        execute_stage="string",
        plugin_class_name="string",
        version="string",
        version_description="string",
        wasm_language="string",
        wasm_url="string",
        alias="string",
        supported_min_gateway_version="string")
    
    const pluginClassResource = new alicloud.apig.PluginClass("pluginClassResource", {
        description: "string",
        executePriority: 0,
        executeStage: "string",
        pluginClassName: "string",
        version: "string",
        versionDescription: "string",
        wasmLanguage: "string",
        wasmUrl: "string",
        alias: "string",
        supportedMinGatewayVersion: "string",
    });
    
    type: alicloud:apig:PluginClass
    properties:
        alias: string
        description: string
        executePriority: 0
        executeStage: string
        pluginClassName: string
        supportedMinGatewayVersion: string
        version: string
        versionDescription: string
        wasmLanguage: string
        wasmUrl: string
    

    PluginClass Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PluginClass resource accepts the following input properties:

    Description string
    The description of the plugin class, which introduces the main functions of the plugin.
    ExecutePriority int
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    ExecuteStage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    PluginClassName string
    The name of the plugin class.
    Version string
    The version of the plugin class. The value increments from 1.0.0.
    VersionDescription string
    The description of the current version.
    WasmLanguage string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    WasmUrl string
    The URL of the wasm plugin.
    Alias string
    The alias of the plugin class.
    SupportedMinGatewayVersion string
    The minimum gateway version supported by the plugin.
    Description string
    The description of the plugin class, which introduces the main functions of the plugin.
    ExecutePriority int
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    ExecuteStage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    PluginClassName string
    The name of the plugin class.
    Version string
    The version of the plugin class. The value increments from 1.0.0.
    VersionDescription string
    The description of the current version.
    WasmLanguage string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    WasmUrl string
    The URL of the wasm plugin.
    Alias string
    The alias of the plugin class.
    SupportedMinGatewayVersion string
    The minimum gateway version supported by the plugin.
    description string
    The description of the plugin class, which introduces the main functions of the plugin.
    execute_priority number
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    execute_stage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    plugin_class_name string
    The name of the plugin class.
    version string
    The version of the plugin class. The value increments from 1.0.0.
    version_description string
    The description of the current version.
    wasm_language string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasm_url string
    The URL of the wasm plugin.
    alias string
    The alias of the plugin class.
    supported_min_gateway_version string
    The minimum gateway version supported by the plugin.
    description String
    The description of the plugin class, which introduces the main functions of the plugin.
    executePriority Integer
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    executeStage String
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    pluginClassName String
    The name of the plugin class.
    version String
    The version of the plugin class. The value increments from 1.0.0.
    versionDescription String
    The description of the current version.
    wasmLanguage String
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasmUrl String
    The URL of the wasm plugin.
    alias String
    The alias of the plugin class.
    supportedMinGatewayVersion String
    The minimum gateway version supported by the plugin.
    description string
    The description of the plugin class, which introduces the main functions of the plugin.
    executePriority number
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    executeStage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    pluginClassName string
    The name of the plugin class.
    version string
    The version of the plugin class. The value increments from 1.0.0.
    versionDescription string
    The description of the current version.
    wasmLanguage string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasmUrl string
    The URL of the wasm plugin.
    alias string
    The alias of the plugin class.
    supportedMinGatewayVersion string
    The minimum gateway version supported by the plugin.
    description str
    The description of the plugin class, which introduces the main functions of the plugin.
    execute_priority int
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    execute_stage str
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    plugin_class_name str
    The name of the plugin class.
    version str
    The version of the plugin class. The value increments from 1.0.0.
    version_description str
    The description of the current version.
    wasm_language str
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasm_url str
    The URL of the wasm plugin.
    alias str
    The alias of the plugin class.
    supported_min_gateway_version str
    The minimum gateway version supported by the plugin.
    description String
    The description of the plugin class, which introduces the main functions of the plugin.
    executePriority Number
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    executeStage String
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    pluginClassName String
    The name of the plugin class.
    version String
    The version of the plugin class. The value increments from 1.0.0.
    versionDescription String
    The description of the current version.
    wasmLanguage String
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasmUrl String
    The URL of the wasm plugin.
    alias String
    The alias of the plugin class.
    supportedMinGatewayVersion String
    The minimum gateway version supported by the plugin.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PluginClass resource produces the following output properties:

    Document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    Type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    Document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    Type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    document String
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    type String
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    document str
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    type str
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    document String
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    type String
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.

    Look up Existing PluginClass Resource

    Get an existing PluginClass resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PluginClassState, opts?: CustomResourceOptions): PluginClass
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            description: Optional[str] = None,
            document: Optional[str] = None,
            execute_priority: Optional[int] = None,
            execute_stage: Optional[str] = None,
            plugin_class_name: Optional[str] = None,
            status: Optional[str] = None,
            supported_min_gateway_version: Optional[str] = None,
            type: Optional[str] = None,
            version: Optional[str] = None,
            version_description: Optional[str] = None,
            wasm_language: Optional[str] = None,
            wasm_url: Optional[str] = None) -> PluginClass
    func GetPluginClass(ctx *Context, name string, id IDInput, state *PluginClassState, opts ...ResourceOption) (*PluginClass, error)
    public static PluginClass Get(string name, Input<string> id, PluginClassState? state, CustomResourceOptions? opts = null)
    public static PluginClass get(String name, Output<String> id, PluginClassState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:apig:PluginClass    get:      id: ${id}
    import {
      to = alicloud_apig_plugin_class.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Alias string
    The alias of the plugin class.
    Description string
    The description of the plugin class, which introduces the main functions of the plugin.
    Document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    ExecutePriority int
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    ExecuteStage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    PluginClassName string
    The name of the plugin class.
    Status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    SupportedMinGatewayVersion string
    The minimum gateway version supported by the plugin.
    Type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    Version string
    The version of the plugin class. The value increments from 1.0.0.
    VersionDescription string
    The description of the current version.
    WasmLanguage string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    WasmUrl string
    The URL of the wasm plugin.
    Alias string
    The alias of the plugin class.
    Description string
    The description of the plugin class, which introduces the main functions of the plugin.
    Document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    ExecutePriority int
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    ExecuteStage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    PluginClassName string
    The name of the plugin class.
    Status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    SupportedMinGatewayVersion string
    The minimum gateway version supported by the plugin.
    Type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    Version string
    The version of the plugin class. The value increments from 1.0.0.
    VersionDescription string
    The description of the current version.
    WasmLanguage string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    WasmUrl string
    The URL of the wasm plugin.
    alias string
    The alias of the plugin class.
    description string
    The description of the plugin class, which introduces the main functions of the plugin.
    document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    execute_priority number
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    execute_stage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    plugin_class_name string
    The name of the plugin class.
    status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    supported_min_gateway_version string
    The minimum gateway version supported by the plugin.
    type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    version string
    The version of the plugin class. The value increments from 1.0.0.
    version_description string
    The description of the current version.
    wasm_language string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasm_url string
    The URL of the wasm plugin.
    alias String
    The alias of the plugin class.
    description String
    The description of the plugin class, which introduces the main functions of the plugin.
    document String
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    executePriority Integer
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    executeStage String
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    pluginClassName String
    The name of the plugin class.
    status String
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    supportedMinGatewayVersion String
    The minimum gateway version supported by the plugin.
    type String
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    version String
    The version of the plugin class. The value increments from 1.0.0.
    versionDescription String
    The description of the current version.
    wasmLanguage String
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasmUrl String
    The URL of the wasm plugin.
    alias string
    The alias of the plugin class.
    description string
    The description of the plugin class, which introduces the main functions of the plugin.
    document string
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    executePriority number
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    executeStage string
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    pluginClassName string
    The name of the plugin class.
    status string
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    supportedMinGatewayVersion string
    The minimum gateway version supported by the plugin.
    type string
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    version string
    The version of the plugin class. The value increments from 1.0.0.
    versionDescription string
    The description of the current version.
    wasmLanguage string
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasmUrl string
    The URL of the wasm plugin.
    alias str
    The alias of the plugin class.
    description str
    The description of the plugin class, which introduces the main functions of the plugin.
    document str
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    execute_priority int
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    execute_stage str
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    plugin_class_name str
    The name of the plugin class.
    status str
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    supported_min_gateway_version str
    The minimum gateway version supported by the plugin.
    type str
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    version str
    The version of the plugin class. The value increments from 1.0.0.
    version_description str
    The description of the current version.
    wasm_language str
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasm_url str
    The URL of the wasm plugin.
    alias String
    The alias of the plugin class.
    description String
    The description of the plugin class, which introduces the main functions of the plugin.
    document String
    The document of the plugin class, which describes the functions and usage of the plugin in detail.
    executePriority Number
    The execution priority of the plugin. The larger the value, the higher the priority. The value must be greater than 0.
    executeStage String
    The execution stage of the plugin. Valid values:

    • AUTHN: The authentication stage.
    • AUTHZ: The authorization stage.
    • STATS: The statistics stage.
    • UNSPECIFIED_PHASE: The default stage.
    pluginClassName String
    The name of the plugin class.
    status String
    The publish status of the plugin class. Only a plugin class in the Success status can be installed. Valid values:

    • Success: The plugin class is published successfully.
    • Failed: The plugin class fails to be published.
    • Publishing: The plugin class is being published.
    supportedMinGatewayVersion String
    The minimum gateway version supported by the plugin.
    type String
    The type of the plugin class. Valid values:

    • Auth: The authentication and authorization plugin.
    • FlowControl: The traffic control plugin.
    • FlowObservation: The traffic observation plugin.
    • Security: The security protection plugin.
    • TransportProtocol: The transport protocol plugin.
    • Other: The custom plugin.
    version String
    The version of the plugin class. The value increments from 1.0.0.
    versionDescription String
    The description of the current version.
    wasmLanguage String
    The programming language of the wasm plugin. Valid values: TinyGo, Cpp, Rust, AssemblyScript, Zig.
    wasmUrl String
    The URL of the wasm plugin.

    Import

    APIG Plugin Class can be imported using the id, e.g.

    $ pulumi import alicloud:apig/pluginClass:PluginClass example <plugin_class_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.105.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial