/
TasksGetDetails.json
108 lines (108 loc) · 3.13 KB
/
TasksGetDetails.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"parameters": {
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"api-version": "2019-06-01-preview",
"taskName": "myTask"
},
"responses": {
"200": {
"body": {
"properties": {
"status": "Enabled",
"platform": {
"os": "Linux",
"architecture": "amd64"
},
"agentConfiguration": {
"cpu": 2
},
"step": {
"type": "Docker",
"imageNames": [
"azurerest:testtag"
],
"dockerFilePath": "src/DockerFile",
"contextPath": "src",
"isPushEnabled": true,
"noCache": false,
"arguments": [
{
"name": "mytestargument",
"value": "mytestvalue",
"isSecret": false
},
{
"name": "mysecrettestargument",
"value": "mysecrettestvalue",
"isSecret": true
}
]
},
"trigger": {
"timerTriggers": [
{
"name": "myTimerTrigger",
"status": "Enabled",
"schedule": "30 9 * * 1-5"
}
],
"sourceTriggers": [
{
"name": "mySourceTrigger",
"status": "Enabled",
"sourceRepository": {
"sourceControlType": "Github",
"repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
"branch": "master",
"sourceControlAuthProperties": {
"tokenType": "PAT",
"token": "xxxxx"
}
},
"sourceTriggerEvents": [
"commit"
]
}
],
"baseImageTrigger": {
"name": "myBaseImageTrigger",
"status": "Enabled",
"baseImageTriggerType": "Runtime",
"updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
"updateTriggerPayloadType": "Token"
}
},
"credentials": {
"customRegistries": {
"myregistry.azure-test.io": {
"userName": {
"type": "Opaque",
"value": "username"
},
"password": {
"type": "Vaultsecret",
"value": "https://myacbvault.vault.azure.net/secrets/username"
},
"identity": "[system]"
}
},
"sourceRegistry": null
},
"isSystemTask": false,
"logTemplate": null
},
"location": "eastus",
"identity": {
"principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
"tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
"type": "SystemAssigned"
},
"tags": {
"testkey": "value"
}
}
}
}
}