Azure / Azure/azure-cli

Add az command to access Azure ResourceHealth status

Open
#28,055 4 comments 3 reactions 3 assignees Claimed by @yanzhudd View on GitHub
Auto-Assign customer-reported feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

**Is your feature request related to a problem? Please describe.**

Azure announces maintenances or defects of a service (e.g virtual machine) in the Azure ResourceHeath API endpoint.

Currently, the az cli does not have a command to access this api endpoint and read announcements via cli.

**Describe the solution you'd like**

Please implement a method to access the api endpoint. Basically, this is the method with the az rest implementation:
**Describe alternatives you've considered**

```
az rest --method get --url https://management.azure.com/subscriptions/${ARM_SUBSCRIPTION_ID}/providers/Microsoft.ResourceHealth/availabilityStatuses
```
**Additional context**

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.