1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. getDbdcDbCustomNodeSecurityGroups
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.23
published on Friday, Aug 14, 2026 by tencentcloudstack

    Use this data source to query DBDC custom node security groups information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getDbdcDbCustomNodeSecurityGroups({
        nodeId: "dbcn-vvkg2xls",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_dbdc_db_custom_node_security_groups(node_id="dbcn-vvkg2xls")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetDbdcDbCustomNodeSecurityGroups(ctx, &tencentcloud.GetDbdcDbCustomNodeSecurityGroupsArgs{
    			NodeId: "dbcn-vvkg2xls",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetDbdcDbCustomNodeSecurityGroups.Invoke(new()
        {
            NodeId = "dbcn-vvkg2xls",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetDbdcDbCustomNodeSecurityGroupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = TencentcloudFunctions.getDbdcDbCustomNodeSecurityGroups(GetDbdcDbCustomNodeSecurityGroupsArgs.builder()
                .nodeId("dbcn-vvkg2xls")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getDbdcDbCustomNodeSecurityGroups
          arguments:
            nodeId: dbcn-vvkg2xls
    
    Example coming soon!
    

    Using getDbdcDbCustomNodeSecurityGroups

    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 getDbdcDbCustomNodeSecurityGroups(args: GetDbdcDbCustomNodeSecurityGroupsArgs, opts?: InvokeOptions): Promise<GetDbdcDbCustomNodeSecurityGroupsResult>
    function getDbdcDbCustomNodeSecurityGroupsOutput(args: GetDbdcDbCustomNodeSecurityGroupsOutputArgs, opts?: InvokeOptions): Output<GetDbdcDbCustomNodeSecurityGroupsResult>
    def get_dbdc_db_custom_node_security_groups(id: Optional[str] = None,
                                                node_id: Optional[str] = None,
                                                result_output_file: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetDbdcDbCustomNodeSecurityGroupsResult
    def get_dbdc_db_custom_node_security_groups_output(id: pulumi.Input[Optional[str]] = None,
                                                node_id: pulumi.Input[Optional[str]] = None,
                                                result_output_file: pulumi.Input[Optional[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetDbdcDbCustomNodeSecurityGroupsResult]
    func GetDbdcDbCustomNodeSecurityGroups(ctx *Context, args *GetDbdcDbCustomNodeSecurityGroupsArgs, opts ...InvokeOption) (*GetDbdcDbCustomNodeSecurityGroupsResult, error)
    func GetDbdcDbCustomNodeSecurityGroupsOutput(ctx *Context, args *GetDbdcDbCustomNodeSecurityGroupsOutputArgs, opts ...InvokeOption) GetDbdcDbCustomNodeSecurityGroupsResultOutput

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

    public static class GetDbdcDbCustomNodeSecurityGroups 
    {
        public static Task<GetDbdcDbCustomNodeSecurityGroupsResult> InvokeAsync(GetDbdcDbCustomNodeSecurityGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetDbdcDbCustomNodeSecurityGroupsResult> Invoke(GetDbdcDbCustomNodeSecurityGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbdcDbCustomNodeSecurityGroupsResult> getDbdcDbCustomNodeSecurityGroups(GetDbdcDbCustomNodeSecurityGroupsArgs args, InvokeOptions options)
    public static Output<GetDbdcDbCustomNodeSecurityGroupsResult> getDbdcDbCustomNodeSecurityGroups(GetDbdcDbCustomNodeSecurityGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDbdcDbCustomNodeSecurityGroups:getDbdcDbCustomNodeSecurityGroups
      arguments:
        # arguments dictionary
    data "tencentcloud_get_dbdc_db_custom_node_security_groups" "name" {
        # arguments
    }

    The following arguments are supported:

    NodeId string
    DB Custom node ID.
    Id string
    Security group ID.
    ResultOutputFile string
    Used to save results.
    NodeId string
    DB Custom node ID.
    Id string
    Security group ID.
    ResultOutputFile string
    Used to save results.
    node_id string
    DB Custom node ID.
    id string
    Security group ID.
    result_output_file string
    Used to save results.
    nodeId String
    DB Custom node ID.
    id String
    Security group ID.
    resultOutputFile String
    Used to save results.
    nodeId string
    DB Custom node ID.
    id string
    Security group ID.
    resultOutputFile string
    Used to save results.
    node_id str
    DB Custom node ID.
    id str
    Security group ID.
    result_output_file str
    Used to save results.
    nodeId String
    DB Custom node ID.
    id String
    Security group ID.
    resultOutputFile String
    Used to save results.

    getDbdcDbCustomNodeSecurityGroups Result

    The following output properties are available:

    Groups List<GetDbdcDbCustomNodeSecurityGroupsGroup>
    Security group list bound to the DB Custom node.
    Id string
    Security group ID.
    NodeId string
    ResultOutputFile string
    Groups []GetDbdcDbCustomNodeSecurityGroupsGroup
    Security group list bound to the DB Custom node.
    Id string
    Security group ID.
    NodeId string
    ResultOutputFile string
    groups list(object)
    Security group list bound to the DB Custom node.
    id string
    Security group ID.
    node_id string
    result_output_file string
    groups List<GetDbdcDbCustomNodeSecurityGroupsGroup>
    Security group list bound to the DB Custom node.
    id String
    Security group ID.
    nodeId String
    resultOutputFile String
    groups GetDbdcDbCustomNodeSecurityGroupsGroup[]
    Security group list bound to the DB Custom node.
    id string
    Security group ID.
    nodeId string
    resultOutputFile string
    groups Sequence[GetDbdcDbCustomNodeSecurityGroupsGroup]
    Security group list bound to the DB Custom node.
    id str
    Security group ID.
    node_id str
    result_output_file str
    groups List<Property Map>
    Security group list bound to the DB Custom node.
    id String
    Security group ID.
    nodeId String
    resultOutputFile String

    Supporting Types

    GetDbdcDbCustomNodeSecurityGroupsGroup

    CreateTime string
    Security group creation time.
    Inbounds List<GetDbdcDbCustomNodeSecurityGroupsGroupInbound>
    Inbound rules.
    Outbounds List<GetDbdcDbCustomNodeSecurityGroupsGroupOutbound>
    Outbound rules.
    ProjectId double
    Project ID.
    SecurityGroupId string
    Security group ID.
    SecurityGroupName string
    Security group name.
    SecurityGroupRemark string
    Security group remark.
    CreateTime string
    Security group creation time.
    Inbounds []GetDbdcDbCustomNodeSecurityGroupsGroupInbound
    Inbound rules.
    Outbounds []GetDbdcDbCustomNodeSecurityGroupsGroupOutbound
    Outbound rules.
    ProjectId float64
    Project ID.
    SecurityGroupId string
    Security group ID.
    SecurityGroupName string
    Security group name.
    SecurityGroupRemark string
    Security group remark.
    create_time string
    Security group creation time.
    inbounds list(object)
    Inbound rules.
    outbounds list(object)
    Outbound rules.
    project_id number
    Project ID.
    security_group_id string
    Security group ID.
    security_group_name string
    Security group name.
    security_group_remark string
    Security group remark.
    createTime String
    Security group creation time.
    inbounds List<GetDbdcDbCustomNodeSecurityGroupsGroupInbound>
    Inbound rules.
    outbounds List<GetDbdcDbCustomNodeSecurityGroupsGroupOutbound>
    Outbound rules.
    projectId Double
    Project ID.
    securityGroupId String
    Security group ID.
    securityGroupName String
    Security group name.
    securityGroupRemark String
    Security group remark.
    createTime string
    Security group creation time.
    inbounds GetDbdcDbCustomNodeSecurityGroupsGroupInbound[]
    Inbound rules.
    outbounds GetDbdcDbCustomNodeSecurityGroupsGroupOutbound[]
    Outbound rules.
    projectId number
    Project ID.
    securityGroupId string
    Security group ID.
    securityGroupName string
    Security group name.
    securityGroupRemark string
    Security group remark.
    create_time str
    Security group creation time.
    inbounds Sequence[GetDbdcDbCustomNodeSecurityGroupsGroupInbound]
    Inbound rules.
    outbounds Sequence[GetDbdcDbCustomNodeSecurityGroupsGroupOutbound]
    Outbound rules.
    project_id float
    Project ID.
    security_group_id str
    Security group ID.
    security_group_name str
    Security group name.
    security_group_remark str
    Security group remark.
    createTime String
    Security group creation time.
    inbounds List<Property Map>
    Inbound rules.
    outbounds List<Property Map>
    Outbound rules.
    projectId Number
    Project ID.
    securityGroupId String
    Security group ID.
    securityGroupName String
    Security group name.
    securityGroupRemark String
    Security group remark.

    GetDbdcDbCustomNodeSecurityGroupsGroupInbound

    Action string
    Rule action, ACCEPT or DROP.
    AddressModule string
    IP address template ID.
    CidrIp string
    Source/Destination IP or CIDR.
    Desc string
    Rule description.
    Id string
    Security group ID.
    IpProtocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    PortRange string
    Port range.
    ServiceModule string
    Protocol port template ID.
    Action string
    Rule action, ACCEPT or DROP.
    AddressModule string
    IP address template ID.
    CidrIp string
    Source/Destination IP or CIDR.
    Desc string
    Rule description.
    Id string
    Security group ID.
    IpProtocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    PortRange string
    Port range.
    ServiceModule string
    Protocol port template ID.
    action string
    Rule action, ACCEPT or DROP.
    address_module string
    IP address template ID.
    cidr_ip string
    Source/Destination IP or CIDR.
    desc string
    Rule description.
    id string
    Security group ID.
    ip_protocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    port_range string
    Port range.
    service_module string
    Protocol port template ID.
    action String
    Rule action, ACCEPT or DROP.
    addressModule String
    IP address template ID.
    cidrIp String
    Source/Destination IP or CIDR.
    desc String
    Rule description.
    id String
    Security group ID.
    ipProtocol String
    Protocol type, e.g., tcp, udp, icmp, ALL.
    portRange String
    Port range.
    serviceModule String
    Protocol port template ID.
    action string
    Rule action, ACCEPT or DROP.
    addressModule string
    IP address template ID.
    cidrIp string
    Source/Destination IP or CIDR.
    desc string
    Rule description.
    id string
    Security group ID.
    ipProtocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    portRange string
    Port range.
    serviceModule string
    Protocol port template ID.
    action str
    Rule action, ACCEPT or DROP.
    address_module str
    IP address template ID.
    cidr_ip str
    Source/Destination IP or CIDR.
    desc str
    Rule description.
    id str
    Security group ID.
    ip_protocol str
    Protocol type, e.g., tcp, udp, icmp, ALL.
    port_range str
    Port range.
    service_module str
    Protocol port template ID.
    action String
    Rule action, ACCEPT or DROP.
    addressModule String
    IP address template ID.
    cidrIp String
    Source/Destination IP or CIDR.
    desc String
    Rule description.
    id String
    Security group ID.
    ipProtocol String
    Protocol type, e.g., tcp, udp, icmp, ALL.
    portRange String
    Port range.
    serviceModule String
    Protocol port template ID.

    GetDbdcDbCustomNodeSecurityGroupsGroupOutbound

    Action string
    Rule action, ACCEPT or DROP.
    AddressModule string
    IP address template ID.
    CidrIp string
    Source/Destination IP or CIDR.
    Desc string
    Rule description.
    Id string
    Security group ID.
    IpProtocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    PortRange string
    Port range.
    ServiceModule string
    Protocol port template ID.
    Action string
    Rule action, ACCEPT or DROP.
    AddressModule string
    IP address template ID.
    CidrIp string
    Source/Destination IP or CIDR.
    Desc string
    Rule description.
    Id string
    Security group ID.
    IpProtocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    PortRange string
    Port range.
    ServiceModule string
    Protocol port template ID.
    action string
    Rule action, ACCEPT or DROP.
    address_module string
    IP address template ID.
    cidr_ip string
    Source/Destination IP or CIDR.
    desc string
    Rule description.
    id string
    Security group ID.
    ip_protocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    port_range string
    Port range.
    service_module string
    Protocol port template ID.
    action String
    Rule action, ACCEPT or DROP.
    addressModule String
    IP address template ID.
    cidrIp String
    Source/Destination IP or CIDR.
    desc String
    Rule description.
    id String
    Security group ID.
    ipProtocol String
    Protocol type, e.g., tcp, udp, icmp, ALL.
    portRange String
    Port range.
    serviceModule String
    Protocol port template ID.
    action string
    Rule action, ACCEPT or DROP.
    addressModule string
    IP address template ID.
    cidrIp string
    Source/Destination IP or CIDR.
    desc string
    Rule description.
    id string
    Security group ID.
    ipProtocol string
    Protocol type, e.g., tcp, udp, icmp, ALL.
    portRange string
    Port range.
    serviceModule string
    Protocol port template ID.
    action str
    Rule action, ACCEPT or DROP.
    address_module str
    IP address template ID.
    cidr_ip str
    Source/Destination IP or CIDR.
    desc str
    Rule description.
    id str
    Security group ID.
    ip_protocol str
    Protocol type, e.g., tcp, udp, icmp, ALL.
    port_range str
    Port range.
    service_module str
    Protocol port template ID.
    action String
    Rule action, ACCEPT or DROP.
    addressModule String
    IP address template ID.
    cidrIp String
    Source/Destination IP or CIDR.
    desc String
    Rule description.
    id String
    Security group ID.
    ipProtocol String
    Protocol type, e.g., tcp, udp, icmp, ALL.
    portRange String
    Port range.
    serviceModule String
    Protocol port template ID.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.23
    published on Friday, Aug 14, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial