依網路資源群組列出

取得指定資源群組中的所有網路資源。

可取得指定資源群組中所有網路資源的相關資訊。 此資訊包括網路描述和其他執行時間屬性。

要求

方法 要求 URI
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks?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 (確定) 確定
NetworkResourceDescriptionList
所有其他狀態碼 錯誤
ErrorModel

範例

NetworksList

要求

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sbz_demo/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/sbz_demo/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/sbz_demo/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"
            }
          ]
        }
      }
    }
  ]
}