getCloudHadoopBucketList
    • PDF

    getCloudHadoopBucketList

    • PDF

    記事の要約

    概要

    CloudHadoopで使うObject Storage bucketリストを照会します。

    リクエスト

    リクエストパラメータ

    API Parameter NameParameter名必須Default ValueAvailable ValuesData Type
    regionNoリージョン番号N1[1] for KR RegionString

    リクエストヘッダ

    共通ガイド参照

    レスポンス

    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 -i -X GET \
       -H "x-ncp-apigw-timestamp:1505290625682" \
       -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
       -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
       "https://ncloud.apigw.ntruss.com/hadoop/v2/getCloudHadoopBucketList"
    

    レスポンス例示

    {
        "getCloudHadoopBucketListResponse": {
            "requestId": "65ae53a3-d027-45cb-b5de-3b574c108479",
            "returnCode": "0",
            "returnMessage": "success",
            "totalRows": 2,
            "bucketList": [
                {
                    "bucketName": "user-bucket-1"
                },
                {
                    "bucketName": "user-bucket-2"
                }
            ]
        }
    }
    

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

    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.