你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
按应用程序资源订阅列出
获取给定订阅中的所有应用程序资源。
获取有关给定订阅中所有应用程序资源的信息。 该信息包括有关应用程序服务和其他运行时属性的信息。
请求
方法 | 请求 URI |
---|---|
GET | /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/applications?api-version=2018-07-01-preview |
参数
名称 | 类型 | 必须 | 位置 |
---|---|---|---|
subscriptionId |
string | 是 | 路径 |
api-version |
字符串 | 是 | 查询 |
subscriptionId
类型:字符串
必需:是
客户订阅标识符
api-version
类型:字符串
必需:是
默认:
API 的版本。 此参数是必需的,其值必须为 2018-07-01-preview
。
响应
HTTP 状态代码 | 说明 | 响应架构 |
---|---|---|
200 (正常) | 确定 |
ApplicationResourceDescriptionList |
所有其他状态代码 | 错误 |
ErrorModel |
示例
ApplicationList
请求
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/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/abhisramvol/providers/Microsoft.ServiceFabricMesh/applications/myappl",
"name": "myappl",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"healthState": "Ok",
"serviceNames": [
"myservice"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/abhisramvol/providers/Microsoft.ServiceFabricMesh/applications/myappw",
"name": "myappw",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"healthState": "Ok",
"serviceNames": [
"myservice"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "EastUS",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/mfussellapp2/providers/Microsoft.ServiceFabricMesh/applications/SbzVoting",
"name": "SbzVoting",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Voting SeaBreeze!",
"healthState": "Ok",
"serviceNames": [
"VotingWeb",
"VotingData"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "EastUS",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/mfussellapp3/providers/Microsoft.ServiceFabricMesh/applications/SbzVoting",
"name": "SbzVoting",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Voting SeaBreeze!",
"healthState": "Ok",
"serviceNames": [
"VotingWeb",
"VotingData"
],
"status": "Ready"
}
},
{
"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"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridhar1ResourceGroup/providers/Microsoft.ServiceFabricMesh/applications/privateRegistryExampleApp",
"name": "privateRegistryExampleApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"description": "SeaBreeze example application with container deployed from private image registry.",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Invalid"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridhar4ResourceGroup/providers/Microsoft.ServiceFabricMesh/applications/SbzVoting",
"name": "SbzVoting",
"tags": {},
"properties": {
"provisioningState": "Succeeded",
"description": "Voting SeaBreeze!",
"healthState": "Ok",
"serviceNames": [
"VotingWeb",
"VotingData"
],
"status": "Ready"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridharResourceGroup/providers/Microsoft.ServiceFabricMesh/applications/privateRegistryExampleApp",
"name": "privateRegistryExampleApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"description": "SeaBreeze example application with container deployed from private image registry.",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Invalid"
}
},
{
"type": "Microsoft.ServiceFabricMesh/applications",
"location": "eastus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sridharRG/providers/Microsoft.ServiceFabricMesh/applications/privateRegistryExampleApp",
"name": "privateRegistryExampleApp",
"tags": {},
"properties": {
"provisioningState": "Updating",
"description": "SeaBreeze example application with container deployed from private image registry.",
"healthState": "Ok",
"serviceNames": [
"helloWorldService"
],
"status": "Invalid"
}
}
]
}