Skip to content

Commit 7290cd7

Browse files
azure-powershell-botLei jin
andauthored
Migrate StackHCI from generation to main (#24171)
* Move StackHCI to main * Add change log --------- Co-authored-by: Lei jin <[email protected]>
1 parent b6f85ca commit 7290cd7

29 files changed

+480
-56
lines changed

src/StackHCI/StackHCI/Az.StackHCI.psd1

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

99
@{
@@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.15.1'; })
5757
RequiredAssemblies = 'StackHCI.Autorest/bin/Az.StackHCI.private.dll'
5858

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

6262
# Type files (.ps1xml) to be loaded when importing this module
63-
# TypesToProcess = @()
63+
TypesToProcess = @()
6464

6565
# Format files (.ps1xml) to be loaded when importing this module
6666
FormatsToProcess = 'StackHCI.Autorest/Az.StackHCI.format.ps1xml'
@@ -109,7 +109,7 @@ PrivateData = @{
109109
PSData = @{
110110

111111
# Tags applied to this module. These help with module discovery in online galleries.
112-
Tags = 'Azure','ResourceManager','ARM','PSModule','StackHci'
112+
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'StackHci'
113113

114114
# A URL to the license for this module.
115115
LicenseUri = 'https://aka.ms/azps-license'
@@ -135,7 +135,7 @@ PrivateData = @{
135135

136136
} # End of PSData hashtable
137137

138-
} # End of PrivateData hashtable
138+
} # End of PrivateData hashtable
139139

140140
# HelpInfo URI of this module
141141
# HelpInfoURI = ''

src/StackHCI/StackHCI/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Updated `Set-AzStackHCI` to use HTTP PATCH for updating cluster resource instead of HTTP PUT and to only send updated properties.
2122

2223
## Version 2.3.0
2324
* Fixed issue for WAC.

src/StackHCI/StackHCI/help/Add-AzStackHCIVMAttestation.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,20 @@ Add-AzStackHCIVMAttestation configures guests for AzureStack HCI IMDS Attestatio
1414

1515
### VMName (Default)
1616
```
17-
Add-AzStackHCIVMAttestation [-VMName] <String[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
17+
Add-AzStackHCIVMAttestation [-VMName] <String[]> [-Force] [-ProgressAction <ActionPreference>] [-WhatIf]
18+
[-Confirm] [<CommonParameters>]
1819
```
1920

2021
### VMObject
2122
```
22-
Add-AzStackHCIVMAttestation [-Force] [-VM] <Object[]> [-WhatIf] [-Confirm] [<CommonParameters>]
23+
Add-AzStackHCIVMAttestation [-Force] [-VM] <Object[]> [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
24+
[<CommonParameters>]
2325
```
2426

2527
### AddAll
2628
```
27-
Add-AzStackHCIVMAttestation [-Force] [-AddAll] [-WhatIf] [-Confirm] [<CommonParameters>]
29+
Add-AzStackHCIVMAttestation [-Force] [-AddAll] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
30+
[<CommonParameters>]
2831
```
2932

3033
## DESCRIPTION
@@ -104,6 +107,21 @@ Accept pipeline input: False
104107
Accept wildcard characters: False
105108
```
106109
110+
### -ProgressAction
111+
{{ Fill ProgressAction Description }}
112+
113+
```yaml
114+
Type: System.Management.Automation.ActionPreference
115+
Parameter Sets: (All)
116+
Aliases: proga
117+
118+
Required: False
119+
Position: Named
120+
Default value: None
121+
Accept pipeline input: False
122+
Accept wildcard characters: False
123+
```
124+
107125
### -VM
108126
Specifies an array of VM objects from Get-VM.
109127

src/StackHCI/StackHCI/help/Disable-AzStackHCIAttestation.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Disable-AzStackHCIAttestation disables IMDS Attestation on the host
1414

1515
```
1616
Disable-AzStackHCIAttestation [[-ComputerName] <String>] [-Credential <PSCredential>] [-RemoveVM] [-Force]
17-
[-WhatIf] [-Confirm] [<CommonParameters>]
17+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -83,6 +83,21 @@ Accept pipeline input: False
8383
Accept wildcard characters: False
8484
```
8585
86+
### -ProgressAction
87+
{{ Fill ProgressAction Description }}
88+
89+
```yaml
90+
Type: System.Management.Automation.ActionPreference
91+
Parameter Sets: (All)
92+
Aliases: proga
93+
94+
Required: False
95+
Position: Named
96+
Default value: None
97+
Accept pipeline input: False
98+
Accept wildcard characters: False
99+
```
100+
86101
### -RemoveVM
87102
Specifies the guests on each node should be removed from IMDS Attestation before disabling on cluster.
88103
Disable cannot continue before guests are removed.

src/StackHCI/StackHCI/help/Disable-AzStackHCIRemoteSupport.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Disables Remote Support.
1313
## SYNTAX
1414

1515
```
16-
Disable-AzStackHCIRemoteSupport [-WhatIf] [-Confirm] [<CommonParameters>]
16+
Disable-AzStackHCIRemoteSupport [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -37,6 +37,21 @@ Disabling Remort support
3737

3838
## PARAMETERS
3939

40+
### -ProgressAction
41+
{{ Fill ProgressAction Description }}
42+
43+
```yaml
44+
Type: System.Management.Automation.ActionPreference
45+
Parameter Sets: (All)
46+
Aliases: proga
47+
48+
Required: False
49+
Position: Named
50+
Default value: None
51+
Accept pipeline input: False
52+
Accept wildcard characters: False
53+
```
54+
4055
### -Confirm
4156
Prompts you for confirmation before running the cmdlet.
4257

src/StackHCI/StackHCI/help/Enable-AzStackHCIAttestation.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Enable-AzStackHCIAttestation configures the host and enables specified guests fo
1414

1515
```
1616
Enable-AzStackHCIAttestation [[-ComputerName] <String>] [-Credential <PSCredential>] [-AddVM] [-Force]
17-
[-WhatIf] [-Confirm] [<CommonParameters>]
17+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -99,6 +99,21 @@ Accept pipeline input: False
9999
Accept wildcard characters: False
100100
```
101101
102+
### -ProgressAction
103+
{{ Fill ProgressAction Description }}
104+
105+
```yaml
106+
Type: System.Management.Automation.ActionPreference
107+
Parameter Sets: (All)
108+
Aliases: proga
109+
110+
Required: False
111+
Position: Named
112+
Default value: None
113+
Accept pipeline input: False
114+
Accept wildcard characters: False
115+
```
116+
102117
### -Confirm
103118
Prompts you for confirmation before running the cmdlet.
104119

src/StackHCI/StackHCI/help/Enable-AzStackHCIRemoteSupport.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Enables Remote Support.
1414

1515
```
1616
Enable-AzStackHCIRemoteSupport [-AccessLevel] <String> [[-ExpireInMinutes] <Int32>] [[-SasCredential] <String>]
17-
[-AgreeToRemoteSupportConsent] [-WhatIf] [-Confirm] [<CommonParameters>]
17+
[-AgreeToRemoteSupportConsent] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -118,6 +118,21 @@ Accept pipeline input: False
118118
Accept wildcard characters: False
119119
```
120120
121+
### -ProgressAction
122+
{{ Fill ProgressAction Description }}
123+
124+
```yaml
125+
Type: System.Management.Automation.ActionPreference
126+
Parameter Sets: (All)
127+
Aliases: proga
128+
129+
Required: False
130+
Position: Named
131+
Default value: None
132+
Accept pipeline input: False
133+
Accept wildcard characters: False
134+
```
135+
121136
### -SasCredential
122137
Hybrid Connection SAS Credential.
123138

src/StackHCI/StackHCI/help/Get-AzStackHCILogsDirectory.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Returns Logs directory path on the current node.
1313
## SYNTAX
1414

1515
```
16-
Get-AzStackHCILogsDirectory [[-Credential] <PSCredential>] [[-ComputerName] <String>] [-WhatIf] [-Confirm]
17-
[<CommonParameters>]
16+
Get-AzStackHCILogsDirectory [[-Credential] <PSCredential>] [[-ComputerName] <String>]
17+
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -66,6 +66,21 @@ Accept pipeline input: False
6666
Accept wildcard characters: False
6767
```
6868
69+
### -ProgressAction
70+
{{ Fill ProgressAction Description }}
71+
72+
```yaml
73+
Type: System.Management.Automation.ActionPreference
74+
Parameter Sets: (All)
75+
Aliases: proga
76+
77+
Required: False
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
6984
### -Confirm
7085
Prompts you for confirmation before running the cmdlet.
7186

src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportAccess.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Gets Remote Support Access.
1313
## SYNTAX
1414

1515
```
16-
Get-AzStackHCIRemoteSupportAccess [-Cluster] [-IncludeExpired] [<CommonParameters>]
16+
Get-AzStackHCIRemoteSupportAccess [-Cluster] [-IncludeExpired] [-ProgressAction <ActionPreference>]
17+
[<CommonParameters>]
1718
```
1819

1920
## DESCRIPTION
@@ -101,6 +102,21 @@ Accept pipeline input: False
101102
Accept wildcard characters: False
102103
```
103104
105+
### -ProgressAction
106+
{{ Fill ProgressAction Description }}
107+
108+
```yaml
109+
Type: System.Management.Automation.ActionPreference
110+
Parameter Sets: (All)
111+
Aliases: proga
112+
113+
Required: False
114+
Position: Named
115+
Default value: None
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
104120
### CommonParameters
105121
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
106122

src/StackHCI/StackHCI/help/Get-AzStackHCIRemoteSupportSessionHistory.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gets Remote Support Session History Details.
1414

1515
```
1616
Get-AzStackHCIRemoteSupportSessionHistory [[-SessionId] <String>] [-IncludeSessionTranscript]
17-
[[-FromDate] <DateTime>] [<CommonParameters>]
17+
[[-FromDate] <DateTime>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -72,6 +72,21 @@ Accept pipeline input: False
7272
Accept wildcard characters: False
7373
```
7474
75+
### -ProgressAction
76+
{{ Fill ProgressAction Description }}
77+
78+
```yaml
79+
Type: System.Management.Automation.ActionPreference
80+
Parameter Sets: (All)
81+
Aliases: proga
82+
83+
Required: False
84+
Position: Named
85+
Default value: None
86+
Accept pipeline input: False
87+
Accept wildcard characters: False
88+
```
89+
7590
### -SessionId
7691
Optional.
7792
Session Id to get details for a specific session.

src/StackHCI/StackHCI/help/Get-AzStackHCIVMAttestation.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Get-AzStackHCIVMAttestation shows a list of guests added to IMDS Attestation on
1313
## SYNTAX
1414

1515
```
16-
Get-AzStackHCIVMAttestation [-Local] [<CommonParameters>]
16+
Get-AzStackHCIVMAttestation [-Local] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -76,6 +76,21 @@ Accept pipeline input: False
7676
Accept wildcard characters: False
7777
```
7878
79+
### -ProgressAction
80+
{{ Fill ProgressAction Description }}
81+
82+
```yaml
83+
Type: System.Management.Automation.ActionPreference
84+
Parameter Sets: (All)
85+
Aliases: proga
86+
87+
Required: False
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: False
91+
Accept wildcard characters: False
92+
```
93+
7994
### CommonParameters
8095
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
8196

src/StackHCI/StackHCI/help/Get-AzStackHciArcSetting.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ Get ArcSetting resource details of HCI Cluster.
1515
### List (Default)
1616
```
1717
Get-AzStackHciArcSetting -ClusterName <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
18-
[-DefaultProfile <PSObject>] [<CommonParameters>]
18+
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### Get
2222
```
2323
Get-AzStackHciArcSetting -ClusterName <String> -Name <String> -ResourceGroupName <String>
24-
[-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [<CommonParameters>]
24+
[-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>]
25+
[<CommonParameters>]
2526
```
2627

2728
### GetViaIdentity
2829
```
29-
Get-AzStackHciArcSetting -InputObject <IStackHciIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
30+
Get-AzStackHciArcSetting -InputObject <IStackHciIdentity> [-DefaultProfile <PSObject>]
31+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
3032
```
3133

3234
## DESCRIPTION
@@ -112,6 +114,21 @@ Accept pipeline input: False
112114
Accept wildcard characters: False
113115
```
114116
117+
### -ProgressAction
118+
{{ Fill ProgressAction Description }}
119+
120+
```yaml
121+
Type: System.Management.Automation.ActionPreference
122+
Parameter Sets: (All)
123+
Aliases: proga
124+
125+
Required: False
126+
Position: Named
127+
Default value: None
128+
Accept pipeline input: False
129+
Accept wildcard characters: False
130+
```
131+
115132
### -ResourceGroupName
116133
The name of the resource group.
117134
The name is case insensitive.

0 commit comments

Comments
 (0)