Delen via


Web Apps - Get Production Site Deployment Status

Hiermee wordt de implementatiestatus voor een app (of implementatiesite, indien opgegeven) opgevraagd.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deploymentStatus/{deploymentStatusId}?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
deploymentStatusId
path True

string

GUID van de implementatiebewerking.

name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

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

subscriptionId
path True

string

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

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

CsmDeploymentStatus

OK

202 Accepted

CsmDeploymentStatus

De bewerking wordt uitgevoerd.

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

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

Get Deployment Status

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5?api-version=2023-12-01

Voorbeeldrespons

{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
  "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
  "type": "Microsoft.Web/sites/deploymentStatus",
  "properties": {
    "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
    "status": "RuntimeSuccessful",
    "numberOfInstancesInProgress": 0,
    "numberOfInstancesSuccessful": 1,
    "numberOfInstancesFailed": 0,
    "failedInstancesLogs": [],
    "errors": null
  }
}
{
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
  "name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
  "type": "Microsoft.Web/sites/deploymentStatus",
  "properties": {
    "deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
    "status": "RuntimeStarting",
    "numberOfInstancesInProgress": 1,
    "numberOfInstancesSuccessful": 0,
    "numberOfInstancesFailed": 0,
    "failedInstancesLogs": [],
    "errors": null
  }
}

Definities

Name Description
CsmDeploymentStatus

Nettolading van antwoord op implementatiestatus.

DefaultErrorResponse

App Service foutreactie.

DeploymentBuildStatus

Status van implementatiebuild.

Details
Error

Foutmodel.

ErrorEntity

Hoofdtekst van het foutbericht dat is geretourneerd door de API.

CsmDeploymentStatus

Nettolading van antwoord op implementatiestatus.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.deploymentId

string

Id van implementatiebewerking.

properties.errors

ErrorEntity[]

Lijst met fouten.

properties.failedInstancesLogs

string[]

Lijst met URL's die verwijzen naar logboeken voor exemplaren die niet zijn ingericht.

properties.numberOfInstancesFailed

integer

Het aantal site-exemplaren kan niet worden ingericht.

properties.numberOfInstancesInProgress

integer

Het aantal site-exemplaren dat momenteel wordt ingericht.

properties.numberOfInstancesSuccessful

integer

Het aantal site-exemplaren dat is ingericht.

properties.status

DeploymentBuildStatus

Status van implementatiebuild.

type

string

Resourcetype.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

Error

Foutmodel.

DeploymentBuildStatus

Status van implementatiebuild.

Name Type Description
BuildAborted

string

BuildFailed

string

BuildInProgress

string

BuildPending

string

BuildRequestReceived

string

BuildSuccessful

string

PostBuildRestartRequired

string

RuntimeFailed

string

RuntimeStarting

string

RuntimeSuccessful

string

StartPolling

string

StartPollingWithRestart

string

TimedOut

string

Details

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

Error

Foutmodel.

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

Details[]

Gedetailleerde fouten.

innererror

string

Meer informatie over foutopsporing.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

ErrorEntity

Hoofdtekst van het foutbericht dat is geretourneerd door de API.

Name Type Description
code

string

Basisfoutcode.

details

ErrorEntity[]

Foutdetails.

extendedCode

string

Type fout.

innerErrors

ErrorEntity[]

Interne fouten.

message

string

Eventuele details van de fout.

messageTemplate

string

Berichtsjabloon.

parameters

string[]

Parameters voor de sjabloon.

target

string

Het foutdoel.