Module netapp_ontap.models.totp_post
Copyright © 2023 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
Classes
class TotpPostSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)
-
The fields of the TotpPost object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
Class variables
-
account: Account GET POST PATCH
-
The account field of the totp_post.
-
comment: str GET POST PATCH
-
Optional comment for the TOTP profile.
-
emergency_codes: List[str] GET
-
TOTP profile emergency codes for a user. These codes are for emergency use when a user cannot access 2FA codes through other means.
Example: "17503785"
-
enabled: bool GET PATCH
-
Status of the TOTP profile.
Example: true
-
install_url: str GET
-
TOTP profile installation URL for a user.
-
links: SelfLink GET
-
The links field of the totp_post.
-
owner: Svm GET POST
-
The owner field of the totp_post.
-
scope: str GET
-
Scope of the entity. Set to "cluster" for cluster owned objects and to "svm" for SVM owned objects.
Valid choices:
- cluster
- svm
-
secret_key: str GET
-
TOTP profile secret key for a user.
-
sha_fingerprint: str GET
-
SHA fingerprint for the TOTP secret key.
-
verification_code: str GET
-
TOTP profile verification code for a user.