- ホワイトクラウド ASPIRE
- サービスご利用ガイド
- APIを利用する
- APIリファレンス
- テナントネットワーク
- IPの割り当て取得
IPの割り当て取得
テナントネットワークに接続された仮想マシンのIPアドレスの情報を取得します。
GET /api/1.0/assignedIp?networkId={networkId}
※ networkId:IPの割り当てを取得したいネットワークID
Request parameters | ||||
---|---|---|---|---|
Name | Description | Type | Data type | Required |
Authorization | Bearer [APIキー] | header | String | True |
Successful Response | |||
---|---|---|---|
Response Code | 200 OK | ||
Response Headers | Content-type: application/json | ||
Name | Description | Example | Data type |
assignedIps | IP割り当て情報一覧 | Array | |
assignedIp | IP割り当て情報 | Object | |
ipAddress | IPアドレス | 192.168.105.1 | String |
deployed | デプロイ済み | true | Boolean |
vmName | 仮想マシン名 | VM01 | String |
vmgroupName | 仮想マシングループ名 | TestGrp1 | String |
実行例 |
---|
# Execute request curl -X GET -H "Authorization:$token" -H Content-Type:application/json ¥ https://eastapi.aspire.gcf.whitecloud.jp/api/1.0/assignedIp?networkId=1de...b10bb8...2dd |
レスポンス例 |
---|
|