--- title: "getLaunchConfigurationList" slug: "cli-vautoscaling-launchconfiguration-getlaunchconfigurationlist" tags: ["Auto Scaling"] updated: 2026-10-08T09:45:18Z published: 2026-10-08T09:45:18Z canonical: "cli.ncloud-docs.com/cli-vautoscaling-launchconfiguration-getlaunchconfigurationlist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getLaunchConfigurationList VPC環境で利用できます。 Launch Configurationリストを照会します。 ## 構文 `getLaunchConfigurationList`構文は次の通りです。 ``` ./ncloud vautoscaling getLaunchConfigurationList \ [--launchConfigurationNoList ] \ [--launchConfigurationNameList ] \ [--pageNo ] \ [--pageSize ] \ [--sortList ] \ [--regionCode ] \ [--output ] ``` ## オプション `getLaunchConfigurationList`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getLaunchConfigurationList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--pageSize` | Integer | Conditional | ページごとの項目数 - `1`~N - `pageNo`入力時、必ず入力 | ### 任意オプション `getLaunchConfigurationList`の任意オプションです。指定しない場合、オプションにはデフォルト値が適用されます。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--launchConfigurationNoList` | List | Optional | Launch Configuration番号リスト - スペースで区切って複数入力可能 (例: `--launchConfigurationNoList 1234 2345`) | | `--launchConfigurationNameList` | List | Optional | Launch Configuration名リスト - スペースで区切って複数入力可能 (例: `--launchConfigurationNameList test1 test2`) | | `--pageNo` | Integer | Optional | ページ番号 - `1`~N | | `--sortList` | List | Optional | ソートの条件 - 二重引用符の中に{フィールド=‘値’}のペアをコンマで区切って入力 - `sortedBy` (任意): ソート対象。有効な値: `launchConfigurationName` (Launch Configuration名) - `sortingOrder` (任意): ソート順。`ASC` (上昇、デフォルト) \| `DESC` (下降) | ### 共通オプション `vautoscaling`コマンドで共通して使用するオプションについては、[Auto Scaling (VPC)のオプション](/docs/ja/cli-vautoscaling#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 Launch Configurationリストの照会リクエストが成功すると、各 Launch Configurationの構成情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vautoscaling getLaunchConfigurationList \ --launchConfigurationNoList 18305791 18305792 \ --launchConfigurationNameList test-launch-config-01 test-launch-config-02 \ --pageNo 0 \ --pageSize 10 \ --sortList "sortedBy='launchConfigurationName',sortingOrder='ASC'" \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getLaunchConfigurationListResponse": { "totalRows": 2, "launchConfigurationList": [ { "regionCode": "KR", "launchConfigurationNo": "18305791", "launchConfigurationName": "test-launch-config-01", "serverImageProductCode": "SW.VSVR.OS.LNX64.ROCKY.0810.B050", "serverProductCode": "SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002", "loginKeyName": "test-key", "createDate": "2026-07-07T10:12:41+0900", "launchConfigurationStatus": { "code": "CREAT", "codeName": "Created" }, "initScriptNo": "", "isEncryptedVolume": false, "serverImageNo": "25624115", "osInformation": "Rocky Linux 8.10", "serverSpecNo": "43", "serverSpecCode": "s2-g2-s50", "serverSpecDescription": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB" }, { "regionCode": "KR", "launchConfigurationNo": "18305792", "launchConfigurationName": "test-launch-config-02", "serverImageProductCode": "SW.VSVR.OS.LNX64.ROCKY.0810.B050", "serverProductCode": "SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002", "loginKeyName": "test-key", "createDate": "2026-07-07T10:12:41+0900", "launchConfigurationStatus": { "code": "CREAT", "codeName": "Created" }, "initScriptNo": "", "isEncryptedVolume": false, "serverImageNo": "25624115", "osInformation": "Rocky Linux 8.10", "serverSpecNo": "43", "serverSpecCode": "s2-g2-s50", "serverSpecDescription": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB" } ], "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "returnCode": "0", "returnMessage": "success" } } ```