@@ -66,6 +66,10 @@ class ActiveDirectory(Model):
66
66
:param ldap_signing: Specifies whether or not the LDAP traffic needs to be
67
67
signed.
68
68
:type ldap_signing: bool
69
+ :param security_operators: Domain Users in the Active directory to be
70
+ given SeSecurityPrivilege privilege (Needed for SMB Continuously available
71
+ shares for SQL). A list of unique usernames without domain specifier
72
+ :type security_operators: list[str]
69
73
"""
70
74
71
75
_validation = {
@@ -94,9 +98,10 @@ class ActiveDirectory(Model):
94
98
'server_root_ca_certificate' : {'key' : 'serverRootCACertificate' , 'type' : 'str' },
95
99
'aes_encryption' : {'key' : 'aesEncryption' , 'type' : 'bool' },
96
100
'ldap_signing' : {'key' : 'ldapSigning' , 'type' : 'bool' },
101
+ 'security_operators' : {'key' : 'securityOperators' , 'type' : '[str]' },
97
102
}
98
103
99
- def __init__ (self , * , active_directory_id : str = None , username : str = None , password : str = None , domain : str = None , dns : str = None , smb_server_name : str = None , organizational_unit : str = None , site : str = None , backup_operators = None , kdc_ip : str = None , ad_name : str = None , server_root_ca_certificate : str = None , aes_encryption : bool = None , ldap_signing : bool = None , ** kwargs ) -> None :
104
+ def __init__ (self , * , active_directory_id : str = None , username : str = None , password : str = None , domain : str = None , dns : str = None , smb_server_name : str = None , organizational_unit : str = None , site : str = None , backup_operators = None , kdc_ip : str = None , ad_name : str = None , server_root_ca_certificate : str = None , aes_encryption : bool = None , ldap_signing : bool = None , security_operators = None , ** kwargs ) -> None :
100
105
super (ActiveDirectory , self ).__init__ (** kwargs )
101
106
self .active_directory_id = active_directory_id
102
107
self .username = username
@@ -114,6 +119,7 @@ def __init__(self, *, active_directory_id: str=None, username: str=None, passwor
114
119
self .server_root_ca_certificate = server_root_ca_certificate
115
120
self .aes_encryption = aes_encryption
116
121
self .ldap_signing = ldap_signing
122
+ self .security_operators = security_operators
117
123
118
124
119
125
class AuthorizeRequest (Model ):
@@ -1803,6 +1809,14 @@ class Volume(Model):
1803
1809
:param security_style: The security style of volume. Possible values
1804
1810
include: 'ntfs', 'unix'
1805
1811
:type security_style: str or ~azure.mgmt.netapp.models.SecurityStyle
1812
+ :param smb_encryption: Enables encryption for in-flight smb3 data. Only
1813
+ applicable for SMB/DualProtocol volume. To be used with swagger version
1814
+ 2020-08-01 or later. Default value: False .
1815
+ :type smb_encryption: bool
1816
+ :param smb_continuously_available: Enables continuously available share
1817
+ property for smb volume. Only applicable for SMB volume. Default value:
1818
+ False .
1819
+ :type smb_continuously_available: bool
1806
1820
:param throughput_mibps: Maximum throughput in Mibps that can be achieved
1807
1821
by this volume.
1808
1822
:type throughput_mibps: float
@@ -1848,10 +1862,12 @@ class Volume(Model):
1848
1862
'snapshot_directory_visible' : {'key' : 'properties.snapshotDirectoryVisible' , 'type' : 'bool' },
1849
1863
'kerberos_enabled' : {'key' : 'properties.kerberosEnabled' , 'type' : 'bool' },
1850
1864
'security_style' : {'key' : 'properties.securityStyle' , 'type' : 'str' },
1865
+ 'smb_encryption' : {'key' : 'properties.smbEncryption' , 'type' : 'bool' },
1866
+ 'smb_continuously_available' : {'key' : 'properties.smbContinuouslyAvailable' , 'type' : 'bool' },
1851
1867
'throughput_mibps' : {'key' : 'properties.throughputMibps' , 'type' : 'float' },
1852
1868
}
1853
1869
1854
- 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 , backup_id : str = None , mount_targets = None , volume_type : str = None , data_protection = None , is_restoring : bool = None , snapshot_directory_visible : bool = None , kerberos_enabled : bool = False , security_style = None , throughput_mibps : float = None , ** kwargs ) -> None :
1870
+ 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 , backup_id : str = None , mount_targets = None , volume_type : str = None , data_protection = None , is_restoring : bool = None , snapshot_directory_visible : bool = None , kerberos_enabled : bool = False , security_style = None , smb_encryption : bool = False , smb_continuously_available : bool = False , throughput_mibps : float = None , ** kwargs ) -> None :
1855
1871
super (Volume , self ).__init__ (** kwargs )
1856
1872
self .location = location
1857
1873
self .id = None
@@ -1876,6 +1892,8 @@ def __init__(self, *, location: str, creation_token: str, subnet_id: str, tags=N
1876
1892
self .snapshot_directory_visible = snapshot_directory_visible
1877
1893
self .kerberos_enabled = kerberos_enabled
1878
1894
self .security_style = security_style
1895
+ self .smb_encryption = smb_encryption
1896
+ self .smb_continuously_available = smb_continuously_available
1879
1897
self .throughput_mibps = throughput_mibps
1880
1898
1881
1899
0 commit comments