network load-balancer create

コマンド概要

環境変数で指定したテナントに存在するロードバランサーを作成します。


必須パラメーター

パラメーター名 データ形式 デフォルト値 パラメーター説明
LOAD_BALANCER_PLAN_ID <uuid> なし ロードバランサー作成に使用するロードバランサーのプランID

任意パラメーター

パラメーター名 データ形式 デフォルト値 パラメーター説明
--name <string> なし 作成するロードバランサーの名前
--description <string> なし 作成するロードバランサーの説明
--availability_zone <string> なし 作成するロードバランサーのアベイラビリティーゾーン

コマンド使用例

ecl network load-balancer create --name test-lb-01 --availability_zone zone1_groupa  40a38c9c-819c-4822-b0e2-84242f6af03d

$ ecl network load-balancer create --name test-lb-01 --availability_zone zone1_groupa 4441399b-a3dd-40c0-903f-a02e685f7e8c
+-----------------------+-----------------------------------------------------------+
| Field                 | Value                                                     |
+-----------------------+-----------------------------------------------------------+
| admin_password        | ftMe0sgpRrM0                                              |
| admin_username        | user-admin                                                |
| description           |                                                           |
| id                    | f6915e0b-2163-4ca9-ad88-fc5f5681e0c5                      |
| interfaces            | [{u'status': u'PENDING_CREATE', u'virtual_ip_properties': |
|                       | None, u'name': u'Interface 1/1', u'network_id': None,     |
|                       | u'slot_number': 1, u'virtual_ip_address': None,           |
|                       | u'ip_address': None, u'id': u'5a75d6a7-c938-4c9c-         |
|                       | bba6-feaa39b0cf81'}, {u'status': u'PENDING_CREATE',       |
|                       | u'virtual_ip_properties': None, u'name': u'Interface      |
|                       | 1/2', u'network_id': None, u'slot_number': 2,             |
|                       | u'virtual_ip_address': None, u'ip_address': None, u'id':  |
|                       | u'5c095fd2-3046-41ff-9c0c-5c434f6515c5'}, {u'status':     |
|                       | u'PENDING_CREATE', u'virtual_ip_properties': None,        |
|                       | u'name': u'Interface 1/3', u'network_id': None,           |
|                       | u'slot_number': 3, u'virtual_ip_address': None,           |
|                       | u'ip_address': None, u'id': u'c2298bd7-b484-4f1b-         |
|                       | 8a52-b4e17b5a1f20'}, {u'status': u'PENDING_CREATE',       |
|                       | u'virtual_ip_properties': None, u'name': u'Interface      |
|                       | 1/4', u'network_id': None, u'slot_number': 4,             |
|                       | u'virtual_ip_address': None, u'ip_address': None, u'id':  |
|                       | u'b41df054-6182-4237-a752-724073efa306'}]                 |
| load_balancer_plan_id | 40a38c9c-819c-4822-b0e2-84242f6af03d                      |
| name                  | test-lb-01                                                |
| project_id            |                                                           |
| status                | PENDING_CREATE                                            |
| user_password         | GDOTwY5UowQf                                              |
| user_username         | user-read                                                 |
+-----------------------+-----------------------------------------------------------+