Elenco per sottoscrizione di rete
Ottiene tutte le risorse di rete in una determinata sottoscrizione.
Ottiene le informazioni su tutte le risorse di rete in una determinata sottoscrizione. Le informazioni includono la descrizione di rete e altre proprietà di runtime.
Richiesta
Metodo | URI richiesta |
---|---|
GET | /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/networks?api-version=2018-07-01-preview |
Parametri
Nome | Tipo | Necessario | Posizione |
---|---|---|---|
subscriptionId |
string | Sì | Percorso |
api-version |
string | Sì | Query |
subscriptionId
Tipo: string
Obbligatorio: Sì
Identificatore della sottoscrizione del cliente
api-version
Tipo: string
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/providers/Microsoft.ServiceFabricMesh/networks?api-version=2018-07-01-preview
200 Risposta
Corpo
{
"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"
}
]
}
}
}
]
}