2.1. DescribeImages

サーバー作成時に必要なイメージ情報を取得します。

2.1.1. リクエストパラメータ

ImageId.N
 イメージIDです。Nは指定する数だけ1から連番になります。複数指定する場合は ImageId.1="a******1"&ImageId.2="b******2"のように指定します。

  • 必須パラメータ: No(指定しない場合は利用可能な全イメージを取得します。)

2.1.2. サンプルリクエスト

curl -X GET \
-H 'X-KAGOYA-Auth: 768*******************50f' \
https://api.cloudtap.jp/ec2?Action=DescribeImages

2.1.3. サンプルレスポンス

<?xml version="1.0" encoding="utf-8"?>
<DescribeImagesResponse>
  <imagesSet>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>True</isPublic>
      <architecture></architecture>
      <name>CoreOS</name>
      <creationDate>2020-03-20T11:48:45Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>ffffff2</imageId>
    </item>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>True</isPublic>
      <architecture></architecture>
      <name>RancherOS</name>
      <creationDate>2020-03-20T11:48:45Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>ffffff3</imageId>
    </item>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>True</isPublic>
      <architecture></architecture>
      <name>Scientific Linux</name>
      <creationDate>2020-03-20T11:48:45Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>ffffff4</imageId>
    </item>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>True</isPublic>
      <architecture></architecture>
      <name>openSUSE</name>
      <creationDate>2020-03-20T11:48:45Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>ffffff5</imageId>
    </item>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>True</isPublic>
      <architecture></architecture>
      <name>Arch Linux</name>
      <creationDate>2020-03-20T11:48:45Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>ffffff6</imageId>
    </item>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>False</isPublic>
      <architecture></architecture>
      <name>パブリックISOイメージ</name>
      <creationDate>2020-03-20T14:32:18Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>fffffff</imageId>
    </item>
    <item>
      <imageState>available</imageState>
      <platform></platform>
      <isPublic>True</isPublic>
      <architecture></architecture>
      <name>VyOS</name>
      <creationDate>2020-03-20T11:45:51Z</creationDate>
      <rootDeviceName>/dev/sda</rootDeviceName>
      <imageId>ffffff1</imageId>
    </item>
    <item>
      <name>CentOS</name>
      <isPublic>True</isPublic>
      <imageId>a3fc25d</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
    <item>
      <name>CentOS</name>
      <isPublic>True</isPublic>
      <imageId>24ce18d</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
    <item>
      <name>Ubuntu</name>
      <isPublic>True</isPublic>
      <imageId>a67515b</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
    <item>
      <name>Ubuntu</name>
      <isPublic>True</isPublic>
      <imageId>beae3a3</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
    <item>
      <name>Fedora</name>
      <isPublic>True</isPublic>
      <imageId>1b0ed14</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
    <item>
      <name>Debian</name>
      <isPublic>True</isPublic>
      <imageId>10c1258</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
    <item>
      <name>FreeBSD</name>
      <isPublic>True</isPublic>
      <imageId>ba7de91</imageId>
      <imageState>available</imageState>
      <platform></platform>
      <architecture>x86_64</architecture>
      <rootDeviceName>/dev/sda</rootDeviceName>
    </item>
  </imagesSet>
</DescribeImagesResponse>