SecurityGroupCloneProps
Properties for defining a SecurityGroupClone
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-securitygroupclone
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.SecurityGroupCloneProps {
SourceSecurityGroupId: interface{},
Description: interface{},
DestinationRegionId: interface{},
NetworkType: interface{},
ResourceGroupId: interface{},
SecurityGroupName: interface{},
SecurityGroupType: interface{},
VpcId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
SourceSecurityGroupId |
interface{} |
Property sourceSecurityGroupId: Source security group ID is used to copy properties to clone new security group. |
Description |
interface{} |
Property description: Description of the security group, [2, 256] characters. |
DestinationRegionId |
interface{} |
Property destinationRegionId: Clone security group to the specified region. |
NetworkType |
interface{} |
Property networkType: Clone new security group as classic network type. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
SecurityGroupName |
interface{} |
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 |
interface{} |
Property securityGroupType: The type of the security group. |
VpcId |
interface{} |
Property vpcId: Physical ID of the VPC. |
SourceSecurityGroupId
Required
SourceSecurityGroupId interface{}
- Type: interface{}
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.
Description
Optional
Description interface{}
- Type: interface{}
Property description: Description of the security group, [2, 256] characters.
Do not fill or empty, the default is empty.
DestinationRegionId
Optional
DestinationRegionId interface{}
- Type: interface{}
Property destinationRegionId: Clone security group to the specified region.
Default to current region.
NetworkType
Optional
NetworkType interface{}
- Type: interface{}
Property networkType: Clone new security group as classic network type.
If the VpcId is specified, the value will be ignored.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
SecurityGroupName
Optional
SecurityGroupName interface{}
- Type: interface{}
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
SecurityGroupType interface{}
- Type: interface{}
Property securityGroupType: The type of the security group.
Valid values: normal: basic security group enterprise: advanced security group
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: Physical ID of the VPC.