1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cloudfirewall
  5. VpcFirewallIpsConfig
Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
alicloud logo
Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi

    Import

    Cloud Firewall Vpc Firewall Ips Config can be imported using the id, e.g.

    $ pulumi import alicloud:cloudfirewall/vpcFirewallIpsConfig:VpcFirewallIpsConfig example <id>
    

    Create VpcFirewallIpsConfig Resource

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

    Constructor syntax

    new VpcFirewallIpsConfig(name: string, args: VpcFirewallIpsConfigArgs, opts?: CustomResourceOptions);
    @overload
    def VpcFirewallIpsConfig(resource_name: str,
                             args: VpcFirewallIpsConfigArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcFirewallIpsConfig(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             basic_rules: Optional[int] = None,
                             enable_all_patch: Optional[int] = None,
                             run_mode: Optional[int] = None,
                             vpc_firewall_id: Optional[str] = None,
                             lang: Optional[str] = None,
                             member_uid: Optional[str] = None,
                             rule_class: Optional[str] = None)
    func NewVpcFirewallIpsConfig(ctx *Context, name string, args VpcFirewallIpsConfigArgs, opts ...ResourceOption) (*VpcFirewallIpsConfig, error)
    public VpcFirewallIpsConfig(string name, VpcFirewallIpsConfigArgs args, CustomResourceOptions? opts = null)
    public VpcFirewallIpsConfig(String name, VpcFirewallIpsConfigArgs args)
    public VpcFirewallIpsConfig(String name, VpcFirewallIpsConfigArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudfirewall:VpcFirewallIpsConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpcFirewallIpsConfigArgs
    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 VpcFirewallIpsConfigArgs
    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 VpcFirewallIpsConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcFirewallIpsConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcFirewallIpsConfigArgs
    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 vpcFirewallIpsConfigResource = new AliCloud.CloudFirewall.VpcFirewallIpsConfig("vpcFirewallIpsConfigResource", new()
    {
        BasicRules = 0,
        EnableAllPatch = 0,
        RunMode = 0,
        VpcFirewallId = "string",
        Lang = "string",
        MemberUid = "string",
        RuleClass = "string",
    });
    
    example, err := cloudfirewall.NewVpcFirewallIpsConfig(ctx, "vpcFirewallIpsConfigResource", &cloudfirewall.VpcFirewallIpsConfigArgs{
    	BasicRules:     pulumi.Int(0),
    	EnableAllPatch: pulumi.Int(0),
    	RunMode:        pulumi.Int(0),
    	VpcFirewallId:  pulumi.String("string"),
    	Lang:           pulumi.String("string"),
    	MemberUid:      pulumi.String("string"),
    	RuleClass:      pulumi.String("string"),
    })
    
    var vpcFirewallIpsConfigResource = new VpcFirewallIpsConfig("vpcFirewallIpsConfigResource", VpcFirewallIpsConfigArgs.builder()
        .basicRules(0)
        .enableAllPatch(0)
        .runMode(0)
        .vpcFirewallId("string")
        .lang("string")
        .memberUid("string")
        .ruleClass("string")
        .build());
    
    vpc_firewall_ips_config_resource = alicloud.cloudfirewall.VpcFirewallIpsConfig("vpcFirewallIpsConfigResource",
        basic_rules=0,
        enable_all_patch=0,
        run_mode=0,
        vpc_firewall_id="string",
        lang="string",
        member_uid="string",
        rule_class="string")
    
    const vpcFirewallIpsConfigResource = new alicloud.cloudfirewall.VpcFirewallIpsConfig("vpcFirewallIpsConfigResource", {
        basicRules: 0,
        enableAllPatch: 0,
        runMode: 0,
        vpcFirewallId: "string",
        lang: "string",
        memberUid: "string",
        ruleClass: "string",
    });
    
    type: alicloud:cloudfirewall:VpcFirewallIpsConfig
    properties:
        basicRules: 0
        enableAllPatch: 0
        lang: string
        memberUid: string
        ruleClass: string
        runMode: 0
        vpcFirewallId: string
    

    VpcFirewallIpsConfig 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 VpcFirewallIpsConfig resource accepts the following input properties:

    BasicRules int
    Base rule switch. Value:
    EnableAllPatch int
    Virtual patch switch. Value:
    RunMode int
    IPS defense mode. Value:
    VpcFirewallId string
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    Lang string

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    MemberUid string

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    RuleClass string
    IPS rule Group
    BasicRules int
    Base rule switch. Value:
    EnableAllPatch int
    Virtual patch switch. Value:
    RunMode int
    IPS defense mode. Value:
    VpcFirewallId string
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    Lang string

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    MemberUid string

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    RuleClass string
    IPS rule Group
    basicRules Integer
    Base rule switch. Value:
    enableAllPatch Integer
    Virtual patch switch. Value:
    runMode Integer
    IPS defense mode. Value:
    vpcFirewallId String
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    lang String

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    memberUid String

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ruleClass String
    IPS rule Group
    basicRules number
    Base rule switch. Value:
    enableAllPatch number
    Virtual patch switch. Value:
    runMode number
    IPS defense mode. Value:
    vpcFirewallId string
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    lang string

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    memberUid string

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ruleClass string
    IPS rule Group
    basic_rules int
    Base rule switch. Value:
    enable_all_patch int
    Virtual patch switch. Value:
    run_mode int
    IPS defense mode. Value:
    vpc_firewall_id str
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    lang str

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    member_uid str

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    rule_class str
    IPS rule Group
    basicRules Number
    Base rule switch. Value:
    enableAllPatch Number
    Virtual patch switch. Value:
    runMode Number
    IPS defense mode. Value:
    vpcFirewallId String
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    lang String

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    memberUid String

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ruleClass String
    IPS rule Group

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VpcFirewallIpsConfig Resource

    Get an existing VpcFirewallIpsConfig 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?: VpcFirewallIpsConfigState, opts?: CustomResourceOptions): VpcFirewallIpsConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            basic_rules: Optional[int] = None,
            enable_all_patch: Optional[int] = None,
            lang: Optional[str] = None,
            member_uid: Optional[str] = None,
            rule_class: Optional[str] = None,
            run_mode: Optional[int] = None,
            vpc_firewall_id: Optional[str] = None) -> VpcFirewallIpsConfig
    func GetVpcFirewallIpsConfig(ctx *Context, name string, id IDInput, state *VpcFirewallIpsConfigState, opts ...ResourceOption) (*VpcFirewallIpsConfig, error)
    public static VpcFirewallIpsConfig Get(string name, Input<string> id, VpcFirewallIpsConfigState? state, CustomResourceOptions? opts = null)
    public static VpcFirewallIpsConfig get(String name, Output<String> id, VpcFirewallIpsConfigState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:cloudfirewall:VpcFirewallIpsConfig    get:      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:
    BasicRules int
    Base rule switch. Value:
    EnableAllPatch int
    Virtual patch switch. Value:
    Lang string

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    MemberUid string

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    RuleClass string
    IPS rule Group
    RunMode int
    IPS defense mode. Value:
    VpcFirewallId string
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    BasicRules int
    Base rule switch. Value:
    EnableAllPatch int
    Virtual patch switch. Value:
    Lang string

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    MemberUid string

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    RuleClass string
    IPS rule Group
    RunMode int
    IPS defense mode. Value:
    VpcFirewallId string
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    basicRules Integer
    Base rule switch. Value:
    enableAllPatch Integer
    Virtual patch switch. Value:
    lang String

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    memberUid String

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ruleClass String
    IPS rule Group
    runMode Integer
    IPS defense mode. Value:
    vpcFirewallId String
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    basicRules number
    Base rule switch. Value:
    enableAllPatch number
    Virtual patch switch. Value:
    lang string

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    memberUid string

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ruleClass string
    IPS rule Group
    runMode number
    IPS defense mode. Value:
    vpcFirewallId string
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    basic_rules int
    Base rule switch. Value:
    enable_all_patch int
    Virtual patch switch. Value:
    lang str

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    member_uid str

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    rule_class str
    IPS rule Group
    run_mode int
    IPS defense mode. Value:
    vpc_firewall_id str
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.
    basicRules Number
    Base rule switch. Value:
    enableAllPatch Number
    Virtual patch switch. Value:
    lang String

    Language

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    memberUid String

    MemberUid

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ruleClass String
    IPS rule Group
    runMode Number
    IPS defense mode. Value:
    vpcFirewallId String
    The ID of the VPC firewall instance. Value:

    • When VPC firewall protects the network instances (including VPC, VBR, and CCN) and the specified VPC, the instance ID uses the CEN instance ID. You can call the DescribeVpcFirewallCenList operation to query the instance ID of CEN.
    • When the VPC firewall protects the traffic between two VPCs connected through the express connection, the instance ID uses the VPC firewall instance ID. You can call the DescribeVpcFirewallList operation to query the instance ID of the VPC firewall.

    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
    Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate