KDDIクラウドプラットフォームサービス ナレッジサイト

  • HOME
  • 提供API一覧
  • registerIso

registerIso

処理概要

ISOファイルの登録

注意事項

特になし

リクエスト

・リクエストパラメータ

Parameter Name Description Required
name the name of the ISO true
displaytext the display text of the ISO. This is usually used for display purposes. true
url the URL to where the ISO is currently being hosted true
zoneid the ID of the zone you wish to register the ISO to. true
ostypeid the ID of the OS Type that best represents the OS of this ISO. If the iso is bootable this parameter needs to be passed true

・リクエストサンプル

command=registerIso displaytext=TestApi5th0701-000000000000000000000001 n ame=TestApi5th0701-000000000000000000000001 url=http://download_server/ISO/CentOS/CentOS-7.3-x86_64-DVD-1611.iso zoneid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ostypeid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

レスポンス

・レスポンスボディ

Response Name 説明
id the template ID
name the template name
displaytext the template display text
ispublic true if this template is a public template, false otherwise
created the date this template was created
isready true if the template is ready to be deployed from, false otherwise.
format the format of the template.
bootable true if the ISO is bootable, false otherwise
isfeatured true if this template is a featured template, false otherwise
crossZones true if the template is managed across all Zones, false otherwise
ostypeid the ID of the OS type for this template.
ostypename the name of the OS type for this template.
account the account name to which the template belongs
zoneid the ID of the zone for this template
zonename the name of the zone for this template
status the status of the template
hypervisor the hypervisor on which the template runs
domain the domain associated with the tag
domainid the ID of the domain associated with the tag
isextractable true if the template is extractable, false otherwise

・レスポンスサンプル

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0 103 828 103 828 0 0 4071 0 –:–:– –:–:– –:–:– 7327
<?xml version=”1.0″ encoding=”UTF-8″?>
<registerisoresponse cloud-stack-version=”4.3.0.2″>
<count>1</count>
<iso>
<id>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</id>
<name>TestApi5th0701-000000000000000000000001</name>
<displaytext>TestApi5th0701-000000000000000000000001</displaytext>
<ispublic>false</ispublic>
<created>2017-07-15T13:29:53+0900</created>
<isready>false</isready>
<bootable>true</bootable>
<isfeatured>false</isfeatured>
<crossZones>false</crossZones>
<ostypeid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</ostypeid>
<ostypename>CentOS 6.4 (32-bit)</ostypename>
<account>kenshou02</account>
<zoneid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</zoneid>
<zonename>jp2-east01</zonename>
<status/>
<domain>M00000002</domain>
<domainid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</domainid>
<isextractable>false</isextractable>
</iso>
</registerisoresponse>

提供API一覧

2024/03/28 2024/03/28