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 |
---|---|---|---|---|
deployment
|
path | True |
string |
GUID van de implementatiebewerking. |
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
subscription
|
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 |
OK |
|
202 Accepted |
De bewerking wordt uitgevoerd. |
|
Other Status Codes |
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
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 |
---|---|
Csm |
Nettolading van antwoord op implementatiestatus. |
Default |
App Service foutreactie. |
Deployment |
Status van implementatiebuild. |
Details | |
Error |
Foutmodel. |
Error |
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 |
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 |
Status van implementatiebuild. |
|
type |
string |
Resourcetype. |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
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 |
Foutdetails. |
|
extendedCode |
string |
Type fout. |
innerErrors |
Interne fouten. |
|
message |
string |
Eventuele details van de fout. |
messageTemplate |
string |
Berichtsjabloon. |
parameters |
string[] |
Parameters voor de sjabloon. |
target |
string |
Het foutdoel. |