deleteCloudHadoopInstance
    • PDF

    deleteCloudHadoopInstance

    • PDF

    記事の要約

    概要

    CloudHadoopクラスタを削除します。

    リクエスト

    リクエストヘッダ

    共通ガイド参照

    リクエストボディ

    API Parameter NameParameter説明必須Default ValueAvailable ValuesData Type
    cloudHadoopInstanceNo削除しようとするCloudHadoopのクラスタ番号、この番号はMCコンソールでは確認できないため、getCloudHadoopInstanceList APIを実行してresponse結果から削除しようとするCloudHadoopのクラスタ番号を探す必要がある。YString

    レスポンス

    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.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.