FirewallVpcFirewallCenArgs

data class FirewallVpcFirewallCenArgs(val cenId: Output<String>? = null, val lang: Output<String>? = null, val localVpc: Output<FirewallVpcFirewallCenLocalVpcArgs>? = null, val memberUid: Output<String>? = null, val status: Output<String>? = null, val vpcFirewallName: Output<String>? = null, val vpcRegion: Output<String>? = null) : ConvertibleToJava<FirewallVpcFirewallCenArgs>

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

NOTE: Available since v1.194.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
// These resource primary keys should be replaced with your actual values.
const _default = new alicloud.cloudfirewall.FirewallVpcFirewallCen("default", {
cenId: "cen-xxx",
localVpc: {
networkInstanceId: "vpc-xxx",
},
status: "open",
memberUid: "14151*****827022",
vpcRegion: "cn-hangzhou",
vpcFirewallName: "tf-vpc-firewall-name",
});
import pulumi
import pulumi_alicloud as alicloud
# These resource primary keys should be replaced with your actual values.
default = alicloud.cloudfirewall.FirewallVpcFirewallCen("default",
cen_id="cen-xxx",
local_vpc={
"network_instance_id": "vpc-xxx",
},
status="open",
member_uid="14151*****827022",
vpc_region="cn-hangzhou",
vpc_firewall_name="tf-vpc-firewall-name")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
// These resource primary keys should be replaced with your actual values.
var @default = new AliCloud.CloudFirewall.FirewallVpcFirewallCen("default", new()
{
CenId = "cen-xxx",
LocalVpc = new AliCloud.CloudFirewall.Inputs.FirewallVpcFirewallCenLocalVpcArgs
{
NetworkInstanceId = "vpc-xxx",
},
Status = "open",
MemberUid = "14151*****827022",
VpcRegion = "cn-hangzhou",
VpcFirewallName = "tf-vpc-firewall-name",
});
});
package main
import (
"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 {
// These resource primary keys should be replaced with your actual values.
_, err := cloudfirewall.NewFirewallVpcFirewallCen(ctx, "default", &cloudfirewall.FirewallVpcFirewallCenArgs{
CenId: pulumi.String("cen-xxx"),
LocalVpc: &cloudfirewall.FirewallVpcFirewallCenLocalVpcArgs{
NetworkInstanceId: pulumi.String("vpc-xxx"),
},
Status: pulumi.String("open"),
MemberUid: pulumi.String("14151*****827022"),
VpcRegion: pulumi.String("cn-hangzhou"),
VpcFirewallName: pulumi.String("tf-vpc-firewall-name"),
})
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.cloudfirewall.FirewallVpcFirewallCen;
import com.pulumi.alicloud.cloudfirewall.FirewallVpcFirewallCenArgs;
import com.pulumi.alicloud.cloudfirewall.inputs.FirewallVpcFirewallCenLocalVpcArgs;
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) {
// These resource primary keys should be replaced with your actual values.
var default_ = new FirewallVpcFirewallCen("default", FirewallVpcFirewallCenArgs.builder()
.cenId("cen-xxx")
.localVpc(FirewallVpcFirewallCenLocalVpcArgs.builder()
.networkInstanceId("vpc-xxx")
.build())
.status("open")
.memberUid("14151*****827022")
.vpcRegion("cn-hangzhou")
.vpcFirewallName("tf-vpc-firewall-name")
.build());
}
}
resources:
# These resource primary keys should be replaced with your actual values.
default:
type: alicloud:cloudfirewall:FirewallVpcFirewallCen
properties:
cenId: cen-xxx
localVpc:
networkInstanceId: vpc-xxx
status: open
memberUid: 14151*****827022
vpcRegion: cn-hangzhou
vpcFirewallName: tf-vpc-firewall-name

Import

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

$ pulumi import alicloud:cloudfirewall/firewallVpcFirewallCen:FirewallVpcFirewallCen example <id>

Constructors

Link copied to clipboard
constructor(cenId: Output<String>? = null, lang: Output<String>? = null, localVpc: Output<FirewallVpcFirewallCenLocalVpcArgs>? = null, memberUid: Output<String>? = null, status: Output<String>? = null, vpcFirewallName: Output<String>? = null, vpcRegion: Output<String>? = null)

Properties

Link copied to clipboard
val cenId: Output<String>? = null

The ID of the CEN instance.

Link copied to clipboard
val lang: Output<String>? = null

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

Link copied to clipboard

The details of the VPC. See local_vpc below.

Link copied to clipboard
val memberUid: Output<String>? = null

The UID of the member account (other Alibaba Cloud account) of the current Alibaba cloud account.

Link copied to clipboard
val status: Output<String>? = null

Firewall switch status.

Link copied to clipboard
val vpcFirewallName: Output<String>? = null

The name of the VPC firewall instance.

Link copied to clipboard
val vpcRegion: Output<String>? = null

The ID of the region to which the VPC is created.

Functions

Link copied to clipboard
open override fun toJava(): FirewallVpcFirewallCenArgs