ページの先頭行へ戻る
ServerView Resource Orchestrator Cloud Edition V3.1.0 リファレンスガイド (API編)
ServerView

2.1.5 GetLPlatformDescriptorAttributes (テンプレートの属性を取得)

L-Platformテンプレートの属性情報を取得します。

リクエストパラメーター

パラメーター名

項目

項目説明

Version

説明

L-Platform APIのバージョンID

string ASCII

設定内容

固定。"2.0"を指定してください。

Locale

説明

L-Platform APIと通信するための言語。ISO 639で規定されている言語コードを指定します。

string ASCII

設定内容

以下から選択します。
・"ja": 日本語
・"en": 英語

Action

説明

実行するL-Platform APIの名称

string ASCII

設定内容

固定。"GetLPlatformDescriptorAttributes"を指定してください。

userId

説明

L-Platform APIを実行するユーザーID

string ASCII

設定内容

31文字以内

orgId

説明

L-Platform APIを実行するユーザーのテナント名

string ASCII

設定内容

32文字以内

lplatformDescriptorId

説明

L-PlatformテンプレートID

string ASCII

設定内容

32文字以内


レスポンス

《ステータスコード》

正常に終了した場合に"200 OK"を返します。

《XML》

<?xml version="1.0" encoding="UTF-8"?>
<GetLPlatformDescriptorAttributesResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>[メッセージ]</responseMessage>
  <responseStatus>[ステータス]</responseStatus>
  <lplatformdescriptor>
    <creatorName>[L-Platformテンプレートの作成者のテナント名]</creatorName>
    <description>[L-Platformテンプレートの説明]</description>
    <registrant>[L-Platformテンプレートの登録者]</registrant>
    <lplatformdescriptorId>[L-PlatformテンプレートID]</lplatformdescriptorId>
    <lplatformDescriptorName>[L-Platformテンプレート名]</lplatformDescriptorName>
  </lplatformdescriptor>
</GetLPlatformDescriptorAttributesResponse>

《要素》

要素名

項目

項目説明

GetLPlatformDescriptorAttributesResponse

説明

レスポンスの情報を持つ要素

なし

出現回数

1

responseMessage

説明

メッセージ。リクエストが正しく処理されたかどうかを表します。
メッセージの詳細については、「メッセージ集」の「第16章 PAPIで始まるメッセージ」を参照してください。

string UTF-8

出現回数

1

responseStatus

説明

ステータス。リクエストが正常に処理されたかどうかを表します。正常に処理された場合は "SUCCESS" が返却されます。それ以外の場合はエラーコードが返却されます。
エラーコードの詳細については、「付録A レスポンスステータス・エラーコード一覧(L-Platform API)」を参照してください。

string ASCII

出現回数

1

lplatformdescriptor

説明

L-Platformテンプレート情報のレスポンス情報を持つ要素

なし

出現回数

0または1

creatorName

説明

L-Platformテンプレートの作成者のテナント名

string ASCII

出現回数

0または1

description

説明

L-Platformテンプレートの説明

string UTF-8

出現回数

0または1

registrant

説明

L-Platformテンプレートの登録者

string UTF-8

出現回数

0または1

lplatformdescriptorId

説明

L-PlatformテンプレートID

string ASCII

出現回数

0または1

lplatformdescriptorName

説明

L-Platformテンプレート名

string UTF-8

出現回数

0または1


サンプルレスポンス

<?xml version="1.0" encoding="UTF-8"?>
<GetLPlatformDescriptorAttributesResponse xmlns="http://cfmg.systemwalker.jp.fujitsu.com">
  <responseMessage>PAPI00000 Processing was completed.</responseMessage>
  <responseStatus>SUCCESS</responseStatus>
  <lplatformdescriptor>
    <creatorName>cfmgadm</creatorName>
    <description>desc</description>
    <registrant>cfmgadm</registrant>
    <lplatformdescriptorId>TMPL_Win2k8x86_0826_net</lplatformdescriptorId>
    <lplatformdescriptorName>Win2k8x86_0826_net</lplatformdescriptorName>
  </lplatformdescriptor>
</GetLPlatformDescriptorAttributesResponse>