Skip to content

Site Deployment Status

Suwat Ch edited this page Mar 16, 2016 · 2 revisions
List Site Deployment Status
ARMClient.exe get /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments?api-version={apiVersion}
Get Site Deployment Status
ARMClient.exe get /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments/{id}?api-version={apiVersion}
Add Site Deployment Status
ARMClient.exe PUT /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments/{id}?api-version={apiVersion} @payload.json

Example payload.json below

{
  "properties":{
     "status": 4,                                 // required, whether failed (3) or success (4) status
     "message": "commit message",                 // required, commit message  
     "author": "John Smith",                      // required
     "deployer": "TeamCity",                      // required, deployer service      
     "author_email": "[email protected]",            // optional
     "start_time": "2015-09-09T22:39:50.0052315Z",// optional, when the deployment started
     "end_time": "2015-09-09T22:39:50.0052315Z",  // optional, when the deployment ended
     "active": true,                              // optional, this is latest deployment
     "details": "https://foo.com/details"         // optional, url to get more details
    }
}
Delete Site Deployment Status
ARMClient.exe delete /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments/{id}?api-version={apiVersion}
Clone this wiki locally