alicloud.cloudfirewall.FirewallVpcFirewall
Explore with Pulumi AI
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=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")
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
})
}
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();
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());
}
}
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=alicloud.cloudfirewall.FirewallVpcFirewallLocalVpcArgs(
local_vpc_cidr_table_lists=[alicloud.cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs(
local_route_entry_lists=[alicloud.cloudfirewall.FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs(
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=alicloud.cloudfirewall.FirewallVpcFirewallPeerVpcArgs(
peer_vpc_cidr_table_lists=[alicloud.cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs(
peer_route_entry_lists=[alicloud.cloudfirewall.FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs(
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
The FirewallVpcFirewall resource accepts the following input properties:
- Local
Vpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Local Vpc - The details of the local VPC. See
local_vpc
below. - Peer
Vpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Peer Vpc - The details of the peer VPC. See
peer_vpc
below. - Status string
- The status of the resource. Valid values:
- Vpc
Firewall stringName - The name of the VPC firewall instance.
- Lang string
- The language type of the requested and received messages. Valid values:
- Member
Uid string - The UID of the Alibaba Cloud member account.
- Local
Vpc FirewallVpc Firewall Local Vpc Args - The details of the local VPC. See
local_vpc
below. - Peer
Vpc FirewallVpc Firewall Peer Vpc Args - The details of the peer VPC. See
peer_vpc
below. - Status string
- The status of the resource. Valid values:
- Vpc
Firewall stringName - The name of the VPC firewall instance.
- Lang string
- The language type of the requested and received messages. Valid values:
- Member
Uid string - The UID of the Alibaba Cloud member account.
- local
Vpc FirewallVpc Firewall Local Vpc - The details of the local VPC. See
local_vpc
below. - peer
Vpc FirewallVpc Firewall Peer Vpc - The details of the peer VPC. See
peer_vpc
below. - status String
- The status of the resource. Valid values:
- vpc
Firewall StringName - The name of the VPC firewall instance.
- lang String
- The language type of the requested and received messages. Valid values:
- member
Uid String - The UID of the Alibaba Cloud member account.
- local
Vpc FirewallVpc Firewall Local Vpc - The details of the local VPC. See
local_vpc
below. - peer
Vpc FirewallVpc Firewall Peer Vpc - The details of the peer VPC. See
peer_vpc
below. - status string
- The status of the resource. Valid values:
- vpc
Firewall stringName - The name of the VPC firewall instance.
- lang string
- The language type of the requested and received messages. Valid values:
- member
Uid string - The UID of the Alibaba Cloud member account.
- local_
vpc FirewallVpc Firewall Local Vpc Args - The details of the local VPC. See
local_vpc
below. - peer_
vpc FirewallVpc Firewall Peer Vpc Args - The details of the peer VPC. See
peer_vpc
below. - 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.
- local
Vpc Property Map - The details of the local VPC. See
local_vpc
below. - peer
Vpc Property Map - The details of the peer VPC. See
peer_vpc
below. - status String
- The status of the resource. Valid values:
- vpc
Firewall StringName - The name of the VPC firewall instance.
- lang String
- The language type of the requested and received messages. Valid values:
- member
Uid 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.
- Connect
Type string - The communication type of the VPC firewall.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Status string - The region is open.
- Vpc
Firewall stringId - The ID of the VPC firewall instance.
- Bandwidth int
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- Connect
Type string - The communication type of the VPC firewall.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Status string - The region is open.
- Vpc
Firewall stringId - The ID of the VPC firewall instance.
- bandwidth Integer
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- connect
Type String - The communication type of the VPC firewall.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Status String - The region is open.
- vpc
Firewall StringId - The ID of the VPC firewall instance.
- bandwidth number
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- connect
Type string - The communication type of the VPC firewall.
- id string
- The provider-assigned unique ID for this managed resource.
- region
Status string - The region is open.
- vpc
Firewall 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.
- connect
Type String - The communication type of the VPC firewall.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Status String - The region is open.
- vpc
Firewall 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) -> 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.
- Bandwidth int
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- Connect
Type string - The communication type of the VPC firewall.
- Lang string
- The language type of the requested and received messages. Valid values:
- Local
Vpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Local Vpc - The details of the local VPC. See
local_vpc
below. - Member
Uid string - The UID of the Alibaba Cloud member account.
- Peer
Vpc Pulumi.Ali Cloud. Cloud Firewall. Inputs. Firewall Vpc Firewall Peer Vpc - The details of the peer VPC. See
peer_vpc
below. - Region
Status string - The region is open.
- Status string
- The status of the resource. Valid values:
- Vpc
Firewall stringId - The ID of the VPC firewall instance.
- Vpc
Firewall stringName - The name of the VPC firewall instance.
- Bandwidth int
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- Connect
Type string - The communication type of the VPC firewall.
- Lang string
- 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_vpc
below. - Member
Uid string - The UID of the Alibaba Cloud member account.
- Peer
Vpc FirewallVpc Firewall Peer Vpc Args - The details of the peer VPC. See
peer_vpc
below. - Region
Status string - The region is open.
- Status string
- The status of the resource. Valid values:
- Vpc
Firewall stringId - The ID of the VPC firewall instance.
- Vpc
Firewall stringName - The name of the VPC firewall instance.
- bandwidth Integer
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- connect
Type String - The communication type of the VPC firewall.
- lang String
- The language type of the requested and received messages. Valid values:
- local
Vpc FirewallVpc Firewall Local Vpc - The details of the local VPC. See
local_vpc
below. - member
Uid String - The UID of the Alibaba Cloud member account.
- peer
Vpc FirewallVpc Firewall Peer Vpc - The details of the peer VPC. See
peer_vpc
below. - region
Status String - The region is open.
- status String
- The status of the resource. Valid values:
- vpc
Firewall StringId - The ID of the VPC firewall instance.
- vpc
Firewall StringName - The name of the VPC firewall instance.
- bandwidth number
- Bandwidth specifications for high-speed channels. Unit: Mbps.
- connect
Type string - The communication type of the VPC firewall.
- lang string
- The language type of the requested and received messages. Valid values:
- local
Vpc FirewallVpc Firewall Local Vpc - The details of the local VPC. See
local_vpc
below. - member
Uid string - The UID of the Alibaba Cloud member account.
- peer
Vpc FirewallVpc Firewall Peer Vpc - The details of the peer VPC. See
peer_vpc
below. - region
Status string - The region is open.
- status string
- The status of the resource. Valid values:
- vpc
Firewall stringId - The ID of the VPC firewall instance.
- vpc
Firewall 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_vpc
below. - 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_vpc
below. - 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.
- connect
Type String - The communication type of the VPC firewall.
- lang String
- The language type of the requested and received messages. Valid values:
- local
Vpc Property Map - The details of the local VPC. See
local_vpc
below. - member
Uid String - The UID of the Alibaba Cloud member account.
- peer
Vpc Property Map - The details of the peer VPC. See
peer_vpc
below. - region
Status String - The region is open.
- status String
- The status of the resource. Valid values:
- vpc
Firewall StringId - The ID of the VPC firewall instance.
- vpc
Firewall StringName - The name of the VPC firewall instance.
Supporting Types
FirewallVpcFirewallLocalVpc, FirewallVpcFirewallLocalVpcArgs
- Local
Vpc 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_list
below. - Region
No string - The region ID of the local VPC.
- Vpc
Id string - The ID of the local VPC instance.
- Eni
Id string - The ID of the instance of the ENI in the peer VPC.
- Eni
Private stringIp Address - The private IP address of the elastic network card in the peer VPC.
- Router
Interface stringId - The ID of the router interface in the peer VPC.
- Vpc
Name string - The instance name of the peer VPC.
- Local
Vpc []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_list
below. - Region
No string - The region ID of the local VPC.
- Vpc
Id string - The ID of the local VPC instance.
- Eni
Id string - The ID of the instance of the ENI in the peer VPC.
- Eni
Private stringIp Address - The private IP address of the elastic network card in the peer VPC.
- Router
Interface stringId - The ID of the router interface in the peer VPC.
- Vpc
Name string - The instance name of the peer VPC.
- local
Vpc 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_list
below. - region
No String - The region ID of the local VPC.
- vpc
Id String - The ID of the local VPC instance.
- eni
Id String - The ID of the instance of the ENI in the peer VPC.
- eni
Private StringIp Address - The private IP address of the elastic network card in the peer VPC.
- router
Interface StringId - The ID of the router interface in the peer VPC.
- vpc
Name String - The instance name of the peer VPC.
- local
Vpc 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_list
below. - region
No string - The region ID of the local VPC.
- vpc
Id string - The ID of the local VPC instance.
- eni
Id string - The ID of the instance of the ENI in the peer VPC.
- eni
Private stringIp Address - The private IP address of the elastic network card in the peer VPC.
- router
Interface stringId - The ID of the router interface in the peer VPC.
- vpc
Name 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_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_ 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.
- local
Vpc List<Property Map>Cidr Table Lists - The network segment list of the local VPC. See
local_vpc_cidr_table_list
below. - region
No String - The region ID of the local VPC.
- vpc
Id String - The ID of the local VPC instance.
- eni
Id String - The ID of the instance of the ENI in the peer VPC.
- eni
Private StringIp Address - The private IP address of the elastic network card in the peer VPC.
- router
Interface StringId - The ID of the router interface in the peer VPC.
- vpc
Name String - The instance name of the peer VPC.
FirewallVpcFirewallLocalVpcLocalVpcCidrTableList, FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs
FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryList, FirewallVpcFirewallLocalVpcLocalVpcCidrTableListLocalRouteEntryListArgs
- Local
Destination stringCidr - Local
Next stringHop Instance Id
- Local
Destination stringCidr - Local
Next stringHop Instance Id
- local
Destination StringCidr - local
Next StringHop Instance Id
- local
Destination stringCidr - local
Next stringHop Instance Id
- local
Destination StringCidr - local
Next StringHop Instance Id
FirewallVpcFirewallPeerVpc, FirewallVpcFirewallPeerVpcArgs
- Peer
Vpc 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_list
below. - Region
No string - The region ID of the peer VPC.
- Vpc
Id string - The ID of the peer VPC instance.
- Eni
Id string - The ID of the instance of the ENI in the peer VPC.
- Eni
Private stringIp Address - The private IP address of the elastic network card in the peer VPC.
- Router
Interface stringId - The ID of the router interface in the peer VPC.
- Vpc
Name string - The instance name of the peer VPC.
- Peer
Vpc []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_list
below. - Region
No string - The region ID of the peer VPC.
- Vpc
Id string - The ID of the peer VPC instance.
- Eni
Id string - The ID of the instance of the ENI in the peer VPC.
- Eni
Private stringIp Address - The private IP address of the elastic network card in the peer VPC.
- Router
Interface stringId - The ID of the router interface in the peer VPC.
- Vpc
Name string - The instance name of the peer VPC.
- peer
Vpc 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_list
below. - region
No String - The region ID of the peer VPC.
- vpc
Id String - The ID of the peer VPC instance.
- eni
Id String - The ID of the instance of the ENI in the peer VPC.
- eni
Private StringIp Address - The private IP address of the elastic network card in the peer VPC.
- router
Interface StringId - The ID of the router interface in the peer VPC.
- vpc
Name String - The instance name of the peer VPC.
- peer
Vpc 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_list
below. - region
No string - The region ID of the peer VPC.
- vpc
Id string - The ID of the peer VPC instance.
- eni
Id string - The ID of the instance of the ENI in the peer VPC.
- eni
Private stringIp Address - The private IP address of the elastic network card in the peer VPC.
- router
Interface stringId - The ID of the router interface in the peer VPC.
- vpc
Name 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_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_ 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.
- peer
Vpc List<Property Map>Cidr Table Lists - The network segment list of the peer VPC. See
peer_vpc_cidr_table_list
below. - region
No String - The region ID of the peer VPC.
- vpc
Id String - The ID of the peer VPC instance.
- eni
Id String - The ID of the instance of the ENI in the peer VPC.
- eni
Private StringIp Address - The private IP address of the elastic network card in the peer VPC.
- router
Interface StringId - The ID of the router interface in the peer VPC.
- vpc
Name String - The instance name of the peer VPC.
FirewallVpcFirewallPeerVpcPeerVpcCidrTableList, FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs
FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryList, FirewallVpcFirewallPeerVpcPeerVpcCidrTableListPeerRouteEntryListArgs
- Peer
Destination stringCidr - Peer
Next stringHop Instance Id
- Peer
Destination stringCidr - Peer
Next stringHop Instance Id
- peer
Destination StringCidr - peer
Next StringHop Instance Id
- peer
Destination stringCidr - peer
Next stringHop Instance Id
- peer
Destination StringCidr - peer
Next StringHop Instance Id
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
alicloud
Terraform Provider.