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

  • HOME
  • 提供API一覧
  • updateTemplate

updateTemplate

処理概要

テンプレーの登録情報を更新する

注意事項

特になし

リクエスト

・リクエストパラメータ

Parameter Description Required
id the ID of the image file true
name the name of the image file false
displaytext the display text of the image false
ostypeid the ID of the OS type that best represents the OS of this image. false
isdynamicallyscalable true if template/ISO contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory false
passwordenabled true if the image supports the password reset feature; default is false false

・リクエストサンプル

./kick-api.sh command=updateTemplate id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ostypeid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

レスポンス

・レスポンスボディ

Response Name Description
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 template 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
templatetype the type of the template
hypervisor the hypervisor on which the template runs
domain the name of the domain to which the template belongs
domainid the ID of the domain to which the template belongs

・レスポンスサンプル

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0 106 957 106 957 0 0 8392 0 –:–:– –:–:– –:–:– 38280
<?xml version=”1.0″ encoding=”UTF-8″?>
<updatetemplateresponse cloud-stack-version=”4.3.0.2″>
<template>
<id>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</id>
<name>test</name>
<displaytext>NULL</displaytext>
<ispublic>false</ispublic>
<created>2017-06-09T19:36:02+0900</created>
<isready>false</isready>
<format>QCOW2</format>
<bootable>true</bootable>
<isfeatured>false</isfeatured>
<crossZones>false</crossZones>
<ostypeid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</ostypeid>
<ostypename>CentOS 6.4 (64-bit)</ostypename>
<account>kenshou02</account>
<templatetype>USER</templatetype>
<hypervisor>VMware</hypervisor>
<domain>M00000002</domain>
<domainid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</domainid>
</template>
</updatetemplateresponse>

提供API一覧

2024/09/15 2024/09/15