Skip to content

Commit 8687494

Browse files
committed
[MFS] regen from GA TSP
1 parent 2d48400 commit 8687494

14 files changed

Lines changed: 238 additions & 167 deletions

src/FileShare/FileShare.Autorest/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")]
2828
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2929
[assembly: System.CLSCompliantAttribute(false)]
30-

src/FileShare/FileShare.Autorest/UX/Microsoft.FileShares/fileShares-fileShareSnapshots.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "fileShares/fileShareSnapshots",
3-
"apiVersion": "2025-09-01-preview",
3+
"apiVersion": "2026-06-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.fileshare"
66
},

src/FileShare/FileShare.Autorest/UX/Microsoft.FileShares/fileShares.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "fileShares",
3-
"apiVersion": "2025-09-01-preview",
3+
"apiVersion": "2026-06-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.fileshare"
66
},

src/FileShare/FileShare.Autorest/UX/Microsoft.FileShares/locations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "locations",
3-
"apiVersion": "2025-09-01-preview",
3+
"apiVersion": "2026-06-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.fileshare"
66
},

src/FileShare/FileShare.Autorest/docs/Az.FileShare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.FileShare
3-
Module Guid: 2795e2e5-96c9-4af6-afe5-336d3bcd402d
3+
Module Guid: a87f029d-bd9a-48db-9c29-c0db815acf3d
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.fileshare
55
Help Version: 1.0.0.0
66
Locale: en-US

src/FileShare/FileShare.Autorest/docs/New-AzFileShare.md

Lines changed: 50 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Create a file share.
1515
### CreateExpanded (Default)
1616
```
1717
New-AzFileShare -ResourceGroupName <String> -ResourceName <String> -Location <String>
18-
[-SubscriptionId <String>] [-MediaTier <String>] [-MountName <String>]
19-
[-NfProtocolPropertyRootSquash <String>] [-Protocol <String>] [-ProvisionedIoPerSec <Int32>]
20-
[-ProvisionedStorageGiB <Int32>] [-ProvisionedThroughputMiBPerSec <Int32>]
21-
[-PublicAccessPropertyAllowedSubnet <String[]>] [-PublicNetworkAccess <String>] [-Redundancy <String>]
22-
[-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
18+
[-SubscriptionId <String>] [-AllowedSubnet <String[]>] [-EncryptionInTransitRequired <String>]
19+
[-MediaTier <String>] [-MountName <String>] [-Protocol <String>] [-ProvisionedIoPerSec <Int32>]
20+
[-ProvisionedStorageGiB <Int32>] [-ProvisionedThroughputMiBPerSec <Int32>] [-PublicNetworkAccess <String>]
21+
[-Redundancy <String>] [-RootSquash <String>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob]
22+
[-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
2323
```
2424

2525
### CreateViaJsonFilePath
@@ -87,6 +87,21 @@ This command creates a file share.
8787

8888
## PARAMETERS
8989

