本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
列出儲存後端
貢獻者
建議變更
您可以列出可用的儲存後端。
執行下列REST API呼叫。
HTTP 方法和端點
此 REST API 呼叫使用下列方法和端點。
HTTP方法 | 路徑 |
---|---|
取得 |
/accounts/{account_id}/topology / v1/storageBackends |
Curl範例:傳回所有儲存後端的所有資料
curl --request GET \
--location "https://astra.netapp.io/accounts/$ACCOUNT_ID/topology/v1/storageBackends" \
--include \
--header "Accept: */*" \
--header "Authorization: Bearer $API_TOKEN"
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" } ] }