Azure / Azure/azure-powershell

[Feature]: A quick way to update `AzProviderHubResourceTypeRegistration`

Open
#21,489 2 comments 0 reactions 0 assignees View on GitHub
feature-request Tracking
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description of the new feature

For common RPaas resource type registration update scenario, we need to add a new region endpoint. Currently, we need to first get existing properties with `Get-AzProviderHubResourceTypeRegistration`, then modify `Endpoints` property and input all other properties to each option of `New-AzProviderHubResourceTypeRegistration` to do the update.

Is there a convenient quick way to use result of `Get-AzProviderHubResourceTypeRegistration`, modify Endpoints property, then use it directly as input for `New-AzProviderHubResourceTypeRegistration`?

### Proposed implementation details (optional)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the Get-AzProviderHubResourceTypeRegistration and New-AzProviderHubResourceTypeRegistration entry points, focusing on their properties and parameter handling. Reproduce the existing workflow, then determine how a Get result with a modified Endpoints property could be accepted for registration update. Done means the common update scenario works without manually supplying every other property, with coverage for the new input behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell
Domain
cli, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.