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

  • HOME
  • 提供API一覧
  • changeServiceForVirtualMachine

changeServiceForVirtualMachine

処理概要

仮想サーバのサービス変更を実施。拡張・縮小が可能(サーバ停止が必要)

 

注意事項

・仮想サーバが停止中(Stopped)の状態で実施してください。

 

リクエスト

・リクエストパラメータ

Parameter Name Description Required
id The ID of the virtual machine true
serviceofferingid the service offering ID to apply to the virtual machine true

・リクエストサンプル

$ ./kick_api.sh command=changeServiceForVirtualMachine id=14aa749d-bd33-4a55-a441-e1d4126f2633 serviceofferingid=ab00a8a4-482f-4479-81df-b69f6d19db74

 

レスポンス

・レスポンスボディ

Response Name Description
id Zone id
name Zone name

 

・レスポンスサンプル

【API実行結果】
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
<listzonesresponse cloud-stack-version=”4.3.0.2″>
<count>1</count>
<zone>
<id>f4c460fd-06d9-44db-a54d-7a23b54d9133</id>
<name>jp2-east01</name>
</zone>
</listzonesresponse>

提供API一覧

2024/04/11 2024/04/11