-
Notifications
You must be signed in to change notification settings - Fork 97
Site Deployment Status
Suwat Ch edited this page Mar 16, 2016
·
2 revisions
ARMClient.exe get /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments?api-version={apiVersion}
ARMClient.exe get /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments/{id}?api-version={apiVersion}
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
}
}
ARMClient.exe delete /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{siteName}/deployments/{id}?api-version={apiVersion}