Elenco per gruppo di risorse di rete
Ottiene tutte le risorse di rete in un determinato gruppo di risorse.
Ottiene le informazioni su tutte le risorse di rete in un determinato gruppo di risorse. Le informazioni includono la descrizione di rete e altre proprietà di runtime.
Richiesta
Metodo | URI richiesta |
---|---|
GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks?api-version=2018-07-01-preview |
Parametri
Nome | Tipo | Necessario | Posizione |
---|---|---|---|
subscriptionId |
string | Sì | Percorso |
resourceGroupName |
string | Sì | Percorso |
api-version |
string | Sì | Query |
subscriptionId
Tipo: stringa
Obbligatorio: Sì
Identificatore della sottoscrizione del cliente
resourceGroupName
Tipo: stringa
Obbligatorio: Sì
Nome del gruppo di risorse di Azure
api-version
Tipo: stringa
Obbligatorio: Sì
Impostazione predefinita: 2018-07-01-preview
Versione dell'API. Questo parametro è obbligatorio e il relativo valore deve essere 2018-07-01-preview
.
Risposte
Codice di stato HTTP | Descrizione | Schema di risposta |
---|---|---|
200 (OK) | OK |
NetworkResourceDescriptionList |
Tutti gli altri codici di stato | Errore |
ErrorModel |
Esempio
NetworksList
Richiesta
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sbz_demo/providers/Microsoft.ServiceFabricMesh/networks?api-version=2018-07-01-preview
Risposta 200
Corpo
{
"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"
}
]
}
}
}
]
}