--- title: "LoadBalancerRule" slug: "common-apidatatype-loadbalancerrule" updated: 2026-09-17T09:57:14Z published: 2026-09-17T09:57:14Z canonical: "api.ncloud-docs.com/common-apidatatype-loadbalancerrule" --- > ## 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. # LoadBalancerRule Classic環境で利用できます。 ロードバランサルールです。 ## 構文 構文は次の通りです。 ``` private CommonCode protocolType; private Integer loadBalancerPort; private Integer serverPort; private String l7HealthCheckPath; private String certificateName; private String proxyProtocolUseYn; private String stickySessionUseYn; private String http2UseYn; private CommonCode serverProtocolType; ``` ## フィールド フィールドの詳細は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `protocolType` | [CommonCode](/docs/ja/common-apidatatype-commoncode) | Required | プロトコル区分コード - `HTTP` \| `HTTPS` \| `TCP` \| `UDP` \| `ICMP` | | `loadBalancerPort` | Integer | Required | ロードバランサポート | | `serverPort` | Integer | Required | サーバポート | | `l7HealthCheckPath` | String | Conditional | l7ヘルスチェックパスプロトコル区分コードが HTTPの場合は必須 | | `certificateName` | String | Conditional | 証明書名プロトコル区分コードが HTTPSの場合は必須 | | `proxyProtocolUseYn` | String | Required | プロキシプロトコルの使用有無 | | `stickySessionUseYn` | String | Required | セッション別アクセスの使用有無 | | `http2UseYn` | String | Required | HTTP/2プロトコルの使用有無 | | `serverProtocolType` | [CommonCode](/docs/ja/common-apidatatype-commoncode) | Optional | サーバプロトコル区分コード - `HTTP` \| `HTTPS` |