Cloud Data Streaming Service ClusterのACG照会
    • PDF

    Cloud Data Streaming Service ClusterのACG照会

    • PDF

    記事の要約

    VPC環境で利用できます。

    説明

    Cloud Data Streaming Service ClusterのACGを確認します。

    リクエスト

    リクエストURL

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getAcgInfoList/{service-group-instance-no} [KR]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/sgn-v1/cluster/getAcgInfoList/{service-group-instance-no} [SGN]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/jpn-v1/cluster/getAcgInfoList/{service-group-instance-no} [JPN]
    

    リクエストヘッダ

    ヘッダ名説明
    x-ncp-apigw-timestamp1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したもので、
    API Gatewayサーバとの時間差が5分以上の場合、有効ではないリクエストとみなす
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyNAVERクラウドプラットフォームのポータルから発行されたAccess Key ID値
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key ID値とSecret Keyで暗号化した署名
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-Typeリクエストボディーcontent typeをapplication/jsonに指定
    Content-Type: application/json

    リクエストパラメータ

    パラメータタイプ必須有無説明
    serviceGroupInstanceNoStringYACGを照会するクラスタ番号です。

    リクエスト例

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getAcgInfoList/1484848
    HOST: clouddatastreamingservice.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
    
    curl -X GET "https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getAcgInfoList/1484848" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
    -H "x-ncp-apigw-timestamp: 1601971222179" \
    -H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4="
    

    レスポンスパラメータ

    public class GetAcgInfoList {
        GetAccessControlGroupRuleListResponseVo managerNodeAcgRule;
        GetAccessControlGroupRuleListResponseVo dataNodeAcgRule;
    }
    
    public class GetAccessControlGroupRuleListResponseVo {
        List<AcgRuleResponseDetailVo> inboundAcgRules;
        List<AcgRuleResponseDetailVo> outboundAcgRules;
    }
    
    public class AcgRuleResponseDetailVo {
        Integer accessControlGroupRuleNo;
        Integer accessControlGroupSequence;
        String ipBlock;
        Boolean isInboundRule;
        String portRange;
        String protocolTypeCode;
        String accessControlGroupName;
        Integer accessControlGroupNo;
        DateTimeVo createdYmdt;
        String description;
        String statusCode;
    }
    
    public class DateTimeVo {
        Date formattedDate;
        Date formattedDateTime;
        Long utc;
    }
    

    フィールド

    パラメータ名タイプ説明
    managerNodeAcgRuleGetAccessControlGroupRuleListResponseVoマネージャーノードのACG Rule
    brokerNodeAcgRuleGetAccessControlGroupRuleListResponseVoブローカーノードのACG Rule
    inboundAcgRulesListInbound ACG Rule
    outboundAcgRulesListOutbound ACG Rule
    accessControlGroupRuleNoIntegerACG番号
    accessControlGroupSequenceIntegerACG Ruleを適用するアクセスソースのACG番号
    ipBlockStringACG Ruleを適用するアクセスソースのIP
    isInboundRuleBooleanInbound Ruleかどうか
    portRangeStringポートの範囲とポートのプロトコルがICMPの場合には使用されません。
    protocolTypeCodeStringプロトコルタイプ
    accessControlGroupNameStringACG名
    accessControlGroupNoIntegerACG番号
    createdYmdtDateTimeVoACGが作成された時間
    descriptionStringACGの説明
    statusCodeStringACGの状態
    formattedDateDate作成された日付
    formattedDateTimeDate作成された日付と時間
    utcLong作成されたUTC時間をミリ秒に変換

    レスポンス例

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "managerNodeAcgRule": {
          "inboundAcgRules": [
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000476",
                "utc": 1603680876476
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34561,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "22",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000468",
                "utc": 1603680876468
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34560,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": true,
              "portRange": "9000",
              "protocolTypeCode": "tcp"
            }
          ],
          "outboundAcgRules": [
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000492",
                "utc": 1603680876492
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9203,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": null,
              "protocolTypeCode": "icmp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000489",
                "utc": 1603680876489
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9202,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "udp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000486",
                "utc": 1603680876486
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9201,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "tcp"
            }
          ]
        },
        "brokerNodeAcgRule": {
          "inboundAcgRules": [
            {
              "accessControlGroupName": "cdss-m-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000598",
                "utc": 1603680876598
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34569,
              "accessControlGroupSequence": 3751,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "9999",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000591",
                "utc": 1603680876591
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34568,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "9093",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000583",
                "utc": 1603680876583
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34567,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "9092",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000576",
                "utc": 1603680876576
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34566,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "3888",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000568",
                "utc": 1603680876568
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34565,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "2888",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000561",
                "utc": 1603680876561
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34564,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "2181",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-m-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000553",
                "utc": 1603680876553
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34563,
              "accessControlGroupSequence": 3751,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "2181",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-m-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000546",
                "utc": 1603680876546
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34562,
              "accessControlGroupSequence": 3751,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "22",
              "protocolTypeCode": "tcp"
            }
          ],
          "outboundAcgRules": [
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000611",
                "utc": 1603680876611
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9206,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": null,
              "protocolTypeCode": "icmp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000609",
                "utc": 1603680876609
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9205,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "udp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000606",
                "utc": 1603680876606
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9204,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "tcp"
            }
          ]
        }
      },
      "requestId": "5e89ebbc-8789-4250-aa74-2d3f8a0da853"
    }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.