@@ -38,6 +38,10 @@ class ActiveDirectory(Model):
3838 :param site: The Active Directory site the service will limit Domain
3939 Controller discovery to
4040 :type site: str
41+ :param backup_operators: Users to be added to the Built-in Backup Operator
42+ active directory group. A list of unique usernames without domain
43+ specifier
44+ :type backup_operators: list[str]
4145 """
4246
4347 _attribute_map = {
@@ -50,9 +54,10 @@ class ActiveDirectory(Model):
5054 'smb_server_name' : {'key' : 'smbServerName' , 'type' : 'str' },
5155 'organizational_unit' : {'key' : 'organizationalUnit' , 'type' : 'str' },
5256 'site' : {'key' : 'site' , 'type' : 'str' },
57+ 'backup_operators' : {'key' : 'backupOperators' , 'type' : '[str]' },
5358 }
5459
55- def __init__ (self , * , active_directory_id : str = None , username : str = None , password : str = None , domain : str = None , dns : str = None , status : str = None , smb_server_name : str = None , organizational_unit : str = None , site : str = None , ** kwargs ) -> None :
60+ def __init__ (self , * , active_directory_id : str = None , username : str = None , password : str = None , domain : str = None , dns : str = None , status : str = None , smb_server_name : str = None , organizational_unit : str = None , site : str = None , backup_operators = None , ** kwargs ) -> None :
5661 super (ActiveDirectory , self ).__init__ (** kwargs )
5762 self .active_directory_id = active_directory_id
5863 self .username = username
@@ -63,6 +68,7 @@ def __init__(self, *, active_directory_id: str=None, username: str=None, passwor
6368 self .smb_server_name = smb_server_name
6469 self .organizational_unit = organizational_unit
6570 self .site = site
71+ self .backup_operators = backup_operators
6672
6773
6874class AuthorizeRequest (Model ):
@@ -242,9 +248,10 @@ class ExportPolicyRule(Model):
242248 :type unix_read_write: bool
243249 :param cifs: Allows CIFS protocol
244250 :type cifs: bool
245- :param nfsv3: Allows NFSv3 protocol
251+ :param nfsv3: Allows NFSv3 protocol. Enable only for NFSv3 type volumes
246252 :type nfsv3: bool
247- :param nfsv41: Allows NFSv4.1 protocol
253+ :param nfsv41: Allows NFSv4.1 protocol. Enable only for NFSv4.1 type
254+ volumes
248255 :type nfsv41: bool
249256 :param allowed_clients: Client ingress specification as comma separated
250257 string with IPv4 CIDRs, IPv4 host addresses and host names
@@ -825,9 +832,6 @@ class Snapshot(Model):
825832 :vartype type: str
826833 :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot
827834 :vartype snapshot_id: str
828- :param file_system_id: fileSystemId. UUID v4 used to identify the
829- FileSystem
830- :type file_system_id: str
831835 :ivar created: name. The creation date of the snapshot
832836 :vartype created: datetime
833837 :ivar provisioning_state: Azure lifecycle management
@@ -840,7 +844,6 @@ class Snapshot(Model):
840844 'name' : {'readonly' : True },
841845 'type' : {'readonly' : True },
842846 'snapshot_id' : {'readonly' : True , 'max_length' : 36 , 'min_length' : 36 , 'pattern' : r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' },
843- 'file_system_id' : {'max_length' : 36 , 'min_length' : 36 , 'pattern' : r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' },
844847 'created' : {'readonly' : True },
845848 'provisioning_state' : {'readonly' : True },
846849 }
@@ -851,19 +854,17 @@ class Snapshot(Model):
851854 'name' : {'key' : 'name' , 'type' : 'str' },
852855 'type' : {'key' : 'type' , 'type' : 'str' },
853856 'snapshot_id' : {'key' : 'properties.snapshotId' , 'type' : 'str' },
854- 'file_system_id' : {'key' : 'properties.fileSystemId' , 'type' : 'str' },
855857 'created' : {'key' : 'properties.created' , 'type' : 'iso-8601' },
856858 'provisioning_state' : {'key' : 'properties.provisioningState' , 'type' : 'str' },
857859 }
858860
859- def __init__ (self , * , location : str , file_system_id : str = None , ** kwargs ) -> None :
861+ def __init__ (self , * , location : str , ** kwargs ) -> None :
860862 super (Snapshot , self ).__init__ (** kwargs )
861863 self .location = location
862864 self .id = None
863865 self .name = None
864866 self .type = None
865867 self .snapshot_id = None
866- self .file_system_id = file_system_id
867868 self .created = None
868869 self .provisioning_state = None
869870
@@ -926,6 +927,10 @@ class Volume(Model):
926927 ~azure.mgmt.netapp.models.VolumePropertiesDataProtection
927928 :param is_restoring: Restoring
928929 :type is_restoring: bool
930+ :param snapshot_directory_visible: If enabled (true) the volume will
931+ contain a read-only .snapshot directory which provides access to each of
932+ the volume's snapshots (default to true).
933+ :type snapshot_directory_visible: bool
929934 """
930935
931936 _validation = {
@@ -962,9 +967,10 @@ class Volume(Model):
962967 'volume_type' : {'key' : 'properties.volumeType' , 'type' : 'str' },
963968 'data_protection' : {'key' : 'properties.dataProtection' , 'type' : 'VolumePropertiesDataProtection' },
964969 'is_restoring' : {'key' : 'properties.isRestoring' , 'type' : 'bool' },
970+ 'snapshot_directory_visible' : {'key' : 'properties.snapshotDirectoryVisible' , 'type' : 'bool' },
965971 }
966972
967- def __init__ (self , * , location : str , creation_token : str , subnet_id : str , tags = None , service_level = "Premium" , usage_threshold : int = 107374182400 , export_policy = None , protocol_types = None , snapshot_id : str = None , mount_targets = None , volume_type : str = None , data_protection = None , is_restoring : bool = None , ** kwargs ) -> None :
973+ def __init__ (self , * , location : str , creation_token : str , subnet_id : str , tags = None , service_level = "Premium" , usage_threshold : int = 107374182400 , export_policy = None , protocol_types = None , snapshot_id : str = None , mount_targets = None , volume_type : str = None , data_protection = None , is_restoring : bool = None , snapshot_directory_visible : bool = None , ** kwargs ) -> None :
968974 super (Volume , self ).__init__ (** kwargs )
969975 self .location = location
970976 self .id = None
@@ -985,6 +991,7 @@ def __init__(self, *, location: str, creation_token: str, subnet_id: str, tags=N
985991 self .volume_type = volume_type
986992 self .data_protection = data_protection
987993 self .is_restoring = is_restoring
994+ self .snapshot_directory_visible = snapshot_directory_visible
988995
989996
990997class VolumePatch (Model ):
@@ -1073,15 +1080,19 @@ class VolumePropertiesDataProtection(Model):
10731080
10741081 :param replication: Replication. Replication properties
10751082 :type replication: ~azure.mgmt.netapp.models.ReplicationObject
1083+ :param snapshot: Snapshot. Snapshot properties.
1084+ :type snapshot: ~azure.mgmt.netapp.models.VolumeSnapshotProperties
10761085 """
10771086
10781087 _attribute_map = {
10791088 'replication' : {'key' : 'replication' , 'type' : 'ReplicationObject' },
1089+ 'snapshot' : {'key' : 'snapshot' , 'type' : 'VolumeSnapshotProperties' },
10801090 }
10811091
1082- def __init__ (self , * , replication = None , ** kwargs ) -> None :
1092+ def __init__ (self , * , replication = None , snapshot = None , ** kwargs ) -> None :
10831093 super (VolumePropertiesDataProtection , self ).__init__ (** kwargs )
10841094 self .replication = replication
1095+ self .snapshot = snapshot
10851096
10861097
10871098class VolumePropertiesExportPolicy (Model ):
@@ -1116,3 +1127,19 @@ class VolumeRevert(Model):
11161127 def __init__ (self , * , snapshot_id : str = None , ** kwargs ) -> None :
11171128 super (VolumeRevert , self ).__init__ (** kwargs )
11181129 self .snapshot_id = snapshot_id
1130+
1131+
1132+ class VolumeSnapshotProperties (Model ):
1133+ """Volume Snapshot Properties.
1134+
1135+ :param snapshot_policy_id: Snapshot Policy ResourceId
1136+ :type snapshot_policy_id: str
1137+ """
1138+
1139+ _attribute_map = {
1140+ 'snapshot_policy_id' : {'key' : 'snapshotPolicyId' , 'type' : 'str' },
1141+ }
1142+
1143+ def __init__ (self , * , snapshot_policy_id : str = None , ** kwargs ) -> None :
1144+ super (VolumeSnapshotProperties , self ).__init__ (** kwargs )
1145+ self .snapshot_policy_id = snapshot_policy_id
0 commit comments