Aracılığıyla paylaş


Data Collection Rules - Delete

Veri toplama kuralını siler.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}?api-version=2024-03-11
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}?deleteAssociations={deleteAssociations}&api-version=2024-03-11

URI Parametreleri

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

string

Veri toplama kuralının adı. Ad büyük/küçük harfe duyarsız.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız.

subscriptionId
path True

string

minLength: 1

Hedef aboneliğin kimliği.

api-version
query True

string

minLength: 1

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

deleteAssociations
query

boolean

'Doğru' olarak ayarlanırsa, bu veri toplama kuralın tüm ilişkilendirmeleri de silinir

Yanıtlar

Name Tür Description
200 OK

Veri toplama kuralı başarıyla silindi

204 No Content

Veri toplama kuralı yoktu

Other Status Codes

ErrorResponseCommonV2

Hata

Güvenlik

azure_auth

Azure Active Directory OAuth2 Akışı

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 data collection rule

Örnek isteği

DELETE https://management.azure.com/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule?api-version=2024-03-11

Örnek yanıt

Tanımlar

Name Description
ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata detayı.

ErrorResponseCommonV2

Hata yanıtı

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgi.

type

string

Ek bilgi türü.

ErrorDetail

Hata detayı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponseCommonV2

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.