アプリケーショングループの詳細情報を取得します。アプリケーション管理機能は、中国 (杭州) リージョンでのみ利用可能です。このリージョン専用のエンドポイントをご利用ください。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
oos:GetApplicationGroup |
get |
*ApplicationGroup
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
リージョンの ID。cn-hangzhou のみがサポートされています。 |
cn-hangzhou |
| Name |
string |
必須 |
アプリケーショングループの名前。 |
MyApplicationGroup |
| ApplicationName |
string |
必須 |
アプリケーションの名前。 |
MyApplication |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
92EA60ED-544D-55E9-93D9-237BE9976C0D |
| ApplicationGroup |
object |
アプリケーショングループの詳細情報。 |
|
| CmsGroupId |
string |
Cloud Monitor アプリケーショングループの ID。 |
12345678 |
| DeployRegionId |
string |
デプロイ先リージョンの ID。 |
cn-hangzhou |
| Description |
string |
アプリケーショングループの説明。 |
ApplicationGroup |
| UpdateDate |
string |
アプリケーショングループが最後に更新された時刻。 |
2021-09-07T10:28:25Z |
| ImportTagKey |
string |
タグキー。 |
k1 |
| ApplicationName |
string |
アプリケーションの名前。 |
MyApplication |
| ImportTagValue |
string |
タグ値。 |
v1 |
| Name |
string |
アプリケーショングループの名前。 |
MyApplicationGroup |
| CreateDate |
string |
アプリケーショングループが作成された時刻。 |
2021-09-07T10:28:25Z |
| DeployParameters |
string |
アプリケーショングループのデプロイ構成。 |
{ "TemplateURL": "https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json", "Parameters": { "ZoneId": "cn-hangzhou-k", "ProjectName": "test", "SystemDiskSize": 40, "InstanceChargeType": "PostPaid", "SecurityGroupId": "sg-bp1a4374akk63jl8tddy", "VSwitchId": "vsw-bp1fcvc3zn0jrag86rrlm", "SystemDiskCategory": "cloud_essd", "InstancePassword": "******", "InternetChargeType": "PayByTraffic", "InstanceCount": 1, "InternetMaxBandwidthOut": 0, "VpcId": "vpc-bp1i99boyas8i8m9t3skp", "EcsImageId": "centos_8_5_x64_20G_alibase_20211228.vhd", "DataDiskSize": 100, "EcsInstanceType": "ecs.s6-c1m4.small", "DataDiskCategory": "cloud_efficiency", "EnvironmentCommandId": "c-hz028fc3g031gcg" } |
| Status |
string |
アプリケーショングループのステータス。 |
Created |
| StatusReason |
string |
アプリケーショングループのステータスの理由。 |
Stack CREATE completed successfully |
| DeployOutputs |
string |
デプロイの出力内容。 |
{ "Outputs": [ { "Description": "No description given", "OutputKey": "InstanceIds" } ], "StackId": "6ef4b860-f6e7-4145-8d22-f4a2a32363e1" } } |
| Progress |
string |
アプリケーションインスタンスの作成進捗状況。 |
100 |
| OperationMetadata |
string |
O&M 構成。 |
{\"PrometheusConfigMap\":{\"模板1\":{\"EnablePrometheus\":false}}} |
| ApplicationSource |
string |
アプリケーションのソース。 |
{"Platform":"github","RepoName":"wenle/springboot-ecs-sourcecode-demo","Owner":"wenle","Branch":"main","CommitHash":"8559ff3ac7568fc7951ff63f841883ee3f06c6fe","CommitMessage":"Init computenest project"} |
| ErrorType |
string |
ビルド失敗時に発生したエラーの種類。 |
Build |
| ErrorDetail |
string |
ビルド失敗時に発生したエラーの詳細情報。 |
ERROR: failed to build: executing lifecycle: failed with status code: 51 |
| DeployedRevisionIds |
string |
デプロイリビジョン ID の一覧。最新の 10 個のみ表示されます。 |
["rev-f575b688015442d28d26","rev-b9876a39cf84490db638","rev-782fc7a0c0974d89b1eb"] |
| ExecutionId |
string |
実行 ID。 |
exec-f5dee943869c436a9f57 |
| MonitorMetadata |
string |
例
成功レスポンス
JSONJSON
{
"RequestId": "92EA60ED-544D-55E9-93D9-237BE9976C0D",
"ApplicationGroup": {
"CmsGroupId": "12345678",
"DeployRegionId": "cn-hangzhou",
"Description": "ApplicationGroup",
"UpdateDate": "2021-09-07T10:28:25Z",
"ImportTagKey": "k1",
"ApplicationName": "MyApplication",
"ImportTagValue": "v1",
"Name": "MyApplicationGroup",
"CreateDate": "2021-09-07T10:28:25Z",
"DeployParameters": "{ \"TemplateURL\": \"https://ros-template.oss-cn-zhangjiakou.aliyuncs.com/App_Management_Existing_Vpc_Ecs_Instance.json\", \"Parameters\": { \"ZoneId\": \"cn-hangzhou-k\", \"ProjectName\": \"test\", \"SystemDiskSize\": 40, \"InstanceChargeType\": \"PostPaid\", \"SecurityGroupId\": \"sg-bp1a4374akk63jl8tddy\", \"VSwitchId\": \"vsw-bp1fcvc3zn0jrag86rrlm\", \"SystemDiskCategory\": \"cloud_essd\", \"InstancePassword\": \"******\", \"InternetChargeType\": \"PayByTraffic\", \"InstanceCount\": 1, \"InternetMaxBandwidthOut\": 0, \"VpcId\": \"vpc-bp1i99boyas8i8m9t3skp\", \"EcsImageId\": \"centos_8_5_x64_20G_alibase_20211228.vhd\", \"DataDiskSize\": 100, \"EcsInstanceType\": \"ecs.s6-c1m4.small\", \"DataDiskCategory\": \"cloud_efficiency\", \"EnvironmentCommandId\": \"c-hz028fc3g031gcg\" }",
"Status": "Created",
"StatusReason": "Stack CREATE completed successfully",
"DeployOutputs": "{ \"Outputs\": [ { \"Description\": \"No description given\", \"OutputKey\": \"InstanceIds\" } ], \"StackId\": \"6ef4b860-f6e7-4145-8d22-f4a2a32363e1\" } }",
"Progress": "100",
"OperationMetadata": "{\\\"PrometheusConfigMap\\\":{\\\"模板1\\\":{\\\"EnablePrometheus\\\":false}}}",
"ApplicationSource": "{\"Platform\":\"github\",\"RepoName\":\"wenle/springboot-ecs-sourcecode-demo\",\"Owner\":\"wenle\",\"Branch\":\"main\",\"CommitHash\":\"8559ff3ac7568fc7951ff63f841883ee3f06c6fe\",\"CommitMessage\":\"Init computenest project\"}",
"ErrorType": "Build",
"ErrorDetail": "ERROR: failed to build: executing lifecycle: failed with status code: 51",
"DeployedRevisionIds": "[\"rev-f575b688015442d28d26\",\"rev-b9876a39cf84490db638\",\"rev-782fc7a0c0974d89b1eb\"]",
"ExecutionId": "exec-f5dee943869c436a9f57",
"MonitorMetadata": ""
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。