SecurityGroupCloneProps
Properties for defining a SecurityGroupClone.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new SecurityGroupCloneProps {
object SourceSecurityGroupId,
object Description = null,
object DestinationRegionId = null,
object NetworkType = null,
object ResourceGroupId = null,
object SecurityGroupName = null,
object SecurityGroupType = null,
object VpcId = null
};
Properties
| Name | Type | Description |
|---|---|---|
SourceSecurityGroupId |
object |
Property sourceSecurityGroupId: Source security group ID is used to copy properties to clone new security group. |
Description |
object |
Property description: Description of the security group, [2, 256] characters. |
DestinationRegionId |
object |
Property destinationRegionId: Clone security group to the specified region. |
NetworkType |
object |
Property networkType: Clone new security group as classic network type. |
ResourceGroupId |
object |
Property resourceGroupId: Resource group id. |
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. |
VpcId |
object |
Property vpcId: Physical ID of the VPC. |
SourceSecurityGroupIdRequired
public object SourceSecurityGroupId { get; set; }
- Type: object
Property sourceSecurityGroupId: Source security group ID is used to copy properties to clone new security group.
If the NetworkType and VpcId is not specified, the same security group will be cloned. If NetworkType or VpcId is specified, only proper security group rules will be cloned.
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.
DestinationRegionIdOptional
public object DestinationRegionId { get; set; }
- Type: object
Property destinationRegionId: Clone security group to the specified region.
Default to current region.
NetworkTypeOptional
public object NetworkType { get; set; }
- Type: object
Property networkType: Clone new security group as classic network type.
If the VpcId is specified, the value will be ignored.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
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
VpcIdOptional
public object VpcId { get; set; }
- Type: object
Property vpcId: Physical ID of the VPC.