Skip to content

Commit 34e730d

Browse files
committed
[StorageAction] GA release, update per latest swagger
1 parent e5557ad commit 34e730d

29 files changed

+641
-312
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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 - StorageAction")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
27+
28+
29+
30+

src/StorageAction/StorageAction.Autorest/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For information on how to develop for `Az.StorageAction`, see [how-to.md](how-to
2828
2929
```yaml
3030
# pin the swagger version by using the commit id instead of branch name
31-
commit: 8f196886782fc5b48b75322944dc60d1cafaf7fa
31+
commit: 2219e4e4e0409bcb88a2b82e8febe1a3baecaf18
3232
tag: package-2023-01-01
3333
require:
3434
# readme.azure.noprofile.md is the common configuration file
@@ -46,7 +46,7 @@ try-require:
4646
# nested-object-to-string: true
4747

4848
# For new RP, the version is 0.1.0
49-
module-version: 0.1.0
49+
module-version: 1.0.0
5050
# Normally, title is the service name
5151
title: StorageAction
5252
subject-prefix: $(service-name)

src/StorageAction/StorageAction.Autorest/custom/autogen-model-cmdlets/New-AzStorageActionTaskOperationObject.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskOperation
2626
https://learn.microsoft.com/powershell/module/Az.StorageAction/new-azstorageactiontaskoperationobject
2727
#>
2828
function New-AzStorageActionTaskOperationObject {
29+
[Microsoft.Azure.PowerShell.Cmdlets.StorageAction.ModelCmdletAttribute()]
2930
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskOperation')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(

src/StorageAction/StorageAction.Autorest/custom/autogen-model-cmdlets/New-AzStorageActionTaskPreviewBlobPropertiesObject.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskPreviewBlobPr
2626
https://learn.microsoft.com/powershell/module/Az.StorageAction/new-azstorageactiontaskpreviewblobpropertiesobject
2727
#>
2828
function New-AzStorageActionTaskPreviewBlobPropertiesObject {
29+
[Microsoft.Azure.PowerShell.Cmdlets.StorageAction.ModelCmdletAttribute()]
2930
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskPreviewBlobProperties')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(

src/StorageAction/StorageAction.Autorest/custom/autogen-model-cmdlets/New-AzStorageActionTaskPreviewKeyValuePropertiesObject.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskPreviewKeyVal
2626
https://learn.microsoft.com/powershell/module/Az.StorageAction/new-azstorageactiontaskpreviewkeyvaluepropertiesobject
2727
#>
2828
function New-AzStorageActionTaskPreviewKeyValuePropertiesObject {
29+
[Microsoft.Azure.PowerShell.Cmdlets.StorageAction.ModelCmdletAttribute()]
2930
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.StorageAction.Models.StorageTaskPreviewKeyValueProperties')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(

src/StorageAction/StorageAction.Autorest/docs/Az.StorageAction.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.StorageAction
3-
Module Guid: cc1d1de1-1601-4440-82c6-76c6673d8aba
3+
Module Guid: 78dad367-40fa-497c-afc0-831ee12e5038
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.storageaction
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -24,9 +24,9 @@ Fetch the storage tasks run report summary for each assignment.
2424
Runs the input conditions against input object metadata properties and designates matched objects in response.
2525

2626
### [New-AzStorageActionTask](New-AzStorageActionTask.md)
27-
Asynchronously creates a new storage task resource with the specified parameters.
27+
Asynchronously create a new storage task resource with the specified parameters.
2828
If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated.
29-
If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
29+
If a storage task is already created and a subsequent create request is issued with the exact same set of properties, the request will succeed.
3030

3131
### [New-AzStorageActionTaskOperationObject](New-AzStorageActionTaskOperationObject.md)
3232
Create an in-memory object for StorageTaskOperation.
@@ -41,7 +41,7 @@ Create an in-memory object for StorageTaskPreviewKeyValueProperties.
4141
Delete the storage task resource.
4242

4343
### [Update-AzStorageActionTask](Update-AzStorageActionTask.md)
44-
Asynchronously creates a new storage task resource with the specified parameters.
45-
If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated.
46-
If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
44+
Asynchronously update a new storage task resource with the specified parameters.
45+
If a storage task is already created and a subsequent update request is issued with different properties, the storage task properties will be updated.
46+
If a storage task is already created and a subsequent update request is issued with the exact same set of properties, the request will succeed.
4747

src/StorageAction/StorageAction.Autorest/docs/Get-AzStorageActionTaskAssignment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Lists Resource IDs of the Storage Task Assignments associated with this Storage
1414

1515
```
1616
Get-AzStorageActionTaskAssignment -ResourceGroupName <String> -StorageTaskName <String>
17-
[-SubscriptionId <String[]>] [-Maxpagesize <String>] [-DefaultProfile <PSObject>] [<CommonParameters>]
17+
[-SubscriptionId <String[]>] [-Maxpagesize <Int32>] [-DefaultProfile <PSObject>] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -57,7 +57,7 @@ Accept wildcard characters: False
5757
Optional, specifies the maximum number of Storage Task Assignment Resource IDs to be included in the list response.
5858
5959
```yaml
60-
Type: System.String
60+
Type: System.Int32
6161
Parameter Sets: (All)
6262
Aliases:
6363

src/StorageAction/StorageAction.Autorest/docs/Get-AzStorageActionTasksReport.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Fetch the storage tasks run report summary for each assignment.
1414

1515
```
1616
Get-AzStorageActionTasksReport -ResourceGroupName <String> -StorageTaskName <String>
17-
[-SubscriptionId <String[]>] [-Filter <String>] [-Maxpagesize <String>] [-DefaultProfile <PSObject>]
17+
[-SubscriptionId <String[]>] [-Filter <String>] [-Maxpagesize <Int32>] [-DefaultProfile <PSObject>]
1818
[<CommonParameters>]
1919
```
2020

@@ -118,7 +118,7 @@ Accept wildcard characters: False
118118
Optional, specifies the maximum number of Storage Task Assignment Resource IDs to be included in the list response.
119119
120120
```yaml
121-
Type: System.String
121+
Type: System.Int32
122122
Parameter Sets: (All)
123123
Aliases:
124124

src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

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

1010
## SYNOPSIS
11-
Asynchronously creates a new storage task resource with the specified parameters.
11+
Asynchronously create a new storage task resource with the specified parameters.
1212
If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated.
13-
If a storage task 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 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

@@ -38,9 +38,9 @@ New-AzStorageActionTask -Name <String> -ResourceGroupName <String> -JsonString <
3838
```
3939

4040
## DESCRIPTION
41-
Asynchronously creates a new storage task resource with the specified parameters.
41+
Asynchronously create a new storage task resource with the specified parameters.
4242
If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated.
43-
If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
43+
If a storage task is already created and a subsequent create request is issued with the exact same set of properties, the request will succeed.
4444

4545
## EXAMPLES
4646

@@ -274,7 +274,7 @@ Accept wildcard characters: False
274274
```
275275
276276
### -EnableSystemAssignedIdentity
277-
Decides if enable a system assigned identity for the resource.
277+
Determines whether to enable a system-assigned identity for the resource.
278278
279279
```yaml
280280
Type: System.Management.Automation.SwitchParameter

src/StorageAction/StorageAction.Autorest/docs/Update-AzStorageActionTask.md

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

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

1515
## SYNTAX
1616

@@ -33,9 +33,9 @@ Update-AzStorageActionTask -InputObject <IStorageActionIdentity> [-Description <
3333
```
3434

3535
## DESCRIPTION
36-
Asynchronously creates a new storage task resource with the specified parameters.
37-
If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated.
38-
If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
36+
Asynchronously update a new storage task resource with the specified parameters.
37+
If a storage task is already created and a subsequent update request is issued with different properties, the storage task properties will be updated.
38+
If a storage task is already created and a subsequent update request is issued with the exact same set of properties, the request will succeed.
3939

4040
## EXAMPLES
4141

@@ -258,10 +258,10 @@ Accept wildcard characters: False
258258
```
259259
260260
### -EnableSystemAssignedIdentity
261-
Decides if enable a system assigned identity for the resource.
261+
Determines whether to enable a system-assigned identity for the resource.
262262
263263
```yaml
264-
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
264+
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
265265
Parameter Sets: (All)
266266
Aliases:
267267

0 commit comments

Comments
 (0)