VpcFirewallCenProps
Properties for defining a VpcFirewallCen
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudfw-vpcfirewallcen
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cloudfw;
new VpcFirewallCenProps {
object CenId,
object FirewallSwitch,
object FirewallVpcZoneId,
object NetworkInstanceId,
object VpcFirewallName,
object VpcRegion,
object FirewallVpcCidrBlock = null,
object FirewallVSwitchCidrBlock = null,
object MemberUid = null,
object VSwitchId = null
};
Properties
Name | Type | Description |
---|---|---|
CenId |
object |
Property cenId: The ID of the CEN instance. |
FirewallSwitch |
object |
Property firewallSwitch: Specifies whether to enable the VPC firewall. |
FirewallVpcZoneId |
object |
Property firewallVpcZoneId: The ID of the zone to which the vSwitch belongs. |
NetworkInstanceId |
object |
Property networkInstanceId: The ID of the VPC for which you want to create the VPC firewall. |
VpcFirewallName |
object |
Property vpcFirewallName: The instance name of the VPC firewall. |
VpcRegion |
object |
Property vpcRegion: The ID of the region to which the VPC belongs. |
FirewallVpcCidrBlock |
object |
Property firewallVpcCidrBlock: The CIDR block of the VPC that is automatically created for the VPC firewall. |
FirewallVSwitchCidrBlock |
object |
Property firewallVSwitchCidrBlock: The CIDR block of the vSwitch that is automatically created for the VPC firewall.You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.If you do not specify a value, the CIDR block 10.219.219.216\/29 is automatically allocated. |
MemberUid |
object |
Property memberUid: The UID of the member that is managed by your Alibaba Cloud account. |
VSwitchId |
object |
Property vSwitchId: The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall. |
CenId
Required
public object CenId { get; set; }
- Type: object
Property cenId: The ID of the CEN instance.
FirewallSwitch
Required
public object FirewallSwitch { get; set; }
- Type: object
Property firewallSwitch: Specifies whether to enable the VPC firewall.
Valid values: open: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value. close: After you create the VPC firewall, the VPC firewall is disabled. You can call the ModifyVpcFirewallCenSwitchStatus operation to manually enable the VPC firewall.
FirewallVpcZoneId
Required
public object FirewallVpcZoneId { get; set; }
- Type: object
Property firewallVpcZoneId: The ID of the zone to which the vSwitch belongs.
If your service is latency-sensitive, you can specify the same zone for the vSwitch of the firewall and the vSwitch of your business VPC to minimize latency.If you do not specify a value, a zone is automatically assigned for the vSwitch.
NetworkInstanceId
Required
public object NetworkInstanceId { get; set; }
- Type: object
Property networkInstanceId: The ID of the VPC for which you want to create the VPC firewall.
VpcFirewallName
Required
public object VpcFirewallName { get; set; }
- Type: object
Property vpcFirewallName: The instance name of the VPC firewall.
VpcRegion
Required
public object VpcRegion { get; set; }
- Type: object
Property vpcRegion: The ID of the region to which the VPC belongs.
FirewallVpcCidrBlock
Optional
public object FirewallVpcCidrBlock { get; set; }
- Type: object
Property firewallVpcCidrBlock: The CIDR block of the VPC that is automatically created for the VPC firewall.
You must specify a CIDR block for the Cloud_Firewall_VPC VPC that is automatically created for the VPC firewall for traffic redirection. The subnet mask of the CIDR block must be less than or equal to 28 bits in length.If you do not specify a value, the CIDR block 10.0.0.0/8 is automatically allocated.
FirewallVSwitchCidrBlock
Optional
public object FirewallVSwitchCidrBlock { get; set; }
- Type: object
Property firewallVSwitchCidrBlock: The CIDR block of the vSwitch that is automatically created for the VPC firewall.You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.If you do not specify a value, the CIDR block 10.219.219.216\/29 is automatically allocated.
MemberUid
Optional
public object MemberUid { get; set; }
- Type: object
Property memberUid: The UID of the member that is managed by your Alibaba Cloud account.
VSwitchId
Optional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall.