Skip to content

SecurityGroupsProps

Properties for defining a SecurityGroups.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-securitygroups

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new SecurityGroupsProps {
    object NetworkType = null,
    object RefreshOptions = null,
    object ResourceGroupId = null,
    object SecurityGroupId = null,
    object SecurityGroupIds = null,
    object SecurityGroupName = null,
    object SecurityGroupType = null,
    TagsProperty[] Tags = null,
    object VpcId = null
};

Properties

Name Type Description
NetworkType object Property networkType: The network type of the security group.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
ResourceGroupId object Property resourceGroupId: The ID of the resource group to which the instance belongs.
SecurityGroupId object Property securityGroupId: The ID of the security group.
SecurityGroupIds object Property securityGroupIds: The IDs of security groups.
SecurityGroupName object Property securityGroupName: The name of the security group.
SecurityGroupType object Property securityGroupType: The type of the security group.
Tags AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosSecurityGroups.TagsProperty[] Property tags: Tags of securitygroup.
VpcId object Property vpcId: The ID of the virtual private cloud (VPC) to which the security group belongs.

NetworkTypeOptional

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

Property networkType: The network type of the security group.

Valid values: vpc classic


RefreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

ResourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group to which the instance belongs.

If this parameter is specified to query resources,up to 1,000 resources that belong to the specified resource group can be displayed in the response.


SecurityGroupIdOptional

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

Property securityGroupId: The ID of the security group.


SecurityGroupIdsOptional

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

Property securityGroupIds: The IDs of security groups.

The value is a JSON array that consists of up to 100 security group IDs. Separate multiple security group IDs with commas (,).


SecurityGroupNameOptional

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

Property securityGroupName: The name of the security group.


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 Note If you do not specify this parameter, both basic and advanced security groups are queried.


TagsOptional

public TagsProperty[] Tags { get; set; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosSecurityGroups.TagsProperty[]

Property tags: Tags of securitygroup.


VpcIdOptional

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

Property vpcId: The ID of the virtual private cloud (VPC) to which the security group belongs.