create_loadbalancer
Create a load balancer in Sakura Cloud to distribute network traffic across servers, specifying zone, IP address, switch connection, and network configuration parameters.
Instructions
さくらのクラウドAPIでロードバランサを作成します Args: zone (str): 作成対象のゾーン name (str): ロードバランサ名(1-64文字) description (str, optional): ルータの説明(最大512文字) lb_ip (str) ロードバランサに付与されるip address switch_id (str): 紐付けるスイッチのID vrid (str): (1から255) network_mask (str): プレフィックス長(8~29) default_router(str, optional) ゲートウェイ
Returns: dict: 作成されたロードバランサのJSONレスポンス
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| name | Yes | ||
| description | Yes | ||
| lb_ip | Yes | ||
| switch_id | Yes | ||
| vrid | Yes | ||
| netwrok_mask | Yes | ||
| default_router | Yes |