Skip to main content

Get CIFS server configurations

Contributors netapp-ranuk

You can use this workflow to retrieve the CIFS server configurations for an existing on-premises working environment.

1. Select the working environment

Perform the workflow Get working environments and choose the publicId value of the working environment for the workingEnvironmentId path parameter.

2. Get the CIFS configurations

HTTP method Path

GET

/occm/api/onprem/working-environments/{workingEnvironmentId}/cifs

curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/onprem/working-environments/<WORKING_ENV_ID>/cifs' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input
  • Path parameter <WORKING_ENV_ID> workingEnvironmentId

  • Optional query parameter svm

Output

The JSON output example includes the CIFS configurations for an existing ONTAP on-premises working environment.

JSON output example
[
    {
        "dnsDomain": "zivh.netapp.com",
        "activeDirectoryDomain": "zivh.netapp.com",
        "ipAddresses": [
            "1xx.00.5.241"
        ],
        "netBIOS": "zivaws02xxx",
        "organizationalUnit": "CN=Computers",
        "authenticationType": "domain"
    }
]