alicloud.cloudfirewall.FirewallVpcFirewall
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
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",
});
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={
        "vpc_id": "vpc-bp1d065m6hzn1xbw8ibfd",
        "region_no": "cn-hangzhou",
        "local_vpc_cidr_table_lists": [{
            "local_route_table_id": "vtb-bp1lj0ddg846856chpzrv",
            "local_route_entry_lists": [{
                "local_next_hop_instance_id": "ri-bp1uobww3aputjlwwkyrh",
                "local_destination_cidr": "10.1.0.0/16",
            }],
        }],
    },
    peer_vpc={
        "vpc_id": "vpc-bp1gcmm64o3caox84v0nz",
        "region_no": "cn-hangzhou",
        "peer_vpc_cidr_table_lists": [{
            "peer_route_table_id": "vtb-bp1f516f2hh4sok1ig9b5",
            "peer_route_entry_lists": [{
                "peer_destination_cidr": "10.0.0.0/16",
                "peer_next_hop_instance_id": "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, map[string]interface{}{}, 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
	})
}
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 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(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
        var default_ = new FirewallVpcFirewall("default", FirewallVpcFirewallArgs.builder()
            .vpcFirewallName("tf-example")
            .memberUid(current.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());
    }
}
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallVpcFirewall(name: string, args: FirewallVpcFirewallArgs, opts?: CustomResourceOptions);@overload
def FirewallVpcFirewall(resource_name: str,
                        args: FirewallVpcFirewallArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def FirewallVpcFirewall(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        local_vpc: Optional[FirewallVpcFirewallLocalVpcArgs] = None,
                        peer_vpc: Optional[FirewallVpcFirewallPeerVpcArgs] = None,
                        status: Optional[str] = None,
                        vpc_firewall_name: Optional[str] = None,
                        lang: Optional[str] = None,
                        member_uid: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var firewallVpcFirewallResource = new AliCloud.CloudFirewall.FirewallVpcFirewall("firewallVpcFirewallResource", new()
{
    LocalVpc = new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcArgs
    {
        LocalVpcCidrTableLists = new[]
        {
            new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs
            {
                LocalRouteEntryLists = new[]
                {
                    new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs
                    {
                        LocalDestinationCidr = "string",
                        LocalNextHopInstanceId = "string",
                    },
                },
                LocalRouteTableId = "string",
            },
        },
        RegionNo = "string",
        VpcId = "string",
        EniId = "string",
        EniPrivateIpAddress = "string",
        RouterInterfaceId = "string",
        VpcName = "string",
    },
    PeerVpc = new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcArgs
    {
        PeerVpcCidrTableLists = new[]
        {
            new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs
            {
                PeerRouteEntryLists = new[]
                {
                    new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs
                    {
                        PeerDestinationCidr = "string",
                        PeerNextHopInstanceId = "string",
                    },
                },
                PeerRouteTableId = "string",
            },
        },
        RegionNo = "string",
        VpcId = "string",
        EniId = "string",
        EniPrivateIpAddress = "string",
        RouterInterfaceId = "string",
        VpcName = "string",
    },
    Status = "string",
    VpcFirewallName = "string",
    Lang = "string",
    MemberUid = "string",
});
example, err := cloudfirewall.NewFirewallVpcFirewall(ctx, "firewallVpcFirewallResource", &cloudfirewall.FirewallVpcFirewallArgs{
	LocalVpc: &cloudfirewall.FirewallVpcFirewallLocalVpcArgs{
		LocalVpcCidrTableLists: cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArray{
			&cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs{
				LocalRouteEntryLists: cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArray{
					&cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs{
						LocalDestinationCidr:   pulumi.String("string"),
						LocalNextHopInstanceId: pulumi.String("string"),
					},
				},
				LocalRouteTableId: pulumi.String("string"),
			},
		},
		RegionNo:            pulumi.String("string"),
		VpcId:               pulumi.String("string"),
		EniId:               pulumi.String("string"),
		EniPrivateIpAddress: pulumi.String("string"),
		RouterInterfaceId:   pulumi.String("string"),
		VpcName:             pulumi.String("string"),
	},
	PeerVpc: &cloudfirewall.FirewallVpcFirewallPeerVpcArgs{
		PeerVpcCidrTableLists: cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArray{
			&cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs{
				PeerRouteEntryLists: cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArray{
					&cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs{
						PeerDestinationCidr:   pulumi.String("string"),
						PeerNextHopInstanceId: pulumi.String("string"),
					},
				},
				PeerRouteTableId: pulumi.String("string"),
			},
		},
		RegionNo:            pulumi.String("string"),
		VpcId:               pulumi.String("string"),
		EniId:               pulumi.String("string"),
		EniPrivateIpAddress: pulumi.String("string"),
		RouterInterfaceId:   pulumi.String("string"),
		VpcName:             pulumi.String("string"),
	},
	Status:          pulumi.String("string"),
	VpcFirewallName: pulumi.String("string"),
	Lang:            pulumi.String("string"),
	MemberUid:       pulumi.String("string"),
})
var firewallVpcFirewallResource = new FirewallVpcFirewall("firewallVpcFirewallResource", FirewallVpcFirewallArgs.builder()
    .localVpc(FirewallVpcFirewallLocalVpcArgs.builder()
        .localVpcCidrTableLists(FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs.builder()
            .localRouteEntryLists(FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs.builder()
                .localDestinationCidr("string")
                .localNextHopInstanceId("string")
                .build())
            .localRouteTableId("string")
            .build())
        .regionNo("string")
        .vpcId("string")
        .eniId("string")
        .eniPrivateIpAddress("string")
        .routerInterfaceId("string")
        .vpcName("string")
        .build())
    .peerVpc(FirewallVpcFirewallPeerVpcArgs.builder()
        .peerVpcCidrTableLists(FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs.builder()
            .peerRouteEntryLists(FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs.builder()
                .peerDestinationCidr("string")
                .peerNextHopInstanceId("string")
                .build())
            .peerRouteTableId("string")
            .build())
        .regionNo("string")
        .vpcId("string")
        .eniId("string")
        .eniPrivateIpAddress("string")
        .routerInterfaceId("string")
        .vpcName("string")
        .build())
    .status("string")
    .vpcFirewallName("string")
    .lang("string")
    .memberUid("string")
    .build());
firewall_vpc_firewall_resource = alicloud.cloudfirewall.FirewallVpcFirewall("firewallVpcFirewallResource",
    local_vpc={
        "local_vpc_cidr_table_lists": [{
            "local_route_entry_lists": [{
                "local_destination_cidr": "string",
                "local_next_hop_instance_id": "string",
            }],
            "local_route_table_id": "string",
        }],
        "region_no": "string",
        "vpc_id": "string",
        "eni_id": "string",
        "eni_private_ip_address": "string",
        "router_interface_id": "string",
        "vpc_name": "string",
    },
    peer_vpc={
        "peer_vpc_cidr_table_lists": [{
            "peer_route_entry_lists": [{
                "peer_destination_cidr": "string",
                "peer_next_hop_instance_id": "string",
            }],
            "peer_route_table_id": "string",
        }],
        "region_no": "string",
        "vpc_id": "string",
        "eni_id": "string",
        "eni_private_ip_address": "string",
        "router_interface_id": "string",
        "vpc_name": "string",
    },
    status="string",
    vpc_firewall_name="string",
    lang="string",
    member_uid="string")
const firewallVpcFirewallResource = new alicloud.cloudfirewall.FirewallVpcFirewall("firewallVpcFirewallResource", {
    localVpc: {
        localVpcCidrTableLists: [{
            localRouteEntryLists: [{
                localDestinationCidr: "string",
                localNextHopInstanceId: "string",
            }],
            localRouteTableId: "string",
        }],
        regionNo: "string",
        vpcId: "string",
        eniId: "string",
        eniPrivateIpAddress: "string",
        routerInterfaceId: "string",
        vpcName: "string",
    },
    peerVpc: {
        peerVpcCidrTableLists: [{
            peerRouteEntryLists: [{
                peerDestinationCidr: "string",
                peerNextHopInstanceId: "string",
            }],
            peerRouteTableId: "string",
        }],
        regionNo: "string",
        vpcId: "string",
        eniId: "string",
        eniPrivateIpAddress: "string",
        routerInterfaceId: "string",
        vpcName: "string",
    },
    status: "string",
    vpcFirewallName: "string",
    lang: "string",
    memberUid: "string",
});
type: alicloud:cloudfirewall:FirewallVpcFirewall
properties:
    lang: string
    localVpc:
        eniId: string
        eniPrivateIpAddress: string
        localVpcCidrTableLists:
            - localRouteEntryLists:
                - localDestinationCidr: string
                  localNextHopInstanceId: string
              localRouteTableId: string
        regionNo: string
        routerInterfaceId: string
        vpcId: string
        vpcName: string
    memberUid: string
    peerVpc:
        eniId: string
        eniPrivateIpAddress: string
        peerVpcCidrTableLists:
            - peerRouteEntryLists:
                - peerDestinationCidr: string
                  peerNextHopInstanceId: string
              peerRouteTableId: string
        regionNo: string
        routerInterfaceId: string
        vpcId: string
        vpcName: string
    status: string
    vpcFirewallName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FirewallVpcFirewall resource accepts the following input properties:
- LocalVpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Local Vpc 
- The details of the local VPC. See local_vpcbelow.
- PeerVpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Peer Vpc 
- The details of the peer VPC. See peer_vpcbelow.
- Status string
- The status of the resource. Valid values:
- VpcFirewall stringName 
- 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 FirewallVpc Firewall Local Vpc Args 
- The details of the local VPC. See local_vpcbelow.
- PeerVpc FirewallVpc Firewall Peer Vpc Args 
- The details of the peer VPC. See peer_vpcbelow.
- Status string
- The status of the resource. Valid values:
- VpcFirewall stringName 
- 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 FirewallVpc Firewall Local Vpc 
- The details of the local VPC. See local_vpcbelow.
- peerVpc FirewallVpc Firewall Peer Vpc 
- The details of the peer VPC. See peer_vpcbelow.
- status String
- The status of the resource. Valid values:
- vpcFirewall StringName 
- 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 FirewallVpc Firewall Local Vpc 
- The details of the local VPC. See local_vpcbelow.
- peerVpc FirewallVpc Firewall Peer Vpc 
- The details of the peer VPC. See peer_vpcbelow.
- status string
- The status of the resource. Valid values:
- vpcFirewall stringName 
- 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 FirewallVpc Firewall Local Vpc Args 
- The details of the local VPC. See local_vpcbelow.
- peer_vpc FirewallVpc Firewall Peer Vpc Args 
- The details of the peer VPC. See peer_vpcbelow.
- status str
- The status of the resource. Valid values:
- vpc_firewall_ strname 
- 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_vpcbelow.
- peerVpc Property Map
- The details of the peer VPC. See peer_vpcbelow.
- status String
- The status of the resource. Valid values:
- vpcFirewall StringName 
- 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.
- VpcFirewall stringId 
- 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.
- VpcFirewall stringId 
- 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.
- vpcFirewall StringId 
- 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.
- vpcFirewall stringId 
- 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_ strid 
- 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.
- vpcFirewall StringId 
- 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) -> FirewallVpcFirewallfunc 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)resources:  _:    type: alicloud:cloudfirewall:FirewallVpcFirewall    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.
- 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.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Local Vpc 
- The details of the local VPC. See local_vpcbelow.
- MemberUid string
- The UID of the Alibaba Cloud member account.
- PeerVpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Peer Vpc 
- The details of the peer VPC. See peer_vpcbelow.
- RegionStatus string
- The region is open.
- Status string
- The status of the resource. Valid values:
- VpcFirewall stringId 
- The ID of the VPC firewall instance.
- VpcFirewall stringName 
- 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 FirewallVpc Firewall Local Vpc Args 
- The details of the local VPC. See local_vpcbelow.
- MemberUid string
- The UID of the Alibaba Cloud member account.
- PeerVpc FirewallVpc Firewall Peer Vpc Args 
- The details of the peer VPC. See peer_vpcbelow.
- RegionStatus string
- The region is open.
- Status string
- The status of the resource. Valid values:
- VpcFirewall stringId 
- The ID of the VPC firewall instance.
- VpcFirewall stringName 
- 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 FirewallVpc Firewall Local Vpc 
- The details of the local VPC. See local_vpcbelow.
- memberUid String
- The UID of the Alibaba Cloud member account.
- peerVpc FirewallVpc Firewall Peer Vpc 
- The details of the peer VPC. See peer_vpcbelow.
- regionStatus String
- The region is open.
- status String
- The status of the resource. Valid values:
- vpcFirewall StringId 
- The ID of the VPC firewall instance.
- vpcFirewall StringName 
- 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 FirewallVpc Firewall Local Vpc 
- The details of the local VPC. See local_vpcbelow.
- memberUid string
- The UID of the Alibaba Cloud member account.
- peerVpc FirewallVpc Firewall Peer Vpc 
- The details of the peer VPC. See peer_vpcbelow.
- regionStatus string
- The region is open.
- status string
- The status of the resource. Valid values:
- vpcFirewall stringId 
- The ID of the VPC firewall instance.
- vpcFirewall stringName 
- 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 FirewallVpc Firewall Local Vpc Args 
- The details of the local VPC. See local_vpcbelow.
- member_uid str
- The UID of the Alibaba Cloud member account.
- peer_vpc FirewallVpc Firewall Peer Vpc Args 
- The details of the peer VPC. See peer_vpcbelow.
- region_status str
- The region is open.
- status str
- The status of the resource. Valid values:
- vpc_firewall_ strid 
- The ID of the VPC firewall instance.
- vpc_firewall_ strname 
- 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_vpcbelow.
- memberUid String
- The UID of the Alibaba Cloud member account.
- peerVpc Property Map
- The details of the peer VPC. See peer_vpcbelow.
- regionStatus String
- The region is open.
- status String
- The status of the resource. Valid values:
- vpcFirewall StringId 
- The ID of the VPC firewall instance.
- vpcFirewall StringName 
- The name of the VPC firewall instance.
Supporting Types
FirewallVpcFirewallLocalVpc, FirewallVpcFirewallLocalVpcArgs          
- LocalVpc List<Pulumi.Cidr Table Lists Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Local Vpc Local Vpc Cidr Table List> 
- The network segment list of the local VPC. See local_vpc_cidr_table_listbelow.
- 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.
- EniPrivate stringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- RouterInterface stringId 
- The ID of the router interface in the peer VPC.
- VpcName string
- The instance name of the peer VPC.
- LocalVpc []FirewallCidr Table Lists Vpc Firewall Local Vpc Local Vpc Cidr Table List 
- The network segment list of the local VPC. See local_vpc_cidr_table_listbelow.
- 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.
- EniPrivate stringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- RouterInterface stringId 
- The ID of the router interface in the peer VPC.
- VpcName string
- The instance name of the peer VPC.
- localVpc List<FirewallCidr Table Lists Vpc Firewall Local Vpc Local Vpc Cidr Table List> 
- The network segment list of the local VPC. See local_vpc_cidr_table_listbelow.
- 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.
- eniPrivate StringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- routerInterface StringId 
- The ID of the router interface in the peer VPC.
- vpcName String
- The instance name of the peer VPC.
- localVpc FirewallCidr Table Lists Vpc Firewall Local Vpc Local Vpc Cidr Table List[] 
- The network segment list of the local VPC. See local_vpc_cidr_table_listbelow.
- 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.
- eniPrivate stringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- routerInterface stringId 
- The ID of the router interface in the peer VPC.
- vpcName string
- The instance name of the peer VPC.
- local_vpc_ Sequence[Firewallcidr_ table_ lists Vpc Firewall Local Vpc Local Vpc Cidr Table List] 
- The network segment list of the local VPC. See local_vpc_cidr_table_listbelow.
- 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_ strip_ address 
- The private IP address of the elastic network card in the peer VPC.
- router_interface_ strid 
- The ID of the router interface in the peer VPC.
- vpc_name str
- The instance name of the peer VPC.
- localVpc List<Property Map>Cidr Table Lists 
- The network segment list of the local VPC. See local_vpc_cidr_table_listbelow.
- 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.
- eniPrivate StringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- routerInterface StringId 
- The ID of the router interface in the peer VPC.
- vpcName String
- The instance name of the peer VPC.
FirewallVpcFirewallLocalVpcLocalVpcCidrTableList, FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs                    
- LocalRoute List<Pulumi.Entry Lists Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Local Vpc Local Vpc Cidr Table List Local Route Entry List> 
- The list of route entries of the local VPC. See local_route_entry_listbelow.
- LocalRoute stringTable Id 
- The ID of the route table of the local VPC.
- LocalRoute []FirewallEntry Lists Vpc Firewall Local Vpc Local Vpc Cidr Table List Local Route Entry List 
- The list of route entries of the local VPC. See local_route_entry_listbelow.
- LocalRoute stringTable Id 
- The ID of the route table of the local VPC.
- localRoute List<FirewallEntry Lists Vpc Firewall Local Vpc Local Vpc Cidr Table List Local Route Entry List> 
- The list of route entries of the local VPC. See local_route_entry_listbelow.
- localRoute StringTable Id 
- The ID of the route table of the local VPC.
- localRoute FirewallEntry Lists Vpc Firewall Local Vpc Local Vpc Cidr Table List Local Route Entry List[] 
- The list of route entries of the local VPC. See local_route_entry_listbelow.
- localRoute stringTable Id 
- The ID of the route table of the local VPC.
- local_route_ Sequence[Firewallentry_ lists Vpc Firewall Local Vpc Local Vpc Cidr Table List Local Route Entry List] 
- The list of route entries of the local VPC. See local_route_entry_listbelow.
- local_route_ strtable_ id 
- The ID of the route table of the local VPC.
- localRoute List<Property Map>Entry Lists 
- The list of route entries of the local VPC. See local_route_entry_listbelow.
- localRoute StringTable Id 
- The ID of the route table of the local VPC.
FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList, FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs                            
- LocalDestination stringCidr 
- The target network segment of the local VPC.
- LocalNext stringHop Instance Id 
- The ID of the next-hop instance in the local VPC.
- LocalDestination stringCidr 
- The target network segment of the local VPC.
- LocalNext stringHop Instance Id 
- The ID of the next-hop instance in the local VPC.
- localDestination StringCidr 
- The target network segment of the local VPC.
- localNext StringHop Instance Id 
- The ID of the next-hop instance in the local VPC.
- localDestination stringCidr 
- The target network segment of the local VPC.
- localNext stringHop Instance Id 
- The ID of the next-hop instance in the local VPC.
- local_destination_ strcidr 
- The target network segment of the local VPC.
- local_next_ strhop_ instance_ id 
- The ID of the next-hop instance in the local VPC.
- localDestination StringCidr 
- The target network segment of the local VPC.
- localNext StringHop Instance Id 
- The ID of the next-hop instance in the local VPC.
FirewallVpcFirewallPeerVpc, FirewallVpcFirewallPeerVpcArgs          
- PeerVpc List<Pulumi.Cidr Table Lists Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Peer Vpc Peer Vpc Cidr Table List> 
- The network segment list of the peer VPC. See peer_vpc_cidr_table_listbelow.
- 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.
- EniPrivate stringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- RouterInterface stringId 
- The ID of the router interface in the peer VPC.
- VpcName string
- The instance name of the peer VPC.
- PeerVpc []FirewallCidr Table Lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List 
- The network segment list of the peer VPC. See peer_vpc_cidr_table_listbelow.
- 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.
- EniPrivate stringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- RouterInterface stringId 
- The ID of the router interface in the peer VPC.
- VpcName string
- The instance name of the peer VPC.
- peerVpc List<FirewallCidr Table Lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List> 
- The network segment list of the peer VPC. See peer_vpc_cidr_table_listbelow.
- 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.
- eniPrivate StringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- routerInterface StringId 
- The ID of the router interface in the peer VPC.
- vpcName String
- The instance name of the peer VPC.
- peerVpc FirewallCidr Table Lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List[] 
- The network segment list of the peer VPC. See peer_vpc_cidr_table_listbelow.
- 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.
- eniPrivate stringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- routerInterface stringId 
- The ID of the router interface in the peer VPC.
- vpcName string
- The instance name of the peer VPC.
- peer_vpc_ Sequence[Firewallcidr_ table_ lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List] 
- The network segment list of the peer VPC. See peer_vpc_cidr_table_listbelow.
- 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_ strip_ address 
- The private IP address of the elastic network card in the peer VPC.
- router_interface_ strid 
- The ID of the router interface in the peer VPC.
- vpc_name str
- The instance name of the peer VPC.
- peerVpc List<Property Map>Cidr Table Lists 
- The network segment list of the peer VPC. See peer_vpc_cidr_table_listbelow.
- 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.
- eniPrivate StringIp Address 
- The private IP address of the elastic network card in the peer VPC.
- routerInterface StringId 
- The ID of the router interface in the peer VPC.
- vpcName String
- The instance name of the peer VPC.
FirewallVpcFirewallPeerVpcPeerVpcCidrTableList, FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs                    
- PeerRoute List<Pulumi.Entry Lists Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Peer Vpc Peer Vpc Cidr Table List Peer Route Entry List> 
- Peer VPC route entry list information. See peer_route_entry_listbelow.
- PeerRoute stringTable Id 
- The ID of the route table of the peer VPC.
- PeerRoute []FirewallEntry Lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List Peer Route Entry List 
- Peer VPC route entry list information. See peer_route_entry_listbelow.
- PeerRoute stringTable Id 
- The ID of the route table of the peer VPC.
- peerRoute List<FirewallEntry Lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List Peer Route Entry List> 
- Peer VPC route entry list information. See peer_route_entry_listbelow.
- peerRoute StringTable Id 
- The ID of the route table of the peer VPC.
- peerRoute FirewallEntry Lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List Peer Route Entry List[] 
- Peer VPC route entry list information. See peer_route_entry_listbelow.
- peerRoute stringTable Id 
- The ID of the route table of the peer VPC.
- peer_route_ Sequence[Firewallentry_ lists Vpc Firewall Peer Vpc Peer Vpc Cidr Table List Peer Route Entry List] 
- Peer VPC route entry list information. See peer_route_entry_listbelow.
- peer_route_ strtable_ id 
- The ID of the route table of the peer VPC.
- peerRoute List<Property Map>Entry Lists 
- Peer VPC route entry list information. See peer_route_entry_listbelow.
- peerRoute StringTable Id 
- The ID of the route table of the peer VPC.
FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList, FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs                            
- PeerDestination stringCidr 
- The target network segment of the peer VPC.
- PeerNext stringHop Instance Id 
- The ID of the next-hop instance in the peer VPC.
- PeerDestination stringCidr 
- The target network segment of the peer VPC.
- PeerNext stringHop Instance Id 
- The ID of the next-hop instance in the peer VPC.
- peerDestination StringCidr 
- The target network segment of the peer VPC.
- peerNext StringHop Instance Id 
- The ID of the next-hop instance in the peer VPC.
- peerDestination stringCidr 
- The target network segment of the peer VPC.
- peerNext stringHop Instance Id 
- The ID of the next-hop instance in the peer VPC.
- peer_destination_ strcidr 
- The target network segment of the peer VPC.
- peer_next_ strhop_ instance_ id 
- The ID of the next-hop instance in the peer VPC.
- peerDestination StringCidr 
- The target network segment of the peer VPC.
- peerNext StringHop Instance Id 
- 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>
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 alicloudTerraform Provider.
