Azure / Azure/azure-powershell

Get-AzureRmMetricDefinition not giving the proper output

Open
#4,958 7 comments 0 reactions 1 assignee Claimed by @gucalder View on GitHub
act-observability-squad Monitor - Metrics Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Cmdlet(s)
Get-AzureRmMetricDefinition

### PowerShell Version
5.1.15063.674

### Module Version
4.4.1

### OS Version
10.0.15063.674

### Description
When I try to use this commandlet to get the Metric Definitions for a Azure SQL Database, it does not return output as shown over here - https://docs.microsoft.com/en-us/powershell/module/azurerm.insights/get-azurermmetricdefinition?view=azurermps-4.4.1

###Output
http://pasted.co/afa243e5

Values have been replaced.

### Script/Steps for Reproduction
1. Create an Azure SQL Server.
2. Create Azure SQL Database inside that server.
3. Get resource ID of this Azure SQL Database.
4. Run `Get-AzureRmMetricDefinition -ResourceId $resourceId -DetailedOutput`

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.