Skip to content

Commit 6a12ab3

Browse files
committed
remove unexpanded variant in test edge device command
1 parent f289848 commit 6a12ab3

File tree

7 files changed

+28
-85
lines changed

7 files changed

+28
-85
lines changed

src/StackHCI/StackHCI.Autorest/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@
2424
[assembly: System.Reflection.AssemblyVersionAttribute("2.6.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27-

src/StackHCI/StackHCI.Autorest/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,15 @@ directive:
8383
subject: ExtendClusterSoftwareAssuranceBenefit
8484
variant: ^(Extend)(?!.*?(Expanded|JsonFilePath|JsonString))
8585
remove: true
86+
- where:
87+
subject: EdgeDevice
88+
variant: ^(Validate)(?!.*?(Expanded|JsonFilePath|JsonString))
89+
remove: true
8690
- where:
8791
verb: Set
8892
subject: Workspace
8993
remove: true
90-
# Remove Update-AzStackHciExtension
94+
# Remove Update-AzStackHciExtension
9195
- where:
9296
verb: Update
9397
subject: Extension
@@ -112,7 +116,7 @@ directive:
112116
verb: New
113117
subject: ArcSettingPassword
114118
remove: true
115-
# Remove Update-AzStackHciArcSetting
119+
# Remove Update (Get-Put) commands and use set cmdlets.
116120
- where:
117121
verb: Update
118122
subject: ArcSetting|DeploymentSetting|EdgeDevice|SecuritySetting|Update$|UpdateRun|UpdateSummary

src/StackHCI/StackHCI.Autorest/docs/Test-AzStackHciEdgeDevice.md

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@ Test-AzStackHciEdgeDevice -Name <String> -ResourceUri <String> -EdgeDeviceId <St
1919
[<CommonParameters>]
2020
```
2121

22-
### Validate
23-
```
24-
Test-AzStackHciEdgeDevice -Name <String> -ResourceUri <String> -ValidateRequest <IValidateRequest>
25-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
26-
```
27-
28-
### ValidateViaIdentity
29-
```
30-
Test-AzStackHciEdgeDevice -InputObject <IStackHciIdentity> -ValidateRequest <IValidateRequest>
31-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
32-
```
33-
3422
### ValidateViaIdentityExpanded
3523
```
3624
Test-AzStackHciEdgeDevice -InputObject <IStackHciIdentity> -EdgeDeviceId <String[]> [-AdditionalInfo <String>]
@@ -137,7 +125,7 @@ Identity Parameter
137125
138126
```yaml
139127
Type: Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IStackHciIdentity
140-
Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded
128+
Parameter Sets: ValidateViaIdentityExpanded
141129
Aliases:
142130

143131
Required: True
@@ -182,7 +170,7 @@ Name of Device
182170
183171
```yaml
184172
Type: System.String
185-
Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString
173+
Parameter Sets: ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString
186174
Aliases: EdgeDeviceName
187175

188176
Required: True
@@ -212,7 +200,7 @@ The fully qualified Azure Resource manager identifier of the resource.
212200
213201
```yaml
214202
Type: System.String
215-
Parameter Sets: Validate, ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString
203+
Parameter Sets: ValidateExpanded, ValidateViaJsonFilePath, ValidateViaJsonString
216204
Aliases:
217205

218206
Required: True
@@ -222,21 +210,6 @@ Accept pipeline input: False
222210
Accept wildcard characters: False
223211
```
224212
225-
### -ValidateRequest
226-
The validate request for Edge Device.
227-
228-
```yaml
229-
Type: Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IValidateRequest
230-
Parameter Sets: Validate, ValidateViaIdentity
231-
Aliases:
232-
233-
Required: True
234-
Position: Named
235-
Default value: None
236-
Accept pipeline input: True (ByValue)
237-
Accept wildcard characters: False
238-
```
239-
240213
### -Confirm
241214
Prompts you for confirmation before running the cmdlet.
242215
@@ -275,8 +248,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
275248
276249
### Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IStackHciIdentity
277250
278-
### Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IValidateRequest
279-
280251
## OUTPUTS
281252
282253
### Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IValidateResponse
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "758784df-bcd7-4af7-a2ca-5ee008397a92"
2+
"generate_Id": "b87dc2a8-5857-475e-82c4-6029c1506aa9"
33
}

src/StackHCI/StackHCI.sln

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StackHCI", "StackHCI\StackH
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "StackHCI.Autorest", "StackHCI.Autorest", "{ACB343AF-D8DD-E448-A37B-DB1442C1584A}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.StackHCI", "..\..\generated\StackHCI\StackHCI.Autorest\Az.StackHCI.csproj", "{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.StackHCI", "..\..\generated\StackHCI\StackHCI.Autorest\Az.StackHCI.csproj", "{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}"
2525
EndProject
2626
Global
2727
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -117,18 +117,18 @@ Global
117117
{95BB4164-65C9-4E70-8A0D-94D4E86E7BBC}.Release|x64.Build.0 = Release|Any CPU
118118
{95BB4164-65C9-4E70-8A0D-94D4E86E7BBC}.Release|x86.ActiveCfg = Release|Any CPU
119119
{95BB4164-65C9-4E70-8A0D-94D4E86E7BBC}.Release|x86.Build.0 = Release|Any CPU
120-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Debug|Any CPU.Build.0 = Debug|Any CPU
122-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Debug|x64.ActiveCfg = Debug|Any CPU
123-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Debug|x64.Build.0 = Debug|Any CPU
124-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Debug|x86.ActiveCfg = Debug|Any CPU
125-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Debug|x86.Build.0 = Debug|Any CPU
126-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Release|Any CPU.ActiveCfg = Release|Any CPU
127-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Release|Any CPU.Build.0 = Release|Any CPU
128-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Release|x64.ActiveCfg = Release|Any CPU
129-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Release|x64.Build.0 = Release|Any CPU
130-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Release|x86.ActiveCfg = Release|Any CPU
131-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97}.Release|x86.Build.0 = Release|Any CPU
120+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
122+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Debug|x64.ActiveCfg = Debug|Any CPU
123+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Debug|x64.Build.0 = Debug|Any CPU
124+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Debug|x86.ActiveCfg = Debug|Any CPU
125+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Debug|x86.Build.0 = Debug|Any CPU
126+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
127+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Release|Any CPU.Build.0 = Release|Any CPU
128+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Release|x64.ActiveCfg = Release|Any CPU
129+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Release|x64.Build.0 = Release|Any CPU
130+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Release|x86.ActiveCfg = Release|Any CPU
131+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE}.Release|x86.Build.0 = Release|Any CPU
132132
EndGlobalSection
133133
GlobalSection(SolutionProperties) = preSolution
134134
HideSolutionNode = FALSE
@@ -140,6 +140,6 @@ Global
140140
{9EC63779-A102-4CAD-8D21-76B5DEDA72E0} = {4106E9F2-D754-4BEA-8758-CB64B6964131}
141141
{2C2AD704-C290-456D-A58E-1898200CD872} = {4106E9F2-D754-4BEA-8758-CB64B6964131}
142142
{F4CCAB51-ED75-47EC-90D9-D78BD25A7E11} = {4106E9F2-D754-4BEA-8758-CB64B6964131}
143-
{9A1BE2CC-6CBA-4B60-8C8D-0B541775EF97} = {ACB343AF-D8DD-E448-A37B-DB1442C1584A}
143+
{3EC635A5-346C-481D-90DD-EA8C6C07D9AE} = {ACB343AF-D8DD-E448-A37B-DB1442C1584A}
144144
EndGlobalSection
145145
EndGlobal

