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

  • HOME
  • 提供API一覧
  • enableStaticNat

enableStaticNat

処理概要

NAT設定を実施

 

注意事項

・なし

 

リクエスト

・リクエストパラメータ

Parameter Name Description Required
ipaddressid the public IP address ID for which static NAT feature is being enabled true
virtualmachineid the ID of the virtual machine for enabling static NAT feature true
vmguestip VM guest NIC secondary IP address for the port forwarding rule false

 

・リクエストサンプル

$ ./kick_api.sh ./testapi-kenshou02-east.sh command=enableStaticNat ipaddressid=23897133-7ec2-4719-abec-a1990c183be0 virtualmachineid=14aa749d-bd33-4a55-a441-e1d4126f2633

 

レスポンス

・レスポンスボディ

Response Name Description
displaytext any text associated with the success or failure
success true if operation is executed successfully

 

・レスポンスサンプル
【API実行結果】
<?xml version=”1.0″ encoding=”UTF-8″?>
<enablestaticnatresponse cloud-stack-version=”4.3.0.2″>
<success>true</success>
</enablestaticnatresponse>

提供API一覧

2024/03/28 2024/03/28