[go: nahoru, domu]

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

Incorrect/Confusing response for Get-AzureRmResourceProvider #4887

Open
darshdeeph opened this issue Oct 30, 2017 · 2 comments
Open

Incorrect/Confusing response for Get-AzureRmResourceProvider #4887

darshdeeph opened this issue Oct 30, 2017 · 2 comments
Assignees
Labels
ARM - Core Triaged ARM - Core ARM feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.

Comments

@darshdeeph
Copy link
darshdeeph commented Oct 30, 2017

Cmdlet(s)

Get-AzureRmResourceProvider

PowerShell Version

Instructions: to get PowerShell version, type $PSVersionTable and look for the value associated with PSVersion
5.1.14393.1794

Module Version

OS Version

Instructions: to get OS version, type $PSversionTable and look for value associated with BuildVersion
10.0.14393.1794

Description

Get-AzureRmResourceProvider with -ProviderNamespace value gives an array of responses for different ResourceTypes. In this response, every ResourceType has it's own RegistrationState property, which is misleading because RegistrationState is a property of the ProviderNamespace, not the ResourceType.

Expected output is one single object that describes the properties of the ProviderNamespace passed in the -ProviderNamespace flag.

Note: When you run Get-AzureRmResourceProvider without providing a -ProviderNamespace, the response is good. It bundles up the different ResourceTypes into their ProviderNamespace.

Script/Steps for Reproduction

Get-AzureRmResourceProvider -ProviderNamespace Microsoft.Subscriptions

@darshdeeph
Copy link
Author

image

image

@markcowl
Copy link
Member

@ravbhatnagar @vivsriaus Can you guys take a look?

@cormacpayne cormacpayne assigned Tiano2017 and unassigned vivsriaus Jun 8, 2018
@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
@rthorn17 rthorn17 added ARM ARM - Core feature-request This issue requires a new behavior in the product in order be resolved. and removed Resource Manager labels Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM - Core Triaged ARM - Core ARM feature-request This issue requires a new behavior in the product in order be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

9 participants