Skip to content

Commit 03ffc21

Browse files
committed
sync generation-Storage-preview branch
1 parent 75e17f6 commit 03ffc21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1101
-500
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Storage")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("8.1.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("8.1.0")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/Storage/Storage.Autorest/docs/Az.Storage.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Storage
3-
Module Guid: 14995ab3-8dd3-4201-b5f5-9dc94eac60d4
3+
Module Guid: 40d78d44-3b7b-4cc9-9709-15d742ca4b93
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.storage
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -14,8 +14,25 @@ Microsoft Azure PowerShell: Storage cmdlets
1414
### [Get-AzStorageAccountMigration](Get-AzStorageAccountMigration.md)
1515
Gets the status of the ongoing migration for the specified storage account.
1616

17+
### [Get-AzStorageTaskAssignment](Get-AzStorageTaskAssignment.md)
18+
Get the storage task assignment properties
19+
20+
### [Get-AzStorageTaskAssignmentInstancesReport](Get-AzStorageTaskAssignmentInstancesReport.md)
21+
Fetch the report summary of a single storage task assignment's instances
22+
23+
### [New-AzStorageTaskAssignment](New-AzStorageTaskAssignment.md)
24+
Asynchronously create a new storage task assignment sub-resource with the specified parameters.
25+
If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated.
26+
If a storage task assignment is already created and a subsequent create request is issued with the exact same set of properties, the request will succeed.
27+
28+
### [Remove-AzStorageTaskAssignment](Remove-AzStorageTaskAssignment.md)
29+
Delete the storage task assignment sub-resource
30+
1731
### [Start-AzStorageAccountMigration](Start-AzStorageAccountMigration.md)
1832
Account Migration request can be triggered for a storage account to change its redundancy level.
1933
The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability.
2034
Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
2135

36+
### [Update-AzStorageTaskAssignment](Update-AzStorageTaskAssignment.md)
37+
update storage task assignment properties
38+

src/Storage/Storage.Autorest/docs/New-AzStorageTaskAssignment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ schema: 2.0.0
88
# New-AzStorageTaskAssignment
99

1010
## SYNOPSIS
11-
Asynchronously creates a new storage task assignment sub-resource with the specified parameters.
11+
Asynchronously create a new storage task assignment sub-resource with the specified parameters.
1212
If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated.
13-
If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
13+
If a storage task assignment is already created and a subsequent create request is issued with the exact same set of properties, the request will succeed.
1414

1515
## SYNTAX
1616

@@ -23,9 +23,9 @@ New-AzStorageTaskAssignment -AccountName <String> -Name <String> -ResourceGroupN
2323
```
2424

2525
## DESCRIPTION
26-
Asynchronously creates a new storage task assignment sub-resource with the specified parameters.
26+
Asynchronously create a new storage task assignment sub-resource with the specified parameters.
2727
If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated.
28-
If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
28+
If a storage task assignment is already created and a subsequent create request is issued with the exact same set of properties, the request will succeed.
2929

3030
## EXAMPLES
3131

src/Storage/Storage.Autorest/docs/Update-AzStorageTaskAssignment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Update-AzStorageTaskAssignment
99

1010
## SYNOPSIS
11-
Update storage task assignment properties
11+
update storage task assignment properties
1212

1313
## SYNTAX
1414

@@ -40,7 +40,7 @@ Update-AzStorageTaskAssignment -Name <String> -StorageAccountInputObject <IStora
4040
```
4141

4242
## DESCRIPTION
43-
Update storage task assignment properties
43+
update storage task assignment properties
4444

4545
## EXAMPLES
4646

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "ed8361f3-9959-4586-ba2c-2fb59e04aac2"
2+
"generate_Id": "45fb2d01-32fb-4cca-a3d7-d28c887afbbf"
33
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Resources
2+
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.
3+
4+
## Info
5+
- Modifiable: yes
6+
- Generated: no
7+
- Committed: yes
8+
- Packaged: no
9+
10+
## Purpose
11+
Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.

src/Storage/Storage.Management/Az.Storage.psd1

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 1/9/2025
6+
# Generated on: 2/19/2025
77
#
88

