Azure / Azure/autorest.powershell

Create the ResourceGroup if not exist when create a new resource

Open
#782 0 comments 0 reactions 0 assignees View on GitHub
ARM feature-request P2
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

In AWS powershell modules, when user create a new resource, if the resource group is not exist, cmdlet will create a new resource group for them. We can add ShouldProcess to protect user input a wrong resource group name.
* Reporter
* Yunchi Wang
* Applied to all generated modules (MySql module has this requirement)

* Examples
```
New-AzResourcegroup -Name wyunchi-costmanagement -Location eastus
New-AzStorageAccount -ResourceGroupName wyunchi-costmanagement -Name wyunchistorageaccount -SkuName Standard_LRS -Location eastus
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.