List By Network Subscription

Gets all the network resources in a given subscription.

Gets the information about all network resources in a given subscription. The information includes the network description and other runtime properties.

Request

Method Request URI
GET /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/networks?api-version=2018-07-01-preview

Parameters

Name Type Required Location
subscriptionId string Yes Path
api-version string Yes Query

subscriptionId

Type: string
Required: Yes

The customer subscription identifier


api-version

Type: string
Required: Yes
Default: 2018-07-01-preview

The version of the API. This parameter is required and its value must be 2018-07-01-preview.

Responses

HTTP Status Code Description Response Schema
200 (OK) OK
NetworkResourceDescriptionList
All other status codes Error
ErrorModel

Examples

NetworksList

Request

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

200 Response

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