sidebar | permalink | keywords | summary |
---|---|---|---|
sidebar |
cm/wf_gcp_ontap_get_cifs.html |
cloud, manager, rest, api |
You can use this workflow to retrieve the CIFS server configurations for an existing Cloud Volumes ONTAP working environment. |
You can use this workflow to retrieve the CIFS server configurations for an existing Cloud Volumes ONTAP working environment.
Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:
You can use this workflow to retrieve CIFS server configuration in a single node working environment.
Perform the workflow Get working environments and choose the publicId
value for the working environment used in the workingEnvironmentId
path parameter.
HTTP method | Path |
---|---|
GET |
/occm/api/gcp/vsa/working-environments/{workingEnvironmentId}/cifs |
- curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/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 working environment.
- JSON output example
[
{
"dnsDomain": "zivh.netapp.com",
"activeDirectoryDomain": "zivh.netapp.com",
"ipAddresses": [
"172.31.5.241"
],
"netBIOS": "zivaws02we01",
"organizationalUnit": "CN=Computers",
"authenticationType": "domain"
}
]
You can use this workflow to retrieve CIFS server configuration in an HA working environment.
Perform the workflow Get working environments and choose the publicId
value for the working environment used in the workingEnvironmentId
path parameter.
HTTP method | Path |
---|---|
GET |
/occm/api/gcp/ha/working-environments/{workingEnvironmentId}/cifs |
- curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/gcp/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 ONTAP working environment.
- JSON output example
[
{
"dnsDomain": "zivh.netapp.com",
"activeDirectoryDomain": "zivh.netapp.com",
"ipAddresses": [
"172.31.5.241"
],
"netBIOS": "zivaws02we01",
"organizationalUnit": "CN=Computers",
"authenticationType": "domain"
}
]