You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Az.StackHCI Cmdlet registration changes for GA (#13454)
* Registration changes to support GA On-Premises Stack HCI
Made changes to registration script to register the GA version of On-Premises Azure Stack HCI with Azure.
- Supports registering with user provided certificate thumbprint.
- Supports On-Premises Azure Stack HCI OS changes to use independent certificate on cluster nodes.
- Cleans up resource group during unregistration.
- Improves registration output and logging.
Breaks the public preview registration of On-Premises Azure Stack HCI with Azure.
- To register public preview On-Premises Azure Stack HCi with Azure, use 0.3.1 version of Az.StackHCI.
* Added Test-AzStackHCIConnection Cmdlet
Added Test-AzStackHCIConnection Cmdlet and generated help files
* Using UseDeviceAuthentication param name
Using UseDeviceAuthentication as paramater name instead of UseDeviceLogin.
Checking existing resource location against given location.
* Added synopsis and corrected changelog
Added synopsis and corrected changelog as per review suggestion
* try to fix static analysis issue
Co-authored-by: Dinesh Reddy Gottam <[email protected]>
Co-authored-by: Yeming Liu <[email protected]>
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
Copy file name to clipboardExpand all lines: src/StackHCI/help/Az.StackHCI.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ Microsoft Azure PowerShell: StackHCI cmdlets
14
14
### [Register-AzStackHCI](Register-AzStackHCI.md)
15
15
Register-AzStackHCI creates a Microsoft.AzureStackHCI cloud resource representing the on-premise cluster and registers the on-premise cluster with Azure.
Unregister-AzStackHCI deletes the Microsoft.AzureStackHCI cloud resource representing the on-premise cluster and unregisters the on-premise cluster with Azure.
22
+
The registered information available on the cluster is used to unregister the cluster if no parameters are passed.
Specifying this along with ArmAccessToken and GraphAccessToken will avoid Azure interactive logon.
185
+
### -Region
186
+
Specifies the Region to create the resource.
187
+
Default is EastUS.
187
188
188
189
```yaml
189
-
Type: String
190
+
Type: System.String
190
191
Parameter Sets: (All)
191
192
Aliases:
192
193
193
194
Required: False
194
-
Position: 8
195
+
Position: 2
195
196
Default value: None
196
197
Accept pipeline input: False
197
198
Accept wildcard characters: False
198
199
```
199
200
200
-
### -EnvironmentName
201
-
Specifies the Azure Environment.
202
-
Default is AzureCloud.
203
-
Valid values are AzureCloud, AzureChinaCloud, AzureUSGovernment, AzureGermanCloud, AzurePPE
201
+
### -RepairRegistration
202
+
Repair the current Azure Stack HCI registration with the cloud. This cmdlet deletes the local certificates on the clustered nodes and the remote certificates in the Azure AD application in the cloud and generates new replacement certificates for both. The resource group, resource name, and other registration choices are preserved.
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).
0 commit comments