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

按网络订阅列出

获取给定订阅中的所有网络资源。

获取有关给定订阅中所有网络资源的信息。 该信息包括网络说明和其他运行时属性。

请求

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

参数

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

subscriptionId

类型:字符串
必需:是

客户订阅标识符


api-version

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

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

响应

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

示例

NetworksList

请求

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

200 响应

正文
{
  "value": [
    {
      "type": "Microsoft.ServiceFabricMesh/networks",
      "location": "eastus",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{resourceGroup}/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetwork",
      "name": "helloWorldNetwork",
      "tags": {},
      "properties": {
        "provisioningState": "Succeeded",
        "addressPrefix": "10.0.0.4/22",
        "ingressConfig": {
          "qosLevel": "Bronze",
          "publicIPAddress": "52.191.12.219",
          "layer4": [
            {
              "publicPort": "80",
              "applicationName": "helloWorldApp",
              "serviceName": "helloWorldService",
              "endpointName": "helloWorldListener"
            }
          ]
        }
      }
    },
    {
      "type": "Microsoft.ServiceFabricMesh/networks",
      "location": "eastus",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/{resourceGroup}/providers/Microsoft.ServiceFabricMesh/networks/helloWorldNetworkWindows",
      "name": "helloWorldNetworkWindows",
      "tags": {},
      "properties": {
        "provisioningState": "Succeeded",
        "addressPrefix": "10.0.0.4/22",
        "ingressConfig": {
          "qosLevel": "Bronze",
          "publicIPAddress": "52.191.255.103",
          "layer4": [
            {
              "publicPort": "80",
              "applicationName": "helloWorldAppWindows",
              "serviceName": "helloWorldService",
              "endpointName": "helloWorldListener"
            }
          ]
        }
      }
    }
  ]
}