Discover systems
You can discover the on-premises ONTAP clusters and add them to a system using the cluster name as the system name.
HTTP method and endpoint
This REST API call uses the following method and endpoint.
| HTTP method | Path |
|---|---|
GET |
/occm/api/onprem/working-environments |
Curl example
curl --request GET
--location "https://api.bluexp.netapp.com/occm/api/onprem/working-environments" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>"
JSON input example
{
"clusterPassword": "password",
"description": "Onprem system",
"clusterUserName": "admin",
"name": "onpremwe",
"location": "ON_PREM",
"clusterAddress": "10.xxx.0.40",
"tenantId": "workspaceUsXAxxxxxx"
}
JSON output example
The JSON output includes an example of on-prem systems.
Example output
{
"publicId": "OnPremWorkingEnvironment-i7by5xxx",
"tenantId": "Tenant-dfxx5",
"description": "Onprem system",
"name": "onpremwe",
"discoverUserEmail": "user_Email@domain.com",
"location": "ON_PREM",
"reservedSize": null,
"status": null,
"interClusterLifs": null,
"cronJobSchedules": null,
"svms": null,
"snapshotPolicies": null,
"replicationProperties": null,
"clusterProperties": null,
"ontapClusterProperties": null,
"workingEnvironmentType": "ON_PREM",
"cloudSyncProperties": null,
"actionsRequired": null,
"capacityFeatures": null,
"aff": false,
"cbsProperties": null,
"complianceProperties": null,
"monitoringProperties": null
}