Get cluster ACG list

Prev Next

Available in VPC

Get the list of ACG rules for a Cloud Data Streaming Service cluster.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /api/v1/cluster/getAcgInfoList/{serviceGroupInstanceNo} (Korea Region)
GET /api/sgn-v1/cluster/getAcgInfoList/{serviceGroupInstanceNo} (Singapore Region)
GET /api/jpn-v1/cluster/getAcgInfoList/{serviceGroupInstanceNo} (Japan Region)

Request headers

For information about the headers common to all Cloud Data Streaming Service APIs, see Cloud Data Streaming Service request headers.

Request path parameters

You can use the following path parameters with your request:

Field Type Required Description
serviceGroupInstanceNo Integer Required Cluster instance number

Request example

The request example is as follows:

curl --location --request GET 'https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getAcgInfoList/1009*****' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
code Integer - Response code
message String - Response message
result Object - Response result
result.managerNodeAcgRule Object - Manager node ACG rule
result.managerNodeAcgRule.inboundAcgRules Array - Inbound ACG rule: ACG rule information
result.managerNodeAcgRule.outboundAcgRules Array - Outbound ACG rule: ACG rule information
result.brokerNodeAcgRule Object - Broker node ACG rule
result.brokerNodeAcgRule.inboundAcgRules Array - Inbound ACG rule: ACG rule information
result.brokerNodeAcgRule.outboundAcgRules Array - Outbound ACG rule: ACG rule information
requestId String - ID for the request
  • UUID format

ACG rule information

The following describes the ACG rule information.

Field Type Required Description
accessControlGroupName String - ACG name
accessControlGroupNo Integer - ACG ID
createdYmdt Object - Rule creation date and time
createdYmdt.formattedDate String - Rule creation date
  • yyyy-MM-dd format
createdYmdt.formattedDateTime String - Rule creation date and time
  • yyyy-MM-dd HH:mm:ss SSSSSS format
createdYmdt.utc Integer - Rule creation date and time (millisecond)
  • Unix timestamp format
description String - Rule description
statusCode String - Rule status
accessControlGroupRuleNo Integer - Rule ID
accessControlGroupSequence Integer - ACG ID of the access source
  • Display valid values when the access source of an inbound rule is ACG.
ipBlock String - Access source or destination IP
  • Display valid values when the access source or destination is a single IP.
isInboundRule Boolean - Inbound rule status
  • true | false
    • true: inbound rule
    • false: outbound rule
portRange String - Allowed port number
protocolTypeCode String - Allowed protocol

Response status codes

For information about the HTTP status codes common to all Cloud Data Streaming Service APIs, see Cloud Data Streaming Service response status codes.

Response example

The response example is as follows:

{
    "code": 0,
    "message": "SUCCESS",
    "result": {
        "managerNodeAcgRule": {
            "inboundAcgRules": [
                {
                    "accessControlGroupName": null,
                    "accessControlGroupNo": 59***,
                    "createdYmdt": {
                        "formattedDate": "2025-04-16",
                        "formattedDateTime": "2025-04-16 10:53:04 000254",
                        "utc": 1744768384254
                    },
                    "description": null,
                    "statusCode": "RUN",
                    "accessControlGroupRuleNo": 268***,
                    "accessControlGroupSequence": null,
                    "ipBlock": "10.3.0.153/32",
                    "isInboundRule": true,
                    "portRange": "1-65535",
                    "protocolTypeCode": "tcp"
                },
                ...
            ],
            "outboundAcgRules": [
                {
                    "accessControlGroupName": null,
                    "accessControlGroupNo": 59***,
                    "createdYmdt": {
                        "formattedDate": "2025-04-16",
                        "formattedDateTime": "2025-04-16 09:37:25 000006",
                        "utc": 1744763845006
                    },
                    "description": "automatically created, don't delete it",
                    "statusCode": "RUN",
                    "accessControlGroupRuleNo": 147***,
                    "accessControlGroupSequence": null,
                    "ipBlock": "0.0.0.0/0",
                    "isInboundRule": false,
                    "portRange": null,
                    "protocolTypeCode": "icmp"
                },
                ...
            ]
        },
        "brokerNodeAcgRule": {
            "inboundAcgRules": [
                {
                    "accessControlGroupName": "cdss-m-1o2xag",
                    "accessControlGroupNo": 59***,
                    "createdYmdt": {
                        "formattedDate": "2025-04-16",
                        "formattedDateTime": "2025-04-16 09:37:25 000163",
                        "utc": 1744763845163
                    },
                    "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
                    "statusCode": "RUN",
                    "accessControlGroupRuleNo": 268***,
                    "accessControlGroupSequence": 59***,
                    "ipBlock": null,
                    "isInboundRule": true,
                    "portRange": "9394",
                    "protocolTypeCode": "tcp"
                },
                ...
            ],
            "outboundAcgRules": [
                {
                    "accessControlGroupName": null,
                    "accessControlGroupNo": 59***,
                    "createdYmdt": {
                        "formattedDate": "2025-04-16",
                        "formattedDateTime": "2025-04-16 09:37:25 000172",
                        "utc": 1744763845172
                    },
                    "description": "automatically created, don't delete it",
                    "statusCode": "RUN",
                    "accessControlGroupRuleNo": 147***,
                    "accessControlGroupSequence": null,
                    "ipBlock": "0.0.0.0/0",
                    "isInboundRule": false,
                    "portRange": null,
                    "protocolTypeCode": "icmp"
                },
                ...
            ]
        }
    },
    "requestId": "add066d1-****-****-****-92a4e42ed89e"
}