Deployments - Cancel At Scope

Hiermee annuleert u een sjabloonimplementatie die momenteel wordt uitgevoerd.
U kunt een implementatie alleen annuleren als de provisioningState geaccepteerd of actief is. Nadat de implementatie is geannuleerd, wordt provisioningState ingesteld op Geannuleerd. Als u een sjabloonimplementatie annuleert, wordt de momenteel actieve sjabloonimplementatie gestopt en blijven de resources gedeeltelijk geïmplementeerd.

POST https://management.azure.com/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel?api-version=2021-04-01

URI-parameters

Name In Vereist Type Description
deploymentName
path True

string

De naam van de implementatie.

Regex pattern: ^[-\w\._\(\)]+$

scope
path True

string

Het resourcebereik.

api-version
query True

string

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

Antwoorden

Name Type Description
204 No Content

Geen inhoud

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

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

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Definities

Name Description
CloudError

Een foutreactie voor een resourcebeheeraanvraag.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorResponse

Foutreactie

CloudError

Een foutreactie voor een resourcebeheeraanvraag.

Name Type Description
error

ErrorResponse

Foutreactie
Algemene foutreactie voor alle Azure Resource Manager API's om foutdetails voor mislukte bewerkingen te retourneren. (Dit volgt ook de OData-foutreactieindeling.)

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorResponse

Foutreactie

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

Aanvullende informatie over de fout.

code

string

De foutcode.

details

ErrorResponse[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.