SecurityGroupProps
Properties for defining a SecurityGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroup
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new SecurityGroupProps {
object Description = null,
object ResourceGroupId = null,
object SecurityGroupEgress = null,
object SecurityGroupIngress = null,
object SecurityGroupName = null,
object SecurityGroupType = null,
TagsProperty[] Tags = null,
object VpcId = null
};
Properties
Name | Type | Description |
---|---|---|
Description |
object |
Property description: Description of the security group, [2, 256] characters. |
ResourceGroupId |
object |
Property resourceGroupId: Resource group id. |
SecurityGroupEgress |
object |
Property securityGroupEgress: egress rules for the security group. |
SecurityGroupIngress |
object |
Property securityGroupIngress: Ingress rules for the security group. |
SecurityGroupName |
object |
Property securityGroupName: Display name of the security group, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. |
SecurityGroupType |
object |
Property securityGroupType: The type of the security group. |
Tags |
TagsProperty[] |
Property tags: Tags to attach to security group. |
VpcId |
object |
Property vpcId: Physical ID of the VPC. |
Description
Optional
public object Description { get; set; }
- Type: object
Property description: Description of the security group, [2, 256] characters.
Do not fill or empty, the default is empty.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
SecurityGroupEgress
Optional
public object SecurityGroupEgress { get; set; }
- Type: object
Property securityGroupEgress: egress rules for the security group.
SecurityGroupIngress
Optional
public object SecurityGroupIngress { get; set; }
- Type: object
Property securityGroupIngress: Ingress rules for the security group.
SecurityGroupName
Optional
public object SecurityGroupName { get; set; }
- Type: object
Property securityGroupName: Display name of the security group, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
SecurityGroupType
Optional
public object SecurityGroupType { get; set; }
- Type: object
Property securityGroupType: The type of the security group.
Valid values: normal: basic security group enterprise: advanced security group
Tags
Optional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to security group.
Max support 20 tags to add during create security group. Each tag with two properties Key and Value, and Key is required.
VpcId
Optional
public object VpcId { get; set; }
- Type: object
Property vpcId: Physical ID of the VPC.