We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to check the script collect-azure-disk-information:
Though the resource (disk) exists the script is looking up on a random Resource Group and reported as failure.
--example: Line | 37 | $metrics = Get-AzMetric | ~~~~~~~~~~~~~~ | Exception type: ErrorResponseException, Message: Microsoft.Azure.Management.Monitor.Models.ErrorResponseException: Operation returned an invalid status code 'NotFound' at Microsoft.Azure.Management.Monitor.MetricsOperations.ListWithHttpMessagesAsync(String resourceUri, ODataQuery1 odataQuery, String timespan, Nullable1 interval, String metricnames, String aggregation, Nullable1 top, String orderby, Nullable1 resultType, String metricnamespace, Dictionary2 customHeaders, CancellationToken cancellationToken) at Microsoft.Azure.Management.Monitor.MetricsOperationsExtensions.ListAsync(IMetricsOperations operations, String resourceUri, ODataQuery1 odataQuery, String timespan, Nullable1 interval, String metricnames, String aggregation, Nullable1 top, String orderby, Nullable1 resultType, String metricnamespace, CancellationToken cancellationToken) at Microsoft.Azure.Management.Monitor.MetricsOperationsExtensions.List(IMetricsOperations operations, String resourceUri, ODataQuery1 odataQuery, String timespan, Nullable1 interval, String metricnames, String aggregation, Nullable1 top, String orderby, Nullable1 resultType, String metricnamespace) at Microsoft.Azure.Commands.Insights.Metrics.GetAzureRmMetricCommand.ProcessRecordInternal() at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet(), Code: Null, Status code:Null, Reason phrase: Null Get-AzDisk: Line | 14 | … $diskSKU = Get-AzDisk -ResourceGroupName $vm.ResourceGroupName -Disk … |
| ~~~~~~~~~~~~~~ | Exception type: ErrorResponseException, Message: Microsoft.Azure.Management.Monitor.Models.ErrorResponseException: Operation returned an invalid status code 'NotFound' at Microsoft.Azure.Management.Monitor.MetricsOperations.ListWithHttpMessagesAsync(String resourceUri, ODataQuery
1 interval, String metricnames, String aggregation, Nullable
1 resultType, String metricnamespace, Dictionary
1 odataQuery, String timespan, Nullable
1 top, String orderby, Nullable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Need to check the script collect-azure-disk-information:
Though the resource (disk) exists the script is looking up on a random Resource Group and reported as failure.
--example:
Line |
37 | $metrics = Get-AzMetric
| ~~~~~~~~~~~~~~ | Exception type: ErrorResponseException, Message: Microsoft.Azure.Management.Monitor.Models.ErrorResponseException: Operation returned an invalid status code 'NotFound' at Microsoft.Azure.Management.Monitor.MetricsOperations.ListWithHttpMessagesAsync(String resourceUri, ODataQuery
1 odataQuery, String timespan, Nullable1 interval, String metricnames, String aggregation, Nullable
1 top, String orderby, Nullable1 resultType, String metricnamespace, Dictionary
2 customHeaders, CancellationToken cancellationToken)at Microsoft.Azure.Management.Monitor.MetricsOperationsExtensions.ListAsync(IMetricsOperations operations, String resourceUri, ODataQuery
1 odataQuery, String timespan, Nullable
1 interval, String metricnames, String aggregation, Nullable1 top, String orderby, Nullable
1 resultType, String metricnamespace, CancellationToken cancellationToken)at Microsoft.Azure.Management.Monitor.MetricsOperationsExtensions.List(IMetricsOperations operations, String resourceUri, ODataQuery
1 odataQuery, String timespan, Nullable
1 interval, String metricnames, String aggregation, Nullable1 top, String orderby, Nullable
1 resultType, String metricnamespace)at Microsoft.Azure.Commands.Insights.Metrics.GetAzureRmMetricCommand.ProcessRecordInternal()
at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet(), Code: Null, Status code:Null, Reason phrase: Null
Get-AzDisk:
Line |
14 | … $diskSKU = Get-AzDisk -ResourceGroupName $vm.ResourceGroupName -Disk …
|
The text was updated successfully, but these errors were encountered: