依應用程式服務資源群組列出

取得指定資源群組中的所有應用程式資源。

可取得指定資源群組中所有應用程式資源的相關資訊。 此資訊包括應用程式服務和其他執行時間屬性的相關資訊。

要求

方法 要求 URI
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview

參數

名稱 類型 必要 Location
subscriptionId 字串 路徑
resourceGroupName 字串 路徑
api-version 字串 查詢

subscriptionId

類型:字串
必要:是

客戶訂用帳戶識別碼


resourceGroupName

類型:字串
必要:是

Azure 資源群組名稱


api-version

類型:字串
必要:是
預設2018-07-01-preview

API 的版本。 這是必要參數,而且其值必須是 2018-07-01-preview

回應

HTTP 狀態碼 描述 回應結構描述
200 (確定) 確定
ApplicationResourceDescriptionList
所有其他狀態碼 錯誤
ErrorModel

範例

ApplicationList

要求

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview

200 回應

主體
{
  "value": [
    {
      "type": "Microsoft.ServiceFabricMesh/applications",
      "location": "eastus",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldApp",
      "name": "helloWorldApp",
      "tags": {},
      "properties": {
        "provisioningState": "Succeeded",
        "description": "SeaBreeze HelloWorld Application!",
        "healthState": "Ok",
        "serviceNames": [
          "helloWorldService"
        ],
        "status": "Ready"
      }
    },
    {
      "type": "Microsoft.ServiceFabricMesh/applications",
      "location": "eastus",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/applications/helloWorldAppWindows",
      "name": "helloWorldAppWindows",
      "tags": {},
      "properties": {
        "provisioningState": "Succeeded",
        "description": "SeaBreeze HelloWorld Application!",
        "healthState": "Ok",
        "serviceNames": [
          "helloWorldService"
        ],
        "status": "Ready"
      }
    }
  ]
}