MENU
      killContainer
        • PDF

        killContainer

        • PDF

        記事の要約

        VPC環境で利用できます。

        Data Forestアプリのコンポーネントのコンテナを再起動します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        idYESString最大22文字まで入力- アプリ識別子 UUID(base62)
        - idは Appsの getList APIを通じて取得可能
        containerNameYESString最大60文字まで入力- コンテナの名前
        - containerNameは Appsの getDetail APIを通じて取得可能

        リクエストヘッダ

        共通ガイド参照

        リクエストボディ

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

        レスポンス

        レスポンスボディ

        • JSON
          {
          "id": "string",
          "message": "string",
          "success": true
          }
          JSON
        • XML
          <?xml version="1.0" encoding="UTF-8"?>
          <KillAppContainerResponse>
              <id>string</id>
              <message>string</message>
              <success>true</success>
          </KillAppContainerResponse>
          XML

        エラーコード

        DataForest概要参照

        リクエスト例

        • HTTP

          POST https://df.apigw.ntruss.com/api/v2/apps/killContainer
          HOST: df.apigw.ntruss.com
          Content-Type: application/json
          x-ncp-apigw-timestamp: 1658898041497
          x-ncp-iam-access-key: 17F9A6E9F72BD92ED94B
          x-ncp-apigw-signature-v2: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=
          {
              "id": "A4LI7d5mRn1f6M2HxZAEE2"
              "containerName": "<コンテナ-名>",
          }
          HTTP
        • BASH

          curl -X POST "https://df.apigw.ntruss.com/api/v2/apps/killContainer" \
          -H "accept: application/json" \
          -H "Content-Type: application/json" \
          -H "x-ncp-apigw-timestamp:1658898041497" \
          -H "x-ncp-iam-access-key:17F9A6E9F72BD92ED94B" \
          -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
          -d "{ \"containerName\": \"<コンテナ-名>\", \"id\": \"A4LI7d5mRn1f6M2HxZAEE2\"}" \
          Bash

        レスポンス例

        • HTTP

          HTTP StatusDescription
          200OK
        • BASH

          {
          "success": true,
          "message": "success",
          "id": "f9uw5EGit8Kf26YnbJ2ag0"
          }
          JSON

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

        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.