Module netapp_ontap.models.fpolicy_policies

Copyright © 2022 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class FpolicyPoliciesSchema (*, 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 FpolicyPolicies object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC

Class variables

enabled: bool GET PATCH

Specifies if the policy is enabled on the SVM or not. If no value is mentioned for this field but priority is set, then this policy will be enabled.

engine: FpolicyEngine GET POST PATCH

The engine field of the fpolicy_policies.

events: List[FpolicyEvent] GET POST PATCH

The events field of the fpolicy_policies.

Example: ["event_nfs_close","event_open"]

mandatory: bool GET POST PATCH

Specifies what action to take on a file access event in a case when all primary and secondary servers are down or no response is received from the FPolicy servers within a given timeout period. When this parameter is set to true, file access events will be denied under these circumstances.

name: str GET POST

Specifies the name of the policy.

Example: fp_policy_1

passthrough_read: bool GET POST PATCH

Specifies whether passthrough-read should be allowed for FPolicy servers registered for the policy. Passthrough-read is a way to read data for offline files without restoring the files to primary storage. Offline files are files that have been moved to secondary storage.

priority: Size GET POST PATCH

Specifies the priority that is assigned to this policy.

privileged_user: str GET POST PATCH

Specifies the privileged user name for accessing files on the cluster using a separate data channel with privileged access. The input for this field should be in "domain\username" format.

Example: mydomain\testuser

scope: FpolicyPoliciesScope GET POST PATCH

The scope field of the fpolicy_policies.