1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. vpc
  6. getSecurityGroup
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Data Source schema for Volcengine::VPC::SecurityGroup

    Using getSecurityGroup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSecurityGroup(args: GetSecurityGroupArgs, opts?: InvokeOptions): Promise<GetSecurityGroupResult>
    function getSecurityGroupOutput(args: GetSecurityGroupOutputArgs, opts?: InvokeOptions): Output<GetSecurityGroupResult>
    def get_security_group(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSecurityGroupResult
    def get_security_group_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSecurityGroupResult]
    func LookupSecurityGroup(ctx *Context, args *LookupSecurityGroupArgs, opts ...InvokeOption) (*LookupSecurityGroupResult, error)
    func LookupSecurityGroupOutput(ctx *Context, args *LookupSecurityGroupOutputArgs, opts ...InvokeOption) LookupSecurityGroupResultOutput

    > Note: This function is named LookupSecurityGroup in the Go SDK.

    public static class GetSecurityGroup 
    {
        public static Task<GetSecurityGroupResult> InvokeAsync(GetSecurityGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetSecurityGroupResult> Invoke(GetSecurityGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecurityGroupResult> getSecurityGroup(GetSecurityGroupArgs args, InvokeOptions options)
    public static Output<GetSecurityGroupResult> getSecurityGroup(GetSecurityGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:vpc/getSecurityGroup:getSecurityGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getSecurityGroup Result

    The following output properties are available:

    CreationTime string
    Security group creation time
    Description string
    Description of the security group. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). If not specified, defaults to an empty string
    EgressPermissions List<Volcengine.GetSecurityGroupEgressPermission>
    Description for outbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    Id string
    Uniquely identifies the resource.
    IngressPermissions List<Volcengine.GetSecurityGroupIngressPermission>
    Description for inbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    ProjectName string
    Project name to which the security group belongs. Default project is 'default' if not specified
    SecurityGroupId string
    Security group ID
    SecurityGroupName string
    Security group name. Length: 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Default is security group ID if not specified
    ServiceManaged bool
    Indicates whether the security group is managed. true means managed security group, false means unmanaged security group
    Status string
    Security group status. Available means available for use, Creating means being created
    Tags List<Volcengine.GetSecurityGroupTag>
    Tag list
    Type string
    Security group type. 1. default: default security group. 2. normal: custom security group. 3. VpnGW: VPN gateway security group. 4. NatGW: NAT gateway security group. 5. cidr_only: CIDR-Only security group
    VpcId string
    VPC ID to which the security group belongs
    CreationTime string
    Security group creation time
    Description string
    Description of the security group. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). If not specified, defaults to an empty string
    EgressPermissions []GetSecurityGroupEgressPermission
    Description for outbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    Id string
    Uniquely identifies the resource.
    IngressPermissions []GetSecurityGroupIngressPermission
    Description for inbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    ProjectName string
    Project name to which the security group belongs. Default project is 'default' if not specified
    SecurityGroupId string
    Security group ID
    SecurityGroupName string
    Security group name. Length: 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Default is security group ID if not specified
    ServiceManaged bool
    Indicates whether the security group is managed. true means managed security group, false means unmanaged security group
    Status string
    Security group status. Available means available for use, Creating means being created
    Tags []GetSecurityGroupTag
    Tag list
    Type string
    Security group type. 1. default: default security group. 2. normal: custom security group. 3. VpnGW: VPN gateway security group. 4. NatGW: NAT gateway security group. 5. cidr_only: CIDR-Only security group
    VpcId string
    VPC ID to which the security group belongs
    creationTime String
    Security group creation time
    description String
    Description of the security group. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). If not specified, defaults to an empty string
    egressPermissions List<GetSecurityGroupEgressPermission>
    Description for outbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    id String
    Uniquely identifies the resource.
    ingressPermissions List<GetSecurityGroupIngressPermission>
    Description for inbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    projectName String
    Project name to which the security group belongs. Default project is 'default' if not specified
    securityGroupId String
    Security group ID
    securityGroupName String
    Security group name. Length: 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Default is security group ID if not specified
    serviceManaged Boolean
    Indicates whether the security group is managed. true means managed security group, false means unmanaged security group
    status String
    Security group status. Available means available for use, Creating means being created
    tags List<GetSecurityGroupTag>
    Tag list
    type String
    Security group type. 1. default: default security group. 2. normal: custom security group. 3. VpnGW: VPN gateway security group. 4. NatGW: NAT gateway security group. 5. cidr_only: CIDR-Only security group
    vpcId String
    VPC ID to which the security group belongs
    creationTime string
    Security group creation time
    description string
    Description of the security group. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). If not specified, defaults to an empty string
    egressPermissions GetSecurityGroupEgressPermission[]
    Description for outbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    id string
    Uniquely identifies the resource.
    ingressPermissions GetSecurityGroupIngressPermission[]
    Description for inbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    projectName string
    Project name to which the security group belongs. Default project is 'default' if not specified
    securityGroupId string
    Security group ID
    securityGroupName string
    Security group name. Length: 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Default is security group ID if not specified
    serviceManaged boolean
    Indicates whether the security group is managed. true means managed security group, false means unmanaged security group
    status string
    Security group status. Available means available for use, Creating means being created
    tags GetSecurityGroupTag[]
    Tag list
    type string
    Security group type. 1. default: default security group. 2. normal: custom security group. 3. VpnGW: VPN gateway security group. 4. NatGW: NAT gateway security group. 5. cidr_only: CIDR-Only security group
    vpcId string
    VPC ID to which the security group belongs
    creation_time str
    Security group creation time
    description str
    Description of the security group. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). If not specified, defaults to an empty string
    egress_permissions Sequence[GetSecurityGroupEgressPermission]
    Description for outbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    id str
    Uniquely identifies the resource.
    ingress_permissions Sequence[GetSecurityGroupIngressPermission]
    Description for inbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    project_name str
    Project name to which the security group belongs. Default project is 'default' if not specified
    security_group_id str
    Security group ID
    security_group_name str
    Security group name. Length: 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Default is security group ID if not specified
    service_managed bool
    Indicates whether the security group is managed. true means managed security group, false means unmanaged security group
    status str
    Security group status. Available means available for use, Creating means being created
    tags Sequence[GetSecurityGroupTag]
    Tag list
    type str
    Security group type. 1. default: default security group. 2. normal: custom security group. 3. VpnGW: VPN gateway security group. 4. NatGW: NAT gateway security group. 5. cidr_only: CIDR-Only security group
    vpc_id str
    VPC ID to which the security group belongs
    creationTime String
    Security group creation time
    description String
    Description of the security group. Length limit: 0–255 characters. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). If not specified, defaults to an empty string
    egressPermissions List<Property Map>
    Description for outbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    id String
    Uniquely identifies the resource.
    ingressPermissions List<Property Map>
    Description for inbound security group rule. Unchanged information is returned as original; unfilled or changed content is considered modified. Please fill in as needed
    projectName String
    Project name to which the security group belongs. Default project is 'default' if not specified
    securityGroupId String
    Security group ID
    securityGroupName String
    Security group name. Length: 1–128 characters. Must start with a letter, Chinese character, or number. Can include period (.), underscore (_), and hyphen (-). Default is security group ID if not specified
    serviceManaged Boolean
    Indicates whether the security group is managed. true means managed security group, false means unmanaged security group
    status String
    Security group status. Available means available for use, Creating means being created
    tags List<Property Map>
    Tag list
    type String
    Security group type. 1. default: default security group. 2. normal: custom security group. 3. VpnGW: VPN gateway security group. 4. NatGW: NAT gateway security group. 5. cidr_only: CIDR-Only security group
    vpcId String
    VPC ID to which the security group belongs

    Supporting Types

    GetSecurityGroupEgressPermission

    CidrIp string
    IPv4 CIDR or IPv6 CIDR of the source address
    CreationTime string
    Security group rule creation time
    Description string
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    Direction string
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    Policy string
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    PortEnd int
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    PortStart int
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    PrefixListCidrs List<string>
    Prefix list CIDR
    PrefixListId string
    Prefix list ID
    Priority int
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    Protocol string
    Protocol type. tcp, udp, icmp, icmpv6, all
    SourceGroupId string
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    UpdateTime string
    Security group rule update time
    CidrIp string
    IPv4 CIDR or IPv6 CIDR of the source address
    CreationTime string
    Security group rule creation time
    Description string
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    Direction string
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    Policy string
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    PortEnd int
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    PortStart int
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    PrefixListCidrs []string
    Prefix list CIDR
    PrefixListId string
    Prefix list ID
    Priority int
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    Protocol string
    Protocol type. tcp, udp, icmp, icmpv6, all
    SourceGroupId string
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    UpdateTime string
    Security group rule update time
    cidrIp String
    IPv4 CIDR or IPv6 CIDR of the source address
    creationTime String
    Security group rule creation time
    description String
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction String
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy String
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    portEnd Integer
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    portStart Integer
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefixListCidrs List<String>
    Prefix list CIDR
    prefixListId String
    Prefix list ID
    priority Integer
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol String
    Protocol type. tcp, udp, icmp, icmpv6, all
    sourceGroupId String
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    updateTime String
    Security group rule update time
    cidrIp string
    IPv4 CIDR or IPv6 CIDR of the source address
    creationTime string
    Security group rule creation time
    description string
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction string
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy string
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    portEnd number
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    portStart number
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefixListCidrs string[]
    Prefix list CIDR
    prefixListId string
    Prefix list ID
    priority number
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol string
    Protocol type. tcp, udp, icmp, icmpv6, all
    sourceGroupId string
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    updateTime string
    Security group rule update time
    cidr_ip str
    IPv4 CIDR or IPv6 CIDR of the source address
    creation_time str
    Security group rule creation time
    description str
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction str
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy str
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    port_end int
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    port_start int
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefix_list_cidrs Sequence[str]
    Prefix list CIDR
    prefix_list_id str
    Prefix list ID
    priority int
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol str
    Protocol type. tcp, udp, icmp, icmpv6, all
    source_group_id str
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    update_time str
    Security group rule update time
    cidrIp String
    IPv4 CIDR or IPv6 CIDR of the source address
    creationTime String
    Security group rule creation time
    description String
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction String
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy String
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    portEnd Number
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    portStart Number
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefixListCidrs List<String>
    Prefix list CIDR
    prefixListId String
    Prefix list ID
    priority Number
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol String
    Protocol type. tcp, udp, icmp, icmpv6, all
    sourceGroupId String
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    updateTime String
    Security group rule update time

    GetSecurityGroupIngressPermission

    CidrIp string
    IPv4 CIDR or IPv6 CIDR of the source address
    CreationTime string
    Security group rule creation time
    Description string
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    Direction string
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    Policy string
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    PortEnd int
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    PortStart int
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    PrefixListCidrs List<string>
    Prefix list CIDR
    PrefixListId string
    Prefix list ID
    Priority int
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    Protocol string
    Protocol type. tcp, udp, icmp, icmpv6, all
    SourceGroupId string
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    UpdateTime string
    Security group rule update time
    CidrIp string
    IPv4 CIDR or IPv6 CIDR of the source address
    CreationTime string
    Security group rule creation time
    Description string
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    Direction string
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    Policy string
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    PortEnd int
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    PortStart int
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    PrefixListCidrs []string
    Prefix list CIDR
    PrefixListId string
    Prefix list ID
    Priority int
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    Protocol string
    Protocol type. tcp, udp, icmp, icmpv6, all
    SourceGroupId string
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    UpdateTime string
    Security group rule update time
    cidrIp String
    IPv4 CIDR or IPv6 CIDR of the source address
    creationTime String
    Security group rule creation time
    description String
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction String
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy String
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    portEnd Integer
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    portStart Integer
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefixListCidrs List<String>
    Prefix list CIDR
    prefixListId String
    Prefix list ID
    priority Integer
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol String
    Protocol type. tcp, udp, icmp, icmpv6, all
    sourceGroupId String
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    updateTime String
    Security group rule update time
    cidrIp string
    IPv4 CIDR or IPv6 CIDR of the source address
    creationTime string
    Security group rule creation time
    description string
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction string
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy string
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    portEnd number
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    portStart number
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefixListCidrs string[]
    Prefix list CIDR
    prefixListId string
    Prefix list ID
    priority number
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol string
    Protocol type. tcp, udp, icmp, icmpv6, all
    sourceGroupId string
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    updateTime string
    Security group rule update time
    cidr_ip str
    IPv4 CIDR or IPv6 CIDR of the source address
    creation_time str
    Security group rule creation time
    description str
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction str
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy str
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    port_end int
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    port_start int
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefix_list_cidrs Sequence[str]
    Prefix list CIDR
    prefix_list_id str
    Prefix list ID
    priority int
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol str
    Protocol type. tcp, udp, icmp, icmpv6, all
    source_group_id str
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    update_time str
    Security group rule update time
    cidrIp String
    IPv4 CIDR or IPv6 CIDR of the source address
    creationTime String
    Security group rule creation time
    description String
    Description for the security group rule. Must start with a letter, Chinese character, or number. Can include English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 1–255 characters. If not specified, the original configuration is retained
    direction String
    Security group rule direction. ingress: inbound direction. egress: outbound direction
    policy String
    Access policy. For resources specified by CidrIp, SourceGroupId, or PrefixListId, refers to the NICs in the security group. Values: accept (allow), drop (deny)
    portEnd Number
    Port range end value. 1. When Protocol is set to tcp or udp, the valid range is 1–65535. 2. When Protocol is set to icmp, icmpv6, or all, only -1 is supported, indicating no port restriction
    portStart Number
    Port range start value. 1. When Protocol is tcp or udp, range is 1–65535. 2. When Protocol is icmp, icmpv6, or all, only -1 is supported, meaning no port restriction
    prefixListCidrs List<String>
    Prefix list CIDR
    prefixListId String
    Prefix list ID
    priority Number
    Security group rule priority. Lower numbers indicate higher priority. Value range: 1–100. Default: 1 if not specified
    protocol String
    Protocol type. tcp, udp, icmp, icmpv6, all
    sourceGroupId String
    Source address security group ID. All NIC addresses in this security group are used as source addresses
    updateTime String
    Security group rule update time

    GetSecurityGroupTag

    Key string
    User tag key
    Value string
    User tag value
    Key string
    User tag key
    Value string
    User tag value
    key String
    User tag key
    value String
    User tag value
    key string
    User tag key
    value string
    User tag value
    key str
    User tag key
    value str
    User tag value
    key String
    User tag key
    value String
    User tag value

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.