@@ -15,18 +15,18 @@ Update a FileShare
1515### UpdateExpanded (Default)
1616```
1717Update-AzFileShare -ResourceGroupName <String> -ResourceName <String> [-SubscriptionId <String>]
18- [-NfProtocolPropertyRootSquash <String>] [-ProvisionedIoPerSec <Int32 >] [-ProvisionedStorageGiB <Int32>]
19- [-ProvisionedThroughputMiBPerSec <Int32>] [-PublicAccessPropertyAllowedSubnet <String[] >]
20- [-PublicNetworkAccess <String>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm]
18+ [-AllowedSubnet <String[] >] [-EncryptionInTransitRequired <String >] [-ProvisionedIoPerSec <Int32>]
19+ [-ProvisionedStorageGiB <Int32>] [- ProvisionedThroughputMiBPerSec <Int32>] [-PublicNetworkAccess <String>]
20+ [-RootSquash <String>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm]
2121 [-WhatIf] [<CommonParameters>]
2222```
2323
2424### UpdateViaIdentityExpanded
2525```
26- Update-AzFileShare -InputObject <IFileShareIdentity> [-NfProtocolPropertyRootSquash <String>]
27- [-ProvisionedIoPerSec <Int32 >] [-ProvisionedStorageGiB <Int32>] [-ProvisionedThroughputMiBPerSec <Int32>]
28- [-PublicAccessPropertyAllowedSubnet <String[] >] [-PublicNetworkAccess <String>] [-Tag <Hashtable >]
29- [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
26+ Update-AzFileShare -InputObject <IFileShareIdentity> [-AllowedSubnet <String[] >]
27+ [-EncryptionInTransitRequired <String >] [-ProvisionedIoPerSec <Int32>] [-ProvisionedStorageGiB <Int32>]
28+ [-ProvisionedThroughputMiBPerSec <Int32 >] [-PublicNetworkAccess <String>] [-RootSquash <String >]
29+ [-Tag <Hashtable>] [- DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
3030```
3131
3232### UpdateViaJsonFilePath
@@ -92,6 +92,21 @@ This command updates a file share.
9292
9393## PARAMETERS
9494
95+ ### -AllowedSubnet
96+ The allowed set of subnets when access is restricted.
97+
98+ ``` yaml
99+ Type : System.String[]
100+ Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
101+ Aliases :
102+
103+ Required : False
104+ Position : Named
105+ Default value : None
106+ Accept pipeline input : False
107+ Accept wildcard characters : False
108+ ` ` `
109+
95110### -AsJob
96111Run the command as a job
97112
@@ -123,6 +138,21 @@ Accept pipeline input: False
123138Accept wildcard characters : False
124139` ` `
125140
141+ ### -EncryptionInTransitRequired
142+ Encryption in transit defines whether data is encrypted for NFS shares.
143+
144+ ` ` ` yaml
145+ Type : System.String
146+ Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
147+ Aliases :
148+
149+ Required : False
150+ Position : Named
151+ Default value : None
152+ Accept pipeline input : False
153+ Accept wildcard characters : False
154+ ` ` `
155+
126156### -InputObject
127157Identity Parameter
128158
@@ -168,21 +198,6 @@ Accept pipeline input: False
168198Accept wildcard characters : False
169199` ` `
170200
171- ### -NfProtocolPropertyRootSquash
172- Root squash defines how root users on clients are mapped to the NFS share.
173-
174- ` ` ` yaml
175- Type : System.String
176- Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
177- Aliases :
178-
179- Required : False
180- Position : Named
181- Default value : None
182- Accept pipeline input : False
183- Accept wildcard characters : False
184- ` ` `
185-
186201### -NoWait
187202Run the command asynchronously
188203
@@ -244,11 +259,11 @@ Accept pipeline input: False
244259Accept wildcard characters : False
245260` ` `
246261
247- ### -PublicAccessPropertyAllowedSubnet
248- The allowed set of subnets when access is restricted.
262+ ### -PublicNetworkAccess
263+ Gets or sets allow or disallow public network access to azure managed file share
249264
250265` ` ` yaml
251- Type : System.String[]
266+ Type : System.String
252267Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
253268Aliases :
254269
@@ -259,24 +274,24 @@ Accept pipeline input: False
259274Accept wildcard characters : False
260275` ` `
261276
262- ### -PublicNetworkAccess
263- Gets or sets allow or disallow public network access to azure managed file share
277+ ### -ResourceGroupName
278+ The name of the resource group.
279+ The name is case insensitive.
264280
265281` ` ` yaml
266282Type : System.String
267- Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
283+ Parameter Sets : UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
268284Aliases :
269285
270- Required : False
286+ Required : True
271287Position : Named
272288Default value : None
273289Accept pipeline input : False
274290Accept wildcard characters : False
275291` ` `
276292
277- ### -ResourceGroupName
278- The name of the resource group.
279- The name is case insensitive.
293+ ### -ResourceName
294+ The resource name of the file share, as seen by the administrator through Azure Resource Manager.
280295
281296` ` ` yaml
282297Type : System.String
@@ -290,15 +305,15 @@ Accept pipeline input: False
290305Accept wildcard characters : False
291306` ` `
292307
293- ### -ResourceName
294- The resource name of the file share, as seen by the administrator through Azure Resource Manager .
308+ ### -RootSquash
309+ Root squash defines how root users on clients are mapped to the NFS share .
295310
296311` ` ` yaml
297312Type : System.String
298- Parameter Sets : UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
313+ Parameter Sets : UpdateExpanded, UpdateViaIdentityExpanded
299314Aliases :
300315
301- Required : True
316+ Required : False
302317Position : Named
303318Default value : None
304319Accept pipeline input : False
0 commit comments