Diagnostic Settings - Delete
Menghapus pengaturan diagnostik yang ada untuk sumber daya yang ditentukan.
DELETE https://management.azure.com/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}?api-version=2021-05-01-preview
Parameter URI
Name | In | Required | Type | Description |
---|---|---|---|---|
name
|
path | True |
|
Nama pengaturan diagnostik. |
resource
|
path | True |
|
Pengidentifikasi sumber daya. |
api-version
|
query | True |
|
Versi API yang digunakan untuk operasi ini. |
Respons
Name | Type | Description |
---|---|---|
200 OK |
Permintaan berhasil untuk menghapus pengaturan diagnostik |
|
204 No Content |
Permintaan berhasil untuk menghapus pengaturan diagnostik |
|
Other Status Codes |
Respons kesalahan yang menjelaskan mengapa operasi gagal. |
Keamanan
azure_auth
Azure Active Directory Flow OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | meniru akun pengguna Anda |
Contoh
Deletes the diagnostic setting
Sample Request
DELETE https://management.azure.com/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/Microsoft.Insights/diagnosticSettings/mysetting?api-version=2021-05-01-preview
Sample Response
Definisi
ErrorResponse
Menjelaskan format respons Kesalahan.
Name | Type | Description |
---|---|---|
code |
|
Kode kesalahan |
message |
|
Pesan kesalahan yang menunjukkan mengapa operasi gagal. |