Web Apps - Get Slot Site Deployment Status Slot
Hämtar distributionsstatus för en app (eller distributionsfack, om det anges).
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus/{deploymentStatusId}?api-version=2024-04-01
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
deployment
|
path | True |
string |
GUID för distributionsåtgärden. |
name
|
path | True |
string |
Namnet på appen. |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Namnet på resursgruppen som resursen tillhör. |
slot
|
path | True |
string |
Namnet på distributionsfacket. Om inget fack har angetts får API:et distributionsstatus för produktionsplatsen. |
subscription
|
path | True |
string |
Ditt Azure-prenumerations-ID. Det här är en GUID-formaterad sträng (t.ex. 00000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-version |
Name | Typ | Description |
---|---|---|
200 OK |
OKEJ |
|
202 Accepted |
Åtgärden pågår. |
|
Other Status Codes |
App Service-felsvar. |
Azure Active Directory OAuth2 Flow
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | personifiera ditt användarkonto |
Exempelbegäran
Exempelsvar
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
"name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
"type": "Microsoft.Web/sites/slots/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/slots/stage/deploymentStatus/eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
"name": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
"type": "Microsoft.Web/sites/slots/deploymentStatus",
"properties": {
"deploymentId": "eacfd68b-3bbd-4ad9-99c5-98614d89c8e5",
"status": "RuntimeStarting",
"numberOfInstancesInProgress": 1,
"numberOfInstancesSuccessful": 0,
"numberOfInstancesFailed": 0,
"failedInstancesLogs": [],
"errors": null
}
}
Name | Description |
---|---|
Csm |
Nyttolast för distributionsstatussvar. |
Default |
App Service-felsvar. |
Deployment |
Distributionsversionsstatus. |
Details | |
Error |
Felmodell. |
Error |
Brödtexten i felsvaret som returneras från API:et. |
Nyttolast för distributionsstatussvar.
Name | Typ | Description |
---|---|---|
id |
string |
Resurs-ID. |
kind |
string |
Typ av resurs. |
name |
string |
Resursnamn. |
properties.deploymentId |
string |
Distributionsåtgärds-ID. |
properties.errors |
Lista över fel. |
|
properties.failedInstancesLogs |
string[] |
Lista över URL:er som pekar på loggar för instanser som inte kunde etableras. |
properties.numberOfInstancesFailed |
integer (int32) |
Det gick inte att etablera antalet platsinstanser. |
properties.numberOfInstancesInProgress |
integer (int32) |
Antal platsinstanser som för närvarande etableras. |
properties.numberOfInstancesSuccessful |
integer (int32) |
Antal platsinstanser som har etablerats. |
properties.status |
Distributionsversionsstatus. |
|
type |
string |
Resurstyp. |
App Service-felsvar.
Name | Typ | Description |
---|---|---|
error |
Felmodell. |
Distributionsversionsstatus.
Värde | Description |
---|---|
BuildAborted | |
BuildFailed | |
BuildInProgress | |
BuildPending | |
BuildRequestReceived | |
BuildSuccessful | |
PostBuildRestartRequired | |
RuntimeFailed | |
RuntimeStarting | |
RuntimeSuccessful | |
StartPolling | |
StartPollingWithRestart | |
TimedOut |
Name | Typ | Description |
---|---|---|
code |
string |
Standardiserad sträng för att programmatiskt identifiera felet. |
message |
string |
Detaljerad felbeskrivning och felsökningsinformation. |
target |
string |
Detaljerad felbeskrivning och felsökningsinformation. |
Felmodell.
Name | Typ | Description |
---|---|---|
code |
string |
Standardiserad sträng för att programmatiskt identifiera felet. |
details |
Details[] |
Detaljerade fel. |
innererror |
string |
Mer information om felsökningsfel. |
message |
string |
Detaljerad felbeskrivning och felsökningsinformation. |
target |
string |
Detaljerad felbeskrivning och felsökningsinformation. |
Brödtexten i felsvaret som returneras från API:et.
Name | Typ | Description |
---|---|---|
code |
string |
Grundläggande felkod. |
details |
Felinformation. |
|
extendedCode |
string |
Typ av fel. |
innerErrors |
Inre fel. |
|
message |
string |
Information om felet. |
messageTemplate |
string |
Meddelandemall. |
parameters |
string[] |
Parametrar för mallen. |
target |
string |
Felmålet. |