1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. cloudfirewall
  6. VpcFirewallControlPolicyOrder
Viewing docs for Alibaba Cloud v3.101.0
published on Tuesday, Apr 28, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.101.0
published on Tuesday, Apr 28, 2026 by Pulumi

    Provides a Cloud Firewall Vpc Firewall Control Policy Order resource.

    ACL priority of the VPC border firewall.

    For information about Cloud Firewall Vpc Firewall Control Policy Order and how to use it, see What is Vpc Firewall Control Policy Order.

    NOTE: Available since v1.276.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.cloudfirewall.VpcFirewallControlPolicyOrder("default", {
        order: "1",
        vpcFirewallId: "cen-38mhpjiqwbkfullqdj",
        lang: "zh",
        aclUuid: "b71137c7-23f0-411d-b6a0-8a2f1977fe6f",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.cloudfirewall.VpcFirewallControlPolicyOrder("default",
        order="1",
        vpc_firewall_id="cen-38mhpjiqwbkfullqdj",
        lang="zh",
        acl_uuid="b71137c7-23f0-411d-b6a0-8a2f1977fe6f")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
    	"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 := cloudfirewall.NewVpcFirewallControlPolicyOrder(ctx, "default", &cloudfirewall.VpcFirewallControlPolicyOrderArgs{
    			Order:         pulumi.String("1"),
    			VpcFirewallId: pulumi.String("cen-38mhpjiqwbkfullqdj"),
    			Lang:          pulumi.String("zh"),
    			AclUuid:       pulumi.String("b71137c7-23f0-411d-b6a0-8a2f1977fe6f"),
    		})
    		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.CloudFirewall.VpcFirewallControlPolicyOrder("default", new()
        {
            Order = "1",
            VpcFirewallId = "cen-38mhpjiqwbkfullqdj",
            Lang = "zh",
            AclUuid = "b71137c7-23f0-411d-b6a0-8a2f1977fe6f",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cloudfirewall.VpcFirewallControlPolicyOrder;
    import com.pulumi.alicloud.cloudfirewall.VpcFirewallControlPolicyOrderArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 VpcFirewallControlPolicyOrder("default", VpcFirewallControlPolicyOrderArgs.builder()
                .order("1")
                .vpcFirewallId("cen-38mhpjiqwbkfullqdj")
                .lang("zh")
                .aclUuid("b71137c7-23f0-411d-b6a0-8a2f1977fe6f")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:cloudfirewall:VpcFirewallControlPolicyOrder
        properties:
          order: '1'
          vpcFirewallId: cen-38mhpjiqwbkfullqdj
          lang: zh
          aclUuid: b71137c7-23f0-411d-b6a0-8a2f1977fe6f
    

    Deleting alicloud.cloudfirewall.VpcFirewallControlPolicyOrder or removing it from your configuration

    Terraform cannot destroy resource alicloud.cloudfirewall.VpcFirewallControlPolicyOrder. Terraform will remove this resource from the state file, however resources may remain.

    📚 Need more examples? VIEW MORE EXAMPLES

    Create VpcFirewallControlPolicyOrder Resource

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

    Constructor syntax

    new VpcFirewallControlPolicyOrder(name: string, args: VpcFirewallControlPolicyOrderArgs, opts?: CustomResourceOptions);
    @overload
    def VpcFirewallControlPolicyOrder(resource_name: str,
                                      args: VpcFirewallControlPolicyOrderArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcFirewallControlPolicyOrder(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      order: Optional[str] = None,
                                      vpc_firewall_id: Optional[str] = None,
                                      acl_uuid: Optional[str] = None,
                                      lang: Optional[str] = None)
    func NewVpcFirewallControlPolicyOrder(ctx *Context, name string, args VpcFirewallControlPolicyOrderArgs, opts ...ResourceOption) (*VpcFirewallControlPolicyOrder, error)
    public VpcFirewallControlPolicyOrder(string name, VpcFirewallControlPolicyOrderArgs args, CustomResourceOptions? opts = null)
    public VpcFirewallControlPolicyOrder(String name, VpcFirewallControlPolicyOrderArgs args)
    public VpcFirewallControlPolicyOrder(String name, VpcFirewallControlPolicyOrderArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudfirewall:VpcFirewallControlPolicyOrder
    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 VpcFirewallControlPolicyOrderArgs
    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 VpcFirewallControlPolicyOrderArgs
    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 VpcFirewallControlPolicyOrderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcFirewallControlPolicyOrderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcFirewallControlPolicyOrderArgs
    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 vpcFirewallControlPolicyOrderResource = new AliCloud.CloudFirewall.VpcFirewallControlPolicyOrder("vpcFirewallControlPolicyOrderResource", new()
    {
        Order = "string",
        VpcFirewallId = "string",
        AclUuid = "string",
        Lang = "string",
    });
    
    example, err := cloudfirewall.NewVpcFirewallControlPolicyOrder(ctx, "vpcFirewallControlPolicyOrderResource", &cloudfirewall.VpcFirewallControlPolicyOrderArgs{
    	Order:         pulumi.String("string"),
    	VpcFirewallId: pulumi.String("string"),
    	AclUuid:       pulumi.String("string"),
    	Lang:          pulumi.String("string"),
    })
    
    var vpcFirewallControlPolicyOrderResource = new VpcFirewallControlPolicyOrder("vpcFirewallControlPolicyOrderResource", VpcFirewallControlPolicyOrderArgs.builder()
        .order("string")
        .vpcFirewallId("string")
        .aclUuid("string")
        .lang("string")
        .build());
    
    vpc_firewall_control_policy_order_resource = alicloud.cloudfirewall.VpcFirewallControlPolicyOrder("vpcFirewallControlPolicyOrderResource",
        order="string",
        vpc_firewall_id="string",
        acl_uuid="string",
        lang="string")
    
    const vpcFirewallControlPolicyOrderResource = new alicloud.cloudfirewall.VpcFirewallControlPolicyOrder("vpcFirewallControlPolicyOrderResource", {
        order: "string",
        vpcFirewallId: "string",
        aclUuid: "string",
        lang: "string",
    });
    
    type: alicloud:cloudfirewall:VpcFirewallControlPolicyOrder
    properties:
        aclUuid: string
        lang: string
        order: string
        vpcFirewallId: string
    

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

    Order string

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    VpcFirewallId string

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    AclUuid string
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    Lang string

    The language type used for requests and responses.

    Valid values:

    Order string

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    VpcFirewallId string

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    AclUuid string
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    Lang string

    The language type used for requests and responses.

    Valid values:

    order String

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpcFirewallId String

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    aclUuid String
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang String

    The language type used for requests and responses.

    Valid values:

    order string

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpcFirewallId string

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    aclUuid string
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang string

    The language type used for requests and responses.

    Valid values:

    order str

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpc_firewall_id str

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    acl_uuid str
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang str

    The language type used for requests and responses.

    Valid values:

    order String

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpcFirewallId String

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    aclUuid String
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang String

    The language type used for requests and responses.

    Valid values:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcFirewallControlPolicyOrder 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 VpcFirewallControlPolicyOrder Resource

    Get an existing VpcFirewallControlPolicyOrder 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?: VpcFirewallControlPolicyOrderState, opts?: CustomResourceOptions): VpcFirewallControlPolicyOrder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl_uuid: Optional[str] = None,
            lang: Optional[str] = None,
            order: Optional[str] = None,
            vpc_firewall_id: Optional[str] = None) -> VpcFirewallControlPolicyOrder
    func GetVpcFirewallControlPolicyOrder(ctx *Context, name string, id IDInput, state *VpcFirewallControlPolicyOrderState, opts ...ResourceOption) (*VpcFirewallControlPolicyOrder, error)
    public static VpcFirewallControlPolicyOrder Get(string name, Input<string> id, VpcFirewallControlPolicyOrderState? state, CustomResourceOptions? opts = null)
    public static VpcFirewallControlPolicyOrder get(String name, Output<String> id, VpcFirewallControlPolicyOrderState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:cloudfirewall:VpcFirewallControlPolicyOrder    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:
    AclUuid string
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    Lang string

    The language type used for requests and responses.

    Valid values:

    Order string

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    VpcFirewallId string

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    AclUuid string
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    Lang string

    The language type used for requests and responses.

    Valid values:

    Order string

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    VpcFirewallId string

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    aclUuid String
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang String

    The language type used for requests and responses.

    Valid values:

    order String

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpcFirewallId String

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    aclUuid string
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang string

    The language type used for requests and responses.

    Valid values:

    order string

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpcFirewallId string

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    acl_uuid str
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang str

    The language type used for requests and responses.

    Valid values:

    order str

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpc_firewall_id str

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    aclUuid String
    The unique identifier ID of the access control policy.
    When modifying an access control policy, you must provide its unique identifier ID. You can obtain this ID by calling the DescribeVpcFirewallControlPolicy API.
    lang String

    The language type used for requests and responses.

    Valid values:

    order String

    The new priority of the access control policy after modification.

    NOTE: For the valid range of the new priority, see the API for querying the effective priority range.

    vpcFirewallId String

    The ID of the access control policy group for the VPC border firewall. You can obtain this ID by calling the DescribeVpcFirewallAclGroupList API.

    Valid values:

    • When the VPC border firewall protects Cloud Enterprise Network (CEN), the policy group ID is the CEN instance ID.

    Example: cen-ervw0g12b5jbw****

    • When the VPC border firewall protects Express Connect, the policy group ID is the VPC border firewall instance ID.

    Example: vfw-a42bbb7b887148c9****.

    Import

    Cloud Firewall Vpc Firewall Control Policy Order can be imported using the id, e.g.

    $ pulumi import alicloud:cloudfirewall/vpcFirewallControlPolicyOrder:VpcFirewallControlPolicyOrder example <vpc_firewall_id>:<acl_uuid>
    

    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
    Viewing docs for Alibaba Cloud v3.101.0
    published on Tuesday, Apr 28, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.