--- title: "changeTargetGroupHealthCheckConfiguration" slug: "networking-vloadbalancer-targetgroup-changetargetgrouphealthcheckconfiguration" updated: 2026-09-17T09:58:20Z published: 2026-09-17T09:58:20Z canonical: "api.ncloud-docs.com/networking-vloadbalancer-targetgroup-changetargetgrouphealthcheckconfiguration" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # changeTargetGroupHealthCheckConfiguration VPC環境で利用できます。 ターゲットグループのヘルスチェック設定を変更します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /vloadbalancer/v2/changeTargetGroupHealthCheckConfiguration | ### リクエストヘッダ Load Balancer APIで共通して使用されるヘッダの詳細は、[Load Balancerのリクエストヘッダ](/docs/ja/networking-vloadbalancer#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストクエリパラメータ リクエストクエリパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `regionCode` | String | Optional | ヘルスチェック設定変更対象のターゲットグループのリージョン - getRegionList照会結果の最初のリージョン(デフォルト) - [getRegionList](/docs/ja/compute-vserver-server-common-getregionlist)を参照 | | `targetGroupNo` | String | Required | ターゲットグループの番号 - [getTargetGroupList](/docs/ja/networking-vloadbalancer-targetgroup-gettargetgrouplist)を参照 | | `healthCheckPort` | Integer | Conditional | ターゲットの状態を確認するためのヘルスチェック実行時にロードバランサが使用するポート - 1~65534 (デフォルト: 80) | | `healthCheckUrlPath` | String | Conditional | ヘルスチェック実行時に使用する URLパス - `/`で始まる URLパスを入力 - ターゲットグループのヘルスチェックプロトコルタイプが`HTTP`または`HTTPS`の場合、変更可能 | | `healthCheckHttpMethodTypeCode` | String | Conditional | ヘルスチェックに使用する HTTPメソッドタイプ - `HEAD` \| `GET` - 選択したターゲットグループのヘルスチェックプロトコルタイプが`HTTP`または`HTTPS`の場合、変更可能 | | `healthCheckCycle` | Integer | Conditional | ヘルスチェック周期(秒) - 5~300 | | `healthCheckUpThreshold` | Integer | Conditional | ターゲットの状態を正常と判断するために必要な連続ヘルスチェック成功回数 - 2~10 | | `healthCheckDownThreshold` | Integer | Conditional | ターゲットの状態を異常と判断するために必要な連続ヘルスチェック失敗回数 - 2~10 | | `responseFormatType` | String | Optional | レスポンス結果の形式 - `xml`(デフォルト) \| `json` | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location 'https://ncloud.apigw.ntruss.com/vloadbalancer/v2/changeTargetGroupHealthCheckConfiguration?regionCode=KR&targetGroupNo=*******&healthCheckPort=80&healthCheckUrlPath=/&healthCheckHttpMethodTypeCode=GET&healthCheckCycle=30&healthCheckUpThreshold=2&healthCheckDownThreshold=2' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの詳細は、[TargetGroupList](/docs/ja/common-vapidatatype-targetgrouplist)をご参照ください。 ### レスポンスステータスコード Load Balancer APIで共通して使用されるレスポンスステータスコードの詳細は、[Load Balancerのレスポンスステータスコード](/docs/ja/networking-vloadbalancer#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` 3a30cb81-63af-4565-b38b-55d01c9f777d 0 success 1 ******* test-***** VSVR Server (VPC) ***** HTTP HTTP protocol 80 false false RR Round Robin 2024-06-03T13:30:20+0900 KR HTTP HTTP protocol 80 / GET HTTP GET Method 30 2 2 ```