你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

获取

获取应用程序资源。

获取有关具有给定名称的应用程序资源的信息。 该信息包括有关应用程序的服务和其他运行时属性的信息。

请求

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

参数

名称 类型 必须 位置
subscriptionId string 路径
resourceGroupName 字符串 路径
applicationName 字符串 路径
api-version 字符串 查询

subscriptionId

类型:字符串
必需:是

客户订阅标识符


resourceGroupName

类型:字符串
必需:是

Azure 资源组名称


applicationName

类型:字符串
必需:是

应用程序的标识。


api-version

类型:字符串
必需:是
默认

API 的版本。 此参数是必需的,其值必须为 2018-07-01-preview

响应

HTTP 状态代码 说明 响应架构
200 (正常) 确定
ApplicationResourceDescription
所有其他状态代码 错误
ErrorModel

示例

ApplicationGet

请求

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

200 响应

正文
{
  "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"
  }
}