全部產品
Search
文件中心

CloudOps Orchestration Service:GetApplicationGroup - 擷取一個應用分組的詳細資料

更新時間:Mar 27, 2026

擷取一個應用分組的詳細資料。應用管理的服務地區僅支援杭州,請使用杭州的endpoint。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

oos:GetApplicationGroup

get

*ApplicationGroup

acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}

  • oos:TLSVersion

請求參數

名稱

類型

必填

描述

樣本值

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

CloudMonitor分組 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

代營運配置。

{\"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

樣本

正常返回樣本

JSON格式

{
  "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": ""
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情