Azure / Azure/azure-powershell

New-AzCloudService command does not work with ReservedIP name in format "Group {ResourceGroupName} {Name}.

Open
#23,965 2 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Cloud Service (Ext) customer-reported question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

The validation does allow a ReservedIP with format "Group {ResourceGroupName} {Name}, please see:
https://github.com/Azure/azure-powershell/blob/0481a4ffb6fb9f569d43639266d58037ab61e245/src/CloudService/CloudService.Autorest/custom/New-AzCloudService.ps1#L527

However the code itself does not take this format into account, please see:
https://github.com/Azure/azure-powershell/blob/0481a4ffb6fb9f569d43639266d58037ab61e245/src/CloudService/CloudService.Autorest/custom/New-AzCloudService.ps1#L264

### Script or Debug output

_No response_

### Environment data

_No response_

### Module versions

_No response_

### Error output

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.