Instances - Delete

Tar bort instans.

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

URI-parametrar

Name In Required Type Description
accountName
path True
  • string

Kontonamn.

Regex pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$

instanceName
path True
  • string

Instansnamn.

Regex pattern: ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$

resourceGroupName
path True
  • string

Resursgruppens namn.

subscriptionId
path True
  • string

Azure-prenumerations-ID:t.

api-version
query True
  • string

ADU-schema-API-version.

Svar

Name Type Description
200 OK

Instansen har tagits bort.

202 Accepted

Asynkron åtgärd för att ta bort instansen skapades.

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=2020-03-01-preview

Sample Response

Definitioner

ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

ErrorDetail

Felinformationen.

ErrorResponse

Felsvar

ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

Name Type Description
info
  • object

Ytterligare information.

type
  • string

Den ytterligare informationstypen.

ErrorDetail

Felinformationen.

Name Type Description
additionalInfo

Ytterligare information om felet.

code
  • string

Felkoden.

details

Felinformationen.

message
  • string

Felmeddelandet.

target
  • string

Felmålet.

ErrorResponse

Felsvar

Name Type Description
error

Felobjektet.