La version française est une traduction automatique. La version anglaise prévaut sur la française en cas de divergence.
Liste des systèmes back-end
Vous pouvez lister les systèmes back-end disponibles.
Effectuez l'appel de l'API REST suivant.
Méthode HTTP et noeud final
Cet appel d'API REST utilise la méthode et le point de terminaison suivants.
| Méthode HTTP | Chemin |
|---|---|
OBTENEZ |
/Accounts/{account_ID}/topologique/v1/storageBackends |
Exemple de curl : renvoie toutes les données pour tous les systèmes back-end
curl --request GET \
--location "https://astra.netapp.io/accounts/$ACCOUNT_ID/topology/v1/storageBackends" \
--include \
--header "Accept: */*" \
--header "Authorization: Bearer $API_TOKEN"
Exemple de sortie JSON
{
"items": [
{
"backendCredentialsName": "10.191.77.177",
"backendName": "myinchunhcluster-1",
"backendType": "ONTAP",
"backendVersion": "9.8.0",
"configVersion": "Not applicable",
"health": "Not applicable",
"id": "46467c16-1585-4b71-8e7f-f0bc5ff9da15",
"location": "nalab2",
"metadata": {
"createdBy": "4c483a7e-207b-4f9a-87b7-799a4629d7c8",
"creationTimestamp": "2021-07-30T14:26:19Z",
"modificationTimestamp": "2021-07-30T14:26:19Z"
},
"ontap": {
"backendManagementIP": "10.191.77.177",
"managementIPs": [
"10.191.77.177",
"10.191.77.179"
]
},
"protectionPolicy": "Not applicable",
"region": "Not applicable",
"state": "Running",
"stateUnready": [],
"type": "application/astra-storageBackend",
"version": "1.0",
"zone": "Not applicable"
}
]
}