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. |
DescriptionOptional
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.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
SecurityGroupEgressOptional
public object SecurityGroupEgress { get; set; }
- Type: object
Property securityGroupEgress: egress rules for the security group.
SecurityGroupIngressOptional
public object SecurityGroupIngress { get; set; }
- Type: object
Property securityGroupIngress: Ingress rules for the security group.
SecurityGroupNameOptional
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 '.', '-'.
SecurityGroupTypeOptional
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
TagsOptional
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.
VpcIdOptional
public object VpcId { get; set; }
- Type: object
Property vpcId: Physical ID of the VPC.