Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@
"x-ms-examples": {
"DeploymentScriptsGetLogs": {
"$ref": "./examples/DeploymentScripts_GetLogsDefault.json"
},
"DeploymentScriptsGetLogsWithTail": {
"$ref": "./examples/DeploymentScripts_GetLogsDefaultWithTail.json"
}
},
"parameters": [
Expand All @@ -328,6 +331,12 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "tail",
"in": "query",
"description": "The number of lines to show from the tail of the deployment script log. Valid value is a positive number up to 1000. If 'tail' is not provided, all available logs are shown up to container instance log capacity of 4mb.",
"type": "integer"
}
],
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "script-rg",
"scriptName": "MyDeploymentScript",
"tail": 5
},
"responses": {
"200": {
"body": {
"properties": {
"log": "script execution stdout/stderr logs"
}
}
}
}
}