テンプレートイメージとアーキテクチャ図に関する情報を取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
bpstudio:GetTemplate |
get |
*Template
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| TemplateId |
string |
必須 |
テンプレートの ID。 |
XFKR6WYRVS24S07R |
| Region |
string |
任意 |
テンプレートのリージョン。 |
cn-hangzhou |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
rg-aekzhfgmw4e6fwq |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Message |
string |
エラーメッセージ。 |
Success |
| RequestId |
string |
リクエストの ID。 |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Data |
object |
テンプレートの詳細。 |
|
| Description |
string |
テンプレートの説明。 |
|
| ImageURL |
string |
テンプレートのアーキテクチャ図ファイルのパス。 |
bp-studio-template/sr-U37UD2YQCRJ75X5V.png |
| Name |
string |
テンプレートの名前。 |
cadt-template |
| TemplateId |
string |
テンプレートの ID。 |
XFKR6WYRVS24S07R |
| CreateTime |
string |
テンプレートが作成された時間。 |
2020-09-22 17:08:31 |
| ResourceGroupId |
string |
リソースグループの ID。 |
rg-aekzhfgmw4e6fwq |
| Variables |
array<object> |
テンプレート変数の詳細。 |
|
|
object |
|||
| Attribute |
string |
変数の名前。 |
instance_name |
| DataType |
string |
変数のタイプ。 |
String |
| DefaultValue |
string |
デフォルト値。 |
cadt-app-01 |
| Variable |
string |
変数の値。 |
${name} |
| Options |
string |
||
| DocumentUrl |
string |
シナリオの詳細。 |
|
| Code |
string |
リターンコード。 |
200 |
例
成功レスポンス
JSONJSON
{
"Message": "Success",
"RequestId": "A07FFDF2-78FA-1B48-9E38-88E833A93187",
"Data": {
"Description": "",
"ImageURL": "bp-studio-template/sr-U37UD2YQCRJ75X5V.png",
"Name": "cadt-template",
"TemplateId": "XFKR6WYRVS24S07R",
"CreateTime": "2020-09-22 17:08:31",
"ResourceGroupId": "rg-aekzhfgmw4e6fwq",
"Variables": [
{
"Attribute": "instance_name",
"DataType": "String",
"DefaultValue": "cadt-app-01",
"Variable": "${name}",
"Options": ""
}
],
"DocumentUrl": ""
},
"Code": "200"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 200 | Success | The transaction is successful. | |
| 400 | ParameterEmpty | You must specify the request parameter. | |
| 500 | ServiceError | A server error occurred. Please try again later. | |
| 404 | EntityNotExist.ResourceGroup | The resource group does not exist. | |
| 404 | EntityNotExist.ResourceId | The resource does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。