Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Az.StackHCI Cmdlet registration changes for GA #13454

Merged
merged 5 commits into from
Nov 10, 2020

Conversation

dineshreddy007
Copy link
Contributor

@dineshreddy007 dineshreddy007 commented Nov 7, 2020

Description

Design review: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/773

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.

Checklist

  • [Yes ] I have read the Submitting Changes section of CONTRIBUTING.md
  • [Yes ] The title of the PR is clear and informative
  • [Yes ] The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • [ No] The PR does not introduce breaking changes
  • [Yes ] If applicable, the changes made in the PR have proper test coverage
  • [Yes ] For public API changes to cmdlets:
    • [InProcess ] a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • [Yes ] the markdown help files have been regenerated using the commands listed here

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 and generated help files
@ghost ghost added the customer-reported label Nov 7, 2020
@ghost
Copy link

ghost commented Nov 7, 2020

Thank you for your contribution dineshreddy007! We will review the pull request and get back to you soon.

@dineshreddy007 dineshreddy007 changed the title User/digot/ga registration updates Az.StackHCI Cmdlet registration changes for GA Nov 7, 2020
@isra-fel isra-fel self-assigned this Nov 9, 2020
Using UseDeviceAuthentication as paramater name instead of UseDeviceLogin.
Checking existing resource location against given location.
# Test-AzStackHCIConnection

## SYNOPSIS

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fill in synopsis

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filled in synopsis now.

---
external help file: Az.StackHCI-help.xml
Module Name: Az.StackHCI
online version:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use

Suggested change
online version:
online version: https://docs.microsoft.com/powershell/module/az.stackhci/test-azstackhciconnection

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated online version

- 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.
Copy link
Member

@isra-fel isra-fel Nov 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More explicit

Suggested change
* Breaks the public preview registration of On-Premises Azure Stack HCI with Azure.
* [Breaking Change] Breaks the public preview registration of On-Premises Azure Stack HCI with Azure.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioning explicitly now.

Added synopsis and corrected changelog as per review suggestion
@dineshreddy007 dineshreddy007 removed their assignment Nov 10, 2020
Copy link
Member

@isra-fel isra-fel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@isra-fel isra-fel merged commit 22b2c52 into master Nov 10, 2020
@isra-fel isra-fel deleted the user/digot/GARegistrationUpdates branch November 10, 2020 05:02
greenms pushed a commit to greenms/azure-powershell that referenced this pull request Nov 13, 2020
* 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 <digot@microsoft.com>
Co-authored-by: Yeming Liu <Yeming.Liu@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants