Instances - Delete
Tar bort instansen.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/instances/{instanceName}?api-version=2023-07-01
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
account
|
path | True |
string |
Kontonamn. Regex pattern: |
instance
|
path | True |
string |
Instansnamn. Regex pattern: |
resource
|
path | True |
string |
Resursgruppens namn. |
subscription
|
path | True |
string |
Prenumerations-ID:t för Azure. |
api-version
|
query | True |
string |
API-version för ADU-schema. |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Instansen har tagits bort. |
|
202 Accepted |
Asynkron åtgärd för att ta bort instansen skapades. Headers Location: string |
|
204 No Content |
Instansen har redan tagits bort. |
|
Other Status Codes |
Felsvar som beskriver orsaken till åtgärdsfelet. |
Säkerhet
azure_auth
Azure Active Directory OAuth2-flöde.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Personifiera ditt användarkonto |
Exempel
Deletes instance
Sample Request
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
Sample Response
Location: https://management.azure.com/providers/Microsoft.DeviceUpdate/locations/westus2/operationStatuses/00000000-0000-0000-0000-000000000000*427E3E07F4C0A3DCD66951C42FD7BCD794AEAC5E321728AFBDCAA7C02E9CD4D3?api-version=2023-07-01
Definitioner
Name | Description |
---|---|
Error |
Ytterligare information om resurshanteringsfelet. |
Error |
Felinformationen. |
Error |
Felsvar |
ErrorAdditionalInfo
Ytterligare information om resurshanteringsfelet.
Name | Typ | Description |
---|---|---|
info |
object |
Den ytterligare informationen. |
type |
string |
Ytterligare informationstyp. |
ErrorDetail
Felinformationen.
Name | Typ | Description |
---|---|---|
additionalInfo |
Ytterligare information om felet. |
|
code |
string |
Felkoden. |
details |
Felinformationen. |
|
message |
string |
Felmeddelandet. |
target |
string |
Felmålet. |
ErrorResponse
Felsvar
Name | Typ | Description |
---|---|---|
error |
Felobjektet. |