Update the properties of an NFS over TLS interface
PATCH /protocols/nfs/tls/interfaces/{interface.uuid}
Introduced In: 9.15
Updates the properties of an NFS over TLS interface.
Optional query parameter
-
skip-san-validation
- Specifies whether the server should ignore validating the certificate for Subject Alternate Name.
Related ONTAP commands
-
vserver nfs tls interface modify
-
vserver nfs tls interface enable
-
vserver nfs tls interface disable
Learn more
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
interface.uuid |
string |
path |
True |
Network interface UUID. |
skip_san_validation |
boolean |
query |
False |
Indicates whether Subject Alternate Name (SAN) validation has to be skipped.
|
Request Body
Name | Type | Description |
---|---|---|
certificate |
Specifies the certificate that is used for creating NFS over TLS connections. |
|
enabled |
boolean |
Indicates whether NFS over TLS is enabled. |
interface |
Network interface. |
|
svm |
SVM, applies only to SVM-scoped objects. |
Example request
{
"certificate": {
"name": "string",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"interface": {
"name": "lif1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"svm": {
"name": "svm1",
"uuid": "02c9e252-41be-11e9-81d5-00a0986138f7"
}
}
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response codes
Error codes | Description |
---|---|
2 |
The value provided is an invalid value for field "interface.uuid". |
4 |
The entry doesn't exist |
3277204 |
TLS already enabled/disabled on this LIF. |
3277205 |
Cannot enable TLS because no certificate was provided. |
3277206 |
The "enabled" is a required field. |
3277210 |
The FQDN of the LIF IP address and the common name present in the certificate do not match. Update the certificate so that the common name and LIF FQDN match and retry the operation. |
3277217 |
Failed to enable TLS on LIF on vserver because the certificate does not have LIF as subject alternate name. |
92405900 |
Certificate not found for the SVM. |
92406020 |
Only certificates of type 'server' are supported on the SVM. |
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
certificate
Specifies the certificate that is used for creating NFS over TLS connections.
Name | Type | Description |
---|---|---|
name |
string |
Certificate name |
uuid |
string |
Certificate UUID |
ip
IP information
interface
Network interface.
Name | Type | Description |
---|---|---|
ip |
IP information |
|
name |
string |
The name of the interface. If only the name is provided, the SVM scope must be provided by the object this object is embedded in. |
uuid |
string |
The UUID that uniquely identifies the interface. |
svm
SVM, applies only to SVM-scoped objects.
Name | Type | Description |
---|---|---|
name |
string |
The name of the SVM. This field cannot be specified in a PATCH method. |
uuid |
string |
The unique identifier of the SVM. This field cannot be specified in a PATCH method. |
nfs_tls_interface
Name | Type | Description |
---|---|---|
certificate |
Specifies the certificate that is used for creating NFS over TLS connections. |
|
enabled |
boolean |
Indicates whether NFS over TLS is enabled. |
interface |
Network interface. |
|
svm |
SVM, applies only to SVM-scoped objects. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |