-
Notifications
You must be signed in to change notification settings - Fork 114
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
Extract New-ResourceGroup private command for reuse #656
base: dev
Are you sure you want to change the base?
Conversation
.EXAMPLE | ||
New-ResourceGroup -WhatIf | ||
|
||
Shows what would happen if the command runs without actually running it. | ||
|
||
.DESCRIPTION | ||
The New-ResourceGroup command performs any initialization tasks required for a resource group contributor to be able to deploy a FinOps hub instance in Azure, like registering resource providers. To view the full list of tasks performed, run the command with the -WhatIf option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.EXAMPLE | |
New-ResourceGroup -WhatIf | |
Shows what would happen if the command runs without actually running it. | |
.DESCRIPTION | |
The New-ResourceGroup command performs any initialization tasks required for a resource group contributor to be able to deploy a FinOps hub instance in Azure, like registering resource providers. To view the full list of tasks performed, run the command with the -WhatIf option. | |
.DESCRIPTION | |
The New-ResourceGroup command performs any initialization tasks required for a resource group contributor to be able to deploy a FinOps hub instance in Azure, like registering resource providers. To view the full list of tasks performed, run the command with the -WhatIf option. | |
.EXAMPLE | |
New-ResourceGroup -WhatIf | |
Shows what would happen if the command runs without actually running it. |
.SYNOPSIS | ||
Creates a new resource group. | ||
|
||
.EXAMPLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add parameters to the docs
<# | ||
.SYNOPSIS | ||
Creates a new resource group. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding parameters...
.PARAMETER Name | |
Specifies a name for the resource group. The resource group name must be unique in the subscription. If a resource group that has that name already exists, the command prompts you for confirmation before replacing the existing resource group. | |
.PARAMETER Location | |
Specifies the location of the resource group. | |
.PARAMETER Tags | |
Key-value pairs in the form of a hash table. For example: @{key0="value0";key1=$null;key2="value2"} | |
π οΈ Description
Extract the new RG creation from Deploy-FinOpsHub to reuse in other commands.
π Checklist
π¬ How did you test this change?
πββοΈ Do any of the following that apply?
π Did you update
docs/changelog.md
?π Did you update documentation?