Delen via


Batch Account - Delete

Verwijdert het opgegeven Batch-account.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}?api-version=2024-02-01

URI-parameters

Name In Vereist Type Description
accountName
path True

string

De naam van het Batch-account.

Regex pattern: ^[a-zA-Z0-9]+$

resourceGroupName
path True

string

De naam van de resourcegroep die het Batch-account bevat.

subscriptionId
path True

string

De Azure-abonnements-id. Dit is een tekenreeks in GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000)

api-version
query True

string

De API-versie die moet worden gebruikt met de HTTP-aanvraag.

Antwoorden

Name Type Description
200 OK

De bewerking is geslaagd.

202 Accepted

De bewerking wordt asynchroon voltooid.

Headers

  • Location: string
  • Retry-After: integer
204 No Content

NoContent - account bestaat niet in het abonnement.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Microsoft Entra OAuth 2.0-verificatiecodestroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

BatchAccountDelete

Sample Request

DELETE https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct?api-version=2024-02-01

Sample Response

Location: https://management.azure.com/subscriptions/subid/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/sampleacct-30a022cb-a64f-4fd5-9289-8b38b342e9de?api-version=2024-02-01

Definities

Name Description
CloudError

Een foutreactie van de Batch-service.

CloudErrorBody

Een foutreactie van de Batch-service.

CloudError

Een foutreactie van de Batch-service.

Name Type Description
error

CloudErrorBody

De hoofdtekst van het foutbericht.

CloudErrorBody

Een foutreactie van de Batch-service.

Name Type Description
code

string

Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt.

details

CloudErrorBody[]

Een lijst met aanvullende informatie over de fout.

message

string

Een bericht met een beschrijving van de fout, bedoeld om te worden weergegeven in een gebruikersinterface.

target

string

Het doel van de specifieke fout. Bijvoorbeeld de naam van de eigenschap fout.