Aracılığıyla paylaş


Metric Alerts - Delete

Uyarı kuralı tanımını silme.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}?api-version=2018-03-01

URI Parametreleri

Name İçinde Gerekli Tür Description
resourceGroupName
path True

string

Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir.

ruleName
path True

string

Kuralın adı.

subscriptionId
path True

string

Hedef aboneliğin kimliği.

api-version
query True

string

Bu işlem için kullanılacak API sürümü.

Yanıtlar

Name Tür Description
200 OK

Ölçüm uyarı kuralını silme isteği başarılı

204 No Content

İçerik yok: İstek başarılı oldu, ancak yanıt boş

Other Status Codes

ErrorResponse

BadRequest

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Tür: oauth2
Akış: implicit
Yetkilendirme URL’si: https://login.microsoftonline.com/common/oauth2/authorize

Kapsamlar

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

Delete an alert rule

Örnek isteği

DELETE https://management.azure.com/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourceGroups/gigtest/providers/Microsoft.Insights/metricAlerts/chiricutin?api-version=2018-03-01

Örnek yanıt

Tanımlar

ErrorResponse

Hata yanıtının biçimini açıklar.

Name Tür Description
code

string

Hata kodu

message

string

İşlemin neden başarısız olduğunu belirten hata iletisi.