Skip to content

Commit 4f82022

Browse files
authored
[Az.Automanage] Update generation tool version: autorest.powershell v3->v4 (#28179)
1 parent 8ce8c66 commit 4f82022

File tree

60 files changed

+2787
-291
lines changed

Some content is hidden

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

60 files changed

+2787
-291
lines changed

src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Automanage")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/Automanage/Automanage.Autorest/README.md

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,6 @@ require:
3434
input-file:
3535
- $(repo)/specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/automanage.json
3636

37-
# title: Databricks
38-
# subject-prefix: $(service-name)
39-
40-
inlining-threshold: 100
41-
resourcegroup-append: true
42-
nested-object-to-string: true
43-
44-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
45-
use-extension:
46-
"@autorest/powershell": "3.x"
47-
4837
directive:
4938
- from: swagger-document
5039
where: $.definitions.ConfigurationDictionary
@@ -63,9 +52,11 @@ directive:
6352
verb: Set
6453
remove: true
6554

66-
# remove variant
6755
- where:
68-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
56+
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
57+
remove: true
58+
- where:
59+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
6960
remove: true
7061

7162
- where:
@@ -209,22 +200,4 @@ directive:
209200
- Name
210201
- AuthorizationSet
211202
- ServicePrincipalId
212-
213-
- where:
214-
verb: Get
215-
subject: HciReport|HcrpReport|Report
216-
set:
217-
breaking-change:
218-
deprecated-output-properties:
219-
- AdditionalInfo
220-
- Detail
221-
- Resource
222-
new-output-properties:
223-
- AdditionalInfo
224-
- Detail
225-
- Resource
226-
change-description: The types of the properties 'AdditionalInfo', 'Detail' and 'Resource' will be changed from single object to 'List'.
227-
deprecated-by-version: 9.0.0
228-
deprecated-by-azversion: 15.0.0
229-
change-effective-date: 2025/11/03
230203
```

src/Automanage/Automanage.Autorest/docs/Az.Automanage.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Automanage
3-
Module Guid: a5929fa8-2b6e-4212-8396-8c4f1b48500d
3+
Module Guid: e54e2b12-08b9-4e24-8906-d2acb72fb103
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.automanage
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -36,16 +36,16 @@ Get information about a report associated with a configuration profile assignmen
3636
Get information about a report associated with a configuration profile assignment run
3737

3838
### [New-AzAutomanageConfigProfile](New-AzAutomanageConfigProfile.md)
39-
Creates a configuration profile
39+
Create a configuration profile
4040

4141
### [New-AzAutomanageConfigProfileAssignment](New-AzAutomanageConfigProfileAssignment.md)
42-
Creates an association between a VM and Automanage configuration profile
42+
Create an association between a VM and Automanage configuration profile
4343

4444
### [New-AzAutomanageConfigProfileHciAssignment](New-AzAutomanageConfigProfileHciAssignment.md)
45-
Creates an association between a AzureStackHCI cluster and Automanage configuration profile
45+
Create an association between a AzureStackHCI cluster and Automanage configuration profile
4646

4747
### [New-AzAutomanageConfigProfileHcrpAssignment](New-AzAutomanageConfigProfileHcrpAssignment.md)
48-
Creates an association between a ARC machine and Automanage configuration profile
48+
Create an association between a ARC machine and Automanage configuration profile
4949

5050
### [Remove-AzAutomanageConfigProfile](Remove-AzAutomanageConfigProfile.md)
5151
Delete a configuration profile
@@ -60,5 +60,14 @@ Delete a configuration profile assignment
6060
Delete a configuration profile assignment
6161

6262
### [Update-AzAutomanageConfigProfile](Update-AzAutomanageConfigProfile.md)
63-
Updates a configuration profile
63+
Update a configuration profile
64+
65+
### [Update-AzAutomanageConfigProfileAssignment](Update-AzAutomanageConfigProfileAssignment.md)
66+
Update an association between a VM and Automanage configuration profile
67+
68+
### [Update-AzAutomanageConfigProfileHciAssignment](Update-AzAutomanageConfigProfileHciAssignment.md)
69+
Update an association between a AzureStackHCI cluster and Automanage configuration profile
70+
71+
### [Update-AzAutomanageConfigProfileHcrpAssignment](Update-AzAutomanageConfigProfileHcrpAssignment.md)
72+
Update an association between a ARC machine and Automanage configuration profile
6473

src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageBestPractice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9494
9595
## OUTPUTS
9696
97-
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IBestPractice
97+
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IBestPractice
9898
9999
## NOTES
100100

src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfile.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ Accept wildcard characters: False
101101
102102
### -InputObject
103103
Identity Parameter
104-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
105104
106105
```yaml
107106
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
@@ -170,7 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
170169
171170
## OUTPUTS
172171
173-
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile
172+
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile
174173
175174
## NOTES
176175

src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileAssignment.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Get-AzAutomanageConfigProfileAssignment -InputObject <IAutomanageIdentity> [-Def
3030
[<CommonParameters>]
3131
```
3232

33+
### GetViaIdentityConfigurationProfileAssignment
34+
```
35+
Get-AzAutomanageConfigProfileAssignment -ConfigurationProfileAssignmentInputObject <IAutomanageIdentity>
36+
-VMName <String> [-DefaultProfile <PSObject>] [<CommonParameters>]
37+
```
38+
3339
### List1
3440
```
3541
Get-AzAutomanageConfigProfileAssignment -ResourceGroupName <String> [-SubscriptionId <String[]>]
@@ -110,6 +116,21 @@ Accept pipeline input: False
110116
Accept wildcard characters: False
111117
```
112118
119+
### -ConfigurationProfileAssignmentInputObject
120+
Identity Parameter
121+
122+
```yaml
123+
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
124+
Parameter Sets: GetViaIdentityConfigurationProfileAssignment
125+
Aliases:
126+
127+
Required: True
128+
Position: Named
129+
Default value: None
130+
Accept pipeline input: True (ByValue)
131+
Accept wildcard characters: False
132+
```
133+
113134
### -DefaultProfile
114135
The DefaultProfile parameter is not functional.
115136
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
@@ -128,7 +149,6 @@ Accept wildcard characters: False
128149
129150
### -InputObject
130151
Identity Parameter
131-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
132152
133153
```yaml
134154
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
@@ -193,7 +213,7 @@ The name of the virtual machine.
193213
194214
```yaml
195215
Type: System.String
196-
Parameter Sets: Get
216+
Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment
197217
Aliases:
198218

199219
Required: True
@@ -212,7 +232,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
212232
213233
## OUTPUTS
214234
215-
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment
235+
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment
216236
217237
## NOTES
218238

src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHciAssignment.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Get-AzAutomanageConfigProfileHciAssignment -InputObject <IAutomanageIdentity> [-
2424
[<CommonParameters>]
2525
```
2626

27+
### GetViaIdentityCluster
28+
```
29+
Get-AzAutomanageConfigProfileHciAssignment -ClusterInputObject <IAutomanageIdentity>
30+
[-DefaultProfile <PSObject>] [<CommonParameters>]
31+
```
32+
2733
## DESCRIPTION
2834
Get information about a configuration profile assignment
2935

@@ -71,6 +77,21 @@ This command gets information about a configuration profile assignment.
7177

7278
## PARAMETERS
7379

80+
### -ClusterInputObject
81+
Identity Parameter
82+
83+
```yaml
84+
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
85+
Parameter Sets: GetViaIdentityCluster
86+
Aliases:
87+
88+
Required: True
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: True (ByValue)
92+
Accept wildcard characters: False
93+
```
94+
7495
### -ClusterName
7596
The name of the Arc machine.
7697
@@ -104,7 +125,6 @@ Accept wildcard characters: False
104125
105126
### -InputObject
106127
Identity Parameter
107-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
108128
109129
```yaml
110130
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
@@ -158,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
158178
159179
## OUTPUTS
160180
161-
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment
181+
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment
162182
163183
## NOTES
164184

src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHcrpAssignment.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Get-AzAutomanageConfigProfileHcrpAssignment -InputObject <IAutomanageIdentity> [
2424
[<CommonParameters>]
2525
```
2626

27+
### GetViaIdentityMachine
28+
```
29+
Get-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject <IAutomanageIdentity>
30+
[-DefaultProfile <PSObject>] [<CommonParameters>]
31+
```
32+
2733
## DESCRIPTION
2834
Get information about a configuration profile assignment
2935

@@ -89,7 +95,6 @@ Accept wildcard characters: False
8995
9096
### -InputObject
9197
Identity Parameter
92-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
9398
9499
```yaml
95100
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
@@ -103,6 +108,21 @@ Accept pipeline input: True (ByValue)
103108
Accept wildcard characters: False
104109
```
105110
111+
### -MachineInputObject
112+
Identity Parameter
113+
114+
```yaml
115+
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
116+
Parameter Sets: GetViaIdentityMachine
117+
Aliases:
118+
119+
Required: True
120+
Position: Named
121+
Default value: None
122+
Accept pipeline input: True (ByValue)
123+
Accept wildcard characters: False
124+
```
125+
106126
### -MachineName
107127
The name of the Arc machine.
108128
@@ -158,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
158178
159179
## OUTPUTS
160180
161-
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment
181+
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment
162182
163183
## NOTES
164184

src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHciReport.md

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ Get-AzAutomanageHciReport -ClusterName <String> -Name <String> -ResourceGroupNam
2929
Get-AzAutomanageHciReport -InputObject <IAutomanageIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
3030
```
3131

32+
### GetViaIdentityCluster
33+
```
34+
Get-AzAutomanageHciReport -ClusterInputObject <IAutomanageIdentity> -Name <String>
35+
[-DefaultProfile <PSObject>] [<CommonParameters>]
36+
```
37+
38+
### GetViaIdentityConfigurationProfileAssignment
39+
```
40+
Get-AzAutomanageHciReport -ConfigurationProfileAssignmentInputObject <IAutomanageIdentity> -Name <String>
41+
[-DefaultProfile <PSObject>] [<CommonParameters>]
42+
```
43+
3244
## DESCRIPTION
3345
Get information about a report associated with a configuration profile assignment run
3446

@@ -69,6 +81,21 @@ This command gets information about a report associated with a configuration pro
6981

7082
## PARAMETERS
7183

84+
### -ClusterInputObject
85+
Identity Parameter
86+
87+
```yaml
88+
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
89+
Parameter Sets: GetViaIdentityCluster
90+
Aliases:
91+
92+
Required: True
93+
Position: Named
94+
Default value: None
95+
Accept pipeline input: True (ByValue)
96+
Accept wildcard characters: False
97+
```
98+
7299
### -ClusterName
73100
The name of the Arc machine.
74101
@@ -84,6 +111,21 @@ Accept pipeline input: False
84111
Accept wildcard characters: False
85112
```
86113
114+
### -ConfigurationProfileAssignmentInputObject
115+
Identity Parameter
116+
117+
```yaml
118+
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
119+
Parameter Sets: GetViaIdentityConfigurationProfileAssignment
120+
Aliases:
121+
122+
Required: True
123+
Position: Named
124+
Default value: None
125+
Accept pipeline input: True (ByValue)
126+
Accept wildcard characters: False
127+
```
128+
87129
### -DefaultProfile
88130
The DefaultProfile parameter is not functional.
89131
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
@@ -102,7 +144,6 @@ Accept wildcard characters: False
102144
103145
### -InputObject
104146
Identity Parameter
105-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
106147
107148
```yaml
108149
Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity
@@ -121,7 +162,7 @@ The report name.
121162
122163
```yaml
123164
Type: System.String
124-
Parameter Sets: Get
165+
Parameter Sets: Get, GetViaIdentityCluster, GetViaIdentityConfigurationProfileAssignment
125166
Aliases:
126167

127168
Required: True
@@ -171,7 +212,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
171212
172213
## OUTPUTS
173214
174-
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport
215+
### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport
175216
176217
## NOTES
177218

0 commit comments

Comments
 (0)