Skip to content

SecurityGroupProps

Properties for defining a SecurityGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-securitygroup

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ens;
new SecurityGroupProps {
    object Description = null,
    object SecurityGroupEgress = null,
    object SecurityGroupIngress = null,
    object SecurityGroupName = null
};

Properties

Name Type Description
Description object Property description: The description of the security group.
SecurityGroupEgress object Property securityGroupEgress: egress rules for the security group.
SecurityGroupIngress object Property securityGroupIngress: Ingress rules for the security group.
SecurityGroupName object Property securityGroupName: The name of the security group.

DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the security group.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


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: The name of the security group.

The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-). By default, this parameter is empty.