Custom Recommendations - Delete
Een aangepaste aanbeveling voor een bepaald bereik verwijderen
DELETE https://management.azure.com/{scope}/providers/Microsoft.Security/customRecommendations/{customRecommendationName}?api-version=2024-08-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
custom
|
path | True |
string |
Naam van de aangepaste aanbeveling. Regex-patroon: |
scope
|
path | True |
string |
Het bereik van de aangepaste aanbeveling. Geldige bereiken zijn: beheergroep (indeling: providers/Microsoft.Management/managementGroups/{managementGroup}), abonnement (indeling: 'subscriptions/{subscriptionId}'), of beveiligingsconnector (indeling: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})' |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK - aangepaste aanbeveling is verwijderd |
|
204 No Content |
Geen inhoud- aangepaste aanbeveling bestaat niet |
|
Other Status Codes |
Foutreactie die beschrijft waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Delete a custom recommendation over management group scope |
Delete a custom recommendation over security connector scope |
Delete a custom recommendation over subscription scope |
Delete a custom recommendation over management group scope
Voorbeeldaanvraag
Voorbeeldrespons
Delete a custom recommendation over security connector scope
Voorbeeldaanvraag
DELETE https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/customRecommendations/ad9a8e26-29d9-4829-bb30-e597a58cdbb8?api-version=2024-08-01
Voorbeeldrespons
Delete a custom recommendation over subscription scope
Voorbeeldaanvraag
Voorbeeldrespons
Definities
Name | Description |
---|---|
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |