Tag Rules - Delete
Töröljön egy adott figyelőerőforráshoz beállított címkeszabályt.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}?api-version=2020-07-01
URI-paraméterek
| Name | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
monitor
|
path | True |
string |
Erőforrásnév figyelése |
|
resource
|
path | True |
string |
Annak az erőforráscsoportnak a neve, amelyhez a rugalmas erőforrás tartozik. |
|
rule
|
path | True |
string |
Címkeszabálykészlet erőforrásneve |
|
subscription
|
path | True |
string |
Az Azure-előfizetés azonosítója. Ez egy GUID formátumú sztring (például 000000000-0000-0000-0000-0000000000) |
|
api-version
|
query | True |
string |
A HTTP-kéréshez használandó API-verzió. |
Válaszok
| Name | Típus | Description |
|---|---|---|
| 200 OK |
Siker |
|
| 202 Accepted |
Siker |
|
| 204 No Content |
Siker |
|
| Other Status Codes |
Alapértelmezett hibaválasz. |
Példák
TagRules_Delete
Mintakérelem
Mintaválasz
Location: https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2020-07-01
Definíciók
| Name | Description |
|---|---|
|
Error |
ErrorResponseBody |
|
Resource |
Az RP alapértelmezett hibaválasza. |
ErrorResponseBody
ErrorResponseBody
| Name | Típus | Description |
|---|---|---|
| code |
string |
Hibakód. |
| details |
Hiba részletei. |
|
| message |
string |
Hibaüzenet. |
| target |
string |
Hibacél. |
ResourceProviderDefaultErrorResponse
Az RP alapértelmezett hibaválasza.
| Name | Típus | Description |
|---|---|---|
| error |
ErrorResponseBody |