deleteCloudHadoopInstance
    • PDF

    deleteCloudHadoopInstance

    • PDF

    기사 요약

    개요

    CloudHadoop 클러스터 삭제합니다.

    요청

    요청 헤더

    공통 가이드 참조

    요청 바디

    API Parameter NameParameter 설명필수 여부Default ValueAvailable ValuesData Type
    cloudHadoopInstanceNo- 삭제하려는 CloudHadoop의 클러스터 번호
    이 번호는 MC 콘솔에서는 알 수 없고 getCloudHadoopInstanceList API를 실행하여 response 결과에서 삭제하려는 CloudHadoop의 클러스터 번호를 찾아야 함
    YString
    responseFormatType응답포맷타입NXMLXML,JSON Type 선택String

    응답

    Success

    {
        "getCloudHadoopBucketListResponse": {
           "requestId": "<api-call-request-id>",
            "returnCode": "0",
            "totalRows": <response-리스트-길이>,
            "bucketList": [
                {
                    "bucketName": "<object-storage-bucket-이름>"
                },
            ]
        }
    }
    

    Authentication failed

    {
        "error": {
            "errorCode": "<리턴-코드>",
            "message": "<리턴-메시지>"
        }
    }
    

    Bad Parameter

    {
        "responseError": {
            "returnCode": "<리턴-코드>",
            "returnMessage": "<리턴-메시지>"
        }
    }
    

    예시

    요청 예시

    curl -d '{"cloudHadoopInstanceNo":"1068952", "responseFormatType":"json"}'
       -H "content-type:application/x-www-form-urlencoded"
       -H "accept:application/json"
       -H "x-ncp-apigw-timestamp:1505290625682" \
       -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
       -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
       -X POST https://ncloud.apigw.gov-ntruss.com/hadoop/v2/deleteCloudHadoopInstanceResponse \
    

    응답 예시

    {
        "deleteCloudHadoopInstanceResponse": {
            "requestId": "34f48c4a-48e3-4eab-936e-2498ed6567b3",
            "returnCode": "0",
            "returnMessage": "success",
            "totalRows": 1,
            "cloudHadoopInstanceList": [
                {
                    "cloudHadoopInstanceNo": "1068952",
                    "cloudHadoopClusterName": "cluster-01",
                    "cloudHadoopClusterType": {
                        "code": "CHADP",
                        "codeName": "Core Hadoop"
                    },
                    "masterNodeCpuCount": 4,
                    "masterNodeCount": 2,
                    "masterNodeMemorySize": 8589934592,
                    "workerNodeCpuCount": 4,
                    "workerNodeCount": 4,
                    "workerNodeMemorySize": 8589934592,
                    "cloudHadoopInstanceOperation": {
                        "code": "CREAT",
                        "codeName": "Cloud Hadoop CREATE OP"
                    },
                    "cloudHadoopInstanceStatus": {
                        "code": "INIT",
                        "codeName": "Cloud Hadoop INIT State"
                    },
                    "cloudHadoopInstanceStatusName": "creating",
                    "isHa": true,
                    "zone": {
                        "zoneNo": "3",
                        "zoneName": "KR-2",
                        "zoneCode": "KR-2",
                        "zoneDescription": "\ud3c9\ucd0c zone",
                        "regionNo": "1"
                    },
                    "region": {
                        "regionNo": "1",
                        "regionCode": "KR",
                        "regionName": "Korea"
                    },
                    "masterNodeServerName": "m-001-cluster-01-hd",
                    "createDate": "2018-12-21T18:50:34+0900",
                    "dataArchitecture": "Object Storage",
                    "bucketName": "user-bucket",
                    "directConnectionAccount": "sshuser",
                    "loginKeyName": "user-dev-key",
                    "accessControlGroupList": [
                        {
                            "accessControlGroupConfigurationNo": "75554",
                            "accessControlGroupName": "cloud-hadoop-odmp",
                            "accessControlGroupDescription": "Group for Cloud Hadoop cluster 'cluster-01' (automatically created)",
                            "isDefault": false,
                            "createDate": "2018-12-21T18:50:35+0900"
                        }
                    ]
                }
            ]
        }
    }
    

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

    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.