1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cloudfirewall
  5. FirewallVpcFirewall
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

alicloud.cloudfirewall.FirewallVpcFirewall

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

    Provides a Cloud Firewall Vpc Firewall resource.

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

    NOTE: Available since v1.194.0.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var current = AliCloud.GetAccount.Invoke();
    
        var @default = new AliCloud.CloudFirewall.FirewallVpcFirewall("default", new()
        {
            VpcFirewallName = "tf-example",
            MemberUid = current.Apply(getAccountResult => getAccountResult.Id),
            LocalVpc = new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcArgs
            {
                VpcId = "vpc-bp1d065m6hzn1xbw8ibfd",
                RegionNo = "cn-hangzhou",
                LocalVpcCidrTableLists = new[]
                {
                    new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs
                    {
                        LocalRouteTableId = "vtb-bp1lj0ddg846856chpzrv",
                        LocalRouteEntryLists = new[]
                        {
                            new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs
                            {
                                LocalNextHopInstanceId = "ri-bp1uobww3aputjlwwkyrh",
                                LocalDestinationCidr = "10.1.0.0/16",
                            },
                        },
                    },
                },
            },
            PeerVpc = new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcArgs
            {
                VpcId = "vpc-bp1gcmm64o3caox84v0nz",
                RegionNo = "cn-hangzhou",
                PeerVpcCidrTableLists = new[]
                {
                    new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs
                    {
                        PeerRouteTableId = "vtb-bp1f516f2hh4sok1ig9b5",
                        PeerRouteEntryLists = new[]
                        {
                            new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs
                            {
                                PeerDestinationCidr = "10.0.0.0/16",
                                PeerNextHopInstanceId = "ri-bp1thhtgf6ydr2or52l3n",
                            },
                        },
                    },
                },
            },
            Status = "open",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		current, err := alicloud.GetAccount(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = cloudfirewall.NewFirewallVpcFirewall(ctx, "default", &cloudfirewall.FirewallVpcFirewallArgs{
    			VpcFirewallName: pulumi.String("tf-example"),
    			MemberUid:       *pulumi.String(current.Id),
    			LocalVpc: &cloudfirewall.FirewallVpcFirewallLocalVpcArgs{
    				VpcId:    pulumi.String("vpc-bp1d065m6hzn1xbw8ibfd"),
    				RegionNo: pulumi.String("cn-hangzhou"),
    				LocalVpcCidrTableLists: cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArray{
    					&cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs{
    						LocalRouteTableId: pulumi.String("vtb-bp1lj0ddg846856chpzrv"),
    						LocalRouteEntryLists: cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArray{
    							&cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs{
    								LocalNextHopInstanceId: pulumi.String("ri-bp1uobww3aputjlwwkyrh"),
    								LocalDestinationCidr:   pulumi.String("10.1.0.0/16"),
    							},
    						},
    					},
    				},
    			},
    			PeerVpc: &cloudfirewall.FirewallVpcFirewallPeerVpcArgs{
    				VpcId:    pulumi.String("vpc-bp1gcmm64o3caox84v0nz"),
    				RegionNo: pulumi.String("cn-hangzhou"),
    				PeerVpcCidrTableLists: cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArray{
    					&cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs{
    						PeerRouteTableId: pulumi.String("vtb-bp1f516f2hh4sok1ig9b5"),
    						PeerRouteEntryLists: cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArray{
    							&cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs{
    								PeerDestinationCidr:   pulumi.String("10.0.0.0/16"),
    								PeerNextHopInstanceId: pulumi.String("ri-bp1thhtgf6ydr2or52l3n"),
    							},
    						},
    					},
    				},
    			},
    			Status: pulumi.String("open"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.cloudfirewall.FirewallVpcFirewall;
    import com.pulumi.alicloud.cloudfirewall.FirewallVpcFirewallArgs;
    import com.pulumi.alicloud.cloudfirewall.inputs.FirewallVpcFirewallLocalVpcArgs;
    import com.pulumi.alicloud.cloudfirewall.inputs.FirewallVpcFirewallPeerVpcArgs;
    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 current = AlicloudFunctions.getAccount();
    
            var default_ = new FirewallVpcFirewall("default", FirewallVpcFirewallArgs.builder()        
                .vpcFirewallName("tf-example")
                .memberUid(current.applyValue(getAccountResult -> getAccountResult.id()))
                .localVpc(FirewallVpcFirewallLocalVpcArgs.builder()
                    .vpcId("vpc-bp1d065m6hzn1xbw8ibfd")
                    .regionNo("cn-hangzhou")
                    .localVpcCidrTableLists(FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs.builder()
                        .localRouteTableId("vtb-bp1lj0ddg846856chpzrv")
                        .localRouteEntryLists(FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs.builder()
                            .localNextHopInstanceId("ri-bp1uobww3aputjlwwkyrh")
                            .localDestinationCidr("10.1.0.0/16")
                            .build())
                        .build())
                    .build())
                .peerVpc(FirewallVpcFirewallPeerVpcArgs.builder()
                    .vpcId("vpc-bp1gcmm64o3caox84v0nz")
                    .regionNo("cn-hangzhou")
                    .peerVpcCidrTableLists(FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs.builder()
                        .peerRouteTableId("vtb-bp1f516f2hh4sok1ig9b5")
                        .peerRouteEntryLists(FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs.builder()
                            .peerDestinationCidr("10.0.0.0/16")
                            .peerNextHopInstanceId("ri-bp1thhtgf6ydr2or52l3n")
                            .build())
                        .build())
                    .build())
                .status("open")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    current = alicloud.get_account()
    default = alicloud.cloudfirewall.FirewallVpcFirewall("default",
        vpc_firewall_name="tf-example",
        member_uid=current.id,
        local_vpc=alicloud.cloudfirewall.FirewallVpcFirewallLocalVpcArgs(
            vpc_id="vpc-bp1d065m6hzn1xbw8ibfd",
            region_no="cn-hangzhou",
            local_vpc_cidr_table_lists=[alicloud.cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs(
                local_route_table_id="vtb-bp1lj0ddg846856chpzrv",
                local_route_entry_lists=[alicloud.cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs(
                    local_next_hop_instance_id="ri-bp1uobww3aputjlwwkyrh",
                    local_destination_cidr="10.1.0.0/16",
                )],
            )],
        ),
        peer_vpc=alicloud.cloudfirewall.FirewallVpcFirewallPeerVpcArgs(
            vpc_id="vpc-bp1gcmm64o3caox84v0nz",
            region_no="cn-hangzhou",
            peer_vpc_cidr_table_lists=[alicloud.cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs(
                peer_route_table_id="vtb-bp1f516f2hh4sok1ig9b5",
                peer_route_entry_lists=[alicloud.cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs(
                    peer_destination_cidr="10.0.0.0/16",
                    peer_next_hop_instance_id="ri-bp1thhtgf6ydr2or52l3n",
                )],
            )],
        ),
        status="open")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const current = alicloud.getAccount({});
    const _default = new alicloud.cloudfirewall.FirewallVpcFirewall("default", {
        vpcFirewallName: "tf-example",
        memberUid: current.then(current => current.id),
        localVpc: {
            vpcId: "vpc-bp1d065m6hzn1xbw8ibfd",
            regionNo: "cn-hangzhou",
            localVpcCidrTableLists: [{
                localRouteTableId: "vtb-bp1lj0ddg846856chpzrv",
                localRouteEntryLists: [{
                    localNextHopInstanceId: "ri-bp1uobww3aputjlwwkyrh",
                    localDestinationCidr: "10.1.0.0/16",
                }],
            }],
        },
        peerVpc: {
            vpcId: "vpc-bp1gcmm64o3caox84v0nz",
            regionNo: "cn-hangzhou",
            peerVpcCidrTableLists: [{
                peerRouteTableId: "vtb-bp1f516f2hh4sok1ig9b5",
                peerRouteEntryLists: [{
                    peerDestinationCidr: "10.0.0.0/16",
                    peerNextHopInstanceId: "ri-bp1thhtgf6ydr2or52l3n",
                }],
            }],
        },
        status: "open",
    });
    
    resources:
      default:
        type: alicloud:cloudfirewall:FirewallVpcFirewall
        properties:
          vpcFirewallName: tf-example
          memberUid: ${current.id}
          localVpc:
            vpcId: vpc-bp1d065m6hzn1xbw8ibfd
            regionNo: cn-hangzhou
            localVpcCidrTableLists:
              - localRouteTableId: vtb-bp1lj0ddg846856chpzrv
                localRouteEntryLists:
                  - localNextHopInstanceId: ri-bp1uobww3aputjlwwkyrh
                    localDestinationCidr: 10.1.0.0/16
          peerVpc:
            vpcId: vpc-bp1gcmm64o3caox84v0nz
            regionNo: cn-hangzhou
            peerVpcCidrTableLists:
              - peerRouteTableId: vtb-bp1f516f2hh4sok1ig9b5
                peerRouteEntryLists:
                  - peerDestinationCidr: 10.0.0.0/16
                    peerNextHopInstanceId: ri-bp1thhtgf6ydr2or52l3n
          status: open
    variables:
      current:
        fn::invoke:
          Function: alicloud:getAccount
          Arguments: {}
    

    Create FirewallVpcFirewall Resource

    new FirewallVpcFirewall(name: string, args: FirewallVpcFirewallArgs, opts?: CustomResourceOptions);
    @overload
    def FirewallVpcFirewall(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            lang: Optional[str] = None,
                            local_vpc: Optional[FirewallVpcFirewallLocalVpcArgs] = None,
                            member_uid: Optional[str] = None,
                            peer_vpc: Optional[FirewallVpcFirewallPeerVpcArgs] = None,
                            status: Optional[str] = None,
                            vpc_firewall_name: Optional[str] = None)
    @overload
    def FirewallVpcFirewall(resource_name: str,
                            args: FirewallVpcFirewallArgs,
                            opts: Optional[ResourceOptions] = None)
    func NewFirewallVpcFirewall(ctx *Context, name string, args FirewallVpcFirewallArgs, opts ...ResourceOption) (*FirewallVpcFirewall, error)
    public FirewallVpcFirewall(string name, FirewallVpcFirewallArgs args, CustomResourceOptions? opts = null)
    public FirewallVpcFirewall(String name, FirewallVpcFirewallArgs args)
    public FirewallVpcFirewall(String name, FirewallVpcFirewallArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudfirewall:FirewallVpcFirewall
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FirewallVpcFirewallArgs
    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 FirewallVpcFirewallArgs
    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 FirewallVpcFirewallArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FirewallVpcFirewallArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FirewallVpcFirewallArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FirewallVpcFirewall Resource Properties

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

    Inputs

    The FirewallVpcFirewall resource accepts the following input properties:

    LocalVpc Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpc

    The details of the local VPC. See local_vpc below.

    PeerVpc Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpc

    The details of the peer VPC. See peer_vpc below.

    Status string

    The status of the resource. Valid values:

    VpcFirewallName string

    The name of the VPC firewall instance.

    Lang string

    The language type of the requested and received messages. Valid values:

    MemberUid string

    The UID of the Alibaba Cloud member account.

    LocalVpc FirewallVpcFirewallLocalVpcArgs

    The details of the local VPC. See local_vpc below.

    PeerVpc FirewallVpcFirewallPeerVpcArgs

    The details of the peer VPC. See peer_vpc below.

    Status string

    The status of the resource. Valid values:

    VpcFirewallName string

    The name of the VPC firewall instance.

    Lang string

    The language type of the requested and received messages. Valid values:

    MemberUid string

    The UID of the Alibaba Cloud member account.

    localVpc FirewallVpcFirewallLocalVpc

    The details of the local VPC. See local_vpc below.

    peerVpc FirewallVpcFirewallPeerVpc

    The details of the peer VPC. See peer_vpc below.

    status String

    The status of the resource. Valid values:

    vpcFirewallName String

    The name of the VPC firewall instance.

    lang String

    The language type of the requested and received messages. Valid values:

    memberUid String

    The UID of the Alibaba Cloud member account.

    localVpc FirewallVpcFirewallLocalVpc

    The details of the local VPC. See local_vpc below.

    peerVpc FirewallVpcFirewallPeerVpc

    The details of the peer VPC. See peer_vpc below.

    status string

    The status of the resource. Valid values:

    vpcFirewallName string

    The name of the VPC firewall instance.

    lang string

    The language type of the requested and received messages. Valid values:

    memberUid string

    The UID of the Alibaba Cloud member account.

    local_vpc FirewallVpcFirewallLocalVpcArgs

    The details of the local VPC. See local_vpc below.

    peer_vpc FirewallVpcFirewallPeerVpcArgs

    The details of the peer VPC. See peer_vpc below.

    status str

    The status of the resource. Valid values:

    vpc_firewall_name str

    The name of the VPC firewall instance.

    lang str

    The language type of the requested and received messages. Valid values:

    member_uid str

    The UID of the Alibaba Cloud member account.

    localVpc Property Map

    The details of the local VPC. See local_vpc below.

    peerVpc Property Map

    The details of the peer VPC. See peer_vpc below.

    status String

    The status of the resource. Valid values:

    vpcFirewallName String

    The name of the VPC firewall instance.

    lang String

    The language type of the requested and received messages. Valid values:

    memberUid String

    The UID of the Alibaba Cloud member account.

    Outputs

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

    Bandwidth int

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    ConnectType string

    The communication type of the VPC firewall.

    Id string

    The provider-assigned unique ID for this managed resource.

    RegionStatus string

    The region is open.

    VpcFirewallId string

    The ID of the VPC firewall instance.

    Bandwidth int

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    ConnectType string

    The communication type of the VPC firewall.

    Id string

    The provider-assigned unique ID for this managed resource.

    RegionStatus string

    The region is open.

    VpcFirewallId string

    The ID of the VPC firewall instance.

    bandwidth Integer

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connectType String

    The communication type of the VPC firewall.

    id String

    The provider-assigned unique ID for this managed resource.

    regionStatus String

    The region is open.

    vpcFirewallId String

    The ID of the VPC firewall instance.

    bandwidth number

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connectType string

    The communication type of the VPC firewall.

    id string

    The provider-assigned unique ID for this managed resource.

    regionStatus string

    The region is open.

    vpcFirewallId string

    The ID of the VPC firewall instance.

    bandwidth int

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connect_type str

    The communication type of the VPC firewall.

    id str

    The provider-assigned unique ID for this managed resource.

    region_status str

    The region is open.

    vpc_firewall_id str

    The ID of the VPC firewall instance.

    bandwidth Number

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connectType String

    The communication type of the VPC firewall.

    id String

    The provider-assigned unique ID for this managed resource.

    regionStatus String

    The region is open.

    vpcFirewallId String

    The ID of the VPC firewall instance.

    Look up Existing FirewallVpcFirewall Resource

    Get an existing FirewallVpcFirewall 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?: FirewallVpcFirewallState, opts?: CustomResourceOptions): FirewallVpcFirewall
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth: Optional[int] = None,
            connect_type: Optional[str] = None,
            lang: Optional[str] = None,
            local_vpc: Optional[FirewallVpcFirewallLocalVpcArgs] = None,
            member_uid: Optional[str] = None,
            peer_vpc: Optional[FirewallVpcFirewallPeerVpcArgs] = None,
            region_status: Optional[str] = None,
            status: Optional[str] = None,
            vpc_firewall_id: Optional[str] = None,
            vpc_firewall_name: Optional[str] = None) -> FirewallVpcFirewall
    func GetFirewallVpcFirewall(ctx *Context, name string, id IDInput, state *FirewallVpcFirewallState, opts ...ResourceOption) (*FirewallVpcFirewall, error)
    public static FirewallVpcFirewall Get(string name, Input<string> id, FirewallVpcFirewallState? state, CustomResourceOptions? opts = null)
    public static FirewallVpcFirewall get(String name, Output<String> id, FirewallVpcFirewallState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Bandwidth int

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    ConnectType string

    The communication type of the VPC firewall.

    Lang string

    The language type of the requested and received messages. Valid values:

    LocalVpc Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpc

    The details of the local VPC. See local_vpc below.

    MemberUid string

    The UID of the Alibaba Cloud member account.

    PeerVpc Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpc

    The details of the peer VPC. See peer_vpc below.

    RegionStatus string

    The region is open.

    Status string

    The status of the resource. Valid values:

    VpcFirewallId string

    The ID of the VPC firewall instance.

    VpcFirewallName string

    The name of the VPC firewall instance.

    Bandwidth int

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    ConnectType string

    The communication type of the VPC firewall.

    Lang string

    The language type of the requested and received messages. Valid values:

    LocalVpc FirewallVpcFirewallLocalVpcArgs

    The details of the local VPC. See local_vpc below.

    MemberUid string

    The UID of the Alibaba Cloud member account.

    PeerVpc FirewallVpcFirewallPeerVpcArgs

    The details of the peer VPC. See peer_vpc below.

    RegionStatus string

    The region is open.

    Status string

    The status of the resource. Valid values:

    VpcFirewallId string

    The ID of the VPC firewall instance.

    VpcFirewallName string

    The name of the VPC firewall instance.

    bandwidth Integer

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connectType String

    The communication type of the VPC firewall.

    lang String

    The language type of the requested and received messages. Valid values:

    localVpc FirewallVpcFirewallLocalVpc

    The details of the local VPC. See local_vpc below.

    memberUid String

    The UID of the Alibaba Cloud member account.

    peerVpc FirewallVpcFirewallPeerVpc

    The details of the peer VPC. See peer_vpc below.

    regionStatus String

    The region is open.

    status String

    The status of the resource. Valid values:

    vpcFirewallId String

    The ID of the VPC firewall instance.

    vpcFirewallName String

    The name of the VPC firewall instance.

    bandwidth number

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connectType string

    The communication type of the VPC firewall.

    lang string

    The language type of the requested and received messages. Valid values:

    localVpc FirewallVpcFirewallLocalVpc

    The details of the local VPC. See local_vpc below.

    memberUid string

    The UID of the Alibaba Cloud member account.

    peerVpc FirewallVpcFirewallPeerVpc

    The details of the peer VPC. See peer_vpc below.

    regionStatus string

    The region is open.

    status string

    The status of the resource. Valid values:

    vpcFirewallId string

    The ID of the VPC firewall instance.

    vpcFirewallName string

    The name of the VPC firewall instance.

    bandwidth int

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connect_type str

    The communication type of the VPC firewall.

    lang str

    The language type of the requested and received messages. Valid values:

    local_vpc FirewallVpcFirewallLocalVpcArgs

    The details of the local VPC. See local_vpc below.

    member_uid str

    The UID of the Alibaba Cloud member account.

    peer_vpc FirewallVpcFirewallPeerVpcArgs

    The details of the peer VPC. See peer_vpc below.

    region_status str

    The region is open.

    status str

    The status of the resource. Valid values:

    vpc_firewall_id str

    The ID of the VPC firewall instance.

    vpc_firewall_name str

    The name of the VPC firewall instance.

    bandwidth Number

    Bandwidth specifications for high-speed channels. Unit: Mbps.

    connectType String

    The communication type of the VPC firewall.

    lang String

    The language type of the requested and received messages. Valid values:

    localVpc Property Map

    The details of the local VPC. See local_vpc below.

    memberUid String

    The UID of the Alibaba Cloud member account.

    peerVpc Property Map

    The details of the peer VPC. See peer_vpc below.

    regionStatus String

    The region is open.

    status String

    The status of the resource. Valid values:

    vpcFirewallId String

    The ID of the VPC firewall instance.

    vpcFirewallName String

    The name of the VPC firewall instance.

    Supporting Types

    FirewallVpcFirewallLocalVpc, FirewallVpcFirewallLocalVpcArgs

    LocalVpcCidrTableLists List<Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableList>

    The network segment list of the local VPC. See local_vpc_cidr_table_list below.

    RegionNo string

    The region ID of the local VPC.

    VpcId string

    The ID of the local VPC instance.

    EniId string

    The ID of the instance of the ENI in the peer VPC.

    EniPrivateIpAddress string

    The private IP address of the elastic network card in the peer VPC.

    RouterInterfaceId string

    The ID of the router interface in the peer VPC.

    VpcName string

    The instance name of the peer VPC.

    LocalVpcCidrTableLists []FirewallVpcFirewallLocalVpcLocalVpcCidrTableList

    The network segment list of the local VPC. See local_vpc_cidr_table_list below.

    RegionNo string

    The region ID of the local VPC.

    VpcId string

    The ID of the local VPC instance.

    EniId string

    The ID of the instance of the ENI in the peer VPC.

    EniPrivateIpAddress string

    The private IP address of the elastic network card in the peer VPC.

    RouterInterfaceId string

    The ID of the router interface in the peer VPC.

    VpcName string

    The instance name of the peer VPC.

    localVpcCidrTableLists List<FirewallVpcFirewallLocalVpcLocalVpcCidrTableList>

    The network segment list of the local VPC. See local_vpc_cidr_table_list below.

    regionNo String

    The region ID of the local VPC.

    vpcId String

    The ID of the local VPC instance.

    eniId String

    The ID of the instance of the ENI in the peer VPC.

    eniPrivateIpAddress String

    The private IP address of the elastic network card in the peer VPC.

    routerInterfaceId String

    The ID of the router interface in the peer VPC.

    vpcName String

    The instance name of the peer VPC.

    localVpcCidrTableLists FirewallVpcFirewallLocalVpcLocalVpcCidrTableList[]

    The network segment list of the local VPC. See local_vpc_cidr_table_list below.

    regionNo string

    The region ID of the local VPC.

    vpcId string

    The ID of the local VPC instance.

    eniId string

    The ID of the instance of the ENI in the peer VPC.

    eniPrivateIpAddress string

    The private IP address of the elastic network card in the peer VPC.

    routerInterfaceId string

    The ID of the router interface in the peer VPC.

    vpcName string

    The instance name of the peer VPC.

    local_vpc_cidr_table_lists Sequence[FirewallVpcFirewallLocalVpcLocalVpcCidrTableList]

    The network segment list of the local VPC. See local_vpc_cidr_table_list below.

    region_no str

    The region ID of the local VPC.

    vpc_id str

    The ID of the local VPC instance.

    eni_id str

    The ID of the instance of the ENI in the peer VPC.

    eni_private_ip_address str

    The private IP address of the elastic network card in the peer VPC.

    router_interface_id str

    The ID of the router interface in the peer VPC.

    vpc_name str

    The instance name of the peer VPC.

    localVpcCidrTableLists List<Property Map>

    The network segment list of the local VPC. See local_vpc_cidr_table_list below.

    regionNo String

    The region ID of the local VPC.

    vpcId String

    The ID of the local VPC instance.

    eniId String

    The ID of the instance of the ENI in the peer VPC.

    eniPrivateIpAddress String

    The private IP address of the elastic network card in the peer VPC.

    routerInterfaceId String

    The ID of the router interface in the peer VPC.

    vpcName String

    The instance name of the peer VPC.

    FirewallVpcFirewallLocalVpcLocalVpcCidrTableList, FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs

    LocalRouteEntryLists List<Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList>

    The list of route entries of the local VPC. See local_route_entry_list below.

    LocalRouteTableId string

    The ID of the route table of the local VPC.

    LocalRouteEntryLists []FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList

    The list of route entries of the local VPC. See local_route_entry_list below.

    LocalRouteTableId string

    The ID of the route table of the local VPC.

    localRouteEntryLists List<FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList>

    The list of route entries of the local VPC. See local_route_entry_list below.

    localRouteTableId String

    The ID of the route table of the local VPC.

    localRouteEntryLists FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList[]

    The list of route entries of the local VPC. See local_route_entry_list below.

    localRouteTableId string

    The ID of the route table of the local VPC.

    local_route_entry_lists Sequence[FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList]

    The list of route entries of the local VPC. See local_route_entry_list below.

    local_route_table_id str

    The ID of the route table of the local VPC.

    localRouteEntryLists List<Property Map>

    The list of route entries of the local VPC. See local_route_entry_list below.

    localRouteTableId String

    The ID of the route table of the local VPC.

    FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList, FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs

    LocalDestinationCidr string

    The target network segment of the local VPC.

    LocalNextHopInstanceId string

    The ID of the next-hop instance in the local VPC.

    LocalDestinationCidr string

    The target network segment of the local VPC.

    LocalNextHopInstanceId string

    The ID of the next-hop instance in the local VPC.

    localDestinationCidr String

    The target network segment of the local VPC.

    localNextHopInstanceId String

    The ID of the next-hop instance in the local VPC.

    localDestinationCidr string

    The target network segment of the local VPC.

    localNextHopInstanceId string

    The ID of the next-hop instance in the local VPC.

    local_destination_cidr str

    The target network segment of the local VPC.

    local_next_hop_instance_id str

    The ID of the next-hop instance in the local VPC.

    localDestinationCidr String

    The target network segment of the local VPC.

    localNextHopInstanceId String

    The ID of the next-hop instance in the local VPC.

    FirewallVpcFirewallPeerVpc, FirewallVpcFirewallPeerVpcArgs

    PeerVpcCidrTableLists List<Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableList>

    The network segment list of the peer VPC. See peer_vpc_cidr_table_list below.

    RegionNo string

    The region ID of the peer VPC.

    VpcId string

    The ID of the peer VPC instance.

    EniId string

    The ID of the instance of the ENI in the peer VPC.

    EniPrivateIpAddress string

    The private IP address of the elastic network card in the peer VPC.

    RouterInterfaceId string

    The ID of the router interface in the peer VPC.

    VpcName string

    The instance name of the peer VPC.

    PeerVpcCidrTableLists []FirewallVpcFirewallPeerVpcPeerVpcCidrTableList

    The network segment list of the peer VPC. See peer_vpc_cidr_table_list below.

    RegionNo string

    The region ID of the peer VPC.

    VpcId string

    The ID of the peer VPC instance.

    EniId string

    The ID of the instance of the ENI in the peer VPC.

    EniPrivateIpAddress string

    The private IP address of the elastic network card in the peer VPC.

    RouterInterfaceId string

    The ID of the router interface in the peer VPC.

    VpcName string

    The instance name of the peer VPC.

    peerVpcCidrTableLists List<FirewallVpcFirewallPeerVpcPeerVpcCidrTableList>

    The network segment list of the peer VPC. See peer_vpc_cidr_table_list below.

    regionNo String

    The region ID of the peer VPC.

    vpcId String

    The ID of the peer VPC instance.

    eniId String

    The ID of the instance of the ENI in the peer VPC.

    eniPrivateIpAddress String

    The private IP address of the elastic network card in the peer VPC.

    routerInterfaceId String

    The ID of the router interface in the peer VPC.

    vpcName String

    The instance name of the peer VPC.

    peerVpcCidrTableLists FirewallVpcFirewallPeerVpcPeerVpcCidrTableList[]

    The network segment list of the peer VPC. See peer_vpc_cidr_table_list below.

    regionNo string

    The region ID of the peer VPC.

    vpcId string

    The ID of the peer VPC instance.

    eniId string

    The ID of the instance of the ENI in the peer VPC.

    eniPrivateIpAddress string

    The private IP address of the elastic network card in the peer VPC.

    routerInterfaceId string

    The ID of the router interface in the peer VPC.

    vpcName string

    The instance name of the peer VPC.

    peer_vpc_cidr_table_lists Sequence[FirewallVpcFirewallPeerVpcPeerVpcCidrTableList]

    The network segment list of the peer VPC. See peer_vpc_cidr_table_list below.

    region_no str

    The region ID of the peer VPC.

    vpc_id str

    The ID of the peer VPC instance.

    eni_id str

    The ID of the instance of the ENI in the peer VPC.

    eni_private_ip_address str

    The private IP address of the elastic network card in the peer VPC.

    router_interface_id str

    The ID of the router interface in the peer VPC.

    vpc_name str

    The instance name of the peer VPC.

    peerVpcCidrTableLists List<Property Map>

    The network segment list of the peer VPC. See peer_vpc_cidr_table_list below.

    regionNo String

    The region ID of the peer VPC.

    vpcId String

    The ID of the peer VPC instance.

    eniId String

    The ID of the instance of the ENI in the peer VPC.

    eniPrivateIpAddress String

    The private IP address of the elastic network card in the peer VPC.

    routerInterfaceId String

    The ID of the router interface in the peer VPC.

    vpcName String

    The instance name of the peer VPC.

    FirewallVpcFirewallPeerVpcPeerVpcCidrTableList, FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs

    PeerRouteEntryLists List<Pulumi.AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList>

    Peer VPC route entry list information. See peer_route_entry_list below.

    PeerRouteTableId string

    The ID of the route table of the peer VPC.

    PeerRouteEntryLists []FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList

    Peer VPC route entry list information. See peer_route_entry_list below.

    PeerRouteTableId string

    The ID of the route table of the peer VPC.

    peerRouteEntryLists List<FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList>

    Peer VPC route entry list information. See peer_route_entry_list below.

    peerRouteTableId String

    The ID of the route table of the peer VPC.

    peerRouteEntryLists FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList[]

    Peer VPC route entry list information. See peer_route_entry_list below.

    peerRouteTableId string

    The ID of the route table of the peer VPC.

    peer_route_entry_lists Sequence[FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList]

    Peer VPC route entry list information. See peer_route_entry_list below.

    peer_route_table_id str

    The ID of the route table of the peer VPC.

    peerRouteEntryLists List<Property Map>

    Peer VPC route entry list information. See peer_route_entry_list below.

    peerRouteTableId String

    The ID of the route table of the peer VPC.

    FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList, FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs

    PeerDestinationCidr string

    The target network segment of the peer VPC.

    PeerNextHopInstanceId string

    The ID of the next-hop instance in the peer VPC.

    PeerDestinationCidr string

    The target network segment of the peer VPC.

    PeerNextHopInstanceId string

    The ID of the next-hop instance in the peer VPC.

    peerDestinationCidr String

    The target network segment of the peer VPC.

    peerNextHopInstanceId String

    The ID of the next-hop instance in the peer VPC.

    peerDestinationCidr string

    The target network segment of the peer VPC.

    peerNextHopInstanceId string

    The ID of the next-hop instance in the peer VPC.

    peer_destination_cidr str

    The target network segment of the peer VPC.

    peer_next_hop_instance_id str

    The ID of the next-hop instance in the peer VPC.

    peerDestinationCidr String

    The target network segment of the peer VPC.

    peerNextHopInstanceId String

    The ID of the next-hop instance in the peer VPC.

    Import

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

     $ pulumi import alicloud:cloudfirewall/firewallVpcFirewall:FirewallVpcFirewall example <id>
    

    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.44.0 published on Thursday, Sep 28, 2023 by Pulumi