共用方式為


取得網路資源

取得網路資源。

取得具有指定名稱的網路資源相關資訊。 此資訊包括網路描述和其他執行時間資訊。

要求

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

參數

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

subscriptionId

類型:字串
必要:是

客戶訂用帳戶識別碼


resourceGroupName

類型:字串
必要:是

Azure 資源群組名稱


networkName

類型:字串
必要:是

網路的身分識別。


api-version

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

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

回應

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

範例

NetworkGet

要求

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

200 回應

主體
{
  "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"
        }
      ]
    }
  }
}