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

[Doc] Get-AzMetric - Docs samples don't match actual cmdlet #25469

Closed
Alex-wdy opened this issue Jul 8, 2024 · 2 comments · Fixed by #25570
Closed

[Doc] Get-AzMetric - Docs samples don't match actual cmdlet #25469

Alex-wdy opened this issue Jul 8, 2024 · 2 comments · Fixed by #25570
Assignees
Labels
Azure PS Team bug This issue requires a change to an existing behavior in the product in order to be resolved. Doc - Reference Monitor - Metrics Tracking We will track status and follow internally

Comments

@Alex-wdy
Copy link
Contributor

Alex-wdy commented Jul 8, 2024

Description

To update current versions of the Get-AzMetric reference doc, raise a PR in the azure-docs-powershell repo:

https://github.com/MicrosoftDocs/azure-docs-powershell/blob/main/azps-12.0.0/Az.Monitor/Get-AzMetric.md
https://github.com/MicrosoftDocs/azure-docs-powershell/blob/main/azps-11.6.0/Az.Monitor/Get-AzMetric.md

Actual output:
image

According to the docs (https://learn.microsoft.com/en-us/powershell/module/az.monitor/get-azmetric):
Uploading image.png…

Issue script & Debug output

N/A

Environment data

PS C:\Users\wangalex> $PSversiontable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

PS C:\Users\wangalex> Get-Module Az*

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     3.0.0                 Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzConte

Error output

N/A
@Alex-wdy Alex-wdy added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jul 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jul 8, 2024
@isra-fel isra-fel added Azure PS Team Doc - Reference Monitor - Metrics Tracking We will track status and follow internally labels Jul 11, 2024
@isra-fel
Copy link
Member

We need to refresh the examples of this cmdlet

@JoyerJin JoyerJin linked a pull request Jul 17, 2024 that will close this issue
6 tasks
@JoyerJin
Copy link
Contributor

JoyerJin commented Jul 18, 2024

Microsoft Docs of Az 11.6.0, 12.0.0 and 12.1.0 are fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure PS Team bug This issue requires a change to an existing behavior in the product in order to be resolved. Doc - Reference Monitor - Metrics Tracking We will track status and follow internally
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants