Get CIFS server configurations
You can use this workflow to retrieve the CIFS server configurations for an existing Cloud Volumes ONTAP working environment.
Choose the correct workflow depending on the type of the Cloud Volumes ONTAP deployment:
Get CIFS server configuration for single node
You can use this workflow to retrieve a CIFS server configuration for a single node system.
Step 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.
Step 2. Get the CIFS configurations
You can issue the REST API call to get the CIFS configurations.
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
GET |
/occm/api/vsa/working-environments/{workingEnvironmentId}/cifs |
curl --request GET \
--location "https://cloudmanager.cloud.netapp.com/occm/api/vsa/working-environments/<WORKING_ENV_ID>/cifs" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>"
The JSON input example includes the minimum list of parameters.
Parameter | Type | Required | Description |
---|---|---|---|
<SVM_NAME> |
Query |
No |
Identifies the SVM |
|
Path |
Yes |
Identifies the working environment ID |
The JSON output example includes the CIFS configurations for an existing Cloud Volumes ONTAP working environment.
[ { "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 high availability pair
You can use this workflow to retrieve a CIFS server configuration for an HA working environment.
Step 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.
Step 2. Get the CIFS configurations
You can issue the REST API call to get the CIFS configurations.
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
GET |
/occm/api/aws/ha/working-environments/{workingEnvironmentId}/cifs |
curl --request GET \
--location "https://cloudmanager.cloud.netapp.com/occm/api/aws/ha/working-environments/<WORKING_ENV_ID>/cifs" \
--header "Content-Type: application/json" \
--header "x-agent-id: <AGENT_ID>" \
--header "Authorization: Bearer <ACCESS_TOKEN>"
The JSON input example includes the minimum list of parameters.
Parameter | Type | Required | Description |
---|---|---|---|
<SVM_NAME> |
Query |
No |
Identifies the SVM |
|
Path |
Yes |
Identifies the working environment ID |
The JSON output example includes the CIFS configurations for an existing Cloud Volumes ONTAP working environment.
[ { "dnsDomain": "zivh.netapp.com", "activeDirectoryDomain": "zivh.netapp.com", "ipAddresses": [ "172.31.5.241" ], "netBIOS": "zivaws02we01", "organizationalUnit": "CN=Computers", "authenticationType": "domain" } ]