-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathPatches_Apply.json
85 lines (84 loc) · 4.16 KB
/
Patches_Apply.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
{
"operationId": "Patches_Apply",
"title": "Patches_Apply_0",
"parameters": {
"subcriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg",
"builderName": "testBuilder",
"patchName": "testPatch-25fe4b",
"api-version": "2023-08-01-preview"
},
"responses": {
"200": {
"body": {
"value": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/builders/testBuilder/patches/testPatch-25fe4b",
"name": "testPatch-25fe4b",
"type": "Microsoft.App/builders/patches",
"properties": {
"targetEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/test-env",
"targetContainerAppId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/containerApps/test-app",
"targetRevisionId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/apps/test-app/revisions/test-app--jm3vvry",
"provisioningState": "Succeeded",
"patchApplyStatus": "Succeeded",
"patchDetails": [
{
"targetContainerName": "test-container",
"targetImageName": "testregistry.azurecr.io/test-image:latest",
"detectionStatus": "Succeeded",
"newImageName": "testregistry.azurecr.io/test-image:latest-patched-202210101206",
"newLayer": {
"name": "mcr.microsoft.com/dotnet/aspnet:7.0.7-cbl-mariner2.0",
"frameworkAndVersion": "dotnet:7.0.7",
"osAndVersion": "cbl-mariner2.0"
},
"oldLayer": {
"name": "mcr.microsoft.com/dotnet/aspnet:7.0.5-cbl-mariner2.0",
"frameworkAndVersion": "dotnet:7.0.5",
"osAndVersion": "cbl-mariner2.0"
},
"patchType": "FrameworkSecurity"
}
]
}
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.App/locations/{location}/operationStatuses/{operationId}"
},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/builders/testBuilder/patches/testPatch/testPatch-25fe4b",
"name": "testPatch-25fe4b",
"type": "Microsoft.App/builders/patches",
"properties": {
"targetEnvironmentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/test-env",
"targetContainerAppId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/containerApps/test-app",
"targetRevisionId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.App/apps/test-app/revisions/test-app--jm3vvry",
"provisioningState": "Succeeded",
"patchApplyStatus": "InProgress",
"patchDetails": [
{
"targetContainerName": "test-container",
"targetImageName": "testregistry.azurecr.io/test-image:latest",
"detectionStatus": "Succeeded",
"newImageName": "testregistry.azurecr.io/test-image:latest-patched-202210101206",
"newLayer": {
"name": "mcr.microsoft.com/dotnet/aspnet:7.0.7-cbl-mariner2.0",
"frameworkAndVersion": "dotnet:7.0.7",
"osAndVersion": "cbl-mariner2.0"
},
"oldLayer": {
"name": "mcr.microsoft.com/dotnet/aspnet:7.0.5-cbl-mariner2.0",
"frameworkAndVersion": "dotnet:7.0.5",
"osAndVersion": "cbl-mariner2.0"
},
"patchType": "FrameworkSecurity"
}
]
}
}
}
}
}