getAcgRuleList
    • PDF

    getAcgRuleList

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    Notebook ACG 규칙의 목록을 확인합니다.

    요청

    요청 헤더

    공통 가이드 참조

    요청 바디

    • JSON
        {
            "id": "string"
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
            <GetNotebookAcgRuleListRequest>
                <id>string</id>
            </GetNotebookAcgRuleListRequest>
      

    응답

    응답 바디

    • JSON
        {
             "success": true,
            "message": "success",
            "total": 0,
            "contents": [
                {
                "accessControlGroupRuleNo": 0,
                "accessControlGroupNo": 0,
                "accessControlGroupName": "string",
               "protocolTypeCode": "string",
                "ipBlock": "string",
                "accessControlGroupSequence": 0,
               "portRange": "string",
                "statusCode": "string",
                "description": "string",
                "createdAt": "2023-11-20T05:57:50.674Z",
                "modifiedAt": "2023-11-20T05:57:50.674Z",
                  "isInboundRule": true
                }
              ]
           }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
            <GetNotebookAcgRuleListResponse>
                <success>true</success>
                <message>success</message>
                <total>0</total>
                <contents>
                	<accessControlGroupRuleNo>0</accessControlGroupRuleNo>
                	<accessControlGroupNo>0</accessControlGroupNo>
        	        <accessControlGroupName>string</accessControlGroupName>
        	        <protocolTypeCode>string</protocolTypeCode>
        	        <ipBlock>string</ipBlock>
        	        <accessControlGroupSequence>0</accessControlGroupSequence>
        	        <portRange>string</portRange>
        	        <statusCode>string</statusCode>
        	        <description>string</description>
        	        <createdAt>2023-11-20T06:00:37.566Z</createdAt>
        	        <modifiedAt>2023-11-20T06:00:37.566Z</modifiedAt>
        	        <isInboundRule>true</isInboundRule>
                </contents>
            </GetNotebookAcgRuleListResponse>
      

    오류코드

    DataForest 개요 참조

    예시

    요청 예시

    POST http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/getAcgRuleList
    HOST: ctrl.kr.df.beta.naverncp.com
      X-NCP-MBR_NO: 1814
      X-NCP-REQUEST_TYPE_CODE: CONSOLE
      X-NCP-USER_TYPE: Customer
      X-NCP-AUTH_TOKEN: mymO8sbEsfH2Zgxdr8kE5xdPrsODgcCuuUJM4Ob1rMGVovTQdggukVM0dnmA1k2gtIWrlLkqprHf07833+Koa9Lzj2ccvC6F1M50/wTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+etW/qlNdQhiCCYrHzwAeYAqCS9YOzwiQ4CIW+pmZf9t4fV3aoPDpqWTJRHGc82LK9AR5BPDenzNg==
      X-NCP-IAM-ACCESS-KEY: 17F9A6E9F72BD92ED94B
      X-NCP-REGION_CODE: KR
      X-NCP-LANG: en-US
      X-NCP-USER_REQ_ID: ad3d0dd0-cd48-11ed-afa1-0242ac12002
      Content-Type: application/json
      {
      "id": "4mwJ3hjJrA0dHf5gnao"
    }
    
    
    curl -X 'POST' \
      'http://ctrl.kr.df.beta.naverncp.com/api/v2/notebooks/getAcgRuleList' \
      -H 'accept: application/xml' \
      -H 'X-NCP-MBR_NO: 1814' \
      -H 'X-NCP-REQUEST_TYPE_CODE: CONSOLE' \
      -H 'X-NCP-USER_TYPE: Customer' \
      -H 'X-NCP-AUTH_TOKEN: mymO8sbEsfH2Zgxdr8kE5xdPrsODgcCuuUJM4Ob1rMGVovTQdggukVM0dnmA1k2gtIWrlLkqprHf07833+Koa9Lzj2ccvC6F1M50/TDpCQDEqkUNmvAsqeTG5Qlyq4o6eFDJPt5GgiIb11iZHhe1fTQ0mIRzZjNdHrOPqk6SlXG742GjrYdLPgclCO3jrBwZq73ZfzYCitm61m3xY56oalcyBFyqCh9lOHMDl5S1d+pSBN+M7TRHfa6n12NGz6LTwTlO0BeIHIdPBufCbARKic3XDOEvoud650ZqAIFNHxfSD8FKccaS0HqVaRN2tcY9pBAO3Ar1m+etW/qlNdQhiCCYrHzwAeYAqCS9YOzwiQ4CIW+pmZf9t4fV3aoPDpqWTJRHGc82LK9AR5BPDenzNg==' \
      -H 'X-NCP-IAM-ACCESS-KEY: 17F9A6E9F72BD92ED94B' \
      -H 'X-NCP-REGION_CODE: KR' \
      -H 'X-NCP-LANG: en-US' \
      -H 'X-NCP-USER_REQ_ID: ad3d0dd0-cd48-11ed-afa1-0242ac120002' \
      -H 'Content-Type: application/json' \
      -d '{
      "id": "4mwJ3hjJrA0dHf5gnao"
    }'
    

    응답 예시

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
      "success": true,
      "total": 0,
      "contents": [
      {
        "accessControlGroupRuleNo": 190886,
        "accessControlGroupNo": 36415,
        "protocolTypeCode": "icmp",
        "ipBlock": "211.249.71.0/24",
        "statusCode": "RUN",
        "description": "(automatically created, don't delete it) ICMP 211.249.71.0/24",
        "createdAt": "2023-11-03T11:24:10.556",
        "modifiedAt": "2023-11-03T11:24:10.556",
        "isInboundRule": true
      }
      ]
      

    }
    ```


    이 문서가 도움이 되었습니까?

    What's Next
    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.