Delen via


Instances - Delete

Hiermee verwijdert u het exemplaar.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances/{instanceName}?api-version=2023-07-01

URI-parameters

Name In Vereist Type Description
accountName
path True

string

minLength: 3
maxLength: 24
pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$

Accountnaam.

instanceName
path True

string

minLength: 3
maxLength: 36
pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$

Exemplaarnaam.

resourceGroupName
path True

string

De naam van de resourcegroep.

subscriptionId
path True

string

De Azure-abonnements-id.

api-version
query True

string

ADU-schema-API-versie.

Antwoorden

Name Type Description
200 OK

Het exemplaar is verwijderd.

202 Accepted

Er is een asynchrone bewerking gemaakt om het exemplaar te verwijderen.

Kopteksten

Location: string

204 No Content

Het exemplaar is al verwijderd.

Other Status Codes

ErrorResponse

Foutreactie waarin de reden voor de bewerkingsfout wordt beschreven.

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

Deletes instance

Voorbeeldaanvraag

DELETE https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DeviceUpdate/accounts/contoso/instances/blue?api-version=2023-07-01

Voorbeeldrespons

Location: https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/westus2/operationStatuses/00000000-0000-0000-0000-000000000000*427E3E07F4C0A3DCD66951C42FD7BCD794AEAC5E321728AFBDCAA7C02E9CD4D3?api-version=2023-07-01

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

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

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.