src/StackHCI/StackHCI/Az.StackHCI.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 8/8/2025
6+
# Generated on: 8/15/2025
77
#
88

99
@{

src/StackHCI/StackHCI/help/Test-AzStackHciEdgeDevice.md

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,13 @@ Test-AzStackHciEdgeDevice -Name <String> -ResourceUri <String> -JsonFilePath <St
3333
[<CommonParameters>]
3434
```
3535

36-
### Validate
37-
```
38-
Test-AzStackHciEdgeDevice -Name <String> -ResourceUri <String> -ValidateRequest <IValidateRequest>
39-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
40-
[<CommonParameters>]
41-
```
42-
4336
### ValidateViaIdentityExpanded
4437
```
4538
Test-AzStackHciEdgeDevice -InputObject <IStackHciIdentity> -EdgeDeviceId <String[]> [-AdditionalInfo <String>]
4639
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
4740
[<CommonParameters>]
4841
```
4942

50-
### ValidateViaIdentity
51-
```
52-
Test-AzStackHciEdgeDevice -InputObject <IStackHciIdentity> -ValidateRequest <IValidateRequest>
53-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
54-
[<CommonParameters>]
55-
```
56-
5743
## DESCRIPTION
5844
A long-running resource action.
5945

@@ -142,7 +128,7 @@ Identity Parameter
142128
143129
```yaml
144130
Type: Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IStackHciIdentity
145-
Parameter Sets: ValidateViaIdentityExpanded, ValidateViaIdentity
131+
Parameter Sets: ValidateViaIdentityExpanded
146132
Aliases:
147133

148134
Required: True
@@ -187,7 +173,7 @@ Name of Device
187173
188174
```yaml
189175
Type: System.String
190-
Parameter Sets: ValidateExpanded, ValidateViaJsonString, ValidateViaJsonFilePath, Validate
176+
Parameter Sets: ValidateExpanded, ValidateViaJsonString, ValidateViaJsonFilePath
191177
Aliases: EdgeDeviceName
192178

193179
Required: True
@@ -217,7 +203,7 @@ The fully qualified Azure Resource manager identifier of the resource.
217203
218204
```yaml
219205
Type: System.String
220-
Parameter Sets: ValidateExpanded, ValidateViaJsonString, ValidateViaJsonFilePath, Validate
206+
Parameter Sets: ValidateExpanded, ValidateViaJsonString, ValidateViaJsonFilePath
221207
Aliases:
222208

223209
Required: True
@@ -227,21 +213,6 @@ Accept pipeline input: False
227213
Accept wildcard characters: False
228214
```
229215
230-
### -ValidateRequest
231-
The validate request for Edge Device.
232-
233-
```yaml
234-
Type: Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IValidateRequest
235-
Parameter Sets: Validate, ValidateViaIdentity
236-
Aliases:
237-
238-
Required: True
239-
Position: Named
240-
Default value: None
241-
Accept pipeline input: True (ByValue)
242-
Accept wildcard characters: False
243-
```
244-
245216
### -Confirm
246217
Prompts you for confirmation before running the cmdlet.
247218
@@ -280,8 +251,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
280251
281252
### Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IStackHciIdentity
282253
283-
### Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IValidateRequest
284-
285254
## OUTPUTS
286255
287256
### Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.IValidateResponse

0 commit comments

Comments
 (0)