Module netapp_ontap.models.nvme_tcp_tls
Copyright © 2024 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
Classes
class NvmeTcpTlsSchema (*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)
-
The fields of the NvmeTcpTls object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
- abc.ABC
Class variables
-
configured_psk: str POST
-
A user supplied pre-shared key (PSK) value in PSK Interchange Format. Optional in POST. The values for property
key_type
and propertyconfigured_psk
must logically agree. This property is only allowed whenkey_type
isconfigured
. Ifconfigured_psk
is supplied andkey_type
is unset,key_type
defaults toconfigured
. This property is write-only. Thekey_type
property can be used to identify if a configured PSK has been set for the host, but the PSK value cannot be read. To change the value, the host must be deleted from the subsystem and re-added.Example: NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:
-
key_type: str GET POST
-
The method by which the TLS pre-shared key (PSK) is configured for the host. Optional in POST. The values for property
key_type
and propertyconfigured_psk
must logically agree. Possible values: -none
- TLS is not configured for the host connection. No value is allowed for propertyconfigured_psk
. -configured
- A user supplied PSK is configured for the NVMe/TCP-TLS transport connection between the host and the NVMe subsystem. A valid value for propertyconfigured_psk
is required. This property defaults tonone
unless a value is supplied forconfigured_psk
in which case it defaults toconfigured
.Valid choices:
- none
- configured