Web Apps - List Slot Site Deployment Statuses Slot
Lista distributionsstatusar 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?api-version=2024-04-01
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
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 |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
OKEJ |
|
Other Status Codes |
App Service-felsvar. |
Säkerhet
azure_auth
Azure Active Directory OAuth2 Flow
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
Name | Description |
---|---|
user_impersonation | personifiera ditt användarkonto |
Exempel
List Deployment Status Slot
Exempelbegäran
Exempelsvar
{
"value": [],
"nextLink": null
}
Definitioner
Name | Description |
---|---|
Csm |
Nyttolast för distributionsstatussvar. |
Csm |
ARM-resurs för distributionsstatussamling. |
Default |
App Service-felsvar. |
Deployment |
Distributionsversionsstatus. |
Details | |
Error |
Felmodell. |
Error |
Brödtexten i felsvaret som returneras från API:et. |
CsmDeploymentStatus
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. |
CsmDeploymentStatusCollection
ARM-resurs för distributionsstatussamling.
Name | Typ | Description |
---|---|---|
nextLink |
string |
Länka till nästa sida med resurser. |
value |
Samling resurser. |
DefaultErrorResponse
App Service-felsvar.
Name | Typ | Description |
---|---|---|
error |
Felmodell. |
DeploymentBuildStatus
Distributionsversionsstatus.
Värde | Description |
---|---|
BuildAborted | |
BuildFailed | |
BuildInProgress | |
BuildPending | |
BuildRequestReceived | |
BuildSuccessful | |
PostBuildRestartRequired | |
RuntimeFailed | |
RuntimeStarting | |
RuntimeSuccessful | |
StartPolling | |
StartPollingWithRestart | |
TimedOut |
Details
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. |
Error
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. |
ErrorEntity
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. |