Module netapp_ontap.models.switch_port_roles
Copyright © 2026 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
Classes
class SwitchPortRolesSchema (*, 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 SwitchPortRoles object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
- abc.ABC
Class variables
-
dr_group: str GET POST PATCH -
DR group.
-
type: str GET POST PATCH -
Allowed use type.
Valid choices:
- cluster
- storage
- metrocluster
- local_isl
- remote_isl
- vpc_peer_link
-
zone: Size GET POST PATCH -
Zone ID to differentiate between roles with the same type.