90+
### -AllowedSubnet
91+
The allowed set of subnets when access is restricted.
92+
93+
```yaml
94+
Type: System.String[]
95+
Parameter Sets: CreateExpanded
96+
Aliases:
97+
98+
Required: False
99+
Position: Named
100+
Default value: None
101+
Accept pipeline input: False
102+
Accept wildcard characters: False
103+
```
104+
90105
### -AsJob
91106
Run the command as a job
92107
@@ -118,6 +133,21 @@ Accept pipeline input: False
118133
Accept wildcard characters: False
119134
```
120135
136+
### -EncryptionInTransitRequired
137+
Encryption in transit defines whether data is encrypted for NFS shares.
138+
139+
```yaml
140+
Type: System.String
141+
Parameter Sets: CreateExpanded
142+
Aliases:
143+
144+
Required: False
145+
Position: Named
146+
Default value: None
147+
Accept pipeline input: False
148+
Accept wildcard characters: False
149+
```
150+
121151
### -JsonFilePath
122152
Path of Json file supplied to the Create operation
123153
@@ -193,21 +223,6 @@ Accept pipeline input: False
193223
Accept wildcard characters: False
194224
```
195225
196-
### -NfProtocolPropertyRootSquash
197-
Root squash defines how root users on clients are mapped to the NFS share.
198-
199-
```yaml
200-
Type: System.String
201-
Parameter Sets: CreateExpanded
202-
Aliases:
203-
204-
Required: False
205-
Position: Named
206-
Default value: None
207-
Accept pipeline input: False
208-
Accept wildcard characters: False
209-
```
210-
211226
### -NoWait
212227
Run the command asynchronously
213228
@@ -284,21 +299,6 @@ Accept pipeline input: False
284299
Accept wildcard characters: False
285300
```
286301
287-
### -PublicAccessPropertyAllowedSubnet
288-
The allowed set of subnets when access is restricted.
289-
290-
```yaml
291-
Type: System.String[]
292-
Parameter Sets: CreateExpanded
293-
Aliases:
294-
295-
Required: False
296-
Position: Named
297-
Default value: None
298-
Accept pipeline input: False
299-
Accept wildcard characters: False
300-
```
301-
302302
### -PublicNetworkAccess
303303
Gets or sets allow or disallow public network access to azure managed file share
304304
@@ -360,6 +360,21 @@ Accept pipeline input: False
360360
Accept wildcard characters: False
361361
```
362362
363+
### -RootSquash
364+
Root squash defines how root users on clients are mapped to the NFS share.
365+
366+
```yaml
367+
Type: System.String
368+
Parameter Sets: CreateExpanded
369+
Aliases:
370+
371+
Required: False
372+
Position: Named
373+
Default value: None
374+
Accept pipeline input: False
375+
Accept wildcard characters: False
376+
```
377+
363378
### -SubscriptionId
364379
The ID of the target subscription.
365380
The value must be an UUID.

src/FileShare/FileShare.Autorest/docs/Update-AzFileShare.md

Lines changed: 51 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ Update a FileShare
1515
### UpdateExpanded (Default)
1616
```
1717
Update-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
96111
Run the command as a job
97112
@@ -123,6 +138,21 @@ Accept pipeline input: False
123138
Accept 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
127157
Identity Parameter
128158
@@ -168,21 +198,6 @@ Accept pipeline input: False
168198
Accept 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
187202
Run the command asynchronously
188203
@@ -244,11 +259,11 @@ Accept pipeline input: False
244259
Accept 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
252267
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
253268
Aliases:
254269

@@ -259,24 +274,24 @@ Accept pipeline input: False
259274
Accept 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
266282
Type: System.String
267-
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
283+
Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
268284
Aliases:
269285

270-
Required: False
286+
Required: True
271287
Position: Named
272288
Default value: None
273289
Accept pipeline input: False
274290
Accept 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
282297
Type: System.String
@@ -290,15 +305,15 @@ Accept pipeline input: False
290305
Accept 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
297312
Type: System.String
298-
Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString
313+
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
299314
Aliases:
300315

301-
Required: True
316+
Required: False
302317
Position: Named
303318
Default value: None
304319
Accept pipeline input: False
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "eaf3e4ab-8402-407b-9066-89b7f0bc3095"
2+
"generate_Id": "1330e637-c6d7-4c11-8087-5bf1b351f644"
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
directory: specification\fileshares\resource-manager\Microsoft.FileShares\FileShares
2-
commit: 112bfe8d3cbb1299fe14d608e32f8fc7ade99240
2+
commit: b3f7e01145d3a440edc197fb7455f029d1da9e3a
33
repo: Azure/azure-rest-api-specs

src/FileShare/FileShare.Autorest/tspconfig.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,16 @@ options:
3535
remove: true
3636
- where:
3737
verb: Set
38-
remove: true
38+
remove: true
39+
- where:
40+
parameter-name: NfProtocolPropertyEncryptionInTransitRequired
41+
set:
42+
parameter-name: EncryptionInTransitRequired
43+
- where:
44+
parameter-name: NfProtocolPropertyRootSquash
45+
set:
46+
parameter-name: RootSquash
47+
- where:
48+
parameter-name: PublicAccessPropertyAllowedSubnet
49+
set:
50+
parameter-name: AllowedSubnet

0 commit comments

Comments
 (0)