Azure Service Health, Azure servis kesintilerini ve bakım pencerelerini takip etmenizi sağlar. PowerShell ile bu olayları programatik olarak izleyebilir ve etkilenen kaynakları hızla tespit edebilirsiniz.
Aktif Sağlık Olaylarını Almak
PowerShell
Search-AzGraph -Query "ServiceHealthResources | where type =~ 'Microsoft.ResourceHealth/events' | extend eventType = properties.EventType, status = properties.Status, description = properties.Title, trackingId = properties.TrackingId, summary = properties.Summary, priority = properties.Priority, impactStartTime = properties.ImpactStartTime, impactMitigationTime = todatetime(tolong(properties.ImpactMitigationTime)) | where eventType == 'HealthAdvisory' and impactMitigationTime > now()"
