Skip to main content

Get CIFS server configurations

Contributors netapp-aoife

You can use this workflow to retrieve the Common Internet File System (CIFS) server configurations for an existing Cloud Volumes ONTAP system.

Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:

Get CIFS server configuration for a single node

You can use this workflow to retrieve CIFS server configuration for a single node system.

1. Select the system

Perform the workflow Get systems and choose the publicId value for the system used in the workingEnvironmentId path parameter.

2. Get the CIFS configurations

HTTP method Path

GET

/occm/api/azure/vsa/working-environments/{workingEnvironmentId}/cifs

curl example
curl --location --request GET 'https://api.bluexp.netapp.com/occm/api/azure/vsa/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 string

  • (Optional) Query parameter svm string

Output

The JSON output example includes the CIFS configurations for an existing Cloud Volumes ONTAP ONTAP system.

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

Get CIFS server configuration for a high availability pair

You can use this workflow to retrieve CIFS server configuration for an HA system.

1. Select the system

Perform the workflow Get systems and choose the publicId value for the system used in the workingEnvironmentId path parameter.

2. Get the CIFS configurations

HTTP method Path

GET

/occm/api/azure/ha/working-environments/{workingEnvironmentId}/cifs

curl example
curl --location --request GET 'https://api.bluexp.netapp.com/occm/api/azure/ha/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 string

  • (Optional) Query parameter svm string

Output

The JSON output example includes the CIFS configurations for an existing Cloud Volumes ONTAP system.

JSON output example
[
  {
   "dnsDomain": "mydomain.com",
   "activeDirectoryDomain": "mydomain.com",
   "ipAddresses": ["10.10.10.20", "172.xx.yy.xx"],
   "netBIOS": "azureHAPayGo",
   "organizationalUnit": "CN=Computers",
   "activeDirectoryUsername": "administrator",
   "activeDirectoryPassword": "password",
   "svmName": "svm_azureHAPayGo"
  }
]