99
@{
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.2'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = 'Azure.Data.Tables.dll', 'Azure.Storage.Blobs.dll',
@@ -74,10 +74,10 @@ RequiredAssemblies = 'Azure.Data.Tables.dll', 'Azure.Storage.Blobs.dll',
7474
'System.IO.Hashing.dll'
7575

7676
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
77-
# ScriptsToProcess = @()
77+
ScriptsToProcess = @()
7878

7979
# Type files (.ps1xml) to be loaded when importing this module
80-
# TypesToProcess = @()
80+
TypesToProcess = @()
8181

8282
# Format files (.ps1xml) to be loaded when importing this module
8383
FormatsToProcess = 'Storage.Autorest/Az.Storage.format.ps1xml',
@@ -234,7 +234,7 @@ PrivateData = @{
234234
PSData = @{
235235

236236
# Tags applied to this module. These help with module discovery in online galleries.
237-
Tags = 'Azure','ResourceManager','ARM','Storage','StorageAccount'
237+
Tags = 'Azure', 'ResourceManager', 'ARM', 'Storage', 'StorageAccount'
238238

239239
# A URL to the license for this module.
240240
LicenseUri = 'https://aka.ms/azps-license'
@@ -246,10 +246,6 @@ PrivateData = @{
246246
# IconUri = ''
247247

248248
# ReleaseNotes of this module
249-
<<<<<<< HEAD
250-
ReleaseNotes = '* Refined migration of Azure Storgae File dataplane cmdlets from ''Microsoft.Azure.Storage.File 11.2.3'' to ''Azure.Storage.Files.Shares 12.16.0''
251-
- ''Start-AzStorageFileCopy'''
252-
=======
253249
ReleaseNotes = '* Upgraded nuget package to signed package.
254250
* Added warning message for account migration cmdlet.
255251
- ''Start-AzStorageAccountMigration''
@@ -262,7 +258,6 @@ PrivateData = @{
262258
* Supported ClientName property when listing file handles
263259
- ''Get-AzStorageFileHandle''
264260
* Upgraded Azure.Core to 1.44.1.'
265-
>>>>>>> origin/legacy-main-tools-2025-02-14
266261

267262
# Prerelease string of this module
268263
Prerelease = 'preview'
@@ -275,7 +270,7 @@ PrivateData = @{
275270

276271
} # End of PSData hashtable
277272

278-
} # End of PrivateData hashtable
273+
} # End of PrivateData hashtable
279274

280275
# HelpInfo URI of this module
281276
# HelpInfoURI = ''

src/Storage/Storage.Management/help/Az.Storage.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,12 @@ Lists the storage tables.
188188
### [Get-AzStorageTableStoredAccessPolicy](Get-AzStorageTableStoredAccessPolicy.md)
189189
Gets the stored access policy or policies for an Azure storage table.
190190

191+
### [Get-AzStorageTaskAssignment](Get-AzStorageTaskAssignment.md)
192+
Get the storage task assignment properties
193+
194+
### [Get-AzStorageTaskAssignmentInstancesReport](Get-AzStorageTaskAssignmentInstancesReport.md)
195+
Fetch the report summary of a single storage task assignment's instances
196+
191197
### [Get-AzStorageUsage](Get-AzStorageUsage.md)
192198
Gets the Storage resource usage of the current subscription.
193199

@@ -308,6 +314,11 @@ Generates an SAS token for an Azure Storage table.
308314
### [New-AzStorageTableStoredAccessPolicy](New-AzStorageTableStoredAccessPolicy.md)
309315
Creates a stored access policy for an Azure storage table.
310316

317+
### [New-AzStorageTaskAssignment](New-AzStorageTaskAssignment.md)
318+
Asynchronously create a new storage task assignment sub-resource with the specified parameters.
319+
If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated.
320+
If a storage task assignment is already created and a subsequent create request is issued with the exact same set of properties, the request will succeed.
321+
311322
### [Remove-AzDataLakeGen2AclRecursive](Remove-AzDataLakeGen2AclRecursive.md)
312323
Remove ACL recursively on the specified path.
313324

@@ -383,6 +394,9 @@ Removes a storage table.
383394
### [Remove-AzStorageTableStoredAccessPolicy](Remove-AzStorageTableStoredAccessPolicy.md)
384395
Removes a stored access policy from an Azure storage table.
385396

397+
### [Remove-AzStorageTaskAssignment](Remove-AzStorageTaskAssignment.md)
398+
Delete the storage task assignment sub-resource
399+
386400
### [Rename-AzStorageDirectory](Rename-AzStorageDirectory.md)
387401
Renames a directory.
388402

@@ -523,3 +537,6 @@ Modifies the service properties for the Azure Storage File service.
523537
### [Update-AzStorageServiceProperty](Update-AzStorageServiceProperty.md)
524538
Modifies the properties for the Azure Storage service.
525539

540+
### [Update-AzStorageTaskAssignment](Update-AzStorageTaskAssignment.md)
541+
update storage task assignment properties
542+

src/Storage/Storage.Management/help/Close-AzStorageFileHandle.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,30 @@ Closes file handles of a file share, a file directory or a file.
1717
Close-AzStorageFileHandle [-ShareName] <String> [[-Path] <String>] [-Recursive] [-CloseAll]
1818
[-DisAllowTrailingDot] [-PassThru] [-AsJob] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <Int32>]
1919
[-ClientTimeoutPerRequest <Int32>] [-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>]
20-
[-WhatIf] [-Confirm] [<CommonParameters>]
20+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

2323
### ShareNameCloseSingle
2424
```
2525
Close-AzStorageFileHandle [-ShareName] <String> -FileHandle <PSFileHandle> [-DisAllowTrailingDot] [-PassThru]
2626
[-AsJob] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <Int32>] [-ClientTimeoutPerRequest <Int32>]
27-
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>]
27+
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>] [-ProgressAction <ActionPreference>]
2828
[-WhatIf] [-Confirm] [<CommonParameters>]
2929
```
3030

3131
### ShareCloseAll
3232
```
3333
Close-AzStorageFileHandle [-ShareClient] <ShareClient> [[-Path] <String>] [-Recursive] [-CloseAll] [-PassThru]
3434
[-AsJob] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <Int32>] [-ClientTimeoutPerRequest <Int32>]
35-
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>]
35+
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>] [-ProgressAction <ActionPreference>]
3636
[-WhatIf] [-Confirm] [<CommonParameters>]
3737
```
3838

3939
### ShareCloseSingle
4040
```
4141
Close-AzStorageFileHandle [-ShareClient] <ShareClient> -FileHandle <PSFileHandle> [-PassThru] [-AsJob]
4242
[-Context <IStorageContext>] [-ServerTimeoutPerRequest <Int32>] [-ClientTimeoutPerRequest <Int32>]
43-
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>]
43+
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>] [-ProgressAction <ActionPreference>]
4444
[-WhatIf] [-Confirm] [<CommonParameters>]
4545
```
4646

@@ -49,14 +49,14 @@ Close-AzStorageFileHandle [-ShareClient] <ShareClient> -FileHandle <PSFileHandle
4949
Close-AzStorageFileHandle [-ShareDirectoryClient] <ShareDirectoryClient> [[-Path] <String>] [-Recursive]
5050
[-CloseAll] [-PassThru] [-AsJob] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <Int32>]
5151
[-ClientTimeoutPerRequest <Int32>] [-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>]
52-
[-WhatIf] [-Confirm] [<CommonParameters>]
52+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
5353
```
5454

5555
### FileCloseAll
5656
```
5757
Close-AzStorageFileHandle [-ShareFileClient] <ShareFileClient> [-CloseAll] [-PassThru] [-AsJob]
5858
[-Context <IStorageContext>] [-ServerTimeoutPerRequest <Int32>] [-ClientTimeoutPerRequest <Int32>]
59-
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>]
59+
[-DefaultProfile <IAzureContextContainer>] [-ConcurrentTaskCount <Int32>] [-ProgressAction <ActionPreference>]
6060
[-WhatIf] [-Confirm] [<CommonParameters>]
6161
```
6262

@@ -250,6 +250,21 @@ Accept pipeline input: False
250250
Accept wildcard characters: False
251251
```
252252
253+
### -ProgressAction
254+
{{ Fill ProgressAction Description }}
255+
256+
```yaml
257+
Type: System.Management.Automation.ActionPreference
258+
Parameter Sets: (All)
259+
Aliases: proga
260+
261+
Required: False
262+
Position: Named
263+
Default value: None
264+
Accept pipeline input: False
265+
Accept wildcard characters: False
266+
```
267+
253268
### -Recursive
254269
List handles Recursively.
255270
Only works on File Directory.

src/Storage/Storage.Management/help/Get-AzStorageAccountMigration.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ Accept wildcard characters: False
8383
8484
### -InputObject
8585
Identity Parameter
86-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
8786
8887
```yaml
8988
Type: Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageIdentity

0 commit comments

Comments
 (0)