Delen via


Attestations - Delete At Resource

Hiermee verwijdert u een bestaande attestation op een afzonderlijk resourcebereik.

DELETE https://management.azure.com/{resourceId}/providers/Microsoft.PolicyInsights/attestations/{attestationName}?api-version=2022-09-01

URI-parameters

Name In Vereist Type Description
attestationName
path True

string

De naam van de attestation.

resourceId
path True

string

Resource-id.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

De attestation is verwijderd.

204 No Content

De attestation bestaat niet.

Other Status Codes

ErrorResponse

Foutreactie waarin wordt beschreven 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 attestation at individual resource scope

Voorbeeldaanvraag

DELETE https://management.azure.com/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myrg/providers/microsoft.compute/virtualMachines/devVM/providers/Microsoft.PolicyInsights/attestations/790996e6-9871-4b1f-9cd9-ec42cd6ced1e?api-version=2022-09-01

Voorbeeldrespons

Definities

Name Description
ErrorDefinition

Foutdefinitie.

ErrorResponse

Foutreactie.

TypedErrorInfo

Scenariospecifieke foutdetails.

ErrorDefinition

Foutdefinitie.

Name Type Description
additionalInfo

TypedErrorInfo[]

Aanvullende scenariospecifieke foutdetails.

code

string

Servicespecifieke foutcode die fungeert als de substatus voor de HTTP-foutcode.

details

ErrorDefinition[]

Interne foutdetails.

message

string

Beschrijving van de fout.

target

string

Het doel van de fout.

ErrorResponse

Foutreactie.

Name Type Description
error

ErrorDefinition

De foutdetails.

TypedErrorInfo

Scenariospecifieke foutdetails.

Name Type Description
info

De specifieke foutdetails van het scenario.

type

string

Het type opgenomen foutdetails.