/
Workflow_ListByResourceGroup.json
71 lines (71 loc) · 2.89 KB
/
Workflow_ListByResourceGroup.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
{
"parameters": {
"api-version": "2022-10-11-preview",
"subscriptionId": "subscriptionId1",
"resourceGroupName": "resourceGroup1",
"location": "location1",
"managedClusterResource": "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscription/subscriptionId1/resourceGroups/resourceGroup1/providers/Microsoft.DevHub/workflow/workflow1",
"location": "location1",
"name": "workflow1",
"type": "Micfosoft.DevHub/Workflow",
"tags": {
"appname": "testapp"
},
"systemData": {
"createdBy": "foo@contoso.com",
"createdByType": "User",
"createdAt": "2018-04-24T16:30:55+00:00",
"lastModifiedBy": "foo@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2018-04-24T16:30:55+00:00"
},
"properties": {
"githubWorkflowProfile": {
"repositoryOwner": "owner1",
"repositoryName": "repo1",
"branchName": "branch1",
"dockerfile": "repo1/images/Dockerfile",
"dockerBuildContext": "repo1/src/",
"deploymentProperties": {
"manifestType": "kube",
"overrides": {
"key1": "value1"
}
},
"acr": {
"acrSubscriptionId": "subscriptionId1",
"acrResourceGroup": "resourceGroup1",
"acrRegistryName": "registry1",
"acrRepositoryName": "repo1"
},
"oidcCredentials": {
"azureClientId": "12345678-3456-7890-5678-012345678901",
"azureTenantId": "66666666-3456-7890-5678-012345678901"
},
"aksResourceId": "/subscriptions/subscriptionId1/resourcegroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1",
"prURL": "https://github.com/User/repo1/pull/6567",
"pullNumber": 6567,
"prStatus": "merged",
"lastWorkflowRun": {
"succeeded": true,
"workflowRunURL": "https://github.com/User/repo1/actions/runs/1820640230",
"lastRunAt": "2019-01-01T12:34:56.000Z",
"workflowRunStatus": "completed"
},
"authStatus": "Authorized"
}
}
}
],
"nextLink": "https://management.azure.com:443/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows?api-version=2018-05-05-preview&timeRange=1&$skipToken=1"
}
}
}
}