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-timestamp | 1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したもので、 API Gatewayサーバとの時間差が5分以上の場合、有効ではないリクエストとみなす x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | NAVERクラウドプラットフォームのポータルから発行されたAccess Key ID値x-ncp-iam-access-key:{Account Access Key} |
x-ncp-apigw-signature-v2 | Access Key ID値とSecret Keyで暗号化した署名x-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | リクエストボディーcontent typeをapplication/jsonに指定Content-Type: application/json |
リクエストパラメータ
パラメータ | タイプ | 必須有無 | 説明 |
---|---|---|---|
serviceGroupInstanceNo | String | Y | ACGを照会するクラスタ番号です。 |
リクエスト例
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;
}
フィールド
パラメータ名 | タイプ | 説明 |
---|---|---|
managerNodeAcgRule | GetAccessControlGroupRuleListResponseVo | マネージャーノードのACG Rule |
brokerNodeAcgRule | GetAccessControlGroupRuleListResponseVo | ブローカーノードのACG Rule |
inboundAcgRules | List | Inbound ACG Rule |
outboundAcgRules | List | Outbound ACG Rule |
accessControlGroupRuleNo | Integer | ACG番号 |
accessControlGroupSequence | Integer | ACG Ruleを適用するアクセスソースのACG番号 |
ipBlock | String | ACG Ruleを適用するアクセスソースのIP |
isInboundRule | Boolean | Inbound Ruleかどうか |
portRange | String | ポートの範囲とポートのプロトコルがICMPの場合には使用されません。 |
protocolTypeCode | String | プロトコルタイプ |
accessControlGroupName | String | ACG名 |
accessControlGroupNo | Integer | ACG番号 |
createdYmdt | DateTimeVo | ACGが作成された時間 |
description | String | ACGの説明 |
statusCode | String | ACGの状態 |
formattedDate | Date | 作成された日付 |
formattedDateTime | Date | 作成された日付と時間 |
utc | Long | 作成された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"
}
この記事は役に立ちましたか?